Searched defs:context (Results 1 - 11 of 11) sorted by relevance

/system/extras/tests/memtest/
H A Dthumb.cpp8 extern "C" _Unwind_Reason_Code trace_function(_Unwind_Context *context, void *arg) argument
11 printf("0x%x\n", _Unwind_GetIP(context));
/system/core/init/
H A Dparser.h30 void *context; member in struct:parse_state
/system/core/fastbootd/
H A Dnetwork_discovery.c50 const char *name, const char *regtype, const char *domain, void *context)
54 (void)context; // Unused
49 reg_reply(DNSServiceRef sdref, const DNSServiceFlags flags, DNSServiceErrorType errorCode, const char *name, const char *regtype, const char *domain, void *context) argument
/system/core/libcutils/
H A Ddir_hash.c41 SHA1_CTX context; local
65 SHA1Init(&context);
66 SHA1Update(&context, (unsigned char *) buf, len);
67 SHA1Final(md, &context);
77 SHA1Init(&context);
80 SHA1Update(&context, (unsigned char *) buf, len);
89 SHA1Final(md, &context);
H A Dhashmap.c252 void* (*initialValue)(void* key, void* context), void* context) {
267 void* value = initialValue(key, context);
307 bool (*callback)(void* key, void* value, void* context),
308 void* context) {
314 if (!callback(entry->key, entry->value, context)) {
251 hashmapMemoize(Hashmap* map, void* key, void* (*initialValue)(void* key, void* context), void* context) argument
306 hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), void* context) argument
H A Dstr_parms.c79 static bool remove_pair(void *key, void *value, void *context) argument
81 struct remove_ctxt *ctxt = context;
316 static bool combine_strings(void *key, void *value, void *context) argument
318 char **old_str = context;
350 static bool dump_entry(void *key, void *value, void *context UNUSED)
/system/netd/server/
H A DMDnsSdListener.h89 Element(int id, Context *context) argument
90 : mId(id), mNext(NULL), mContext(context), mReady(0) {}
H A DMDnsSdListener.cpp69 Context *context = new Context(requestId, mListener); local
70 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context);
82 domain, &MDnsSdListenerDiscoverCallback, context);
99 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
101 int refNumber = context->mRefNumber;
105 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false);
125 context->mListener->sendBroadcast(respCode, msg, false);
161 Context *context = new Context(requestId, mListener); local
162 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context);
174 context);
192 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
217 Context *context = new Context(requestId, mListener); local
247 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
273 Context *context = new Context(requestId, mListener); local
302 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
333 Context *context = new Context(requestId, mListener); local
359 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
696 allocateServiceRef(int id, Context *context) argument
[all...]
/system/core/libpixelflinger/
H A Dpixelflinger.cpp822 ssize_t gglInit(GGLContext** context) argument
826 // always align the context on cache lines
830 *context = (GGLContext*)c;
/system/core/libusbhost/
H A Dusbhost.c138 static void watch_existing_subdirs(struct usb_host_context *context, argument
144 wds[0] = inotify_add_watch(context->fd, USB_FS_DIR, IN_CREATE | IN_DELETE);
151 ret = inotify_add_watch(context->fd, path, IN_CREATE | IN_DELETE);
159 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); local
160 if (!context) {
164 context->fd = inotify_init();
165 if (context->fd < 0) {
167 free(context);
170 return context;
173 void usb_host_cleanup(struct usb_host_context *context) argument
179 usb_host_get_fd(struct usb_host_context *context) argument
184 usb_host_load(struct usb_host_context *context, usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, usb_discovery_done_cb discovery_done_cb, void *client_data) argument
223 usb_host_read_event(struct usb_host_context *context) argument
301 usb_host_run(struct usb_host_context *context, usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, usb_discovery_done_cb discovery_done_cb, void *client_data) argument
[all...]
/system/core/sdcard/
H A Dsdcard.c1616 static bool remove_str_to_int(void *key, void *value, void *context) { argument
1617 Hashmap* map = context;
1623 static bool remove_int_to_null(void *key, void *value, void *context) { argument
1624 Hashmap* map = context;

Completed in 196 milliseconds