Searched refs:read_data (Results 1 – 5 of 5) sorted by relevance
/system/core/libappfuse/tests/ |
D | FuseBufferTest.cc | 118 memset(response.read_data, 'a', 10); in TEST() 124 EXPECT_EQ('a', response.read_data[0]); in TEST() 125 EXPECT_EQ('a', response.read_data[9]); in TEST() 131 EXPECT_EQ(0, response.read_data[0]); in TEST() 132 EXPECT_EQ(0, response.read_data[1]); in TEST() 133 EXPECT_EQ(0, response.read_data[2]); in TEST() 134 EXPECT_EQ(0, response.read_data[3]); in TEST() 135 EXPECT_EQ(0, response.read_data[4]); in TEST() 136 EXPECT_EQ('a', response.read_data[5]); in TEST() 142 memset(response.read_data, 'a', 10); in TEST() [all …]
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 210 std::vector<uint8_t> read_data(1024, 0); in TEST_F() local 216 ASSERT_EQ(1024, fec_pread(handle, read_data.data(), 1024, corrupt_offset)); in TEST_F() 217 ASSERT_EQ(std::vector<uint8_t>(1024, 255), read_data); in TEST_F() 287 std::vector<uint8_t> read_data(1024, 0); in TEST_F() local 298 ASSERT_EQ(1024, fec_pread(handle, read_data.data(), 1024, corrupt_offset)); in TEST_F() 299 ASSERT_EQ(std::vector<uint8_t>(1024, 10), read_data); in TEST_F()
|
/system/libziparchive/ |
D | zip_archive_test.cc | 635 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest() argument 641 read_data->resize(static_cast<size_t>(entry->uncompressed_length)); in ZipArchiveStreamTest() 643 read_data->resize(static_cast<size_t>(entry->compressed_length)); in ZipArchiveStreamTest() 647 read_data->resize(static_cast<size_t>(entry->uncompressed_length)); in ZipArchiveStreamTest() 649 uint8_t* read_data_ptr = read_data->data(); in ZipArchiveStreamTest() 659 ASSERT_EQ(total_size, read_data->size()); in ZipArchiveStreamTest() 669 std::vector<uint8_t> read_data; in ZipArchiveStreamTestUsingContents() local 670 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents() 672 ASSERT_EQ(contents.size(), read_data.size()); in ZipArchiveStreamTestUsingContents() 673 ASSERT_TRUE(memcmp(read_data.data(), contents.data(), read_data.size()) == 0); in ZipArchiveStreamTestUsingContents() [all …]
|
/system/bt/hci/include/ |
D | hci_hal.h | 66 size_t (*read_data)(serial_data_type_t type, uint8_t* buffer, member
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBuffer.h | 88 char read_data[N]; member
|