Searched refs:buf_used (Results 1 – 7 of 7) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | usbd_audio.c | 171 queue_node->buf_used = 0; in uac_queue_node_alloc() 206 req->buf = node->buf + node->buf_used; in uac_send_data_sub() 209 node->buf_used += req->len; in uac_send_data_sub()
|
D | usbd_hid.c | 142 queue_node->buf_used = 0; in hid_queue_node_alloc() 202 req->buf = node->buf + node->buf_used; in hid_send_data_sub() 205 node->buf_used += req->len; in hid_send_data_sub()
|
D | usbd_hid.h | 52 uint32_t buf_used; member
|
D | usbd_audio.h | 67 uint32_t buf_used; member
|
/third_party/selinux/libsepol/src/ |
D | services.c | 302 size_t buf_used; in get_class_info() local 330 buf_used = 0; in get_class_info() 334 len = snprintf(p, class_buf_len - buf_used, "%s", statements[state_num]); in get_class_info() 335 if (len < 0 || (size_t)len >= class_buf_len - buf_used) in get_class_info() 340 buf_used += len; in get_class_info() 341 len = snprintf(p, class_buf_len - buf_used, "%s ", in get_class_info() 343 if (len < 0 || (size_t)len >= class_buf_len - buf_used) in get_class_info() 348 buf_used += len; in get_class_info() 350 len = snprintf(p, class_buf_len - buf_used, "{%s } (", in get_class_info() 354 len = snprintf(p, class_buf_len - buf_used, "("); in get_class_info() [all …]
|
/third_party/e2fsprogs/misc/ |
D | badblocks.c | 758 unsigned long buf_used; in test_nd() local 829 buf_used = 0; in test_nd() 845 got = try = granularity - buf_used; in test_nd() 890 buf_used += got; in test_nd() 907 if ((buf_used != granularity) && in test_nd() 971 buf_used = 0; in test_nd()
|
/third_party/libuv/src/win/ |
D | tty.c | 704 off_t buf_used; in uv_process_tty_read_raw_req() local 739 buf_used = 0; in uv_process_tty_read_raw_req() 908 if (buf_used == 0) { in uv_process_tty_read_raw_req() 918 buf.base[buf_used++] = handle->tty.rd.last_key[handle->tty.rd.last_key_offset++]; in uv_process_tty_read_raw_req() 921 if ((size_t) buf_used == buf.len) { in uv_process_tty_read_raw_req() 922 handle->read_cb((uv_stream_t*) handle, buf_used, &buf); in uv_process_tty_read_raw_req() 924 buf_used = 0; in uv_process_tty_read_raw_req() 942 if (buf_used > 0) { in uv_process_tty_read_raw_req() 943 handle->read_cb((uv_stream_t*) handle, buf_used, &buf); in uv_process_tty_read_raw_req()
|