/system/core/include/cutils/ |
D | trace.h | 203 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 204 atrace_async_begin(ATRACE_TAG, name, cookie) 206 int32_t cookie) in atrace_async_begin() argument 210 atrace_async_begin_body(name, cookie); in atrace_async_begin() 218 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 219 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 223 atrace_async_end_body(name, cookie); in atrace_async_end()
|
D | properties.h | 110 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie); …
|
/system/core/libcutils/ |
D | properties.c | 136 void (*propfn)(const char *key, const char *value, void *cookie); 137 void *cookie; member 140 static void property_list_callback(const prop_info *pi, void *cookie) in property_list_callback() argument 144 struct property_list_callback_data *data = cookie; in property_list_callback() 147 data->propfn(name, value, data->cookie); in property_list_callback() 151 void (*propfn)(const char *key, const char *value, void *cookie), in property_list() argument 152 void *cookie) in property_list() 154 struct property_list_callback_data data = { propfn, cookie }; in property_list()
|
D | open_memstream.c | 121 static int write_memstream(void* cookie, const char* buf, int size) in write_memstream() argument 123 MemStream* stream = (MemStream*) cookie; in write_memstream() 162 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) in seek_memstream() argument 164 MemStream* stream = (MemStream*) cookie; in seek_memstream() 214 static int close_memstream(void* cookie) in close_memstream() argument 216 free(cookie); in close_memstream()
|
D | trace-host.c | 32 void atrace_async_begin_body(const char* name __unused, int32_t cookie __unused) { } in atrace_async_begin_body() 33 void atrace_async_end_body(const char* name __unused, int32_t cookie __unused) { } in atrace_async_end_body()
|
D | trace-dev.c | 215 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() argument 217 WRITE_MSG("S|%d|", "|%" PRId32, getpid(), name, cookie); in atrace_async_begin_body() 220 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() argument 222 WRITE_MSG("F|%d|", "|%" PRId32, getpid(), name, cookie); in atrace_async_end_body()
|
/system/core/adb/ |
D | services.cpp | 56 void (*func)(int fd, void *cookie); 58 void *cookie; member 64 sti->func(sti->fd, sti->cookie); in service_bootstrap_func() 70 void restart_root_service(int fd, void *cookie) { in restart_root_service() argument 89 void restart_unroot_service(int fd, void *cookie) { in restart_unroot_service() argument 100 void restart_tcp_service(int fd, void *cookie) { in restart_tcp_service() argument 101 int port = (int) (uintptr_t) cookie; in restart_tcp_service() 115 void restart_usb_service(int fd, void *cookie) { in restart_usb_service() argument 249 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread() argument 263 sti->cookie = cookie; in create_service_thread()
|
D | set_verity_enable_state_service.cpp | 91 void set_verity_enabled_state_service(int fd, void* cookie) in set_verity_enabled_state_service() argument 93 bool enable = (cookie != NULL); in set_verity_enabled_state_service()
|
D | adb.h | 182 void framebuffer_service(int fd, void *cookie); 183 void set_verity_enabled_state_service(int fd, void* cookie);
|
D | file_sync_service.h | 66 void file_sync_service(int fd, void* cookie);
|
D | remount_service.cpp | 109 void remount_service(int fd, void* cookie) { in remount_service() argument
|
D | framebuffer_service.cpp | 57 void framebuffer_service(int fd, void *cookie) in framebuffer_service() argument
|
D | file_sync_service.cpp | 430 void file_sync_service(int fd, void* cookie) { in file_sync_service() argument
|
/system/extras/simpleperf/ |
D | gtest_main.cpp | 60 void* cookie; in ExtractTestDataFromElfSection() local 61 int ret = StartIteration(handle, &cookie, nullptr, nullptr); in ExtractTestDataFromElfSection() 66 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in ExtractTestDataFromElfSection() 69 while (Next(cookie, &entry, &name) == 0) { in ExtractTestDataFromElfSection()
|
/system/extras/sound/ |
D | playwav.c | 39 int (*fill)(void *buf, unsigned sz, void *cookie), in pcm_play() argument 40 void *cookie) in pcm_play() 73 if (fill(buf, sz, cookie)) in pcm_play() 87 if (fill(buf, sz, cookie)) in pcm_play() 127 int fill_buffer(void *buf, unsigned sz, void *cookie) in fill_buffer() argument
|
/system/extras/tests/net_test/ |
D | sock_diag_test.py | 129 cookies[(addr, sport, dport)] = diag_msg.id.cookie 131 cookies[(addr, sport, dport)] = diag_msg.id.cookie 144 cookie = self.sock_diag.FindSockDiagFromFd(sock).id.cookie 148 req.id.cookie = cookie 313 real_cookie = diag_msg.id.cookie 314 diag_msg.id.cookie = os.urandom(len(real_cookie)) 320 req.id.cookie = real_cookie 425 req.id.cookie = "\x00" * 8
|
/system/core/include/ziparchive/ |
D | zip_archive.h | 185 int32_t Next(void* cookie, ZipEntry* data, ZipString* name); 191 void EndIteration(void* cookie);
|
/system/extras/libfec/ |
D | fec_process.cpp | 31 static void * __process(void *cookie) in __process() argument 33 process_info *p = static_cast<process_info *>(cookie); in __process()
|
/system/core/adf/libadf/ |
D | adf.c | 498 bool (*filter)(struct adf_overlay_engine_data *data, void *cookie), in adf_overlay_engines_filter() argument 499 void *cookie) in adf_overlay_engines_filter() 519 if (!filter(&data, cookie)) in adf_overlay_engines_filter() 549 struct adf_overlay_engine_data *data, void *cookie) in adf_overlay_engine_format_filter() argument 551 struct format_filter_cookie *c = cookie; in adf_overlay_engine_format_filter() 566 struct format_filter_cookie cookie = { formats, n_formats }; in adf_overlay_engines_filter_by_format() local 568 adf_overlay_engine_format_filter, &cookie); in adf_overlay_engines_filter_by_format()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 690 IterationHandle* cookie = new IterationHandle(optional_prefix, optional_suffix); in StartIteration() local 691 cookie->position = 0; in StartIteration() 692 cookie->archive = archive; in StartIteration() 694 *cookie_ptr = cookie ; in StartIteration() 698 void EndIteration(void* cookie) { in EndIteration() argument 699 delete reinterpret_cast<IterationHandle*>(cookie); in EndIteration() 721 int32_t Next(void* cookie, ZipEntry* data, ZipString* name) { in Next() argument 722 IterationHandle* handle = reinterpret_cast<IterationHandle*>(cookie); in Next()
|
/system/connectivity/dhcp_client/ |
D | dhcp_message.cc | 64 uint32_t cookie; member 132 message->cookie_ = ntohl(raw_message->cookie); in InitFromBuffer() 287 raw_message.cookie = htonl(cookie_); in Serialize()
|
/system/extras/verity/fec/ |
D | image.cpp | 531 static void * process(void *cookie) in process() argument 533 image_proc_ctx *ctx = (image_proc_ctx *)cookie; in process()
|