/external/icing/icing/file/ |
D | file-backed-vector_test.cc | 107 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 117 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(good_crc)); in TEST_F() 163 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 175 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 203 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(2620640643U))); in TEST_F() 213 vector->ComputeChecksum()); in TEST_F() 242 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(2620640643U))); in TEST_F() 252 vector->ComputeChecksum()); in TEST_F() 281 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 292 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(good_crc)); in TEST_F() [all …]
|
D | file-backed-proto-log_test.cc | 477 TEST_F(FileBackedProtoLogTest, ComputeChecksum) { in TEST_F() argument 493 ICING_ASSERT_OK_AND_ASSIGN(checksum, proto_log->ComputeChecksum()); in TEST_F() 496 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 510 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 514 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 518 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Not(Eq(checksum)))); in TEST_F() 622 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 642 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 665 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F()
|
D | file-backed-proto-log.h | 348 libtextclassifier3::StatusOr<Crc32> ComputeChecksum(); 384 static libtextclassifier3::StatusOr<Crc32> ComputeChecksum( 570 ComputeChecksum(filesystem, file_path, Crc32(), in InitializeExistingFile() 586 ComputeChecksum(filesystem, file_path, Crc32(), sizeof(Header), in InitializeExistingFile() 619 libtextclassifier3::StatusOr<Crc32> FileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum() function 980 crc, ComputeChecksum(filesystem_, file_path_, Crc32(), sizeof(Header), in PersistToDisk() 986 ComputeChecksum(filesystem_, file_path_, Crc32(header_->log_checksum), in PersistToDisk() 1006 FileBackedProtoLog<ProtoT>::ComputeChecksum() { in ComputeChecksum() function 1007 return FileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum()
|
D | portable-file-backed-proto-log.h | 467 libtextclassifier3::StatusOr<Crc32> ComputeChecksum(); 504 static libtextclassifier3::StatusOr<Crc32> ComputeChecksum( 749 ComputeChecksum(filesystem, file_path, Crc32(), in InitializeExistingFile() 791 PortableFileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum() function 1195 ComputeChecksum(filesystem_, file_path_, Crc32(), in PersistToDisk() 1200 crc, ComputeChecksum(filesystem_, file_path_, in PersistToDisk() 1221 PortableFileBackedProtoLog<ProtoT>::ComputeChecksum() { in ComputeChecksum() function 1222 return PortableFileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum()
|
D | portable-file-backed-proto-log_test.cc | 864 TEST_F(PortableFileBackedProtoLogTest, ComputeChecksum) { in TEST_F() argument 880 ICING_ASSERT_OK_AND_ASSIGN(checksum, proto_log->ComputeChecksum()); in TEST_F() 883 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 897 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 901 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 905 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Not(Eq(checksum)))); in TEST_F() 1009 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 1029 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 1052 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F()
|
D | file-backed-bitmap.cc | 146 if (header().checksum != ComputeChecksum()) { in Initialize() 316 mutable_header()->checksum = ComputeChecksum(); in PersistToDisk() 321 uint32_t FileBackedBitmap::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::FileBackedBitmap
|
D | file-backed-bitmap.h | 209 uint32_t ComputeChecksum() const;
|
D | file-backed-vector.h | 262 libtextclassifier3::StatusOr<Crc32> ComputeChecksum(); 654 libtextclassifier3::StatusOr<Crc32> FileBackedVector<T>::ComputeChecksum() { in ComputeChecksum() function 757 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in PersistToDisk()
|
/external/skqp/src/core/ |
D | SkDescriptor.h | 38 SkASSERT(SkDescriptor::ComputeChecksum(this) == fChecksum); in assertChecksum() 66 static uint32_t ComputeChecksum(const SkDescriptor* desc);
|
D | SkDescriptor.cpp | 41 fChecksum = SkDescriptor::ComputeChecksum(this); in computeChecksum() 82 uint32_t SkDescriptor::ComputeChecksum(const SkDescriptor* desc) { in ComputeChecksum() function in SkDescriptor
|
/external/skia/src/core/ |
D | SkDescriptor.h | 42 SkASSERT(SkDescriptor::ComputeChecksum(this) == fChecksum); in assertChecksum() 73 static uint32_t ComputeChecksum(const SkDescriptor* desc);
|
D | SkDescriptor.cpp | 45 fChecksum = SkDescriptor::ComputeChecksum(this); in computeChecksum() 98 uint32_t SkDescriptor::ComputeChecksum(const SkDescriptor* desc) { in ComputeChecksum() function in SkDescriptor
|
/external/scudo/standalone/tests/ |
D | checksum_test.cpp | 31 typedef scudo::u16 (*ComputeChecksum)(scudo::u32, scudo::uptr *, scudo::uptr); typedef 35 template <ComputeChecksum F> void verifyChecksumFunctionBitFlip() { in verifyChecksumFunctionBitFlip()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | checksum_test.cpp | 31 typedef scudo::u16 (*ComputeChecksum)(scudo::u32, scudo::uptr *, scudo::uptr); typedef 35 template <ComputeChecksum F> void verifyChecksumFunctionBitFlip() { in verifyChecksumFunctionBitFlip()
|
/external/icing/icing/schema/ |
D | schema-store.cc | 192 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in InitializeDerivedFiles() 232 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in RegenerateDerivedFiles() 289 libtextclassifier3::StatusOr<Crc32> SchemaStore::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::SchemaStore 299 Crc32 schema_type_mapper_checksum = schema_type_mapper_->ComputeChecksum(); in ComputeChecksum() 452 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in PersistToDisk()
|
D | schema-store_test.cc | 238 EXPECT_THAT(store->ComputeChecksum(), IsOkAndHolds(Crc32())); in TEST_F() 687 EXPECT_THAT(schema_store->ComputeChecksum(), IsOkAndHolds(default_checksum)); in TEST_F() 700 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum, schema_store->ComputeChecksum()); in TEST_F() 703 EXPECT_THAT(schema_store->ComputeChecksum(), IsOkAndHolds(checksum)); in TEST_F() 716 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum, schema_store->ComputeChecksum()); in TEST_F() 723 EXPECT_THAT(schema_store->ComputeChecksum(), IsOkAndHolds(checksum)); in TEST_F() 736 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum, schema_store->ComputeChecksum()); in TEST_F() 747 EXPECT_THAT(schema_store->ComputeChecksum(), IsOkAndHolds(Not(Eq(checksum)))); in TEST_F()
|
D | schema-store.h | 235 libtextclassifier3::StatusOr<Crc32> ComputeChecksum() const;
|
/external/icing/icing/legacy/index/ |
D | icing-mock-filesystem.h | 156 ON_CALL(*this, ComputeChecksum) in IcingMockFilesystem() 159 return real_icing_filesystem_.ComputeChecksum(fd, checksum, offset, in IcingMockFilesystem() 235 MOCK_METHOD(bool, ComputeChecksum,
|
/external/icing/icing/store/ |
D | usage-store_test.cc | 337 TEST_F(UsageStoreTest, ComputeChecksum) { in TEST_F() argument 340 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum1, usage_store->ComputeChecksum()); in TEST_F() 347 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum2, usage_store->ComputeChecksum()); in TEST_F() 350 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum3, usage_store->ComputeChecksum()); in TEST_F() 357 ICING_ASSERT_OK_AND_ASSIGN(Crc32 checksum4, usage_store->ComputeChecksum()); in TEST_F()
|
D | document-store.cc | 390 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in InitializeExistingDerivedFiles() 524 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in RegenerateDerivedFiles() 657 libtextclassifier3::StatusOr<Crc32> DocumentStore::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::DocumentStore 662 auto checksum_or = document_log_->ComputeChecksum(); in ComputeChecksum() 670 Crc32 document_key_mapper_checksum = document_key_mapper_->ComputeChecksum(); in ComputeChecksum() 674 checksum_or = document_id_mapper_->ComputeChecksum(); in ComputeChecksum() 684 checksum_or = score_cache_->ComputeChecksum(); in ComputeChecksum() 694 checksum_or = filter_cache_->ComputeChecksum(); in ComputeChecksum() 702 Crc32 namespace_mapper_checksum = namespace_mapper_->ComputeChecksum(); in ComputeChecksum() 704 Crc32 corpus_mapper_checksum = corpus_mapper_->ComputeChecksum(); in ComputeChecksum() [all …]
|
D | usage-store.cc | 216 libtextclassifier3::StatusOr<Crc32> UsageStore::ComputeChecksum() { in ComputeChecksum() function in icing::lib::UsageStore 217 return usage_score_cache_->ComputeChecksum(); in ComputeChecksum()
|
D | key-mapper.h | 126 Crc32 ComputeChecksum(); 310 Crc32 KeyMapper<T>::ComputeChecksum() { in ComputeChecksum() function
|
D | usage-store.h | 149 libtextclassifier3::StatusOr<Crc32> ComputeChecksum();
|
/external/icing/icing/index/lite/ |
D | lite-index.cc | 192 Crc32 crc = ComputeChecksum(); in Initialize() 219 Crc32 LiteIndex::ComputeChecksum() { in ComputeChecksum() function in icing::lib::LiteIndex 276 header_->set_lite_index_crc(ComputeChecksum().Get()); in UpdateChecksum()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.h | 292 void ComputeChecksum();
|