Searched refs:cookie (Results 1 - 16 of 16) sorted by relevance

/system/core/include/cutils/
H A Dproperties.h47 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
/system/core/include/zipfile/
H A Dzipfile.h52 zipentry_t iterate_zipfile(zipfile_t file, void** cookie);
/system/core/adb/
H A Dservices.c42 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
137 void restart_tcp_service(int fd, void *cookie) argument
161 restart_usb_service(int fd, void *cookie) argument
240 create_service_thread(void (*func)(int, void *), void *cookie) argument
351 subproc_waiter_service(int fd, void *cookie) argument
513 wait_for_state(int fd, void* cookie) argument
[all...]
H A Dlog_service.c33 void log_service(int fd, void *cookie) argument
36 char * log_filepath = cookie;
H A Dfile_sync_service.h79 void file_sync_service(int fd, void *cookie);
H A Dremount_service.c97 void remount_service(int fd, void *cookie) argument
H A Dadb.h312 void framebuffer_service(int fd, void *cookie);
313 void log_service(int fd, void *cookie);
314 void remount_service(int fd, void *cookie);
H A Dframebuffer_service.c52 void framebuffer_service(int fd, void *cookie) argument
H A Dfile_sync_client.c75 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
H A Dfile_sync_service.c359 void file_sync_service(int fd, void *cookie) argument
/system/core/libzipfile/
H A Dzipfile.c148 iterate_zipfile(zipfile_t file, void** cookie) argument
150 Zipentry* entry = (Zipentry*)*cookie;
153 *cookie = zip->entries;
154 return *cookie;
157 *cookie = entry;
/system/core/libcutils/
H A Dproperties.c55 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)
H A Dopen_memstream.c123 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);
/system/extras/sound/
H A Dplaywav.c37 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
/system/core/init/
H A Dproperty_service.c341 static int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument
342 void *cookie)
351 propfn(name, value, cookie);
/system/core/toolbox/
H A Dnotify.c98 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? event->name : "");

Completed in 174 milliseconds