/system/core/libutils/ |
D | BasicHashtable.cpp | 89 bucket.cookie = 0; in clear() 105 if (bucket.cookie & Bucket::PRESENT) { in next() 124 if (bucket.cookie & Bucket::PRESENT) { in find() 129 if (!(bucket.cookie & Bucket::COLLISION)) { in find() 140 if (bucket.cookie & Bucket::PRESENT) { in find() 141 if ((bucket.cookie & Bucket::HASH_MASK) == hash in find() 146 if (!(bucket.cookie & Bucket::COLLISION)) { in find() 163 if (bucket->cookie & Bucket::PRESENT) { in add() 166 bucket->cookie |= Bucket::COLLISION; in add() 169 } while (bucket->cookie & Bucket::PRESENT); in add() [all …]
|
/system/core/include/cutils/ |
D | trace.h | 211 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 212 atrace_async_begin(ATRACE_TAG, name, cookie) 214 int32_t cookie) in atrace_async_begin() argument 221 name, cookie); in atrace_async_begin() 230 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 232 int32_t cookie) in atrace_async_end() argument 239 name, cookie); in atrace_async_end() 286 #define ATRACE_ASYNC_BEGIN(name, cookie) 287 #define ATRACE_ASYNC_END(name, cookie)
|
D | properties.h | 51 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie); …
|
/system/core/libcutils/ |
D | properties.c | 57 void (*propfn)(const char *key, const char *value, void *cookie); 58 void *cookie; member 61 static void property_list_callback(const prop_info *pi, void *cookie) in property_list_callback() argument 65 struct property_list_callback_data *data = cookie; in property_list_callback() 68 data->propfn(name, value, data->cookie); in property_list_callback() 72 void (*propfn)(const char *key, const char *value, void *cookie), in property_list() argument 73 void *cookie) in property_list() 75 struct property_list_callback_data data = { propfn, cookie }; in property_list() 250 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), in property_list() argument 251 void *cookie) in property_list() [all …]
|
D | open_memstream.c | 123 static int write_memstream(void* cookie, const char* buf, int size) in write_memstream() argument 125 MemStream* stream = (MemStream*) cookie; in write_memstream() 164 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) in seek_memstream() argument 166 MemStream* stream = (MemStream*) cookie; in seek_memstream() 216 static int close_memstream(void* cookie) in close_memstream() argument 218 free(cookie); in close_memstream()
|
/system/core/adb/ |
D | services.c | 44 void (*func)(int fd, void *cookie); 46 void *cookie; member 53 sti->func(sti->fd, sti->cookie); in service_bootstrap_func() 60 void restart_root_service(int fd, void *cookie) in restart_root_service() argument 85 void restart_tcp_service(int fd, void *cookie) in restart_tcp_service() argument 89 int port = (int)cookie; in restart_tcp_service() 105 void restart_usb_service(int fd, void *cookie) in restart_usb_service() argument 146 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread() argument 160 sti->cookie = cookie; in create_service_thread() 257 static void subproc_waiter_service(int fd, void *cookie) in subproc_waiter_service() argument [all …]
|
D | log_service.c | 33 void log_service(int fd, void *cookie) in log_service() argument 36 char * log_filepath = cookie; in log_service()
|
D | adb.h | 326 void framebuffer_service(int fd, void *cookie); 327 void log_service(int fd, void *cookie); 328 void remount_service(int fd, void *cookie);
|
D | file_sync_service.h | 79 void file_sync_service(int fd, void *cookie);
|
D | remount_service.c | 106 void remount_service(int fd, void *cookie) in remount_service() argument
|
D | file_sync_client.c | 75 …ef 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) in sync_ls() argument 108 buf, cookie); in sync_ls() 536 const char *name, void *cookie) in do_sync_ls_cb() argument 811 const char *name, void *cookie) in sync_ls_build_list_cb() argument 813 sync_ls_build_list_cb_args *args = (sync_ls_build_list_cb_args *)cookie; in sync_ls_build_list_cb()
|
D | framebuffer_service.c | 55 void framebuffer_service(int fd, void *cookie) in framebuffer_service() argument
|
D | file_sync_service.c | 359 void file_sync_service(int fd, void *cookie) argument
|
/system/core/toolbox/ |
D | watchprops.c | 47 static void populate_watchlist(const prop_info *pi, void *cookie) in populate_watchlist() argument 49 Hashmap *watchlist = cookie; in populate_watchlist() 57 static void update_watchlist(const prop_info *pi, void *cookie) in update_watchlist() argument 59 Hashmap *watchlist = cookie; in update_watchlist()
|
D | notify.c | 98 …x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? even… in notify_main()
|
/system/core/libzipfile/ |
D | zipfile.c | 148 iterate_zipfile(zipfile_t file, void** cookie) in iterate_zipfile() argument 150 Zipentry* entry = (Zipentry*)*cookie; in iterate_zipfile() 153 *cookie = zip->entries; in iterate_zipfile() 154 return *cookie; in iterate_zipfile() 157 *cookie = entry; in iterate_zipfile()
|
/system/extras/sound/ |
D | playwav.c | 37 int (*fill)(void *buf, unsigned sz, void *cookie), in pcm_play() argument 38 void *cookie) in pcm_play() 71 if (fill(buf, sz, cookie)) in pcm_play() 85 if (fill(buf, sz, cookie)) in pcm_play() 125 int fill_buffer(void *buf, unsigned sz, void *cookie) in fill_buffer() argument
|
/system/core/include/zipfile/ |
D | zipfile.h | 52 zipentry_t iterate_zipfile(zipfile_t file, void** cookie);
|
/system/core/include/utils/ |
D | BasicHashtable.h | 46 uint32_t cookie; member 357 return bucketAt(mBuckets, index).cookie; in cookieAt()
|
/system/core/libutils/tests/ |
D | BasicHashtable_test.cpp | 109 uint32_t cookie = h.cookieAt(index); in cookieAt() local 110 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION; in cookieAt() 111 *present = cookie & BasicHashtable<TKey, TEntry>::Bucket::PRESENT; in cookieAt() 112 *hash = cookie & BasicHashtable<TKey, TEntry>::Bucket::HASH_MASK; in cookieAt()
|