/system/extras/tests/bionic/libc/bionic/ |
H A D | test_pthread_create.c | 6 thread1_func(void* arg) argument 8 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 13 thread2_func(void* arg) argument 15 printf("thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid());
|
H A D | test_pthread_cond.c | 13 thread1_func(void* arg) argument 15 printf("Thread 1 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 25 thread2_func(void* arg) argument 27 printf("Thread 2 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 38 thread3_func(void* arg) argument 40 printf("Thread 3 (arg=%d tid=%d) entered.\n", (unsigned)arg, gettid()); 55 thread4_func(void* arg) argument [all...] |
/system/core/libcutils/ |
H A D | dlmalloc_stubs.c | 26 void* arg) 25 dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg) argument
|
H A D | android_reboot.c | 104 int android_reboot(int cmd, int flags, char *arg) argument 125 LINUX_REBOOT_CMD_RESTART2, arg);
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_pthread_cleanup_push.c | 42 cleanup1( void* arg ) 44 if ((unsigned)arg != MAGIC1) 51 cleanup2( void* arg ) 53 if ((unsigned)arg != MAGIC2) { 60 cleanup3( void* arg ) 62 if ((unsigned)arg != MAGIC3) 70 thread1_func( void* arg ) 76 if (arg != NULL)
|
H A D | test_pthread_join.c | 33 thread1_func(void* arg) argument 41 thread2_func(void* arg) argument 43 pthread_t t1 = (pthread_t)arg; 53 thread3_func(void* arg) argument 55 pthread_t t1 = (pthread_t)arg;
|
H A D | test_pthread_once.c | 52 thread_function(void* arg) argument 57 printf ("thread %ld: global == %d\n", (long int) arg, global_count);
|
H A D | test_clock.c | 26 void *cpu_hog(void *arg) argument
|
H A D | test_pthread_getcpuclockid.c | 39 thread_func( void* arg ) 56 ts.tv_nsec = 300000000 + ((int)arg)*50000000;
|
H A D | test_sem_post.c | 45 thread_func(void* arg) argument 47 sem_t *psem = (sem_t *)arg;
|
/system/core/include/cutils/ |
H A D | android_reboot.h | 31 int android_reboot(int cmd, int flags, char *arg);
|
/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); 79 void *arg; member in struct:fdevent
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_thread_max.c | 34 thread_func( void* arg ) 36 fprintf(stderr, "thread %ld\n", (long)arg );
|
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...] |
/system/core/libnl_2/ |
H A D | handlers.c | 58 nl_recvmsg_msg_cb_t func, void *arg) 61 cb->cb_args[type] = arg; 69 nl_recvmsg_err_cb_t func, void *arg) 72 cb->cb_err_arg = arg; 57 nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, \ nl_recvmsg_msg_cb_t func, void *arg) argument 68 nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, \ nl_recvmsg_err_cb_t func, void *arg) argument
|
/system/core/toolbox/ |
H A D | touch.c | 26 const char *arg = argv[i]+1; local 27 while (arg[0]) { 28 switch (arg[0]) { 46 arg++;
|
H A D | kill.c | 116 char* arg = argv[0] + 1; local 117 if (arg_len == 2 && *arg == 'l') { 122 sig = strtol(arg, &endptr, 10); 124 sig = name_to_signal(arg); 126 fprintf(stderr, "invalid signal name: %s\n", arg);
|
H A D | dd.c | 1030 static const struct arg { struct 1057 struct arg *ap, tmp; 1058 char *oper, *arg; local 1063 if ((arg = strchr(oper, '=')) == NULL) { 1068 *arg++ = '\0'; 1069 if (!*arg) { 1075 if (!(ap = (struct arg *)bsearch(&tmp, args, 1076 sizeof(args)/sizeof(struct arg), sizeof(struct arg), 1090 ap->f(arg); 1159 strsuftoll(const char* name, const char* arg, int def, unsigned int max) argument 1169 f_bs(char *arg) argument 1176 f_cbs(char *arg) argument 1183 f_count(char *arg) argument 1192 f_files(char *arg) argument 1201 f_ibs(char *arg) argument 1209 f_if(char *arg) argument 1216 f_obs(char *arg) argument 1224 f_of(char *arg) argument 1231 f_seek(char *arg) argument 1238 f_skip(char *arg) argument 1245 f_progress(char *arg) argument 1255 f_conv(char *arg) argument 1284 f_conv(char *arg) argument [all...] |
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 124 char *arg = argv[0]; local 131 if(!strcmp(arg, "--output") || !strcmp(arg, "-o")) { 133 } else if(!strcmp(arg, "--kernel")) { 135 } else if(!strcmp(arg, "--ramdisk")) { 137 } else if(!strcmp(arg, "--second")) { 139 } else if(!strcmp(arg, "--cmdline")) { 141 } else if(!strcmp(arg, "--base")) { 143 } else if(!strcmp(arg, "--kernel_offset")) { 145 } else if(!strcmp(arg, " [all...] |
/system/extras/procrank/ |
H A D | procrank.c | 133 int arg; local 141 for (arg = 1; arg < argc; arg++) { 142 if (!strcmp(argv[arg], "-v")) { compfn = &sort_by_vss; continue; } 143 if (!strcmp(argv[arg], "-r")) { compfn = &sort_by_rss; continue; } 144 if (!strcmp(argv[arg], "-p")) { compfn = &sort_by_pss; continue; } 145 if (!strcmp(argv[arg], "-u")) { compfn = &sort_by_uss; continue; } 146 if (!strcmp(argv[arg], "-w")) { ws = WS_ONLY; continue; } 147 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/netd/ |
H A D | NetdConstants.cpp | 48 const char* arg; local 50 arg = va_arg(args, const char *); 51 argsList.push_back(arg); 52 } while (arg);
|
H A D | SoftapController.h | 33 int addParam(int pos, const char *cmd, const char *arg);
|
/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/core/libsysutils/src/ |
H A D | SocketClient.cpp | 110 char *SocketClient::quoteArg(const char *arg) { argument 111 int len = strlen(arg); 114 const char *end = arg + len; 117 while (arg < end) { 118 switch (*arg) { 123 *(current++) = *(arg++);
|