/system/core/adb/ |
H A D | log_service.c | 33 void log_service(int fd, void *cookie) argument 36 char * log_filepath = cookie;
|
H A D | framebuffer_service.c | 55 void framebuffer_service(int fd, void *cookie) argument
|
H A D | remount_service.c | 97 void remount_service(int fd, void *cookie) argument
|
H A D | file_sync_service.c | 359 void file_sync_service(int fd, void *cookie) argument
|
H A D | services.c | 42 void (*func)(int fd, void *cookie); 44 void *cookie; member in struct:stinfo 51 sti->func(sti->fd, sti->cookie); 59 static void dns_service(int fd, void *cookie) argument 61 char *hostname = cookie; 67 free(cookie); 79 static void recover_service(int s, void *cookie) argument 82 unsigned count = (unsigned) cookie; 110 void restart_root_service(int fd, void *cookie) argument 135 void restart_tcp_service(int fd, void *cookie) argument 155 restart_usb_service(int fd, void *cookie) argument 230 create_service_thread(void (*func)(int, void *), void *cookie) argument 341 subproc_waiter_service(int fd, void *cookie) argument 502 wait_for_state(int fd, void* cookie) argument [all...] |
H A D | file_sync_client.c | 75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie); 77 int sync_ls(int fd, const char *path, sync_ls_cb func, void *cookie) argument 108 buf, cookie); local 536 const char *name, void *cookie) 811 const char *name, void *cookie) 813 sync_ls_build_list_cb_args *args = (sync_ls_build_list_cb_args *)cookie; 535 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument 810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
|
/system/core/libcutils/ |
H A D | open_memstream.c | 123 static int write_memstream(void* cookie, const char* buf, int size) argument 125 MemStream* stream = (MemStream*) cookie; 164 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) argument 166 MemStream* stream = (MemStream*) cookie; 216 static int close_memstream(void* cookie) argument 218 free(cookie);
|
H A D | properties.c | 55 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 56 void *cookie) 65 propfn(name, value, cookie); 241 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 242 void *cookie) 324 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 325 void *cookie)
|
/system/core/libzipfile/ |
H A D | zipfile.c | 148 iterate_zipfile(zipfile_t file, void** cookie) argument 150 Zipentry* entry = (Zipentry*)*cookie; 153 *cookie = zip->entries; 154 return *cookie; 157 *cookie = entry;
|
/system/extras/sound/ |
H A D | playwav.c | 37 int (*fill)(void *buf, unsigned sz, void *cookie), 38 void *cookie) 71 if (fill(buf, sz, cookie)) 85 if (fill(buf, sz, cookie)) 125 int fill_buffer(void *buf, unsigned sz, void *cookie) argument 36 pcm_play(unsigned rate, unsigned channels, int (*fill)(void *buf, unsigned sz, void *cookie), void *cookie) argument
|