/external/icing/icing/schema/ |
D | section.h | 41 using SectionIdMask = int16_t; variable 42 inline constexpr SectionIdMask kSectionIdMaskAll = ~SectionIdMask{0}; 43 inline constexpr SectionIdMask kSectionIdMaskNone = SectionIdMask{0}; 46 kMaxSectionId < 8 * sizeof(SectionIdMask),
|
/external/icing/icing/index/lite/ |
D | doc-hit-info-iterator-term-lite.h | 36 SectionIdMask section_restrict_mask) in DocHitInfoIteratorTermLite() 54 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override { 59 SectionIdMask section_mask = 61 SectionIdMask section_mask_copy = section_mask; 98 const SectionIdMask section_restrict_mask_; 106 SectionIdMask section_id_mask) in DocHitInfoIteratorTermLiteExact() 121 SectionIdMask section_id_mask) in DocHitInfoIteratorTermLitePrefix()
|
D | doc-hit-info-iterator-term-lite.cc | 32 std::string SectionIdMaskToString(SectionIdMask section_id_mask) { in SectionIdMaskToString()
|
/external/icing/icing/index/main/ |
D | doc-hit-info-iterator-term-main.h | 36 SectionIdMask section_restrict_mask) in DocHitInfoIteratorTermMain() 54 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override { 59 SectionIdMask section_mask = 61 SectionIdMask section_mask_copy = section_mask; 102 const SectionIdMask section_restrict_mask_; 109 SectionIdMask section_restrict_mask) in DocHitInfoIteratorTermMainExact() 122 SectionIdMask section_restrict_mask) in DocHitInfoIteratorTermMainPrefix()
|
D | doc-hit-info-iterator-term-main.cc | 36 std::string SectionIdMaskToString(SectionIdMask section_id_mask) { in SectionIdMaskToString()
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator.h | 40 SectionIdMask section_ids_mask; 46 std::string_view term, SectionIdMask section_ids_mask, in TermMatchInfo() 81 SectionIdMask hit_intersect_section_ids_mask() const { in hit_intersect_section_ids_mask() 106 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const {} 110 SectionIdMask hit_intersect_section_ids_mask_ = kSectionIdMaskNone;
|
D | doc-hit-info-iterator-or_test.cc | 156 TEST(DocHitInfoIteratorOrTest, SectionIdMask) { in TEST() argument 159 SectionIdMask section_id_mask1 = 0b01010101; // hits in sections 0, 2, 4, 6 in TEST() 160 SectionIdMask section_id_mask2 = 0b00000110; // hits in sections 1, 2 in TEST() 161 SectionIdMask mask_anded_result = 0b00000100; in TEST() 162 SectionIdMask mask_ored_result = 0b01010111; in TEST() 185 SectionIdMask section_id_mask1 = 0b01010101; // hits in sections 0, 2, 4, 6 in TEST() 188 SectionIdMask section_id_mask2 = 0b00000110; // hits in sections 1, 2 in TEST() 237 SectionIdMask section_id_mask1 = 0b00000101; // hits in sections 0, 2 in TEST() 276 SectionIdMask section_id_mask1 = 0b01010101; // hits in sections 0, 2, 4, 6 in TEST() 279 SectionIdMask section_id_mask2 = 0b00000110; // hits in sections 1, 2 in TEST() [all …]
|
D | doc-hit-info-iterator-and_test.cc | 176 TEST(DocHitInfoIteratorAndTest, SectionIdMask) { in TEST() argument 179 SectionIdMask section_id_mask1 = 0b01010101; // hits in sections 0, 2, 4, 6 in TEST() 180 SectionIdMask section_id_mask2 = 0b00000110; // hits in sections 1, 2 in TEST() 181 SectionIdMask mask_anded_result = 0b00000100; in TEST() 182 SectionIdMask mask_ored_result = 0b01010111; in TEST() 205 SectionIdMask section_id_mask1 = 0b01010101; // hits in sections 0, 2, 4, 6 in TEST() 208 SectionIdMask section_id_mask2 = 0b00000110; // hits in sections 1, 2 in TEST() 258 SectionIdMask section_id_mask1 = 0b00000101; // hits in sections 0, 2 in TEST() 428 TEST(DocHitInfoIteratorAndNaryTest, SectionIdMask) { in TEST() argument 431 SectionIdMask section_id_mask1 = 0b01000101; // hits in sections 0, 2, 6 in TEST() [all …]
|
D | doc-hit-info-iterator-test-util.h | 60 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override { 65 SectionIdMask section_mask = 67 SectionIdMask section_mask_copy = section_mask; 90 SectionIdMask hit_intersect_section_ids_mask) { in set_hit_intersect_section_ids_mask()
|
D | doc-hit-info-iterator-and.h | 51 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override { 85 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
|
D | doc-hit-info-iterator-section-restrict_test.cc | 122 SectionIdMask original_section_id_mask = 0b00000101; // hits in sections 0, 2 in TEST_F() 149 SectionIdMask expected_section_id_mask = 0b00000001; // hits in sections 0 in TEST_F() 184 SectionIdMask section_id_mask = 1U << indexed_section_id_; in TEST_F() 226 SectionIdMask section_id_mask = 1U << indexed_section_id_; in TEST_F()
|
D | doc-hit-info-iterator-or.h | 47 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override { 90 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
|
D | doc-hit-info-iterator-not_test.cc | 142 SectionIdMask section_id_mask5 = 1U << 5; // arbitrary non-zero value in TEST() 143 SectionIdMask section_id_mask4 = 1U << 4; // arbitrary non-zero value in TEST()
|
D | doc-hit-info-iterator-section-restrict.h | 62 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
|
D | doc-hit-info-iterator-filter.h | 71 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
|
D | doc-hit-info-iterator-section-restrict.cc | 51 SectionIdMask section_id_mask = in Advance()
|
/external/icing/icing/index/hit/ |
D | doc-hit-info.h | 36 SectionIdMask hit_section_ids_mask = kSectionIdMaskNone) 47 SectionIdMask hit_section_ids_mask() const { return hit_section_ids_mask_; } in hit_section_ids_mask() 49 void set_hit_section_ids_mask(SectionIdMask section_id_mask) { in set_hit_section_ids_mask() 78 SectionIdMask hit_section_ids_mask_;
|
D | doc-hit-info.cc | 43 SectionIdMask section_id_mask = (1u << section_id); in UpdateSection() 55 SectionIdMask other_mask = other.hit_section_ids_mask(); in MergeSectionsFrom()
|
/external/icing/icing/result/ |
D | snippet-retriever_test.cc | 175 SectionIdMask section_mask = 0b00000011; in TEST_F() 201 SectionIdMask section_mask = 0b00000011; in TEST_F() 227 SectionIdMask section_mask = 0b00000011; in TEST_F() 252 SectionIdMask section_mask = 0b00000011; in TEST_F() 285 SectionIdMask section_mask = 0b00000011; in TEST_F() 318 SectionIdMask section_mask = 0b00000011; in TEST_F() 346 SectionIdMask section_mask = 0b00000011; in TEST_F() 374 SectionIdMask section_mask = 0b00000011; in TEST_F() 400 SectionIdMask section_mask = 0b00000011; in TEST_F() 433 SectionIdMask section_mask = 0b00000011; in TEST_F() [all …]
|
D | result-retriever_test.cc | 177 SectionIdMask CreateSectionIdMask(const std::vector<SectionId>& section_ids) { in CreateSectionIdMask() 178 SectionIdMask mask = 0; in CreateSectionIdMask() 229 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 281 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 330 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 381 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 423 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 472 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 574 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() 642 SectionIdMask hit_section_id_mask = CreateSectionIdMask(hit_section_ids); in TEST_F() [all …]
|
D | snippet-retriever.h | 64 const DocumentProto& document, SectionIdMask section_id_mask) const;
|
/external/icing/icing/scoring/ |
D | scored-document-hit.h | 32 ScoredDocumentHit(DocumentId document_id, SectionIdMask hit_section_id_mask, in ScoredDocumentHit() 46 SectionIdMask hit_section_id_mask() const { return hit_section_id_mask_; } in hit_section_id_mask() 52 SectionIdMask hit_section_id_mask_;
|
D | scoring-processor_test.cc | 293 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 362 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 433 SectionIdMask section_id_mask1 = 0b00000001; in TEST_F() 434 SectionIdMask section_id_mask2 = 0b00000001; in TEST_F() 435 SectionIdMask section_id_mask3 = 0b00000011; in TEST_F()
|
/external/icing/icing/testing/ |
D | common-matchers.h | 51 SectionIdMask section_mask = kSectionIdMaskNone; 68 SectionIdMask section_mask = kSectionIdMaskNone;
|
/external/icing/icing/query/ |
D | query-processor_test.cc | 301 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 377 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 445 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 513 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 583 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 658 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 728 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 804 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 885 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() 974 SectionIdMask section_id_mask = 1U << section_id; in TEST_F() [all …]
|