Home
last modified time | relevance | path

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

12

/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, NULL); 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, NULL); in waitid()
Dmalloc_info.cpp59 int malloc_info(int options, FILE* fp) { in malloc_info() argument
60 if (options != 0) { in malloc_info()
Dndk_cruft.cpp61 pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in __wait4() argument
62 return wait4(pid, status, options, rusage); in __wait4()
271 pid_t wait3(int* status, int options, struct rusage* rusage) { in wait3() argument
272 return wait4(-1, status, options, rusage); in wait3()
/bionic/libc/malloc_debug/
DDebugData.cpp46 if ((config_.options & ~(NO_HEADER_OPTIONS)) != 0) { in Initialize()
52 if (config_.options & BACKTRACE) { in Initialize()
59 if (config_.options & FRONT_GUARD) { in Initialize()
66 if (config_.options & REAR_GUARD) { in Initialize()
71 if (config_.options & FREE_TRACK) { in Initialize()
75 if (config_.options & TRACK_ALLOCS) { in Initialize()
80 if (config_.options & EXPAND_ALLOC) { in Initialize()
Dmalloc_debug.cpp122 if (g_debug->config().options & FREE_TRACK) { in LogTagError()
151 if (g_debug->config().options & FRONT_GUARD) { in InitHeader()
156 if (g_debug->config().options & REAR_GUARD) { in InitHeader()
165 if (g_debug->config().options & BACKTRACE) { in InitHeader()
177 if (g_debug->config().options & TRACK_ALLOCS) { in InitHeader()
219 if (g_debug->config().options & FREE_TRACK) { in debug_finalize()
223 if (g_debug->config().options & LEAK_TRACK) { in debug_finalize()
254 if (!(g_debug->config().options & BACKTRACE)) { in debug_get_malloc_leak_info()
314 if (pointer != nullptr && g_debug->config().options & FILL_ON_ALLOC) { in debug_malloc()
339 if (g_debug->config().options & FRONT_GUARD) { in debug_free()
[all …]
DConfig.h74 uint64_t options = 0; member
DConfig.cpp348 options |= features[i].option; in SetFromProperties()
358 options |= features[i].option; in SetFromProperties()
376 if (options & FRONT_GUARD) { in SetFromProperties()
383 if ((options & FILL_ON_FREE) && fill_on_free_bytes == 0) { in SetFromProperties()
DREADME.md32 Malloc debug is controlled by individual options. Each option can be enabled
33 individually, or in a group of other options. Every single option can be
287 adb shell setprop libc.debug.malloc.options backtrace
294 adb shell setprop libc.debug.malloc.options backtrace
304 adb shell setprop libc.debug.malloc.options backtrace
308 Enable multiple options (backtrace and guards):
312 adb shell setprop libc.debug.malloc.options "\"backtrace guards\""
321 the setprop command will fail since the backtrace guards options will look
327 # setprop libc.debug.malloc.options backtrace
DTrackData.cpp102 if (debug.config().options & BACKTRACE) { in DisplayLeaks()
/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.cpp194 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
203 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
212 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
221 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options); in TEST_F()
231 ASSERT_EQ(FRONT_GUARD, config->options); in TEST_F()
235 ASSERT_EQ(FRONT_GUARD, config->options); in TEST_F()
239 ASSERT_EQ(FRONT_GUARD, config->options); in TEST_F()
247 ASSERT_EQ(FRONT_GUARD, config->options); in TEST_F()
256 ASSERT_EQ(REAR_GUARD, config->options); in TEST_F()
260 ASSERT_EQ(REAR_GUARD, 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.c191 if ((statp->options & RES_INIT) != 0U) in __res_vinit()
198 statp->options = RES_DEFAULT; in __res_vinit()
473 if (statp->options & RES_DEBUG) { in __res_vinit()
486 statp->options |= RES_INIT; in __res_vinit()
492 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions() argument
494 const char *cp = options; in res_setoptions()
499 if (statp->options & RES_DEBUG) in res_setoptions()
501 options, source); in res_setoptions()
515 if (statp->options & RES_DEBUG) in res_setoptions()
525 if (statp->options & RES_DEBUG) in res_setoptions()
[all …]
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_mkquery.c135 if (statp->options & RES_DEBUG) in res_nmkquery()
148 hp->rd = (statp->options & RES_RECURSE) != 0U; in res_nmkquery()
242 if ((statp->options & RES_DEBUG) != 0U) in res_nopt()
261 if (statp->options & RES_USE_DNSSEC) { in res_nopt()
263 if (statp->options & RES_DEBUG) in res_nopt()
Dres_send.c372 DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY), in res_nsend()
374 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend()
459 if ((statp->options & RES_ROTATE) != 0U && in res_nsend()
460 (statp->options & RES_BLAST) == 0U) { in res_nsend()
541 Dprint(((statp->options & RES_DEBUG) && in res_nsend()
611 Dprint((statp->options & RES_DEBUG) || in res_nsend()
616 DprintQ((statp->options & RES_DEBUG) || in res_nsend()
630 if ((v_circuit && (statp->options & RES_USEVC) == 0U) || in res_nsend()
631 (statp->options & RES_STAYOPEN) == 0U) { in res_nsend()
903 Dprint(statp->options & RES_DEBUG, in send_vc()
[all …]
Dres_state.c162 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0); in _res_thread_get()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_connlabel.h29 __u16 options; member
Dxt_SYNPROXY.h29 __u8 options; member
/bionic/tests/
Dgtest_main.cpp959 static bool PickOptions(std::vector<char*>& args, IsolationTestOptions& options) { in PickOptions() argument
963 options.isolate = false; in PickOptions()
1004 options.isolate = true; in PickOptions()
1008 options.isolate = false; in PickOptions()
1010 options.isolate = false; in PickOptions()
1015 if (options.isolate == false) { in PickOptions()
1020 options.job_count = GetDefaultJobCount(); in PickOptions()
1021 options.test_deadline_ms = DEFAULT_GLOBAL_TEST_RUN_DEADLINE_MS; in PickOptions()
1022 options.test_warnline_ms = DEFAULT_GLOBAL_TEST_RUN_WARNLINE_MS; in PickOptions()
1023 options.gtest_color = testing::GTEST_FLAG(color); in PickOptions()
[all …]
/bionic/tools/relocation_packer/src/
Dmain.cc56 static const option options[] = { in main() local
62 int c = getopt_long(argc, argv, "uvph", options, NULL); in main()
/bionic/libc/kernel/uapi/linux/
Disdn_ppp.h66 unsigned char options[ISDN_PPP_COMP_MAX_OPTIONS]; member
Dnet_dropmon.h43 struct net_dm_config_entry options[0]; member
Dwatchdog.h26 __u32 options; member
/bionic/libc/include/sys/
Dwait.h62 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);

12