/external/icing/icing/file/ |
D | file-backed-vector_test.cc | 201 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 211 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(good_crc)); in TEST_F() 257 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 269 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 294 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 314 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(0))); in TEST_F() 353 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(2620640643U))); in TEST_F() 373 EXPECT_THAT(vector->ComputeChecksum(), IsOkAndHolds(Crc32(2620640643U))); in TEST_F() 387 ICING_ASSERT_OK_AND_ASSIGN(Crc32 crc1, vector->ComputeChecksum()); in TEST_F() 395 ICING_ASSERT_OK_AND_ASSIGN(Crc32 crc2, vector->ComputeChecksum()); in TEST_F() [all …]
|
D | persistent-storage.h | 107 Crc32 ComputeChecksum() const { in ComputeChecksum() function 304 crcs_ref.all_crc = crcs_ref.component_crcs.ComputeChecksum().Get(); in UpdateChecksumsInternal() 317 if (crcs_ref.all_crc != crcs_ref.component_crcs.ComputeChecksum().Get()) { in ValidateChecksums()
|
D | portable-file-backed-proto-log.h | 496 libtextclassifier3::StatusOr<Crc32> ComputeChecksum(); 534 static libtextclassifier3::StatusOr<Crc32> ComputeChecksum( 774 ComputeChecksum(filesystem, file_path, Crc32(), in InitializeExistingFile() 817 PortableFileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum() function 1219 ICING_ASSIGN_OR_RETURN(Crc32 crc, ComputeChecksum()); in PersistToDisk() 1237 PortableFileBackedProtoLog<ProtoT>::ComputeChecksum() { in ComputeChecksum() function 1248 ComputeChecksum(filesystem_, file_path_, Crc32(), in ComputeChecksum() 1253 crc, ComputeChecksum( in ComputeChecksum()
|
D | portable-file-backed-proto-log_benchmark.cc | 241 testing::DoNotOptimize(proto_log->ComputeChecksum()); in BM_ComputeChecksum() 285 testing::DoNotOptimize(proto_log->ComputeChecksum()); in BM_ComputeChecksumWithCachedChecksum() 333 testing::DoNotOptimize(proto_log->ComputeChecksum()); in BM_ComputeChecksumOnlyForTail()
|
D | portable-file-backed-proto-log_test.cc | 1055 TEST_F(PortableFileBackedProtoLogTest, ComputeChecksum) { in TEST_F() argument 1071 ICING_ASSERT_OK_AND_ASSIGN(checksum, proto_log->ComputeChecksum()); in TEST_F() 1074 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 1088 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 1092 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Eq(checksum))); in TEST_F() 1096 EXPECT_THAT(proto_log->ComputeChecksum(), IsOkAndHolds(Not(Eq(checksum)))); in TEST_F() 1202 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 1222 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F() 1245 EXPECT_THAT(proto_log->ComputeChecksum(), in TEST_F()
|
D | file-backed-bitmap.cc | 150 if (header().checksum != ComputeChecksum()) { in Initialize() 320 mutable_header()->checksum = ComputeChecksum(); in PersistToDisk() 325 uint32_t FileBackedBitmap::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::FileBackedBitmap
|
D | file-backed-proto-log.h | 253 static libtextclassifier3::StatusOr<Crc32> ComputeChecksum( 424 ComputeChecksum(filesystem, file_path, Crc32(), in InitializeExistingFile() 440 ComputeChecksum(filesystem, file_path, Crc32(), sizeof(Header), in InitializeExistingFile() 473 libtextclassifier3::StatusOr<Crc32> FileBackedProtoLog<ProtoT>::ComputeChecksum( in ComputeChecksum() function
|
D | file-backed-proto.h | 83 libtextclassifier3::StatusOr<Crc32> ComputeChecksum() const 143 libtextclassifier3::StatusOr<Crc32> FileBackedProto<ProtoT>::ComputeChecksum() in ComputeChecksum() function
|
D | persistent-hash-map.cc | 543 return info().ComputeChecksum(); in ComputeInfoChecksum() 550 bucket_storage_->ComputeChecksum()); in ComputeStoragesChecksum() 552 entry_storage_->ComputeChecksum()); in ComputeStoragesChecksum() 553 ICING_ASSIGN_OR_RETURN(Crc32 kv_storage_crc, kv_storage_->ComputeChecksum()); in ComputeStoragesChecksum()
|
D | file-backed-bitmap.h | 210 uint32_t ComputeChecksum() const;
|
D | persistent-hash-map_test.cc | 463 crcs.component_crcs.info_crc = info.ComputeChecksum().Get(); in TEST_P() 464 crcs.all_crc = crcs.component_crcs.ComputeChecksum().Get(); in TEST_P() 670 bucket_storage->ComputeChecksum()); in TEST_P() 674 bucket_storage->ComputeChecksum()); in TEST_P() 715 ICING_ASSERT_OK_AND_ASSIGN(Crc32 old_crc, entry_storage->ComputeChecksum()); in TEST_P() 719 ICING_ASSERT_OK_AND_ASSIGN(Crc32 new_crc, entry_storage->ComputeChecksum()); in TEST_P() 760 ICING_ASSERT_OK_AND_ASSIGN(Crc32 old_crc, kv_storage->ComputeChecksum()); in TEST_P() 763 ICING_ASSERT_OK_AND_ASSIGN(Crc32 new_crc, kv_storage->ComputeChecksum()); in TEST_P()
|
/external/skia/src/core/ |
D | SkDescriptor.cpp | 53 fChecksum = SkDescriptor::ComputeChecksum(this); in computeChecksum() 105 uint32_t SkDescriptor::ComputeChecksum(const SkDescriptor* desc) { in ComputeChecksum() function in SkDescriptor 199 SkDescriptor::ComputeChecksum(ad.getDesc()); in MakeFromBuffer() 201 if (SkDescriptor::ComputeChecksum(ad.getDesc()) != ad.getDesc()->fChecksum) { return {}; } in MakeFromBuffer()
|
D | SkDescriptor.h | 46 SkASSERT(SkDescriptor::ComputeChecksum(this) == fChecksum); in assertChecksum() 75 static uint32_t ComputeChecksum(const SkDescriptor* desc);
|
/external/scudo/standalone/tests/ |
D | checksum_test.cpp | 31 typedef scudo::u16 (*ComputeChecksum)(scudo::u32, scudo::uptr *, scudo::uptr); typedef 35 template <ComputeChecksum F> static void verifyChecksumFunctionBitFlip() { in verifyChecksumFunctionBitFlip()
|
/external/icing/proto/icing/proto/ |
D | debug.proto | 72 // LiteIndex::ComputeChecksum() 86 // DocumentStore::ComputeChecksum(). 109 // SchemaStore::ComputeChecksum().
|
/external/icing/icing/legacy/index/ |
D | icing-mock-filesystem.h | 155 ON_CALL(*this, ComputeChecksum) in IcingMockFilesystem() 158 return real_icing_filesystem_.ComputeChecksum(fd, checksum, offset, in IcingMockFilesystem() 234 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 | 495 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in InitializeExistingDerivedFiles() 642 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in RegenerateDerivedFiles() 783 libtextclassifier3::StatusOr<Crc32> DocumentStore::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::DocumentStore 788 auto checksum_or = document_log_->ComputeChecksum(); in ComputeChecksum() 798 checksum_or = document_key_mapper_->ComputeChecksum(); in ComputeChecksum() 808 checksum_or = document_id_mapper_->ComputeChecksum(); in ComputeChecksum() 818 checksum_or = score_cache_->ComputeChecksum(); in ComputeChecksum() 828 checksum_or = filter_cache_->ComputeChecksum(); in ComputeChecksum() 838 checksum_or = namespace_mapper_->ComputeChecksum(); in ComputeChecksum() 848 checksum_or = 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 | 128 virtual libtextclassifier3::StatusOr<Crc32> ComputeChecksum() = 0;
|
D | usage-store.h | 149 libtextclassifier3::StatusOr<Crc32> ComputeChecksum();
|
/external/icing/icing/join/ |
D | qualified-id-type-joinable-index_test.cc | 316 crcs->component_crcs.info_crc = info->ComputeChecksum().Get(); in TEST_P() 317 crcs->all_crc = crcs->component_crcs.ComputeChecksum().Get(); in TEST_P() 474 ICING_ASSERT_OK_AND_ASSIGN(Crc32 old_crc, mapper->ComputeChecksum()); in TEST_P() 477 ICING_ASSERT_OK_AND_ASSIGN(Crc32 new_crc, mapper->ComputeChecksum()); in TEST_P() 518 qualified_id_storage->ComputeChecksum()); in TEST_P() 523 qualified_id_storage->ComputeChecksum()); in TEST_P()
|
D | qualified-id-type-joinable-index.cc | 427 return info().ComputeChecksum(); in ComputeInfoChecksum() 433 doc_join_info_mapper_->ComputeChecksum()); in ComputeStoragesChecksum() 435 qualified_id_storage_->ComputeChecksum()); in ComputeStoragesChecksum()
|
/external/icing/icing/index/lite/ |
D | lite-index.cc | 196 Crc32 crc = ComputeChecksum(); in Initialize() 222 Crc32 LiteIndex::ComputeChecksum() { in ComputeChecksum() function in icing::lib::LiteIndex 281 header_->set_lite_index_crc(ComputeChecksum().Get()); in UpdateChecksum() 484 ComputeChecksum().Get(), lexicon_info.c_str()); in GetDebugInfo()
|
/external/icing/icing/schema/ |
D | schema-store.cc | 445 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in InitializeDerivedFiles() 498 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in RegenerateDerivedFiles() 570 libtextclassifier3::StatusOr<Crc32> SchemaStore::ComputeChecksum() const { in ComputeChecksum() function in icing::lib::SchemaStore 590 schema_type_mapper_->ComputeChecksum()); in ComputeChecksum() 827 ICING_ASSIGN_OR_RETURN(Crc32 checksum, ComputeChecksum()); in PersistToDisk() 916 ICING_ASSIGN_OR_RETURN(Crc32 crc, ComputeChecksum()); in GetDebugInfo()
|