Home
last modified time | relevance | path

Searched refs:SectionIdMask (Results 1 – 25 of 34) sorted by relevance

12

/external/icing/icing/schema/
Dsection.h41 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/
Ddoc-hit-info-iterator-term-lite.h36 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()
Ddoc-hit-info-iterator-term-lite.cc32 std::string SectionIdMaskToString(SectionIdMask section_id_mask) { in SectionIdMaskToString()
/external/icing/icing/index/main/
Ddoc-hit-info-iterator-term-main.h36 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()
Ddoc-hit-info-iterator-term-main.cc36 std::string SectionIdMaskToString(SectionIdMask section_id_mask) { in SectionIdMaskToString()
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator.h40 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;
Ddoc-hit-info-iterator-or_test.cc156 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 …]
Ddoc-hit-info-iterator-and_test.cc176 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 …]
Ddoc-hit-info-iterator-test-util.h60 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()
Ddoc-hit-info-iterator-and.h51 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
85 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
Ddoc-hit-info-iterator-section-restrict_test.cc122 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()
Ddoc-hit-info-iterator-or.h47 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
90 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
Ddoc-hit-info-iterator-not_test.cc142 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()
Ddoc-hit-info-iterator-section-restrict.h62 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
Ddoc-hit-info-iterator-filter.h71 SectionIdMask filtering_section_mask = kSectionIdMaskAll) const override {
Ddoc-hit-info-iterator-section-restrict.cc51 SectionIdMask section_id_mask = in Advance()
/external/icing/icing/index/hit/
Ddoc-hit-info.h36 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_;
Ddoc-hit-info.cc43 SectionIdMask section_id_mask = (1u << section_id); in UpdateSection()
55 SectionIdMask other_mask = other.hit_section_ids_mask(); in MergeSectionsFrom()
/external/icing/icing/result/
Dsnippet-retriever_test.cc175 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 …]
Dresult-retriever_test.cc177 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 …]
Dsnippet-retriever.h64 const DocumentProto& document, SectionIdMask section_id_mask) const;
/external/icing/icing/scoring/
Dscored-document-hit.h32 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_;
Dscoring-processor_test.cc293 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/
Dcommon-matchers.h51 SectionIdMask section_mask = kSectionIdMaskNone;
68 SectionIdMask section_mask = kSectionIdMaskNone;
/external/icing/icing/query/
Dquery-processor_test.cc301 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 …]

12