/bionic/libc/dns/resolv/ |
D | res_debug.h | 24 # define Dprint(cond, args) /*empty*/ argument 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument 31 fprintf args;\
|
/bionic/libc/bionic/ |
D | libc_init_dynamic.cpp | 71 KernelArgumentBlock* args = *args_slot; in __libc_preinit() local 77 __libc_init_globals(*args); in __libc_preinit() 78 __libc_init_common(*args); in __libc_preinit() 97 KernelArgumentBlock args(raw_args); in __libc_init() local 109 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
|
D | libc_init_common.cpp | 67 void __libc_init_global_stack_chk_guard(KernelArgumentBlock& args) { in __libc_init_global_stack_chk_guard() argument 70 __stack_chk_guard = *reinterpret_cast<uintptr_t*>(args.getauxval(AT_RANDOM)); in __libc_init_global_stack_chk_guard() 76 __LIBC_HIDDEN__ void __libc_init_sysinfo(KernelArgumentBlock& args) { in __libc_init_sysinfo() argument 77 __libc_sysinfo = reinterpret_cast<void*>(args.getauxval(AT_SYSINFO)); in __libc_init_sysinfo() 86 void __libc_init_globals(KernelArgumentBlock& args) { in __libc_init_globals() argument 88 __libc_init_sysinfo(args); in __libc_init_globals() 93 __libc_init_global_stack_chk_guard(args); in __libc_init_globals() 94 __libc_auxv = args.auxv; in __libc_init_globals() 96 __libc_globals.mutate([&args](libc_globals* globals) { in __libc_init_globals() 97 __libc_init_vdso(globals, args); in __libc_init_globals() [all …]
|
D | ptrace.cpp | 38 va_list args; in ptrace() local 39 va_start(args, req); in ptrace() 40 pid_t pid = va_arg(args, pid_t); in ptrace() 41 void* addr = va_arg(args, void*); in ptrace() 46 data = va_arg(args, void*); in ptrace() 48 va_end(args); in ptrace()
|
D | libc_init_static.cpp | 84 KernelArgumentBlock args(raw_args); in __libc_init() local 85 __libc_init_main_thread(args); in __libc_init() 88 __libc_init_globals(args); in __libc_init() 90 __libc_init_AT_SECURE(args); in __libc_init() 91 __libc_init_common(args); in __libc_init() 108 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
|
D | open.cpp | 55 va_list args; in open() local 56 va_start(args, flags); in open() 57 mode = static_cast<mode_t>(va_arg(args, int)); in open() 58 va_end(args); in open() 77 va_list args; in openat() local 78 va_start(args, flags); in openat() 79 mode = static_cast<mode_t>(va_arg(args, int)); in openat() 80 va_end(args); in openat()
|
D | __libc_init_main_thread.cpp | 52 void __libc_init_main_thread(KernelArgumentBlock& args) { in __libc_init_main_thread() argument 53 __libc_auxv = args.auxv; in __libc_init_main_thread() 55 __libc_init_sysinfo(args); in __libc_init_main_thread() 82 __libc_init_global_stack_chk_guard(args); in __libc_init_main_thread() 89 main_thread.tls[TLS_SLOT_BIONIC_PREINIT] = &args; in __libc_init_main_thread()
|
D | malloc_info.cpp | 32 va_list args; in Elem() local 33 va_start(args, attr_fmt); in Elem() 35 vfprintf(fp, attr_fmt, args); in Elem() 36 va_end(args); in Elem() 46 va_list args; in contents() local 47 va_start(args, fmt); in contents() 48 vfprintf(fp, fmt, args); in contents() 49 va_end(args); in contents()
|
D | clone.cpp | 51 va_list args; in clone() local 52 va_start(args, arg); in clone() 54 parent_tid = va_arg(args, int*); in clone() 57 new_tls = va_arg(args, void*); in clone() 60 child_tid = va_arg(args, int*); in clone() 62 va_end(args); in clone()
|
D | syslog.cpp | 45 va_list args; in syslog() local 46 va_start(args, fmt); in syslog() 47 vsyslog(priority, fmt, args); in syslog() 48 va_end(args); in syslog() 51 void vsyslog(int priority, const char* fmt, va_list args) { in vsyslog() argument 115 vsnprintf(log_line, sizeof(log_line), log_fmt, args); in vsyslog()
|
D | libc_init_common.h | 55 __LIBC_HIDDEN__ void __libc_init_globals(KernelArgumentBlock& args); 57 __LIBC_HIDDEN__ void __libc_init_common(KernelArgumentBlock& args); 59 __LIBC_HIDDEN__ void __libc_init_AT_SECURE(KernelArgumentBlock& args);
|
D | libc_logging.cpp | 240 static void out_vformat(Out& o, const char* format, va_list args) { in out_vformat() argument 348 str = va_arg(args, const char*); in out_vformat() 355 buffer[0] = static_cast<char>(va_arg(args, int)); in out_vformat() 358 uint64_t value = reinterpret_cast<uintptr_t>(va_arg(args, void*)); in out_vformat() 371 case 1: value = static_cast<uint8_t>(va_arg(args, int)); break; in out_vformat() 372 case 2: value = static_cast<uint16_t>(va_arg(args, int)); break; in out_vformat() 373 case 4: value = va_arg(args, uint32_t); break; in out_vformat() 374 case 8: value = va_arg(args, uint64_t); break; in out_vformat() 418 va_list args; in __libc_format_buffer() local 419 va_start(args, format); in __libc_format_buffer() [all …]
|
D | setjmp_cookie.cpp | 42 KernelArgumentBlock& args) { in __libc_init_setjmp_cookie() argument 43 char* random_data = reinterpret_cast<char*>(args.getauxval(AT_RANDOM)); in __libc_init_setjmp_cookie()
|
/bionic/libc/private/ |
D | bionic_globals.h | 47 __LIBC_HIDDEN__ void __libc_init_global_stack_chk_guard(KernelArgumentBlock& args); 49 __LIBC_HIDDEN__ void __libc_init_setjmp_cookie(libc_globals* globals, KernelArgumentBlock& args); 50 __LIBC_HIDDEN__ void __libc_init_vdso(libc_globals* globals, KernelArgumentBlock& args); 54 __LIBC_HIDDEN__ void __libc_init_sysinfo(KernelArgumentBlock& args);
|
D | KernelArgumentBlock.h | 36 uintptr_t* args = reinterpret_cast<uintptr_t*>(raw_args); in KernelArgumentBlock() local 37 argc = static_cast<int>(*args); in KernelArgumentBlock() 38 argv = reinterpret_cast<char**>(args + 1); in KernelArgumentBlock()
|
/bionic/libc/kernel/tools/ |
D | update_all.py | 28 optlist, args = getopt.getopt(sys.argv[1:], '') variable 34 if len(optlist) > 0 or len(args) > 2: 38 if len(args) == 1 or len(args) == 2: 39 original_dir = args[0] 43 if len(args) == 2: 44 modified_dir = args[1]
|
D | clean_header.py | 173 optlist, args = getopt.getopt(sys.argv[1:], 'uvk:d:') variable 192 if len(args) == 0: 196 for path in args: 206 for path in args:
|
/bionic/tests/ |
D | gtest_main.cpp | 920 static void AddPathSeparatorInTestProgramPath(std::vector<char*>& args) { in AddPathSeparatorInTestProgramPath() argument 926 if (strchr(args[0], '/') == nullptr) { in AddPathSeparatorInTestProgramPath() 927 args[0] = strdup(g_executable_path.c_str()); in AddPathSeparatorInTestProgramPath() 931 static void AddGtestFilterSynonym(std::vector<char*>& args) { in AddGtestFilterSynonym() argument 933 for (size_t i = 1; i < args.size(); ++i) { in AddGtestFilterSynonym() 934 if (strncmp(args[i], "--gtest-filter", strlen("--gtest-filter")) == 0) { in AddGtestFilterSynonym() 935 args[i][7] = '_'; in AddGtestFilterSynonym() 959 static bool PickOptions(std::vector<char*>& args, IsolationTestOptions& options) { in PickOptions() argument 960 for (size_t i = 1; i < args.size(); ++i) { in PickOptions() 961 if (strcmp(args[i], "--help") == 0 || strcmp(args[i], "-h") == 0) { in PickOptions() [all …]
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | x_tables.h | 111 #define XT_MATCH_ITERATE(type,e,fn,args...) \ argument 112 …et; __i += __m->u.match_size) { __m = (void *) e + __i; __ret = fn(__m, ##args); if(__ret != 0) br… 114 #define XT_ENTRY_ITERATE_CONTINUE(type,entries,size,n,fn,args...) \ argument 115 …y = (void *) (entries) + __i; if(__n < n) continue; __ret = fn(__entry, ##args); if(__ret != 0) br… 117 …fine XT_ENTRY_ITERATE(type,entries,size,fn,args...) XT_ENTRY_ITERATE_CONTINUE(type, entries, size,… argument
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 162 #define EBT_MATCH_ITERATE(e,fn,args...) \ argument 163 …t ebt_entry_match)) { __match = (void *) (e) + __i; __ret = fn(__match, ##args); if(__ret != 0) br… 166 #define EBT_WATCHER_ITERATE(e,fn,args...) \ argument 167 …entry_watcher)) { __watcher = (void *) (e) + __i; __ret = fn(__watcher, ##args); if(__ret != 0) br… 169 #define EBT_ENTRY_ITERATE(entries,size,fn,args...) \ argument 170 …_i < (size);) { __entry = (void *) (entries) + __i; __ret = fn(__entry, ##args); if(__ret != 0) br…
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ |
D | ip_tables.h | 60 #define IPT_MATCH_ITERATE(e,fn,args...) XT_MATCH_ITERATE(struct ipt_entry, e, fn, ##args) argument 61 #define IPT_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct ipt_entry, entries, size… argument
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 60 #define IP6T_MATCH_ITERATE(e,fn,args...) XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ##args) argument 61 …efine IP6T_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct ip6t_entry, entries, siz… argument
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 103 args = sys.argv[1:] variable 104 if len(args) == 0: 105 args = [ "." ] variable 107 for arg in args:
|
/bionic/libc/kernel/uapi/linux/ |
D | seccomp.h | 45 __u64 args[6]; member
|
/bionic/libc/kernel/uapi/linux/netfilter_arp/ |
D | arp_tables.h | 40 …efine ARPT_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct arpt_entry, entries, siz… argument
|