/bionic/libc/malloc_debug/ |
D | DebugData.cpp | 39 bool DebugData::Initialize(const char* options) { in Initialize() argument 40 if (!config_.Init(options)) { in Initialize() 45 if (config_.options() & HEADER_OPTIONS) { in Initialize() 49 if (config_.options() & FRONT_GUARD) { in Initialize() 56 if (config_.options() & REAR_GUARD) { in Initialize() 69 if (config_.options() & RECORD_ALLOCS) { in Initialize() 76 if (config_.options() & EXPAND_ALLOC) { in Initialize() 80 if (config_.options() & LOG_ALLOCATOR_STATS_ON_SIGNAL) { in Initialize()
|
D | malloc_debug.cpp | 143 if (g_debug->config().options() & RECORD_ALLOCS) { in TimerCall() 176 const char* options); 193 int debug_malloc_info(int options, FILE* fp); 291 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog() 316 if (g_debug->config().options() & FREE_TRACK) { in LogError() 323 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError() 374 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader() 379 if (g_debug->config().options() & REAR_GUARD) { in InitHeader() 393 const char* options) { in debug_initialize() argument 394 if (zygote_child == nullptr || options == nullptr) { in debug_initialize() [all …]
|
D | Unreachable.cpp | 53 if ((config.options() & CHECK_UNREACHABLE_ON_SIGNAL) && do_check_.exchange(false)) { in CheckIfRequested() 62 if (!(config.options() & CHECK_UNREACHABLE_ON_SIGNAL)) { in Initialize() 74 if (config.options() & VERBOSE) { in Initialize()
|
D | DebugData.h | 49 bool Initialize(const char* options); 77 bool TrackPointers() { return config_.options() & TRACK_ALLOCS; } in TrackPointers() 79 bool HeaderEnabled() { return config_.options() & HEADER_OPTIONS; } in HeaderEnabled()
|
D | PointerData.cpp | 110 if (config.options() & VERBOSE) { in Initialize() 116 if (config.options() & BACKTRACE) { in Initialize() 124 if (config.options() & VERBOSE) { in Initialize() 132 if (config.options() & FREE_TRACK) { in Initialize() 140 g_debug->config().options() & BACKTRACE_SPECIFIC_SIZES; in ShouldBacktraceAllocSize() 156 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace() 179 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace() 206 if (g_debug->config().options() & BACKTRACE_FULL) { in RemoveBacktrace() 274 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace() 309 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFreeError() [all …]
|
/bionic/libc/bionic/ |
D | gwp_asan_wrappers.cpp | 61 using Options = gwp_asan::options::Options; 197 using SampleRate_t = typeof(gwp_asan::options::Options::SampleRate); 220 using SimultaneousAllocations_t = typeof(gwp_asan::options::Options::MaxSimultaneousAllocations); 253 void SetDefaultGwpAsanOptions(Options* options, unsigned* process_sample_rate, in SetDefaultGwpAsanOptions() argument 255 options->Enabled = true; in SetDefaultGwpAsanOptions() 256 options->InstallSignalHandlers = false; in SetDefaultGwpAsanOptions() 257 options->InstallForkHandlers = true; in SetDefaultGwpAsanOptions() 258 options->Backtrace = android_unsafe_frame_pointer_chase; in SetDefaultGwpAsanOptions() 259 options->SampleRate = kDefaultSampleRate; in SetDefaultGwpAsanOptions() 260 options->MaxSimultaneousAllocations = kDefaultMaxAllocs; in SetDefaultGwpAsanOptions() [all …]
|
D | wait.cpp | 32 extern "C" int __waitid(idtype_t which, id_t id, siginfo_t* info, int options, struct rusage* ru); 38 pid_t waitpid(pid_t pid, int* status, int options) { in waitpid() argument 39 return wait4(pid, status, options, nullptr); in waitpid() 42 int waitid(idtype_t which, id_t id, siginfo_t* info, int options) { in waitid() argument 44 return __waitid(which, id, info, options, nullptr); in waitid()
|
D | malloc_common_dynamic.cpp | 213 static bool CheckLoadMallocHooks(char** options) { in CheckLoadMallocHooks() argument 216 …(__system_property_get(kHooksPropertyEnable, *options) == 0 || *options[0] == '\0' || *options[0] … in CheckLoadMallocHooks() 219 *options = nullptr; in CheckLoadMallocHooks() 223 static bool CheckLoadMallocDebug(char** options) { in CheckLoadMallocDebug() argument 227 if (__system_property_get(kDebugPropertyOptions, *options) == 0 || *options[0] == '\0') { in CheckLoadMallocDebug() 238 *options = env; in CheckLoadMallocDebug() 322 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix) { in FinishInstallHooks() argument 332 if (!init_func(prev_dispatch, &gZygoteChild, options)) { in FinishInstallHooks() 357 static bool InstallHooks(libc_globals* globals, const char* options, const char* prefix, in InstallHooks() argument 364 if (!FinishInstallHooks(globals, options, prefix)) { in InstallHooks() [all …]
|
D | sysprop_helpers.cpp | 60 size_t sys_prop_names_size, char* options, in get_config_from_env_or_sysprops() argument 64 strncpy(options, env, options_size); in get_config_from_env_or_sysprops() 65 options[options_size - 1] = '\0'; // Ensure null-termination. in get_config_from_env_or_sysprops() 71 if (get_property_value(sys_prop_names[i], options, options_size)) return true; in get_config_from_env_or_sysprops()
|
D | syslog.cpp | 34 void openlog(const char* log_tag, int options, int /*facility*/) { in openlog() argument 36 syslog_options = options; in openlog()
|
D | ndk_cruft.cpp | 65 pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument 66 return wait4(pid, status, options, rusage); in __wait4() 277 pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument 278 return wait4(-1, status, options, rusage); in wait3()
|
D | gwp_asan_wrappers.h | 40 bool EnableGwpAsan(const android_mallopt_gwp_asan_options_t& options);
|
D | sysprop_helpers.h | 44 size_t sys_prop_names_size, char* options,
|
D | malloc_common_dynamic.h | 43 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix);
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 36 bool InitConfig(const char* options) { in InitConfig() argument 38 return config->Init(options); in InitConfig() 123 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 132 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 141 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 150 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options()); in TEST_F() 160 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 164 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 168 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 176 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | getopt_long.c | 80 #define PRINT_ERROR ((opterr) && (*options != ':')) 88 #define BADARG ((*options == ':') ? (int)':' : (int)'?') 192 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument 357 getopt_internal(int nargc, char * const *nargv, const char *options, argument 364 if (options == NULL) 380 if (*options == '-') 382 else if (posixly_correct || *options == '+') 384 if (*options == '+' || *options == '-') 385 options++; 415 (place[1] == '\0' && strchr(options, '-') == NULL)) { [all …]
|
/bionic/libc/dns/resolv/ |
D | res_query.c | 145 if (statp->options & RES_DEBUG) in res_nquery() 153 (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U) in res_nquery() 158 if (statp->options & RES_DEBUG) in res_nquery() 168 if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U && in res_nquery() 171 if (statp->options & RES_DEBUG) in res_nquery() 177 if (statp->options & RES_DEBUG) in res_nquery() 186 if (statp->options & RES_DEBUG) in res_nquery() 272 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) || in res_nsearch() 273 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) { in res_nsearch() 340 if ((statp->options & RES_DNSRCH) == 0U) in res_nsearch() [all …]
|
D | res_init.c | 190 if ((statp->options & RES_INIT) != 0U) in __res_vinit() 197 statp->options = RES_DEFAULT; in __res_vinit() 474 if (statp->options & RES_DEBUG) { in __res_vinit() 487 statp->options |= RES_INIT; in __res_vinit() 493 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions() argument 495 const char *cp = options; in res_setoptions() 500 if (statp->options & RES_DEBUG) in res_setoptions() 502 options, source); in res_setoptions() 516 if (statp->options & RES_DEBUG) in res_setoptions() 526 if (statp->options & RES_DEBUG) in res_setoptions() [all …]
|
D | res_mkquery.c | 134 if (statp->options & RES_DEBUG) in res_nmkquery() 147 hp->rd = (statp->options & RES_RECURSE) != 0U; in res_nmkquery() 148 hp->ad = (statp->options & RES_USE_DNSSEC) != 0U; in res_nmkquery() 242 if ((statp->options & RES_DEBUG) != 0U) in res_nopt() 263 if (statp->options & RES_USE_DNSSEC) { in res_nopt() 265 if (statp->options & RES_DEBUG) in res_nopt()
|
D | res_send.c | 362 DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY), in res_nsend() 364 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend() 449 if ((statp->options & RES_ROTATE) != 0U && in res_nsend() 450 (statp->options & RES_BLAST) == 0U) { in res_nsend() 535 Dprint(((statp->options & RES_DEBUG) && in res_nsend() 605 Dprint((statp->options & RES_DEBUG) || in res_nsend() 610 DprintQ((statp->options & RES_DEBUG) || in res_nsend() 624 if ((v_circuit && (statp->options & RES_USEVC) == 0U) || in res_nsend() 625 (statp->options & RES_STAYOPEN) == 0U) { in res_nsend() 903 Dprint(statp->options & RES_DEBUG, in send_vc() [all …]
|
/bionic/linker/ |
D | linker_logger.cpp | 50 std::vector<std::string> options = android::base::Split(value, ","); in ParseProperty() local 54 for (const auto& o : options) { in ParseProperty()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 52 const char* options); 61 int hooks_malloc_info(int options, FILE* fp); 179 int hooks_malloc_info(int options, FILE* fp) { in hooks_malloc_info() argument 180 return g_dispatch->malloc_info(options, fp); in hooks_malloc_info()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_connlabel.h | 17 __u16 options; member
|
D | nf_synproxy.h | 17 __u8 options; member
|
/bionic/benchmarks/linker_relocation/ |
D | run_bench_with_ninja.sh | 33 Usage: $0 [options] 43 Timing options:
|