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/core/libziparchive/ |
D | zip_archive_test.cc | 435 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest() argument 443 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 445 read_data->resize(entry->compressed_length); in ZipArchiveStreamTest() 449 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 451 uint8_t* read_data_ptr = read_data->data(); in ZipArchiveStreamTest() 461 ASSERT_EQ(total_size, read_data->size()); in ZipArchiveStreamTest() 471 std::vector<uint8_t> read_data; in ZipArchiveStreamTestUsingContents() local 472 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents() 474 ASSERT_EQ(contents.size(), read_data.size()); in ZipArchiveStreamTestUsingContents() 475 ASSERT_TRUE(memcmp(read_data.data(), contents.data(), read_data.size()) == 0); in ZipArchiveStreamTestUsingContents() [all …]
|
/system/extras/simpleperf/ |
D | UnixSocket_test.cpp | 32 std::vector<char> read_data; in TEST() local 73 read_data.insert(read_data.end(), msg->data, msg->data + msg->type); in TEST() 75 ASSERT_EQ(send_data, read_data); in TEST()
|
/system/bt/hci/include/ |
D | hci_hal.h | 65 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
|