Home
last modified time | relevance | path

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

/external/webrtc/webrtc/common_audio/
Dring_buffer.c47 const size_t read_elements = (readable_elements < element_count ? in GetBufferReadRegions() local
52 if (read_elements > margin) { in GetBufferReadRegions()
57 *data_ptr_bytes_2 = (read_elements - margin) * buf->element_size; in GetBufferReadRegions()
60 *data_ptr_bytes_1 = read_elements * buf->element_size; in GetBufferReadRegions()
65 return read_elements; in GetBufferReadRegions()
/external/libchrome/mojo/core/
Ddata_pipe_unittest.cc631 int32_t read_elements[6]; in TEST_F() local
632 uint32_t num_read_bytes = sizeof(read_elements); in TEST_F()
638 MojoReadData(consumer_, &read_options, read_elements, &num_read_bytes)); in TEST_F()
656 read_elements, &num_read_bytes)); in TEST_F()
707 const int32_t* read_elements = static_cast<const int32_t*>(read_buffer); in TEST_F() local
708 ASSERT_EQ(123, read_elements[0]); in TEST_F()
728 read_elements = static_cast<const int32_t*>(read_buffer); in TEST_F()
729 ASSERT_EQ(456, read_elements[0]); in TEST_F()