Searched refs:arg (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/minadbd/ |
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
|
D | sysdeps.h | 65 typedef void* (*adb_thread_func_t)(void* arg); 67 typedef void (*win_thread_func_t)(void* arg); 69 …atic __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) in adb_thread_create() argument 71 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); in adb_thread_create() 185 fdevent *fdevent_create(int fd, fd_func func, void *arg); 187 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg); 205 void *arg; member 415 typedef void* (*adb_thread_func_t)( void* arg ); 417 …c __inline__ int adb_thread_create( adb_thread_t *pthread, adb_thread_func_t start, void* arg ) in adb_thread_create() argument 424 return pthread_create( pthread, &attr, start, arg ); in adb_thread_create()
|
D | fdevent.c | 514 fde->func(fde->fd, events, fde->arg); in fdevent_call_fdfunc() 575 fdevent *fdevent_create(int fd, fd_func func, void *arg) in fdevent_create() argument 579 fdevent_install(fde, fd, func, arg); in fdevent_create() 593 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) in fdevent_install() argument 600 fde->arg = arg; in fdevent_install()
|
/bootable/recovery/ |
D | recovery.cpp | 190 const char *arg = strtok(boot.recovery, "\n"); in get_args() local 191 if (arg != NULL && !strcmp(arg, "recovery")) { in get_args() 193 (*argv)[0] = strdup(arg); in get_args() 195 if ((arg = strtok(NULL, "\n")) == NULL) break; in get_args() 196 (*argv)[*argc] = strdup(arg); in get_args() 954 int arg; in main() local 955 while ((arg = getopt_long(argc, argv, "", OPTIONS, NULL)) != -1) { in main() 956 switch (arg) { in main() 1013 for (arg = 0; arg < argc; arg++) { in main() 1014 printf(" \"%s\"", argv[arg]); in main()
|
/bootable/recovery/minzip/ |
D | Hash.h | 37 typedef int (*HashForeachFunc)(void* data, void* arg); 134 int mzHashForeach(HashTable* pHashTable, HashForeachFunc func, void* arg);
|
D | Hash.c | 292 int mzHashForeach(HashTable* pHashTable, HashForeachFunc func, void* arg) in mzHashForeach() argument 300 val = (*func)(pEnt->data, arg); in mzHashForeach()
|