Searched refs:arg (Results 1 - 25 of 59) sorted by last modified time

123

/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/adb/
H A Dfdevent.c514 fde->func(fde->fd, events, fde->arg);
575 fdevent *fdevent_create(int fd, fd_func func, void *arg) argument
579 fdevent_install(fde, fd, func, arg);
593 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
600 fde->arg = arg;
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
H A Dservices.c165 void reboot_service(int fd, void *arg) argument
185 ret = android_reboot(ANDROID_RB_RESTART2, 0, (char *) arg);
190 free(arg);
464 void* arg = strdup(name + 7); local
465 if(arg == 0) return -1;
466 ret = create_service_thread(reboot_service, arg);
470 char* arg = strdup(name+7); local
471 if (arg == NULL) return -1;
472 ret = backup_service(BACKUP, arg);
H A Dsysdeps.h66 typedef void* (*adb_thread_func_t)(void* arg);
68 typedef void (*win_thread_func_t)(void* arg);
70 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) argument
72 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg );
186 fdevent *fdevent_create(int fd, fd_func func, void *arg);
188 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
206 void *arg; member in struct:fdevent
420 typedef void* (*adb_thread_func_t)( void* arg );
422 static __inline__ int adb_thread_create( adb_thread_t *pthread, adb_thread_func_t start, void* arg )
429 return pthread_create( pthread, &attr, start, arg );
[all...]
H A Dsysdeps_win32.c1383 if (f == NULL) /* invalid arg */ {
1477 _in_waiter_thread(void* arg) argument
1481 WaitForAllParam* const param = (WaitForAllParam*)arg;
1829 fdevent *fdevent_create(int fd, fd_func func, void *arg) argument
1833 fdevent_install(fde, fd, func, arg);
1847 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
1853 fde->arg = arg;
1931 fde->func(fde->fd, events, fde->arg);
H A Dtransport_local.c154 static void *server_socket_thread(void * arg) argument
159 int port = (int)arg;
232 static void *qemu_socket_thread(void * arg) argument
241 const int port = (int)arg;
258 adb_thread_create(&thr, server_socket_thread, arg);
/system/core/fastboot/
H A Dfastboot.c760 static int64_t parse_num(const char *arg) argument
765 num = strtoull(arg, &endptr, 0);
766 if (endptr == arg) {
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/include/cutils/
H A Dandroid_reboot.h31 int android_reboot(int cmd, int flags, char *arg);
/system/core/include/sysutils/
H A DSocketClient.h67 // return a new string in quotes with '\\' and '\"' escaped for "my arg" transmissions
68 static char *quoteArg(const char *arg);
/system/core/init/
H A Dinit.c494 void handle_control_message(const char *msg, const char *arg) argument
497 msg_start(arg);
499 msg_stop(arg);
501 msg_stop(arg);
502 msg_start(arg);
H A Dinit.h24 void handle_control_message(const char *msg, const char *arg);
/system/core/libcorkscrew/
H A Dbacktrace.c74 static _Unwind_Reason_Code unwind_backtrace_callback(struct _Unwind_Context* context, void* arg) { argument
75 backtrace_state_t* state = (backtrace_state_t*)arg;
/system/core/libcutils/
H A Dandroid_reboot.c104 int android_reboot(int cmd, int flags, char *arg) argument
125 LINUX_REBOOT_CMD_RESTART2, arg);
H A Ddlmalloc_stubs.c26 void* arg)
25 dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg) argument
/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/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/libsuspend/
H A Dautosuspend_earlysuspend.c78 static void *earlysuspend_thread_func(void *arg) argument
H A Dautosuspend_wakeup_count.c41 static void *suspend_thread_func(void *arg __attribute__((unused)))
/system/core/libsync/
H A Dsync.c98 __u32 arg = count; local
100 return ioctl(fd, SW_SYNC_IOC_INC, &arg);
/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/sdcard/
H A Dfuse.h508 __u64 arg; member in struct:fuse_ioctl_in
H A Dsdcard.c1310 char* arg = argv[i]; local
1311 if (!strncmp(arg, "-t", 2))
1312 num_threads = strtoul(arg + 2, 0, 10);
1314 source_path = arg;
1316 dest_path = arg;
1320 uid = strtoul(arg, &endptr, 10);
1328 gid = strtoul(arg, &endptr, 10);

Completed in 95 milliseconds

123