Searched defs:arg (Results 1 - 25 of 49) sorted by relevance

12

/system/core/libcutils/
H A Ddlmalloc_stubs.c26 void* arg)
25 dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg) argument
H A Dandroid_reboot.c104 int android_reboot(int cmd, int flags, char *arg) argument
125 LINUX_REBOOT_CMD_RESTART2, arg);
/system/extras/tests/bionic/libc/bionic/
H A Dtest_pthread_create.c6 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 Dtest_pthread_cond.c13 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 Dthumb.cpp8 extern "C" _Unwind_Reason_Code trace_function(_Unwind_Context *context, void *arg) argument
/system/extras/tests/bionic/libc/common/
H A Dtest_clock.c26 void *cpu_hog(void *arg) argument
H A Dtest_clone.c43 clone_child (void *arg) argument
H A Dtest_pthread_join.c33 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 Dtest_pthread_once.c52 thread_function(void* arg) argument
57 printf ("thread %ld: global == %d\n", (long int) arg, global_count);
H A Dtest_sem_post.c45 thread_func(void* arg) argument
47 sem_t *psem = (sem_t *)arg;
/system/core/adb/
H A Dfdevent.h39 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/libnl_2/
H A Dhandlers.c58 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 Dtouch.c26 const char *arg = argv[i]+1; local
27 while (arg[0]) {
28 switch (arg[0]) {
46 arg++;
H A Dsetconsole.c13 static void *activate_thread(void *arg) argument
16 int fd = (int)arg;
H A Dkill.c116 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);
/system/core/fastboot/
H A Dusbtest.c154 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 Dion.c46 static int ion_ioctl(int fd, int req, void *arg) argument
48 int ret = ioctl(fd, req, arg);
/system/core/libsync/
H A Dsync.c98 __u32 arg = count; local
100 return ioctl(fd, SW_SYNC_IOC_INC, &arg);
/system/extras/tests/bionic/libc/other/
H A Dtest_zlib.c187 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/netd/
H A DNetdConstants.cpp48 const char* arg; local
50 arg = va_arg(args, const char *);
51 argsList.push_back(arg);
52 } while (arg);
/system/security/keystore/
H A Dkeystore_client.cpp42 uint8_t* arg = va_arg(vl, uint8_t*); local
52 || TEMP_FAILURE_RETRY(send(sock, arg, argLen, MSG_NOSIGNAL))
/system/core/libsuspend/
H A Dautosuspend_earlysuspend.c78 static void *earlysuspend_thread_func(void *arg) argument
/system/core/libsysutils/src/
H A DSocketClient.cpp110 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++);
/system/core/mkbootimg/
H A Dmkbootimg.c124 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/core/sh/
H A Dshow.c166 sharg(union node *arg, FILE *fp) argument
172 if (arg->type != NARG) {
173 printf("<node type %d>\n", arg->type);
176 bqlist = arg->narg.backquote;
177 for (p = arg->narg.text ; *p ; p++) {

Completed in 221 milliseconds

12