Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_hfp_info.c104 struct byte_buffer *capture_buf; member
142 buf_reset(info->capture_buf); in hfp_info_add_iodev()
183 *buf = buf_read_pointer_size(info->capture_buf, &buf_avail); in hfp_buf_acquire()
200 return info->capture_buf->used_size / info->input_format_bytes; in hfp_buf_size()
212 buf_increment_read(info->capture_buf, in hfp_buf_release()
224 return buf_queued(info->capture_buf) / info->input_format_bytes; in hfp_buf_queued()
441 in_bytes = buf_write_pointer_size(info->capture_buf, &pcm_avail); in handle_packet_loss()
450 buf_increment_write(info->capture_buf, decoded); in handle_packet_loss()
472 uint8_t *capture_buf; in hfp_read_msbc() local
582 capture_buf = buf_write_pointer_size(info->capture_buf, &pcm_avail); in hfp_read_msbc()
[all …]
/external/adhd/cras/src/tests/
Dhfp_info_unittest.cc141 buf_increment_write(info->capture_buf, 100); in TEST()
152 buf_increment_write(info->capture_buf, info->capture_buf->used_size - 100); in TEST()
153 buf_increment_write(info->capture_buf, 100); in TEST()
165 ASSERT_GE(info->capture_buf->used_size / 2, buffer_frames + buffer_frames2); in TEST()
198 buffer_count = info->capture_buf->used_size; in TEST()
199 buf = buf_write_pointer_size(info->capture_buf, &buffer_count); in TEST()
200 buf_increment_write(info->capture_buf, buffer_count); in TEST()
/external/llvm-project/openmp/runtime/src/
Dkmp_ftn_entry.h510 kmp_str_buf_t capture_buf; in FTN_CAPTURE_AFFINITY()
515 __kmp_str_buf_init(&capture_buf); in FTN_CAPTURE_AFFINITY()
517 num_required = __kmp_aux_capture_affinity(gtid, cformat.get(), &capture_buf); in FTN_CAPTURE_AFFINITY()
519 __kmp_fortran_strncpy_truncate(buffer, buf_size, capture_buf.str, in FTN_CAPTURE_AFFINITY()
520 capture_buf.used); in FTN_CAPTURE_AFFINITY()
522 __kmp_str_buf_free(&capture_buf); in FTN_CAPTURE_AFFINITY()
Dkmp_csupport.cpp1913 kmp_str_buf_t capture_buf; in ompc_capture_affinity() local
1918 __kmp_str_buf_init(&capture_buf); in ompc_capture_affinity()
1919 num_required = __kmp_aux_capture_affinity(gtid, format, &capture_buf); in ompc_capture_affinity()
1921 __kmp_strncpy_truncate(buffer, buf_size, capture_buf.str, in ompc_capture_affinity()
1922 capture_buf.used + 1); in ompc_capture_affinity()
1924 __kmp_str_buf_free(&capture_buf); in ompc_capture_affinity()