Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 46) sorted by relevance

12

/bionic/libc/malloc_debug/
DDebugData.cpp38 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()
Dmalloc_debug.cpp75 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 …]
DDebugData.h49 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()
DPointerData.cpp108 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/
Dwait.cpp32 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()
Dmalloc_common_dynamic.cpp222 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 …]
Dmalloc_common_dynamic.h43 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix);
Djemalloc.h37 int je_malloc_info(int options, FILE* fp);
Dndk_cruft.cpp64 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()
Dmalloc_common.h50 int __sanitizer_malloc_info(int options, FILE* fp);
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c80 #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/
Dmalloc_debug_config_tests.cpp36 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/
Dres_query.c145 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 …]
Dres_init.c190 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 …]
Dres_mkquery.c134 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()
Dres_data.c85 #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()
Dres_send.c362 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/
Dlegacy_sys_wait_inlines.h42 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/
Dxt_connlabel.h27 __u16 options; member
Dxt_SYNPROXY.h28 __u8 options; member
/bionic/linker/
Dlinker_logger.cpp51 std::vector<std::string> options = android::base::Split(value, ","); in ParseProperty() local
55 for (const auto& o : options) { in ParseProperty()
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp52 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/
Disdn_ppp.h57 unsigned char options[ISDN_PPP_COMP_MAX_OPTIONS]; member
Dnet_dropmon.h39 struct net_dm_config_entry options[0]; member
Dwatchdog.h25 __u32 options; member

12