/external/cldr/tools/java/org/unicode/cldr/util/ |
D | PathHeader.java | 80 private static EnumNames<SectionId> SectionIdNames = new EnumNames<>(); 87 public enum SectionId { enum in PathHeader 91 private SectionId(String... alternateNames) { in SectionId() method in PathHeader.SectionId 95 public static SectionId forString(String name) { in forString() 106 …private static Relation<SectionId, PageId> SectionIdToPageIds = Relation.of(new TreeMap<SectionId,… 144 Alphabetic_Information(SectionId.Core_Data, "Alphabetic Information"), 145 Numbering_Systems(SectionId.Core_Data, "Numbering Systems"), 146 LinguisticElements(SectionId.Core_Data, "Linguistic Elements"), 148 Locale_Name_Patterns(SectionId.Locale_Display_Names, "Locale Name Patterns"), 149 Languages_A_D(SectionId.Locale_Display_Names, "Languages (A-D)"), [all …]
|
D | VettingViewer.java | 38 import org.unicode.cldr.util.PathHeader.SectionId; 486 Relation<R2<SectionId, PageId>, WritingInfo> sorted = Relation.of( in generateHtmlErrorTables() 487 new TreeMap<R2<SectionId, PageId>, Set<WritingInfo>>(), TreeSet.class); in generateHtmlErrorTables() 521 …public Relation<R2<SectionId, PageId>, WritingInfo> generateFileInfoReview(EnumSet<Choice> choices… in generateFileInfoReview() 526 Relation<R2<SectionId, PageId>, WritingInfo> sorted = Relation.of( in generateFileInfoReview() 527 new TreeMap<R2<SectionId, PageId>, Set<WritingInfo>>(), TreeSet.class); in generateFileInfoReview() 550 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in getFileInfo() argument 573 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in getFileInfo() argument 730 … R2<SectionId, PageId> group = Row.of(pretty.getSectionId(), pretty.getPageId()); in getFileInfo() 1233 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in writeTables() argument [all …]
|
/external/icing/icing/schema/ |
D | section.h | 30 using SectionId = int8_t; variable 34 inline constexpr SectionId kInvalidSectionId = (1 << kSectionIdBits); 35 inline constexpr SectionId kMaxSectionId = kInvalidSectionId - 1; 36 inline constexpr SectionId kMinSectionId = 0; 37 constexpr bool IsSectionIdValid(SectionId section_id) { in IsSectionIdValid() 55 SectionId id; 73 SectionMetadata(SectionId id_in, TermMatchType::Code term_match_type_in, in SectionMetadata()
|
D | section-manager.h | 78 SectionId section_id) const; 87 SchemaTypeId schema_type_id, SectionId section_id) const;
|
D | section-manager_test.cc | 251 SectionId recipients_section_id = 0; in TEST_F() 252 SectionId subject_section_id = 1; in TEST_F() 253 SectionId invalid_email_section_id = 2; in TEST_F() 271 SectionId emails_recipients_section_id = 0; in TEST_F() 272 SectionId emails_subject_section_id = 1; in TEST_F() 273 SectionId name_section_id = 2; in TEST_F() 274 SectionId invalid_conversation_section_id = 3; in TEST_F()
|
D | schema-store.h | 199 SectionId section_id) const; 209 SchemaTypeId schema_type_id, SectionId section_id) const;
|
D | section-manager.cc | 110 auto new_section_id = static_cast<SectionId>(metadata_list->size()); in AssignSections() 250 SectionId section_id) const { in GetStringSectionContent() 270 SectionId section_id) const { in GetSectionMetadata()
|
/external/icing/icing/index/ |
D | index_test.cc | 91 constexpr SectionId kSectionId2 = 2; 92 constexpr SectionId kSectionId3 = 3; 114 for (SectionId section : sections) { 187 EqualsDocHitInfo(kInvalidDocumentId, std::vector<SectionId>())); in TEST_F() 196 EqualsDocHitInfo(kInvalidDocumentId, std::vector<SectionId>())); in TEST_F() 213 EqualsDocHitInfo(kInvalidDocumentId, std::vector<SectionId>())); in TEST_F() 222 EqualsDocHitInfo(kInvalidDocumentId, std::vector<SectionId>())); in TEST_F() 236 kDocumentId0, std::vector<SectionId>{kSectionId2}))); in TEST_F() 252 kDocumentId0, std::vector<SectionId>{kSectionId2}))); in TEST_F() 267 kDocumentId0, std::vector<SectionId>{kSectionId2}))); in TEST_F() [all …]
|
D | index-processor_test.cc | 95 constexpr SectionId kExactSectionId = 0; 96 constexpr SectionId kPrefixedSectionId = 1; 97 constexpr SectionId kRepeatedSectionId = 2; 98 constexpr SectionId kNestedSectionId = 3; 302 std::unordered_map<SectionId, Hit::TermFrequency> expectedMap{ in TEST_F() 354 std::unordered_map<SectionId, Hit::TermFrequency> expectedMap1{ in TEST_F() 356 std::unordered_map<SectionId, Hit::TermFrequency> expectedMap2{ in TEST_F() 367 std::unordered_map<SectionId, Hit::TermFrequency> expectedMap{ in TEST_F() 409 kDocumentId0, std::vector<SectionId>{kNestedSectionId}))); in TEST_F() 434 kDocumentId0, std::vector<SectionId>{kRepeatedSectionId}))); in TEST_F() [all …]
|
D | index.h | 208 DocumentId document_id, SectionId section_id, in Editor() 232 SectionId section_id_; 234 Editor Edit(DocumentId document_id, SectionId section_id, in Edit()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ShowPathHeaderDescriptions.java | 16 import org.unicode.cldr.util.PathHeader.SectionId; 48 if (pathHeader.getSectionId() == SectionId.Characters) { in main() 81 Multimap<SectionId, String> sv = TreeMultimap.create(); in showDescriptions() 85 Multimap<R2<SectionId, PageId>, String> spv = TreeMultimap.create(); in showDescriptions() 86 Multimap<R2<SectionId, String>, String> shv = TreeMultimap.create(); in showDescriptions() 89 Multimap<R3<SectionId, PageId, String>, String> sphv = TreeMultimap.create(); in showDescriptions() 90 Multimap<String, R3<SectionId, PageId, String>> valueToKey = TreeMultimap.create(); in showDescriptions() 105 SectionId sectionId = pathHeader.getSectionId(); in showDescriptions() 123 R3<SectionId, PageId, String> full = Row.of(sectionId, pageId, header); in showDescriptions() 145 …private static void showProgress(Set<String> done, Multimap<String, R3<SectionId, PageId, String>>… in showProgress() argument
|
D | FindWidths.java | 15 import org.unicode.cldr.util.PathHeader.SectionId; 55 SectionId sectionId = ph.getSectionId(); in main() 57 || sectionId == SectionId.Special) { in main() 78 SectionId sectionId = ph.getSectionId(); in main() 80 || sectionId == SectionId.Special) { in main()
|
D | GenerateChangeChart.java | 27 import org.unicode.cldr.util.PathHeader.SectionId; 57 EnumSet<SectionId> sections = EnumSet.noneOf(SectionId.class); in main() 62 Counter<SectionId> counter = new Counter<>(); in main() 73 for (SectionId s : SectionId.values()) { in main() 111 SectionId lastSectionId = null; in main() 117 SectionId sectionId = pathHeader.getSectionId(); in main()
|
/external/icing/icing/index/main/ |
D | main-index_test.cc | 261 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F() 263 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F() 272 std::vector<SectionId>{doc1_hit.section_id()}))); in TEST_F() 371 std::vector<SectionId>{doc3_hit.section_id()}), in TEST_F() 373 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F() 375 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F() 386 std::vector<SectionId>{doc4_hit.section_id()}), in TEST_F() 388 std::vector<SectionId>{doc1_hit.section_id()}))); in TEST_F() 436 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F() 438 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F() [all …]
|
D | doc-hit-info-iterator-term-main.h | 65 SectionId section_id = __builtin_ctz(section_mask_copy);
|
/external/icing/icing/index/hit/ |
D | doc-hit-info.cc | 41 void DocHitInfo::UpdateSection(SectionId section_id, in UpdateSection() 57 SectionId section_id = __builtin_ctz(other_mask); in MergeSectionsFrom()
|
D | doc-hit-info.h | 53 Hit::TermFrequency hit_term_frequency(SectionId section_id) const { in hit_term_frequency() 64 void UpdateSection(SectionId section_id,
|
D | hit.h | 66 Hit(SectionId section_id, DocumentId document_id, 73 SectionId section_id() const;
|
D | hit.cc | 55 Hit::Hit(SectionId section_id, DocumentId document_id, in Hit() 84 SectionId Hit::section_id() const { in section_id()
|
/external/icing/icing/result/ |
D | result-retriever_test.cc | 132 SectionId GetSectionId(const std::string& type, const std::string& property) { in GetSectionId() 138 for (SectionId section_id = 0; section_id <= kMaxSectionId; ++section_id) { in GetSectionId() 177 SectionIdMask CreateSectionIdMask(const std::vector<SectionId>& section_ids) { in CreateSectionIdMask() 179 for (SectionId section_id : section_ids) { in CreateSectionIdMask() 227 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() 279 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() 328 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() 379 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() 421 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() 470 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestPathHeader.java | 41 import org.unicode.cldr.util.PathHeader.SectionId; 149 Multimap<PathHeader.PageId, PathHeader.SectionId> pageUniqueness = TreeMultimap.create(); in TestCompleteness() 150 …Multimap<String, Pair<PathHeader.SectionId, PathHeader.PageId>> headerUniqueness = TreeMultimap.cr… in TestCompleteness() 197 final SectionId sectionId = ph.getSectionId(); in TestCompleteness() 198 if (sectionId != SectionId.Special) { in TestCompleteness() 219 for (Entry<PageId, Collection<SectionId>> e : pageUniqueness.asMap().entrySet()) { in TestCompleteness() 220 Collection<SectionId> values = e.getValue(); in TestCompleteness() 226 … for (Entry<String, Collection<Pair<SectionId, PageId>>> e : headerUniqueness.asMap().entrySet()) { in TestCompleteness() 227 Collection<Pair<SectionId, PageId>> values = e.getValue(); in TestCompleteness() 455 Map<Row.R2<SectionId, PageId>, Counter<Level>> data = new TreeMap<>(); in TestCoverage() [all …]
|
/external/icing/icing/query/ |
D | query-processor_test.cc | 115 DocumentId document_id, SectionId section_id, in AddTokenToIndex() 300 SectionId section_id = 0; in TEST_F() 376 SectionId section_id = 0; in TEST_F() 444 SectionId section_id = 0; in TEST_F() 512 SectionId section_id = 0; in TEST_F() 582 SectionId section_id = 0; in TEST_F() 657 SectionId section_id = 0; in TEST_F() 727 SectionId section_id = 0; in TEST_F() 803 SectionId section_id = 0; in TEST_F() 884 SectionId section_id = 0; in TEST_F() [all …]
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-section-restrict.cc | 68 SectionId section_id = __builtin_ctz(section_id_mask); in Advance()
|
D | doc-hit-info-iterator-test-util.h | 71 SectionId section_id = __builtin_ctz(section_mask_copy);
|
/external/icing/icing/index/lite/ |
D | doc-hit-info-iterator-term-lite.cc | 34 for (SectionId i = kMaxSectionId; i >= 0; --i) { in SectionIdMaskToString()
|