Searched defs:cookie (Results 1 - 14 of 14) 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.c106 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.c44 void (*func)(int fd, void *cookie);
46 void *cookie; member in struct:stinfo
53 sti->func(sti->fd, sti->cookie);
60 void restart_root_service(int fd, void *cookie) argument
85 void restart_tcp_service(int fd, void *cookie) argument
89 int port = (int)cookie;
105 void restart_usb_service(int fd, void *cookie) argument
155 static int create_service_thread(void (*func)(int, void *), void *cookie) argument
169 sti->cookie = cookie;
266 subproc_waiter_service(int fd, void *cookie) argument
414 wait_for_state(int fd, void* cookie) argument
535 connect_service(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.c57 void (*propfn)(const char *key, const char *value, void *cookie);
58 void *cookie; member in struct:property_list_callback_data
61 static void property_list_callback(const prop_info *pi, void *cookie) argument
65 struct property_list_callback_data *data = cookie;
68 data->propfn(name, value, data->cookie);
72 void (*propfn)(const char *key, const char *value, void *cookie),
73 void *cookie)
75 struct property_list_callback_data data = { propfn, cookie };
250 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument
251 void *cookie)
71 property_list( void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument
333 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument
[all...]
/system/core/toolbox/
H A Dwatchprops.c47 static void populate_watchlist(const prop_info *pi, void *cookie) argument
49 Hashmap *watchlist = cookie;
57 static void update_watchlist(const prop_info *pi, void *cookie) argument
59 Hashmap *watchlist = 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.h207 * the event, and the cookie provides a unique identifier for distinguishing
208 * simultaneous events. The name and cookie used to begin an event must be
211 #define ATRACE_ASYNC_BEGIN(name, cookie) \
212 atrace_async_begin(ATRACE_TAG, name, cookie)
214 int32_t cookie)
221 name, cookie);
230 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
232 int32_t cookie)
239 name, cookie);
213 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
231 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
[all...]
/system/core/include/utils/
H A DBasicHashtable.h46 uint32_t cookie; member in struct:android::BasicHashtableImpl::Bucket
109 // Copies the content of buckets (copies the cookie and invokes copyBucketEntry
119 // Trim a hash code to 30 bits to match what we store in the bucket's cookie.
357 return bucketAt(mBuckets, index).cookie;
/system/core/libutils/tests/
H A DBasicHashtable_test.cpp109 uint32_t cookie = h.cookieAt(index); local
110 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION;
111 *present = cookie & BasicHashtable<TKey, TEntry>::Bucket::PRESENT;
112 *hash = cookie & BasicHashtable<TKey, TEntry>::Bucket::HASH_MASK;
/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 160 milliseconds