Home
last modified time | relevance | path

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

/system/logging/logd/
DSerializedLogBufferTest.cpp94 auto expected_it = expected.begin(); in VerifyChunks() local
96 for (; expected_it != expected.end() && it != chunks.end(); ++expected_it, ++it, ++chunk) { in VerifyChunks()
97 EXPECT_EQ(expected_it->reader_ref_count_, it->reader_ref_count_) << "chunk #" << chunk; in VerifyChunks()
98 EXPECT_EQ(expected_it->writer_active_, it->writer_active_) << "chunk #" << chunk; in VerifyChunks()
99 EXPECT_EQ(expected_it->highest_sequence_number_, it->highest_sequence_number_) in VerifyChunks()
101 EXPECT_EQ(expected_it->readers_, it->readers_) << "chunk #" << chunk; in VerifyChunks()
103 ASSERT_EQ(expected_it->contents_.size(), it->contents_.size()) << "chunk #" << chunk; in VerifyChunks()
104 ASSERT_EQ(expected_it->write_offset_, it->write_offset_) << "chunk #" << chunk; in VerifyChunks()
105 if (expected_it->contents_.size() > 0) { in VerifyChunks()
107 EXPECT_EQ(expected_it->contents_.data()[i], it->contents_.data()[i]) in VerifyChunks()
[all …]
/system/core/init/
Dueventd_parser_test.cpp58 auto expected_it = expected.begin(); in TestVector() local
61 for (; expected_it != expected.end(); ++expected_it, ++test_it) { in TestVector()
62 function(*expected_it, *test_it); in TestVector()