Searched refs:delta_index_ (Results 1 – 2 of 2) sorted by relevance
69 VerifyEncodedBytesTest() : delta_index_(0) { } in VerifyEncodedBytesTest()73 EXPECT_EQ(b, static_cast<unsigned char>(delta_[delta_index_])); in ExpectByte()74 ++delta_index_; in ExpectByte()80 string(delta_data() + delta_index_, size)); in ExpectString()81 delta_index_ += size; in ExpectString()85 EXPECT_EQ(delta_index_, delta_size()); in ExpectNoMoreBytes()89 const char* delta_size_pos = &delta_[delta_index_]; in ExpectSize()94 delta_index_ = delta_size_pos - delta_data(); in ExpectSize()98 const char* delta_checksum_pos = &delta_[delta_index_]; in ExpectChecksum()103 delta_index_ = delta_checksum_pos - delta_data(); in ExpectChecksum()[all …]
72 VerifyEncodedBytesTest() : delta_index_(0) { } in VerifyEncodedBytesTest()76 EXPECT_EQ(b, static_cast<unsigned char>(delta_[delta_index_])); in ExpectByte()77 ++delta_index_; in ExpectByte()82 EXPECT_EQ(s, string(delta_data() + delta_index_, size)); in ExpectString()83 delta_index_ += size; in ExpectString()87 EXPECT_EQ(delta_index_, delta_size()); in ExpectNoMoreBytes()91 const char* delta_size_pos = &delta_[delta_index_]; in ExpectSize()96 delta_index_ = delta_size_pos - delta_data(); in ExpectSize()100 const char* delta_checksum_pos = &delta_[delta_index_]; in ExpectChecksum()105 delta_index_ = delta_checksum_pos - delta_data(); in ExpectChecksum()[all …]