/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | args.c | 85 static const struct arg { struct 115 struct arg *ap, tmp; 116 char *oper, *arg; local 127 if ((arg = strchr(oper, '=')) == NULL) { 131 *arg++ = '\0'; 132 if (!*arg) { 149 ap->f(arg); 212 return (strcmp(((const struct arg *)a)->name, 213 ((const struct arg *)b)->name)); 217 f_bs(char *arg) argument 224 f_cbs(char *arg) argument 231 f_count(char *arg) argument 240 f_files(char *arg) argument 249 f_ibs(char *arg) argument 257 f_if(char *arg) argument 266 f_msgfmt(char *arg) argument 274 f_msgfmt(char *arg) argument 288 f_obs(char *arg) argument 296 f_of(char *arg) argument 303 f_seek(char *arg) argument 310 f_skip(char *arg) argument 317 f_progress(char *arg) argument 326 f_conv(char *arg) argument 361 f_conv(char *arg) argument [all...] |
/system/core/debuggerd/ |
H A D | crasher.c | 27 static int do_action(const char* arg); 92 static int do_action_on_thread(const char* arg) argument 95 pthread_create(&t, NULL, thread_callback, (void*) arg); 126 static int do_action(const char* arg) argument 130 if (!strncmp(arg, "thread-", strlen("thread-"))) { 131 return do_action_on_thread(arg + strlen("thread-")); 132 } else if (!strcmp(arg, "SIGSEGV-non-null")) { 134 } else if (!strcmp(arg, "smash-stack")) { 137 } else if (!strcmp(arg, "stack-overflow")) { 139 } else if (!strcmp(arg, "nostac [all...] |
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_pthread_cond.c | 13 thread1_func(void* arg) argument 15 printf("Thread 1 (arg=%p tid=%d) entered.\n", arg, gettid()); 25 thread2_func(void* arg) argument 27 printf("Thread 2 (arg=%p tid=%d) entered.\n", arg, gettid()); 38 thread3_func(void* arg) argument 40 printf("Thread 3 (arg=%p tid=%d) entered.\n", arg, gettid()); 55 thread4_func(void* arg) argument [all...] |
/system/core/include/cutils/ |
H A D | android_reboot.h | 30 int android_reboot(int cmd, int flags, const char *arg);
|
/system/core/libcutils/ |
H A D | dlmalloc_stubs.c | 27 void* arg UNUSED)
|
H A D | android_reboot.c | 92 int android_reboot(int cmd, int flags UNUSED, const char *arg) argument 110 LINUX_REBOOT_CMD_RESTART2, arg);
|
/system/core/liblog/tests/ |
H A D | benchmark_main.cpp | 61 int PrettyPrintInt(char* str, int len, unsigned int arg) argument 63 if (arg >= (1<<30) && arg % (1<<30) == 0) { 64 return snprintf(str, len, "%uGi", arg/(1<<30)); 65 } else if (arg >= (1<<20) && arg % (1<<20) == 0) { 66 return snprintf(str, len, "%uMi", arg/(1<<20)); 67 } else if (arg >= (1<<10) && arg % (1<<10) == 0) { 68 return snprintf(str, len, "%uKi", arg/( [all...] |
H A D | benchmark.h | 34 int PrettyPrintInt(char* str, int len, unsigned int arg); 65 BenchmarkWantsArgBase<T>* Arg(const char* arg_name, T arg) { argument 66 BenchmarkRegister(new BenchmarkWithArg<T>(name_, fn_arg_, arg_name, arg)); 71 virtual void RunFn(int) { printf("can't run arg benchmark %s without arg\n", Name()); } 78 BenchmarkWithArg(const char* name, void (*fn)(int, T), const char* arg_name, T arg) : argument 79 BenchmarkWantsArg<T>(name, fn), arg_(arg) { 110 BenchmarkWantsArg<int>* Arg(int arg) { argument 112 PrettyPrintInt(arg_name, sizeof(arg_name), arg); 113 BenchmarkRegister(new BenchmarkWithArg<int>(name_, fn_arg_, arg_name, arg)); 130 BenchmarkAddArg(::testing::Benchmark* b, const char* name, T arg) argument [all...] |
/system/core/adb/ |
H A D | fdevent.h | 39 fdevent *fdevent_create(int fd, fd_func func, void *arg); 48 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg); 78 void *arg; member in struct:fdevent
|
/system/bt/osi/test/ |
H A D | reactor_test.cpp | 83 unregister_arg_t *arg = (unregister_arg_t *)context; local 84 reactor_unregister(arg->object); 85 reactor_stop(arg->reactor); 92 unregister_arg_t arg; local 93 arg.reactor = reactor; 94 arg.object = reactor_register(reactor, fd, &arg, unregister_cb, NULL);
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 136 char *arg = argv[0]; local 137 if (!strcmp(arg, "--id")) { 145 if(!strcmp(arg, "--output") || !strcmp(arg, "-o")) { 147 } else if(!strcmp(arg, "--kernel")) { 149 } else if(!strcmp(arg, "--ramdisk")) { 151 } else if(!strcmp(arg, "--second")) { 153 } else if(!strcmp(arg, "--cmdline")) { 155 } else if(!strcmp(arg, "--base")) { 157 } else if(!strcmp(arg, " [all...] |
/system/extras/procrank/ |
H A D | procrank.c | 141 int arg; local 149 for (arg = 1; arg < argc; arg++) { 150 if (!strcmp(argv[arg], "-v")) { compfn = &sort_by_vss; continue; } 151 if (!strcmp(argv[arg], "-r")) { compfn = &sort_by_rss; continue; } 152 if (!strcmp(argv[arg], "-p")) { compfn = &sort_by_pss; continue; } 153 if (!strcmp(argv[arg], "-u")) { compfn = &sort_by_uss; continue; } 154 if (!strcmp(argv[arg], "-s")) { compfn = &sort_by_swap; continue; } 155 if (!strcmp(argv[arg], " [all...] |
/system/extras/tests/memtest/ |
H A D | thumb.cpp | 8 extern "C" _Unwind_Reason_Code trace_function(_Unwind_Context *context, void *arg) argument
|
/system/media/audio_utils/tests/ |
H A D | fifo_tests.cpp | 33 char *arg = argv[i]; local 34 if (arg[0] != '-') 36 switch (arg[1]) { 38 frameCount = atoi(&arg[2]); 41 maxFramesPerRead = atoi(&arg[2]); 44 maxFramesPerWrite = atoi(&arg[2]); 47 fprintf(stderr, "%s: unknown option %s\n", argv[0], arg);
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_jpeg.c | 251 const char* arg = &argv[1][1]; local 252 switch (arg[0]) { 254 if (arg[1] == 0) { 257 arg = argv[2]; 261 arg += 1; 263 repeat_count = strtol(arg, NULL, 10); 274 if (arg[1] == 0) { 277 arg = argv[2]; 281 arg += 1; 283 dct_method = strtol(arg, NUL [all...] |
H A D | test_zlib.c | 187 const char* arg = &argv[1][1]; local 188 switch (arg[0]) { 190 if (arg[1] == 0) { 193 arg = argv[2]; 197 arg += 1; 199 repeat_count = strtol(arg, NULL, 10); 207 compression_level = arg[0] - '0';
|
/system/core/fastboot/ |
H A D | usbtest.c | 154 char *arg = *argv++; local 155 if(!strncmp(arg,"count=",6)) { 156 arg_count = atoi(arg + 6); 157 } else if(!strncmp(arg,"size=",5)) { 158 arg_size = atoi(arg + 5); 160 fprintf(stderr,"unknown argument: %s\n", arg);
|
/system/vold/bench/ |
H A D | benchgen.py | 65 def extract_file(e, arg): 66 if "<" in arg: 67 fd, path = arg.split("<") 76 arg = "" 82 arg += c 98 args.append(arg.strip()) 99 arg = "" 101 arg += c 103 args.append(arg.strip())
|
/system/core/libion/kernel-headers/linux/ |
H A D | ion.h | 65 unsigned long arg; member in struct:ion_custom_data
|
/system/core/libion/original-kernel-headers/linux/ |
H A D | ion.h | 120 * @arg: additional data to pass to the custom ioctl, typically a user 123 * This works just like the regular cmd and arg fields of an ioctl. 127 unsigned long arg; member in struct:ion_custom_data
|
/system/netd/server/ |
H A D | CommandListener.h | 138 static FirewallRule parseRule(const char* arg); 139 static FirewallType parseFirewallType(const char* arg); 140 static ChildChain parseChildChain(const char* arg); 157 static StrictPenalty parsePenalty(const char* arg);
|
H A D | NetdConstants.cpp | 75 const char* arg; local 81 arg = va_arg(args, const char *); 82 argsList.push_back(arg); 83 } while (arg);
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_utils.h | 55 * @param arg Value that was passed into the OI_ScheduleCallback() function 58 typedef void (*OI_SCHEDULED_CALLBACK)(void *arg); 69 * @param arg Value that will be returned as the parameter to the callback function. 80 void *arg, 101 * @param arg Value that will be returned as the parameter to the callback function.
|
/system/core/libsync/ |
H A D | sync.c | 99 __u32 arg = count; local 101 return ioctl(fd, SW_SYNC_IOC_INC, &arg);
|
/system/core/logd/ |
H A D | LogBuffer.h | 56 int (*filter)(const LogBufferElement *element, void *arg) = NULL, 57 void *arg = NULL);
|