Searched refs:read_data (Results 1 – 10 of 10) sorted by relevance
/system/core/libziparchive/ |
D | zip_archive_test.cc | 499 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest() argument 507 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 509 read_data->resize(entry->compressed_length); in ZipArchiveStreamTest() 513 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 515 uint8_t* read_data_ptr = read_data->data(); in ZipArchiveStreamTest() 525 ASSERT_EQ(total_size, read_data->size()); in ZipArchiveStreamTest() 535 std::vector<uint8_t> read_data; in ZipArchiveStreamTestUsingContents() local 536 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents() 538 ASSERT_EQ(contents.size(), read_data.size()); in ZipArchiveStreamTestUsingContents() 539 ASSERT_TRUE(memcmp(read_data.data(), contents.data(), read_data.size()) == 0); in ZipArchiveStreamTestUsingContents() [all …]
|
/system/tpm/tpm_manager/server/ |
D | tpm2_nvram_test.cc | 167 std::string read_data; in TEST_F() local 168 EXPECT_TRUE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F() 169 EXPECT_EQ(read_data, tpm_data); in TEST_F() 176 std::string read_data; in TEST_F() local 177 EXPECT_FALSE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F() 188 std::string read_data; in TEST_F() local 189 EXPECT_FALSE(tpm_nvram_->ReadNvram(index, &read_data)); in TEST_F()
|
/system/bt/hci/include/ |
D | hci_hal.h | 62 size_t (*read_data)(serial_data_type_t type, uint8_t *buffer, size_t max_size); member
|
/system/bt/hci/src/ |
D | hci_hal_h4.c | 116 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() function 251 read_data,
|
D | hci_hal_mct.c | 129 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() function 198 read_data,
|
D | hci_layer.c | 552 while (hal->read_data(type, &byte, 1) != 0) { in hal_says_data_ready() 595 …size_t bytes_read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->byt… in hal_says_data_ready()
|
/system/bt/hci/test/ |
D | hci_hal_mct_test.cpp | 65 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous() 112 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
|
D | hci_hal_h4_test.cpp | 70 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous() 119 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) {
|
D | hci_layer_test.cpp | 554 hal.read_data = hal_read_data;
|
/system/connectivity/shill/ |
D | connectivity_trial_unittest.cc | 200 void AppendReadData(const string& read_data) { in AppendReadData() argument 201 response_data_.Append(ByteString(read_data, false)); in AppendReadData()
|