Home
last modified time | relevance | path

Searched defs:h (Results 1 – 25 of 51) sorted by relevance

123

/system/core/adb/client/
Dusb_dispatch.cpp38 int usb_write(usb_handle* h, const void* data, int len) { in usb_write()
44 int usb_read(usb_handle* h, void* data, int len) { in usb_read()
50 int usb_close(usb_handle* h) { in usb_close()
55 void usb_reset(usb_handle* h) { in usb_reset()
60 void usb_kick(usb_handle* h) { in usb_kick()
65 size_t usb_get_max_packet_size(usb_handle* h) { in usb_get_max_packet_size()
Dusb_linux.cpp304 static int usb_bulk_write(usb_handle* h, const void* data, int len) { in usb_bulk_write()
343 static int usb_bulk_read(usb_handle* h, void* data, int len) { in usb_bulk_read()
409 int usb_write(usb_handle *h, const void *_data, int len) in usb_write()
430 int usb_read(usb_handle *h, void *_data, int len) in usb_read()
461 void usb_reset(usb_handle* h) { in usb_reset()
466 void usb_kick(usb_handle* h) { in usb_kick()
499 int usb_close(usb_handle* h) { in usb_close()
510 size_t usb_get_max_packet_size(usb_handle* h) { in usb_get_max_packet_size()
Dusb_libusb.cpp536 static int perform_usb_transfer(usb_handle* h, transfer_info* info, in perform_usb_transfer()
565 int usb_write(usb_handle* h, const void* d, int len) { in usb_write()
588 int usb_read(usb_handle* h, void* d, int len) { in usb_read()
615 int usb_close(usb_handle* h) { in usb_close()
625 void usb_reset(usb_handle* h) { in usb_reset()
630 void usb_kick(usb_handle* h) { in usb_kick()
634 size_t usb_get_max_packet_size(usb_handle* h) { in usb_get_max_packet_size()
/system/core/adb/daemon/
Dusb_legacy.cpp85 static bool init_functionfs(struct usb_handle* h) { in init_functionfs()
125 static int usb_ffs_write(usb_handle* h, const void* data, int len) { in usb_ffs_write()
145 static int usb_ffs_read(usb_handle* h, void* data, int len, bool allow_partial) { in usb_ffs_read()
176 static int usb_ffs_do_aio(usb_handle* h, const void* data, int len, bool read) { in usb_ffs_do_aio()
235 static int usb_ffs_aio_read(usb_handle* h, void* data, int len, bool allow_partial) { in usb_ffs_aio_read()
239 static int usb_ffs_aio_write(usb_handle* h, const void* data, int len) { in usb_ffs_aio_write()
243 static void usb_ffs_kick(usb_handle* h) { in usb_ffs_kick()
265 static void usb_ffs_close(usb_handle* h) { in usb_ffs_close()
280 usb_handle* h = new usb_handle(); in create_usb_handle() local
308 int usb_write(usb_handle* h, const void* data, int len) { in usb_write()
[all …]
Dframebuffer_service.cpp66 int w, h, f, c; in framebuffer_service() local
/system/bt/btif/src/
Dbtif_sock_thread.cc145 static void free_thread_slot(int h) { in free_thread_slot()
157 int h; in btsock_thread_init() local
172 int h = alloc_thread_slot(); in btsock_thread_create() local
193 static inline void init_cmd_fd(int h) { in init_cmd_fd()
204 static inline void close_cmd_fd(int h) { in close_cmd_fd()
221 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { in btsock_thread_add_fd()
269 int btsock_thread_post_cmd(int h, int type, const unsigned char* data, int size, in btsock_thread_post_cmd()
302 int btsock_thread_wakeup(int h) { in btsock_thread_wakeup()
318 int btsock_thread_exit(int h) { in btsock_thread_exit()
342 static void init_poll(int h) { in init_poll()
[all …]
/system/core/libcutils/
Dnative_handle.cpp46 native_handle_t* h = static_cast<native_handle_t*>(malloc(mallocSize)); in native_handle_create() local
75 int native_handle_delete(native_handle_t* h) { in native_handle_delete()
83 int native_handle_close(const native_handle_t* h) { in native_handle_close()
Dhashmap.cpp84 int h = map->hash(key); in hashKey() local
159 int h = keySize; in hashmapHash() local
/system/core/adb/
Dtransport_usb.cpp40 static int UsbReadMessage(usb_handle* h, amessage* msg) { in UsbReadMessage()
63 static int UsbReadPayload(usb_handle* h, apacket* p) { in UsbReadPayload()
183 void init_usb_transport(atransport* t, usb_handle* h) { in init_usb_transport()
Dadb.cpp463 static bool _try_make_handle_noninheritable(HANDLE h) { in _try_make_handle_noninheritable()
473 static bool _make_handle_noninheritable(HANDLE h) { in _make_handle_noninheritable()
516 static unsigned _redirect_pipe_thread(HANDLE h, DWORD nStdHandle) { in _redirect_pipe_thread()
598 static unsigned __stdcall _redirect_stdout_thread(HANDLE h) { in _redirect_stdout_thread()
603 static unsigned __stdcall _redirect_stderr_thread(HANDLE h) { in _redirect_stderr_thread()
/system/extras/ioshark/
Dioshark_bench_subr.c44 struct files_db_handle *h; in files_db_create_handle() local
56 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_lookup_byfileno() local
72 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_add_byfileno() local
98 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_fsync_discard_files() local
174 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_close_files() local
195 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_unlink_files() local
224 struct files_db_handle *h = (struct files_db_handle *)handle; in files_db_free_memory() local
/system/core/libpixelflinger/
Dclear.cpp51 uint32_t l, uint32_t t, uint32_t w, uint32_t h) in memset2d()
102 uint32_t h = c->state.scissor.bottom - t; in ggl_clear() local
Dbuffer.cpp189 const int h = f->c[i].h; in write_pixel() local
283 uint32_t extract(uint32_t v, int h, int l, int bits) in extract()
Draster.cpp153 GGLint h = where[3]; in gglBitBlit() local
/system/core/deprecated-adf/libadf/tests/
Dadf_test.cpp85 void getCurrentMode(uint32_t &w, uint32_t &h) { in getCurrentMode()
127 void drawCheckerboard(uint32_t &w, uint32_t &h, uint32_t &format, in drawCheckerboard()
307 uint32_t w = 0, h = 0; in TEST_F() local
333 uint32_t w, h, format, offset, pitch; in TEST_F() local
351 uint32_t w, h, format, offset, pitch; in TEST_F() local
/system/extras/tests/framebuffer/
Dfb_test.c207 void draw_grid(int w, int h, void* _loc) { in draw_grid()
241 void clear_screen(int w, int h, void* _loc) in clear_screen()
258 int h; in main() local
Drefresh.c134 int l,t,w,h; in main() local
/system/core/fastboot/
Dbootimg_utils.cpp37 void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline) { in bootimg_set_cmdline()
/system/vold/
DKeymaster.h82 KeymasterOperation(KmDevice* d, uint64_t h) in KeymasterOperation()
/system/extras/slideshow/
Dslideshow.cpp61 int w, h, x, y; in draw() local
/system/core/fastboot/device/
Dusb_client.cpp189 static void CloseFunctionFs(usb_handle* h) { in CloseFunctionFs()
195 static bool InitFunctionFs(usb_handle* h) { in InitFunctionFs()
/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp158 void expectAddRouteSuccess(net_handle_t h, const char* i, const char* d, const char* n) { in expectAddRouteSuccess()
169 void expectRemoveRouteSuccess(net_handle_t h, const char* i, const char* d, const char* n) { in expectRemoveRouteSuccess()
/system/update_engine/payload_generator/
Dblock_mapping.cc77 size_t h = HashValue(block_data); in AddBlock() local
/system/core/deprecated-adf/libadf/
Dadf.cpp362 int adf_interface_simple_buffer_alloc(int fd, __u32 w, __u32 h, in adf_interface_simple_buffer_alloc()
383 __u32 overlay_engine, __u32 w, __u32 h, __u32 format, int buf_fd, in adf_interface_simple_post_config_buf()
398 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post()
415 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post_v2()
/system/core/healthd/
Dhealthd_draw.cpp90 int h = gr_get_height(surface); in draw_surface_centered() local

123