Home
last modified time | relevance | path

Searched refs:buf_read_idx (Results 1 – 1 of 1) sorted by relevance

/external/adhd/cras/src/server/
Dcras_hfp_slc.c90 int buf_read_idx; member
1121 while (handle->buf_read_idx != handle->buf_write_idx) { in process_at_commands()
1123 end_char = strchr(&handle->buf[handle->buf_read_idx], '\r'); in process_at_commands()
1129 &handle->buf[handle->buf_read_idx]); in process_at_commands()
1134 handle->buf_read_idx = 1 + end_char - handle->buf; in process_at_commands()
1135 if (handle->buf_read_idx == handle->buf_write_idx) { in process_at_commands()
1136 handle->buf_read_idx = 0; in process_at_commands()
1143 if (handle->buf_read_idx) { in process_at_commands()
1144 memmove(handle->buf, &handle->buf[handle->buf_read_idx], in process_at_commands()
1145 handle->buf_write_idx - handle->buf_read_idx); in process_at_commands()
[all …]