Searched refs:buf_used (Results 1 – 8 of 8) 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/astc-encoder/Source/ |
D | stb_image_write.h | 272 int buf_used; member 388 if (s->buf_used) { in stbiw__write_flush() 389 s->func(s->context, &s->buffer, s->buf_used); in stbiw__write_flush() 390 s->buf_used = 0; in stbiw__write_flush() 401 if ((size_t)s->buf_used + 1 > sizeof(s->buffer)) in stbiw__write1() 403 s->buffer[s->buf_used++] = a; in stbiw__write1() 409 if ((size_t)s->buf_used + 3 > sizeof(s->buffer)) in stbiw__write3() 411 n = s->buf_used; in stbiw__write3() 412 s->buf_used = n+3; in stbiw__write3()
|
/third_party/node/deps/uv/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()
|
/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()
|