Searched refs:bytes_rem (Results 1 – 3 of 3) sorted by relevance
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | tunnel_test_sensor.c | 73 int bytes_avail = 0, bytes_rem = 0; in main() local 160 bytes_rem = 0; in main() 162 bytes_rem = bytes_avail; in main() 163 ALOGD("bytes_avail is %d", bytes_rem); in main() 164 memcpy(buf, buf_itr, bytes_rem); in main() 167 bytes_rem = 0; in main() 171 bytes_avail = fread((void *)((unsigned char *)buf + bytes_rem), in main() 178 fwrite((void *)((unsigned char *)buf + bytes_rem), in main() 183 bytes_avail += bytes_rem; in main()
|
D | tunnel_test.c | 87 int bytes_avail = 0, bytes_rem = 0; local 252 bytes_rem = 0; 254 bytes_rem = bytes_avail; 255 ALOGD("bytes_avail is %d", bytes_rem); 256 memcpy(buf, buf_itr, bytes_rem); 259 bytes_rem = 0; 264 (void *)((unsigned char *)buf + bytes_rem), 271 fwrite((void *)((unsigned char *)buf + bytes_rem), bytes_avail, 1, unp_out_fp); 274 bytes_avail += bytes_rem; // update the available bytes with the previous reminder if any
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | adnc_strm.c | 296 int bytes_read, bytes_rem; in adnc_strm_read() local 341 bytes_rem = parse_tunnel_buf(adnc_strm_dev); in adnc_strm_read() 360 if (bytes_rem != 0) { in adnc_strm_read() 361 int offset = adnc_strm_dev->unparsed_avail_size - bytes_rem; in adnc_strm_read() 364 bytes_rem); in adnc_strm_read() 366 adnc_strm_dev->unparsed_avail_size = bytes_rem; in adnc_strm_read()
|