/bionic/libc/malloc_debug/ |
D | DebugData.cpp | 38 bool DebugData::Initialize(const char* options) { in Initialize() argument 39 if (!config_.Init(options)) { in Initialize() 44 if (config_.options() & HEADER_OPTIONS) { in Initialize() 48 if (config_.options() & FRONT_GUARD) { in Initialize() 55 if (config_.options() & REAR_GUARD) { in Initialize() 68 if (config_.options() & RECORD_ALLOCS) { in Initialize() 75 if (config_.options() & EXPAND_ALLOC) { in Initialize()
|
D | malloc_debug.cpp | 75 const char* options); 92 int debug_malloc_info(int options, FILE* fp); 156 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog() 181 if (g_debug->config().options() & FREE_TRACK) { in LogError() 188 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError() 239 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader() 244 if (g_debug->config().options() & REAR_GUARD) { in InitHeader() 256 const char* options) { in debug_initialize() argument 257 if (zygote_child == nullptr || options == nullptr) { in debug_initialize() 272 if (!debug->Initialize(options)) { in debug_initialize() [all …]
|
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 | 108 if (config.options() & VERBOSE) { in Initialize() 114 if (config.options() & BACKTRACE) { in Initialize() 122 if (config.options() & VERBOSE) { in Initialize() 130 if (config.options() & FREE_TRACK) { in Initialize() 139 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace() 162 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace() 189 if (g_debug->config().options() & BACKTRACE_FULL) { in RemoveBacktrace() 256 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace() 290 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFreeError() 305 if (g_debug->config().options() & ABORT_ON_ERROR) { in VerifyFreedPointer() [all …]
|
/bionic/libc/bionic/ |
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 | 222 static bool CheckLoadMallocHooks(char** options) { in CheckLoadMallocHooks() argument 225 …(__system_property_get(kHooksPropertyEnable, *options) == 0 || *options[0] == '\0' || *options[0] … in CheckLoadMallocHooks() 228 *options = nullptr; in CheckLoadMallocHooks() 232 static bool CheckLoadMallocDebug(char** options) { in CheckLoadMallocDebug() argument 236 if (__system_property_get(kDebugPropertyOptions, *options) == 0 || *options[0] == '\0') { in CheckLoadMallocDebug() 247 *options = env; in CheckLoadMallocDebug() 333 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix) { in FinishInstallHooks() argument 335 if (!init_func(&__libc_malloc_default_dispatch, &gZygoteChild, options)) { in FinishInstallHooks() 360 static bool InstallHooks(libc_globals* globals, const char* options, const char* prefix, in InstallHooks() argument 367 if (!FinishInstallHooks(globals, options, prefix)) { in InstallHooks() [all …]
|
D | malloc_common_dynamic.h | 43 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix);
|
D | jemalloc.h | 37 int je_malloc_info(int options, FILE* fp);
|
D | ndk_cruft.cpp | 64 pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument 65 return wait4(pid, status, options, rusage); in __wait4() 276 pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument 277 return wait4(-1, status, options, rusage); in wait3()
|
D | malloc_common.h | 50 int __sanitizer_malloc_info(int options, FILE* fp);
|
/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/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() 122 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 131 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 140 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 149 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options()); in TEST_F() 159 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 163 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 167 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() 175 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F() [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_data.c | 85 #define res_need_init() ((_nres.options & RES_INIT) == 0U) 102 if (ores->options != 0) in res_init() 103 _nres.options = ores->options; in res_init() 133 if (!(_nres.options & RES_INIT)) in res_init() 134 _nres.options = RES_DEFAULT; in res_init()
|
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() 906 Dprint(statp->options & RES_DEBUG, in send_vc() [all …]
|
/bionic/libc/include/android/ |
D | legacy_sys_wait_inlines.h | 42 static __inline pid_t wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in wait4() argument 43 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage)); in wait4()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_connlabel.h | 27 __u16 options; member
|
D | xt_SYNPROXY.h | 28 __u8 options; member
|
/bionic/linker/ |
D | linker_logger.cpp | 51 std::vector<std::string> options = android::base::Split(value, ","); in ParseProperty() local 55 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/ |
D | isdn_ppp.h | 57 unsigned char options[ISDN_PPP_COMP_MAX_OPTIONS]; member
|
D | net_dropmon.h | 39 struct net_dm_config_entry options[0]; member
|
D | watchdog.h | 25 __u32 options; member
|