/bionic/libc/bionic/ |
H A D | libc_init_dynamic.cpp | 71 KernelArgumentBlock* args = *args_slot; local 77 __libc_init_common(*args); 101 KernelArgumentBlock args(raw_args); 113 exit(slingshot(args.argc, args.argv, args.envp));
|
H A D | ptrace.cpp | 38 va_list args; local 39 va_start(args, req); 40 pid_t pid = va_arg(args, pid_t); 41 void* addr = va_arg(args, void*); 46 data = va_arg(args, void*); 48 va_end(args);
|
H A D | clone.cpp | 51 va_list args; local 52 va_start(args, arg); 54 parent_tid = va_arg(args, int*); 57 new_tls = va_arg(args, void*); 60 child_tid = va_arg(args, int*); 62 va_end(args);
|
H A D | malloc_info.cpp | 32 va_list args; local 33 va_start(args, attr_fmt); 35 vfprintf(fp, attr_fmt, args); 36 va_end(args); 46 va_list args; local 47 va_start(args, fmt); 48 vfprintf(fp, fmt, args); 49 va_end(args);
|
H A D | open.cpp | 55 va_list args; local 56 va_start(args, flags); 57 mode = static_cast<mode_t>(va_arg(args, int)); 58 va_end(args); 77 va_list args; local 78 va_start(args, flags); 79 mode = static_cast<mode_t>(va_arg(args, int)); 80 va_end(args);
|
H A D | syslog.cpp | 45 va_list args; local 46 va_start(args, fmt); 47 vsyslog(priority, fmt, args); 48 va_end(args); 51 void vsyslog(int priority, const char* fmt, va_list args) { argument 115 vsnprintf(log_line, sizeof(log_line), log_fmt, args);
|
H A D | libc_init_common.cpp | 78 void __libc_init_tls(KernelArgumentBlock& args) { argument 79 __libc_auxv = args.auxv; 102 main_thread.tls[TLS_SLOT_BIONIC_PREINIT] = &args; 107 void __libc_init_common(KernelArgumentBlock& args) { argument 109 environ = args.envp; 111 __libc_auxv = args.auxv; 112 __progname = args.argv[0] ? args.argv[0] : "<unknown>"; 113 __abort_message_ptr = args.abort_message_ptr; 307 void __libc_init_AT_SECURE(KernelArgumentBlock& args) { argument [all...] |
H A D | getentropy_linux.c | 211 struct __getrandom_args args = { 219 ret = syscall(SYS__getrandom, &args); 297 struct __sysctl_args args = { local 303 if (syscall(SYS__sysctl, &args) != 0)
|
H A D | libc_logging.cpp | 236 static void out_vformat(Out& o, const char* format, va_list args) { argument 344 str = va_arg(args, const char*); 351 buffer[0] = static_cast<char>(va_arg(args, int)); 354 uint64_t value = reinterpret_cast<uintptr_t>(va_arg(args, void*)); 367 case 1: value = static_cast<uint8_t>(va_arg(args, int)); break; 368 case 2: value = static_cast<uint16_t>(va_arg(args, int)); break; 369 case 4: value = va_arg(args, uint32_t); break; 370 case 8: value = va_arg(args, uint64_t); break; 414 va_list args; local 415 va_start(args, forma 423 va_list args; local 544 __libc_format_log_va_list(int priority, const char* tag, const char* format, va_list args) argument 552 va_list args; local 619 __libc_fatal(const char* format, va_list args) argument 638 va_list args; local 645 va_list args; local [all...] |
H A D | malloc_debug_check.cpp | 68 va_list args; local 69 va_start(args, format); 70 __libc_format_log_va_list(ANDROID_LOG_ERROR, "libc", format, args); 71 va_end(args);
|
/bionic/libc/private/ |
H A D | KernelArgumentBlock.h | 36 uintptr_t* args = reinterpret_cast<uintptr_t*>(raw_args); local 37 argc = static_cast<int>(*args); 38 argv = reinterpret_cast<char**>(args + 1);
|
/bionic/libc/kernel/uapi/linux/ |
H A D | seccomp.h | 45 __u64 args[6]; member in struct:seccomp_data
|
H A D | kvm.h | 234 __u64 args[6]; member in struct:kvm_run::__anon469::__anon476 285 __u64 args[9]; member in struct:kvm_run::__anon469::__anon483 532 __u64 args[4]; member in struct:kvm_enable_cap
|
/bionic/libc/tools/ |
H A 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/tools/zoneinfo/ |
H A D | ZoneCompactor.java | 185 public static void main(String[] args) throws Exception { argument 186 if (args.length != 5) { 190 new ZoneCompactor(args[0], args[1], args[2], args[3], args[4]);
|
/bionic/libc/dns/resolv/ |
H A D | res_cache.c | 265 va_list args; local 272 va_start(args, format); 273 n = vsnprintf( p, avail, format, args); 274 va_end(args);
|
/bionic/tests/ |
H A D | gtest_main.cpp | 846 static void AddPathSeparatorInTestProgramPath(std::vector<char*>& args) { argument 852 if (strchr(args[0], '/') == NULL) { 860 args[0] = strdup(path); 864 static void AddGtestFilterSynonym(std::vector<char*>& args) { argument 866 for (size_t i = 1; i < args.size(); ++i) { 867 if (strncmp(args[i], "--gtest-filter", strlen("--gtest-filter")) == 0) { 868 args[i][7] = '_'; 884 // Pick options not for gtest: There are two parts in args, one part is used in isolation test mode 887 // part in args. 889 // args i 892 PickOptions(std::vector<char*>& args, IsolationTestOptions& options) argument [all...] |