/system/core/include/cutils/ |
H A D | trace.h | 199 * the event, and the cookie provides a unique identifier for distinguishing 200 * simultaneous events. The name and cookie used to begin an event must be 203 #define ATRACE_ASYNC_BEGIN(name, cookie) \ 204 atrace_async_begin(ATRACE_TAG, name, cookie) 206 int32_t cookie) 210 atrace_async_begin_body(name, cookie); 218 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) 219 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument 223 atrace_async_end_body(name, cookie); 205 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument [all...] |
H A D | properties.h | 110 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
|
/system/core/libcutils/ |
H A D | trace-host.c | 32 void atrace_async_begin_body(const char* name __unused, int32_t cookie __unused) { } 33 void atrace_async_end_body(const char* name __unused, int32_t cookie __unused) { }
|
H A D | properties.c | 136 void (*propfn)(const char *key, const char *value, void *cookie); 137 void *cookie; member in struct:property_list_callback_data 140 static void property_list_callback(const prop_info *pi, void *cookie) argument 144 struct property_list_callback_data *data = cookie; 147 data->propfn(name, value, data->cookie); 151 void (*propfn)(const char *key, const char *value, void *cookie), 152 void *cookie) 154 struct property_list_callback_data data = { propfn, cookie }; 150 property_list( void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument
|
H A D | trace-dev.c | 215 void atrace_async_begin_body(const char* name, int32_t cookie) argument 217 WRITE_MSG("S|%d|", "|%" PRId32, getpid(), name, cookie); 220 void atrace_async_end_body(const char* name, int32_t cookie) argument 222 WRITE_MSG("F|%d|", "|%" PRId32, getpid(), name, cookie);
|
H A D | open_memstream.c | 121 static int write_memstream(void* cookie, const char* buf, int size) argument 123 MemStream* stream = (MemStream*) cookie; 162 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) argument 164 MemStream* stream = (MemStream*) cookie; 214 static int close_memstream(void* cookie) argument 216 free(cookie);
|
/system/extras/simpleperf/ |
H A D | gtest_main.cpp | 60 void* cookie; local 61 int ret = StartIteration(handle, &cookie, nullptr, nullptr); 66 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); 69 while (Next(cookie, &entry, &name) == 0) {
|
/system/core/adb/ |
H A D | set_verity_enable_state_service.cpp | 91 void set_verity_enabled_state_service(int fd, void* cookie) argument 93 bool enable = (cookie != NULL);
|
H A D | services.cpp | 56 void (*func)(int fd, void *cookie); 58 void *cookie; member in struct:stinfo 64 sti->func(sti->fd, sti->cookie); 70 void restart_root_service(int fd, void *cookie) { argument 89 void restart_unroot_service(int fd, void *cookie) { argument 100 void restart_tcp_service(int fd, void *cookie) { argument 101 int port = (int) (uintptr_t) cookie; 115 void restart_usb_service(int fd, void *cookie) { argument 249 static int create_service_thread(void (*func)(int, void *), void *cookie) argument 263 sti->cookie [all...] |
H A D | file_sync_service.h | 66 void file_sync_service(int fd, void* cookie);
|
H A D | adb.h | 182 void framebuffer_service(int fd, void *cookie); 183 void set_verity_enabled_state_service(int fd, void* cookie);
|
H A D | remount_service.cpp | 109 void remount_service(int fd, void* cookie) { argument
|
H A D | framebuffer_service.cpp | 57 void framebuffer_service(int fd, void *cookie) argument
|
H A D | file_sync_service.cpp | 430 void file_sync_service(int fd, void* cookie) { argument
|
/system/core/include/ziparchive/ |
H A D | zip_archive.h | 165 * in the central directory but is stable for a given zip file. |cookie| will 166 * contain the value of an opaque cookie which can be used to make one or more 185 int32_t Next(void* cookie, ZipEntry* data, ZipString* name); 191 void EndIteration(void* cookie);
|
/system/extras/libfec/ |
H A D | fec_process.cpp | 31 static void * __process(void *cookie) argument 33 process_info *p = static_cast<process_info *>(cookie);
|
/system/extras/tests/net_test/ |
H A 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 146 # Check that we can find a diag_msg once we know the cookie. 148 req.id.cookie = cookie 311 # Get the cookie wrong and ensure that we get an error and the socket 313 real_cookie = diag_msg.id.cookie 314 diag_msg.id.cookie [all...] |
/system/extras/sound/ |
H A D | playwav.c | 39 int (*fill)(void *buf, unsigned sz, void *cookie), 40 void *cookie) 73 if (fill(buf, sz, cookie)) 87 if (fill(buf, sz, cookie)) 127 int fill_buffer(void *buf, unsigned sz, void *cookie) argument 38 pcm_play(unsigned rate, unsigned channels, int (*fill)(void *buf, unsigned sz, void *cookie), void *cookie) argument
|
/system/core/adf/libadf/ |
H A D | adf.c | 498 bool (*filter)(struct adf_overlay_engine_data *data, void *cookie), 499 void *cookie) 519 if (!filter(&data, cookie)) 549 struct adf_overlay_engine_data *data, void *cookie) 551 struct format_filter_cookie *c = cookie; 566 struct format_filter_cookie cookie = { formats, n_formats }; local 568 adf_overlay_engine_format_filter, &cookie); 496 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 548 adf_overlay_engine_format_filter( struct adf_overlay_engine_data *data, void *cookie) argument
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 690 IterationHandle* cookie = new IterationHandle(optional_prefix, optional_suffix); local 691 cookie->position = 0; 692 cookie->archive = archive; 694 *cookie_ptr = cookie ; 698 void EndIteration(void* cookie) { argument 699 delete reinterpret_cast<IterationHandle*>(cookie); 721 int32_t Next(void* cookie, ZipEntry* data, ZipString* name) { argument 722 IterationHandle* handle = reinterpret_cast<IterationHandle*>(cookie);
|
/system/connectivity/dhcp_client/ |
H A D | dhcp_message.cc | 64 uint32_t cookie; member in struct:dhcp_client::__anon1330::RawDHCPMessage 132 message->cookie_ = ntohl(raw_message->cookie); 268 LOG(ERROR) << "DHCP message cookie does not match"; 287 raw_message.cookie = htonl(cookie_);
|
/system/extras/verity/fec/ |
H A D | image.cpp | 531 static void * process(void *cookie) argument 533 image_proc_ctx *ctx = (image_proc_ctx *)cookie;
|