Searched refs:context (Results 26 - 30 of 30) sorted by last modified time

12

/system/core/libusbhost/
H A Dusbhost.c128 static void watch_existing_subdirs(struct usb_host_context *context, argument
134 wds[0] = inotify_add_watch(context->fd, USB_FS_DIR, IN_CREATE | IN_DELETE);
141 ret = inotify_add_watch(context->fd, path, IN_CREATE | IN_DELETE);
149 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); local
150 if (!context) {
154 context->fd = inotify_init();
155 if (context->fd < 0) {
157 free(context);
160 return context;
163 void usb_host_cleanup(struct usb_host_context *context) argument
169 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/extras/ext4_utils/
H A Dsha1.c147 /* Copy context->state[] to working vars */
183 /* Add the working vars back into context.state[] */
196 * SHA1Init - Initialize new context
198 void SHA1Init(context)
199 SHA1_CTX *context;
202 assert(context != 0);
205 context->state[0] = 0x67452301;
206 context->state[1] = 0xEFCDAB89;
207 context->state[2] = 0x98BADCFE;
208 context
[all...]
/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/netd/
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
246 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
272 Context *context = new Context(requestId, mListener); local
301 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
332 Context *context = new Context(requestId, mListener); local
358 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); local
640 allocateServiceRef(int id, Context *context) argument
[all...]
H A DMDnsSdListener.h89 Element(int id, Context *context) argument
90 : mId(id), mNext(NULL), mContext(context), mReady(0) {}

Completed in 103 milliseconds

12