/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/extras/tests/memtest/ |
H A D | thumb.cpp | 8 extern "C" _Unwind_Reason_Code trace_function(_Unwind_Context *context, void *arg) argument
|
/system/core/fastbootd/commands/ |
H A D | virtual_partitions.c | 37 int try_handle_virtual_partition(struct protocol_handle *handle, const char *arg) argument 42 if (!strcmp(current->name, arg)) { 43 current->handler(handle, arg); 52 void (*handler)(struct protocol_handle *phandle, const char *arg)) 50 virtual_partition_register( const char * name, void (*handler)(struct protocol_handle *phandle, const char *arg)) argument
|
/system/core/fastbootd/ |
H A D | vendor_trigger_default.c | 55 int trigger_oem_cmd(const char *arg, const char **response) { argument 56 KLOG_DEBUG("fastbootd", "%s: %s", __func__, arg);
|
H A D | transport.c | 85 static void *transport_data_thread(void *arg) argument 87 struct transport_handle *thandle = arg; 113 static void *transport_connect_thread(void *arg) argument 115 struct transport *transport = arg;
|
H A D | protocol.c | 50 void (*execute)(struct protocol_handle *phandle, const char *arg); 62 void (*phandle)(struct protocol_handle *phandle, const char *arg)) 61 fastboot_register(const char *prefix, void (*phandle)(struct protocol_handle *phandle, const char *arg)) argument
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_clock.c | 26 void *cpu_hog(void *arg) argument
|
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_sem_post.c | 45 thread_func(void* arg) argument 47 sem_t *psem = (sem_t *)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/core/libcutils/ |
H A D | android_reboot.c | 107 int android_reboot(int cmd, int flags UNUSED, char *arg) argument 125 LINUX_REBOOT_CMD_RESTART2, arg);
|
/system/core/toolbox/ |
H A D | touch.c | 53 const char *arg = argv[i]+1; local 54 while (arg[0]) { 55 switch (arg[0]) { 73 arg++;
|
/system/core/toolbox/upstream-netbsd/bin/sleep/ |
H A D | sleep.c | 70 char *arg, *temp; local 105 arg = *argv; 106 for (temp = arg; *temp != '\0'; temp++) 111 val = atof(arg); 120 ntime.tv_sec = atol(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/libion/ |
H A D | ion.c | 49 static int ion_ioctl(int fd, int req, void *arg) argument 51 int ret = ioctl(fd, req, arg);
|
/system/core/libsuspend/ |
H A D | autosuspend_earlysuspend.c | 78 static void *earlysuspend_thread_func(void __unused *arg) argument
|
/system/core/libsync/ |
H A D | sync.c | 98 __u32 arg = count; local 100 return ioctl(fd, SW_SYNC_IOC_INC, &arg);
|
/system/extras/tests/bionic/libc/other/ |
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/debuggerd/ |
H A D | crasher.c | 27 static int do_action(const char* arg); 85 static int do_action_on_thread(const char* arg) argument 88 pthread_create(&t, NULL, thread_callback, (void*) arg); 119 static int do_action(const char* arg) argument 123 if (!strncmp(arg, "thread-", strlen("thread-"))) { 124 return do_action_on_thread(arg + strlen("thread-")); 125 } else if (!strcmp(arg, "SIGSEGV-non-null")) { 127 } else if (!strcmp(arg, "smash-stack")) { 129 } else if (!strcmp(arg, "stack-overflow")) { 131 } else if (!strcmp(arg, "nostac [all...] |
/system/core/fastbootd/other/ |
H A D | gptedit.c | 66 void addGPT(struct GPT_entry_table *table, const char *arg, const char *guid, const char *tguid); 241 char *arg = malloc(strlen(str)); local 242 char *name = arg; 244 strcpy(arg, str); 247 free(arg); 251 c = strchr(arg, '@'); 255 free(arg); 265 free(arg); 284 free(arg);
|
/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/core/liblog/tests/ |
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...] |