Searched defs:args (Results 1 - 17 of 17) sorted by relevance

/bionic/libc/bionic/
H A Dlibc_init_dynamic.cpp71 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 Dptrace.cpp38 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 Dclone.cpp51 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 Dmalloc_info.cpp32 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 Dopen.cpp55 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 Dsyslog.cpp45 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 Dlibc_init_common.cpp78 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 Dgetentropy_linux.c211 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 Dlibc_logging.cpp236 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 Dmalloc_debug_check.cpp68 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 DKernelArgumentBlock.h36 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 Dseccomp.h45 __u64 args[6]; member in struct:seccomp_data
H A Dkvm.h234 __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 Dgenerate-NOTICE.py103 args = sys.argv[1:] variable
104 if len(args) == 0:
105 args = [ "." ] variable
107 for arg in args:
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java185 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 Dres_cache.c265 va_list args; local
272 va_start(args, format);
273 n = vsnprintf( p, avail, format, args);
274 va_end(args);
/bionic/tests/
H A Dgtest_main.cpp846 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...]

Completed in 882 milliseconds