Searched refs:read_elements (Results 1 – 2 of 2) sorted by relevance
47 const size_t read_elements = (readable_elements < element_count ? in GetBufferReadRegions() local52 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()
635 int32_t read_elements[6]; in TEST_F() local636 uint32_t num_read_bytes = sizeof(read_elements); in TEST_F()638 MojoReadData(consumer_, read_elements, &num_read_bytes, in TEST_F()661 MojoReadData(consumer_, read_elements, &num_read_bytes, in TEST_F()715 const int32_t* read_elements = static_cast<const int32_t*>(read_buffer); in TEST_F() local716 ASSERT_EQ(123, read_elements[0]); in TEST_F()736 read_elements = static_cast<const int32_t*>(read_buffer); in TEST_F()737 ASSERT_EQ(456, read_elements[0]); in TEST_F()