Searched defs:handle (Results 1 - 13 of 13) sorted by relevance

/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create.c36 handle(sigval_t v) function
57 se.sigev_notify_function = handle;
H A Dtest_timer_create2.c36 handle(int v) function
88 act->sa_handler = handle;
H A Dtest_timer_create3.c43 handle(sigval_t v) function
73 se.sigev_notify_function = handle;
/system/core/libion/
H A Dion.c58 unsigned int flags, struct ion_handle **handle)
71 *handle = data.handle;
75 int ion_free(int fd, struct ion_handle *handle) argument
78 .handle = handle,
83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, argument
87 .handle = handle,
106 int ion_share(int fd, struct ion_handle *handle, in argument
57 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, struct ion_handle **handle) argument
126 struct ion_handle *handle; local
137 ion_import(int fd, int share_fd, struct ion_handle **handle) argument
[all...]
H A Dion_test.c26 int _ion_alloc_test(int *fd, struct ion_handle **handle) argument
34 ret = ion_alloc(*fd, len, align, heap_mask, alloc_flags, handle);
44 struct ion_handle *handle; local
46 if(_ion_alloc_test(&fd, &handle))
49 ret = ion_free(fd, handle);
51 printf("%s failed: %s %p\n", __func__, strerror(ret), handle);
62 struct ion_handle *handle; local
65 if(_ion_alloc_test(&fd, &handle))
68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd);
80 ret = ion_free(fd, handle);
103 struct ion_handle *handle; local
[all...]
/system/core/adb/
H A Dusb_windows.c68 /// Checks if there is opened usb handle in handle_list for this device.
71 /// Checks if there is opened usb handle in handle_list for this device.
75 /// Registers opened usb handle (adds it to handle_list).
76 int register_new_device(usb_handle* handle);
79 int recognized_device(usb_handle* handle);
98 /// Writes data to the opened usb handle
99 int usb_write(usb_handle* handle, const void* data, int len);
101 /// Reads data using the opened usb handle
102 int usb_read(usb_handle *handle, void* data, int len);
104 /// Cleans up opened usb handle
145 register_new_device(usb_handle* handle) argument
257 usb_write(usb_handle* handle, const void* data, int len) argument
302 usb_read(usb_handle *handle, void* data, int len) argument
343 usb_cleanup_handle(usb_handle* handle) argument
361 usb_kick(usb_handle* handle) argument
374 usb_close(usb_handle* handle) argument
398 usb_name(usb_handle* handle) argument
408 recognized_device(usb_handle* handle) argument
451 usb_handle* handle = NULL; local
[all...]
H A Dusb_osx.c258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local
260 if (handle == NULL) {
267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1);
276 handle,
277 &handle->usbNotification);
288 usb_handle *handle = (usb_handle *)refCon; local
291 if (!handle) {
292 DBG("ERR: NULL handle\n");
296 IOObjectRelease(handle->usbNotification);
297 usb_kick(handle);
306 usb_handle* handle = NULL; local
452 usb_write(usb_handle *handle, const void *buf, int len) argument
492 usb_read(usb_handle *handle, void *buf, int len) argument
528 usb_close(usb_handle *handle) argument
533 usb_kick(usb_handle *handle) argument
[all...]
H A Dsysdeps_win32.c99 HANDLE handle; member in union:FHRec_::__anon283
111 #define fh_handle u.handle
1441 * handle array into chunks with the chunk size less than 64, and fire up as many
1443 * handles, and will report back to the caller which handle has been set.
1452 /* A handle to an event to signal when waiting is over. This handle is shared
1456 /* Upon exit from a waiting thread contains the index of the handle that has
1457 * been signaled. The index is an absolute index of the signaled handle in
1461 * handle that was signaled. This is fine, because the caller cares only
1462 * about any handle bein
[all...]
/system/core/fastboot/
H A Dusb_osx.c67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { argument
171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 ||
172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 ||
173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0)
179 handle->info.has_bulk_in = 0;
180 handle->info.has_bulk_out = 0;
201 handle->info.has_bulk_in = 1;
202 handle->bulkIn = endpoint;
204 handle->info.has_bulk_out = 1;
205 handle
260 try_device(io_service_t device, usb_handle *handle) argument
381 init_usb(ifc_match_func callback, usb_handle **handle) argument
455 usb_handle *handle = NULL; local
[all...]
H A Dusb_windows.c70 int recognized_device(usb_handle* handle, ifc_match_func callback);
75 /// Writes data to the opened usb handle
76 int usb_write(usb_handle* handle, const void* data, int len);
78 /// Reads data using the opened usb handle
79 int usb_read(usb_handle *handle, void* data, int len);
81 /// Cleans up opened usb handle
82 void usb_cleanup_handle(usb_handle* handle);
84 /// Cleans up (but don't close) opened usb handle
85 void usb_kick(usb_handle* handle);
87 /// Closes opened usb handle
154 usb_write(usb_handle* handle, const void* data, int len) argument
196 usb_read(usb_handle *handle, void* data, int len) argument
233 usb_cleanup_handle(usb_handle* handle) argument
251 usb_kick(usb_handle* handle) argument
260 usb_close(usb_handle* handle) argument
272 recognized_device(usb_handle* handle, ifc_match_func callback) argument
324 usb_handle* handle = NULL; local
[all...]
/system/core/include/system/
H A Dwindow.h111 buffer_handle_t handle; member in struct:ANativeWindowBuffer
190 * cannot handle arbitrary rotations.
/system/core/sdcard/
H A Dsdcard.c90 struct handle { struct
807 struct handle *h;
838 struct handle *h = id_to_ptr(req->fh);
866 struct handle *h = id_to_ptr(req->fh);
914 struct handle *h = id_to_ptr(req->fh);
926 struct handle *h = id_to_ptr(req->fh);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h346 uint16_t handle; member in struct:__anon8
354 uint16_t handle; member in struct:__anon9
401 uint16_t handle; member in struct:__anon15
409 uint16_t handle; member in struct:__anon16
415 uint16_t handle; member in struct:__anon17
422 uint16_t handle; member in struct:__anon18
451 uint16_t handle; member in struct:__anon22
457 uint16_t handle; member in struct:__anon23
465 uint16_t handle; member in struct:__anon24
471 uint16_t handle; member in struct:__anon25
479 uint16_t handle; member in struct:__anon26
557 uint8_t handle; member in struct:__anon34
569 uint8_t handle; member in struct:__anon35
576 uint8_t handle; member in struct:__anon36
586 uint16_t handle; member in struct:__anon37
592 uint8_t handle; member in struct:__anon38
600 uint8_t handle; member in struct:__anon39
610 uint16_t handle; member in struct:__anon40
619 uint16_t handle; member in struct:__anon41
630 uint16_t handle; member in struct:__anon42
636 uint16_t handle; member in struct:__anon43
645 uint16_t handle; member in struct:__anon44
661 uint16_t handle; member in struct:__anon46
670 uint16_t handle; member in struct:__anon47
676 uint16_t handle; member in struct:__anon48
691 uint16_t handle; member in struct:__anon50
697 uint16_t handle; member in struct:__anon51
705 uint16_t handle; member in struct:__anon52
712 uint16_t handle; member in struct:__anon53
722 uint16_t handle; member in struct:__anon54
954 uint16_t handle; member in struct:__anon80
961 uint16_t handle; member in struct:__anon81
990 uint16_t handle; member in struct:__anon84
997 uint16_t handle; member in struct:__anon85
1005 uint16_t handle; member in struct:__anon86
1129 uint16_t handle; member in struct:__anon103
1212 uint16_t handle; member in struct:__anon116
1254 uint16_t handle; member in struct:__anon121
1271 uint16_t handle; member in struct:__anon123
1357 uint16_t handle; member in struct:__anon133
1366 uint16_t handle; member in struct:__anon134
1374 uint16_t handle; member in struct:__anon135
1382 uint16_t handle; member in struct:__anon136
1391 uint16_t handle; member in struct:__anon137
1400 uint16_t handle; member in struct:__anon138
1407 uint16_t handle; member in struct:__anon139
1435 uint8_t handle; member in struct:__anon141
1444 uint8_t handle; member in struct:__anon142
1452 uint8_t handle; member in struct:__anon143
1462 uint8_t handle; member in struct:__anon144
1622 uint16_t handle; member in struct:__anon162
1642 uint16_t handle; member in struct:__anon164
1649 uint16_t handle; member in struct:__anon165
1656 uint16_t handle; member in struct:__anon166
1684 uint16_t handle; member in struct:__anon170
1694 uint16_t handle; member in struct:__anon171
1701 uint16_t handle; member in struct:__anon172
1707 uint16_t handle; member in struct:__anon173
1714 uint16_t handle; member in struct:__anon174
1766 uint16_t handle; member in struct:__anon180
1786 uint16_t handle; member in struct:__anon182
1795 uint16_t handle; member in struct:__anon183
1811 uint16_t handle; member in struct:__anon185
1820 uint16_t handle; member in struct:__anon186
1827 uint16_t handle; member in struct:__anon187
1836 uint16_t handle; member in struct:__anon188
1845 uint16_t handle; member in struct:__anon189
1856 uint16_t handle; member in struct:__anon190
1887 uint16_t handle; member in struct:__anon194
1910 uint16_t handle; member in struct:__anon197
1954 uint16_t handle; member in struct:__anon203
1962 uint16_t handle; member in struct:__anon204
1971 uint16_t handle; member in struct:__anon205
1979 uint16_t handle; member in struct:__anon206
1994 uint16_t handle; member in struct:__anon208
2030 uint16_t handle; member in struct:__anon211
2041 uint16_t handle; member in struct:__anon212
2057 uint16_t handle; member in struct:__anon213
2070 uint16_t handle; member in struct:__anon214
2096 uint16_t handle; member in struct:__anon216
2146 uint16_t handle; member in struct:__anon223
2154 uint16_t handle; member in struct:__anon224
2191 uint16_t handle; member in struct:__anon229
2219 uint16_t handle; member in struct:__anon231
2230 uint16_t handle; member in struct:__anon232
2237 uint16_t handle; member in struct:__anon233
2247 uint8_t handle; member in struct:__anon234
2256 uint8_t handle; member in struct:__anon235
2264 uint8_t handle; member in struct:__anon236
2271 uint8_t handle; member in struct:__anon237
2280 uint8_t handle; member in struct:__anon238
2290 uint16_t handle; member in struct:__anon239
2335 uint16_t handle; member in struct:__anon245
2341 uint16_t handle; member in struct:__anon246
2426 uint16_t handle; member in struct:hci_conn_info
[all...]

Completed in 193 milliseconds