Home
last modified time | relevance | path

Searched refs:stored_checksum (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/bookmarks/
Dbookmark_codec_unittest.cc95 EXPECT_EQ("", encoder.stored_checksum()); in EncodeHelper()
99 const std::string& stored_checksum = encoder.stored_checksum(); in EncodeHelper() local
103 EXPECT_FALSE(stored_checksum.empty()); in EncodeHelper()
104 EXPECT_EQ(computed_checksum, stored_checksum); in EncodeHelper()
126 EXPECT_EQ("", decoder.stored_checksum()); in DecodeHelper()
132 const std::string& stored_checksum = decoder.stored_checksum(); in DecodeHelper() local
136 EXPECT_FALSE(stored_checksum.empty()); in DecodeHelper()
139 EXPECT_EQ(expected_stored_checksum, stored_checksum); in DecodeHelper()
144 EXPECT_NE(*computed_checksum, stored_checksum); in DecodeHelper()
146 EXPECT_EQ(*computed_checksum, stored_checksum); in DecodeHelper()
Dbookmark_codec.h69 const std::string& stored_checksum() const { return stored_checksum_; } in stored_checksum() function
Dbookmark_storage.h60 const std::string& stored_checksum() const { return stored_checksum_; } in stored_checksum() function
Dbookmark_storage.cc75 details_->set_stored_checksum(codec.stored_checksum()); in Run()
Dbookmark_codec.cc82 if (!ids_valid_ || computed_checksum() != stored_checksum()) in Decode()
Dbookmark_model.cc558 if (details->computed_checksum() != details->stored_checksum()) in DoneLoading()
560 if (details->computed_checksum() != details->stored_checksum() || in DoneLoading()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_codec_unittest.cc130 EXPECT_EQ("", encoder.stored_checksum()); in EncodeHelper()
134 const std::string& stored_checksum = encoder.stored_checksum(); in EncodeHelper() local
138 EXPECT_FALSE(stored_checksum.empty()); in EncodeHelper()
139 EXPECT_EQ(computed_checksum, stored_checksum); in EncodeHelper()
167 EXPECT_EQ("", decoder.stored_checksum()); in DecodeHelper()
173 const std::string& stored_checksum = decoder.stored_checksum(); in DecodeHelper() local
177 EXPECT_FALSE(stored_checksum.empty()); in DecodeHelper()
180 EXPECT_EQ(expected_stored_checksum, stored_checksum); in DecodeHelper()
185 EXPECT_NE(*computed_checksum, stored_checksum); in DecodeHelper()
187 EXPECT_EQ(*computed_checksum, stored_checksum); in DecodeHelper()
Dbookmark_storage.h87 const std::string& stored_checksum() const { return stored_checksum_; } in stored_checksum() function
Dbookmark_codec.h70 const std::string& stored_checksum() const { return stored_checksum_; } in stored_checksum() function
Dbookmark_storage.cc71 details->set_stored_checksum(codec.stored_checksum()); in LoadCallback()
Dbookmark_codec.cc106 if (!ids_valid_ || computed_checksum() != stored_checksum()) in Decode()
Dbookmark_model.cc817 if (details->computed_checksum() != details->stored_checksum() || in DoneLoading()
/external/openssh/
Dpacket.c1148 u_int checksum, stored_checksum; in packet_read_poll1() local
1212 stored_checksum = get_u32(cp); in packet_read_poll1()
1213 if (checksum != stored_checksum) in packet_read_poll1()