Searched defs:cookie (Results 1 - 11 of 11) sorted by relevance

/system/core/adb/
H A Dlog_service.c33 void log_service(int fd, void *cookie) argument
36 char * log_filepath = cookie;
H A Dframebuffer_service.c55 void framebuffer_service(int fd, void *cookie) argument
H A Dremount_service.c97 void remount_service(int fd, void *cookie) argument
H A Dfile_sync_service.c359 void file_sync_service(int fd, void *cookie) argument
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
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 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
/system/core/libcutils/
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);
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)
/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/include/cutils/
H A Dtrace.h206 * the event, and the cookie provides a unique identifier for distinguishing
207 * simultaneous events. The name and cookie used to begin an event must be
210 #define ATRACE_ASYNC_BEGIN(name, cookie) \
211 atrace_async_begin(ATRACE_TAG, name, cookie)
213 int32_t cookie)
220 name, cookie);
229 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
231 int32_t cookie)
238 name, cookie);
212 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
230 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
[all...]
/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

Completed in 165 milliseconds