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

/system/core/adb/
H A Ddisable_verity_service.c149 void disable_verity_service(int fd, void* cookie) argument
H A Dframebuffer_service.c55 void framebuffer_service(int fd, void *cookie) argument
H A Dremount_service.c117 void remount_service(int fd, void *cookie) argument
H A Dfile_sync_service.c426 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) (uintptr_t) cookie;
105 void restart_usb_service(int fd, void *cookie) argument
157 static int create_service_thread(void (*func)(int, void *), void *cookie) argument
171 sti->cookie = cookie;
309 subproc_waiter_service(int fd, void *cookie) argument
463 char* cookie = strdup(name + 8); local
489 wait_for_state(int fd, void* cookie) argument
610 connect_service(int fd, void* cookie) argument
[all...]
H A Dfile_sync_client.c92 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
94 int sync_ls(int fd, const char *path, sync_ls_cb func, void *cookie) argument
125 buf, cookie); local
544 const char *name, void *cookie)
823 const char *name, void *cookie)
825 sync_ls_build_list_cb_args *args = (sync_ls_build_list_cb_args *)cookie;
543 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
822 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.c138 void (*propfn)(const char *key, const char *value, void *cookie);
139 void *cookie; member in struct:property_list_callback_data
142 static void property_list_callback(const prop_info *pi, void *cookie) argument
146 struct property_list_callback_data *data = cookie;
149 data->propfn(name, value, data->cookie);
153 void (*propfn)(const char *key, const char *value, void *cookie),
154 void *cookie)
156 struct property_list_callback_data data = { propfn, cookie };
331 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument
332 void *cookie)
152 property_list( void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument
414 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument
[all...]
/system/core/toolbox/
H A Dwatchprops.c45 static void populate_watchlist(const prop_info *pi, void *cookie) argument
47 Hashmap *watchlist = cookie;
55 static void update_watchlist(const prop_info *pi, void *cookie) argument
57 Hashmap *watchlist = cookie;
/system/core/libzipfile/
H A Dzipfile.c147 iterate_zipfile(zipfile_t file, void** cookie) argument
149 Zipentry* entry = (Zipentry*)*cookie;
152 *cookie = zip->entries;
153 return *cookie;
156 *cookie = entry;
/system/core/include/cutils/
H A Dtrace.h211 * the event, and the cookie provides a unique identifier for distinguishing
212 * simultaneous events. The name and cookie used to begin an event must be
215 #define ATRACE_ASYNC_BEGIN(name, cookie) \
216 atrace_async_begin(ATRACE_TAG, name, cookie)
218 int32_t cookie)
225 getpid(), name, cookie);
234 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
236 int32_t cookie)
243 getpid(), name, cookie);
217 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
235 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
/system/core/adf/libadf/
H A Dadf.c497 bool (*filter)(struct adf_overlay_engine_data *data, void *cookie),
498 void *cookie)
518 if (!filter(&data, cookie))
548 struct adf_overlay_engine_data *data, void *cookie)
550 struct format_filter_cookie *c = cookie;
565 struct format_filter_cookie cookie = { formats, n_formats }; local
567 adf_overlay_engine_format_filter, &cookie);
495 adf_overlay_engines_filter(struct adf_device *dev, adf_id_t *in, size_t n_in, adf_id_t **out, bool (*filter)(struct adf_overlay_engine_data *data, void *cookie), void *cookie) argument
547 adf_overlay_engine_format_filter( struct adf_overlay_engine_data *data, void *cookie) argument
/system/core/libziparchive/
H A Dzip_archive.cc906 IterationHandle* cookie = (IterationHandle*) malloc(sizeof(IterationHandle)); local
907 cookie->position = 0;
908 cookie->prefix = prefix;
909 cookie->archive = archive;
911 cookie->prefix_len = strlen(prefix);
914 *cookie_ptr = cookie ;
938 int32_t Next(void* cookie, ZipEntry* data, ZipEntryName* name) { argument
939 IterationHandle* handle = (IterationHandle *) cookie;

Completed in 3102 milliseconds