/external/icing/icing/schema/ |
D | section.h | 35 inline constexpr SectionId kMaxSectionId = kInvalidSectionId - 1; variable 38 return section_id >= kMinSectionId && section_id <= kMaxSectionId; in IsSectionIdValid() 46 kMaxSectionId < 8 * sizeof(SectionIdMask),
|
D | section-manager.cc | 116 kMaxSectionId - kMinSectionId + 1)); in AssignSections() 254 kMaxSectionId)); in GetStringSectionContent() 274 kMaxSectionId)); in GetSectionMetadata()
|
D | schema-store.cc | 477 if (sections_list_or.ValueOrDie()->size() == kMaxSectionId + 1) { in GetStorageInfo()
|
D | section-manager_test.cc | 169 int max_num_sections_allowed = kMaxSectionId - kMinSectionId + 1; in TEST_F()
|
/external/icing/icing/index/lite/ |
D | doc-hit-info-iterator-term-lite.cc | 33 std::string mask(kMaxSectionId + 1, '0'); in SectionIdMaskToString() 34 for (SectionId i = kMaxSectionId; i >= 0; --i) { in SectionIdMaskToString() 36 mask[kMaxSectionId - i] = '1'; in SectionIdMaskToString()
|
D | doc-hit-info-iterator-term-lite.h | 62 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-or_test.cc | 186 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST() 189 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST() 238 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST() 277 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST() 280 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST() 480 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hi{ in TEST() 488 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2_hi{ in TEST() 496 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hello{ in TEST() 503 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2_hello{ in TEST() 511 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_ciao{ in TEST() [all …]
|
D | doc-hit-info-iterator.h | 43 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies; 47 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies) in TermMatchInfo()
|
D | doc-hit-info-iterator-and_test.cc | 206 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST() 209 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST() 259 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST() 474 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hi{ in TEST() 487 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hello{ in TEST() 499 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_ciao{ in TEST()
|
D | doc-hit-info-iterator-test-util.h | 68 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
|
D | doc-hit-info-iterator-section-restrict_test.cc | 155 std::array<Hit::TermFrequency, kMaxSectionId> expected_term_frequencies{ in TEST_F()
|
/external/icing/icing/index/main/ |
D | doc-hit-info-iterator-term-main.cc | 37 std::string mask(kMaxSectionId + 1, '0'); in SectionIdMaskToString() 38 for (SectionId i = kMaxSectionId; i >= 0; --i) { in SectionIdMaskToString() 40 mask[kMaxSectionId - i] = '1'; in SectionIdMaskToString()
|
D | doc-hit-info-iterator-term-main.h | 62 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
|
/external/icing/icing/testing/ |
D | hit-test-utils.cc | 23 ? Hit(kMaxSectionId, last_hit.document_id() + 1, in CreateHit() 31 ? Hit(kMaxSectionId, hit.document_id() + 1, hit.term_frequency()) in CreateHit()
|
/external/icing/icing/index/hit/ |
D | doc-hit-info.h | 79 Hit::TermFrequency hit_term_frequency_[kMaxSectionId + 1];
|
D | doc-hit-info_test.cc | 36 for (SectionId i = 0; i <= kMaxSectionId; ++i) { in TEST()
|
D | hit_test.cc | 95 Hit maximum_section_id_hit(kMaxSectionId, kSomeDocumentId, in TEST()
|
/external/icing/icing/query/ |
D | query-processor_test.cc | 303 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 379 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 447 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 515 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 585 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 660 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 729 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 805 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 886 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() 975 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F() [all …]
|
/external/icing/icing/result/ |
D | result-retriever_test.cc | 138 for (SectionId section_id = 0; section_id <= kMaxSectionId; ++section_id) { in GetSectionId()
|