Home
last modified time | relevance | path

Searched refs:trieBuilder (Results 1 – 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DMeasureUnitImpl.java416 CharsTrieBuilder trieBuilder;
417 trieBuilder = new CharsTrieBuilder();
420 trieBuilder.add("-per-", CompoundPart.PER.getTrieIndex());
421 trieBuilder.add("-", CompoundPart.TIMES.getTrieIndex());
422 trieBuilder.add("-and-", CompoundPart.AND.getTrieIndex());
423 trieBuilder.add("per-", InitialCompoundPart.INITIAL_COMPOUND_PART_PER.getTrieIndex());
424 trieBuilder.add("square-", PowerPart.P2.getTrieIndex());
425 trieBuilder.add("cubic-", PowerPart.P3.getTrieIndex());
426 trieBuilder.add("pow2-", PowerPart.P2.getTrieIndex());
427 trieBuilder.add("pow3-", PowerPart.P3.getTrieIndex());
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DMeasureUnitImpl.java400 CharsTrieBuilder trieBuilder;
401 trieBuilder = new CharsTrieBuilder();
404 trieBuilder.add("-per-", CompoundPart.PER.getTrieIndex());
405 trieBuilder.add("-", CompoundPart.TIMES.getTrieIndex());
406 trieBuilder.add("-and-", CompoundPart.AND.getTrieIndex());
407 trieBuilder.add("per-", InitialCompoundPart.INITIAL_COMPOUND_PART_PER.getTrieIndex());
408 trieBuilder.add("square-", PowerPart.P2.getTrieIndex());
409 trieBuilder.add("cubic-", PowerPart.P3.getTrieIndex());
410 trieBuilder.add("pow2-", PowerPart.P2.getTrieIndex());
411 trieBuilder.add("pow3-", PowerPart.P3.getTrieIndex());
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLikelySubtagsBuilder.java141 TrieBuilder trieBuilder = new TrieBuilder(); in build() local
153 trieBuilder.length = 0; in build()
156 trieBuilder.addStar(); in build()
158 trieBuilder.addSubtag(lang); in build()
168 trieBuilder.addValue(i); in build()
174 trieBuilder.addValue(XLikelySubtags.SKIP_SCRIPT); in build()
178 int scriptStartLength = trieBuilder.length; in build()
180 trieBuilder.length = scriptStartLength; in build()
184 trieBuilder.addStar(); in build()
186 trieBuilder.addSubtag(script); in build()
[all …]
DLocaleDistanceBuilder.java610 TrieBuilder trieBuilder = new TrieBuilder(); in build() local
611 defaultDistanceTable.toTrie(trieBuilder); in build()
612 byte[] trie = trieBuilder.build(); in build()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java138 TrieBuilder trieBuilder = new TrieBuilder(); in build() local
150 trieBuilder.length = 0; in build()
153 trieBuilder.addStar(); in build()
155 trieBuilder.addSubtag(lang); in build()
165 trieBuilder.addValue(i); in build()
171 trieBuilder.addValue(XLikelySubtags.SKIP_SCRIPT); in build()
175 int scriptStartLength = trieBuilder.length; in build()
177 trieBuilder.length = scriptStartLength; in build()
181 trieBuilder.addStar(); in build()
183 trieBuilder.addSubtag(script); in build()
[all …]
DLocaleDistanceBuilder.java607 TrieBuilder trieBuilder = new TrieBuilder(); in build() local
608 defaultDistanceTable.toTrie(trieBuilder); in build()
609 byte[] trie = trieBuilder.build(); in build()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTrie.java40 private final BytesTrieBuilder trieBuilder = new BytesTrieBuilder(); field in Trie
96 trieBuilder.add(spanBytes, index, value);
107 ByteBuffer buffer = trieBuilder.buildByteBuffer(BytesTrieBuilder.Option.SMALL); in toByteArray()
/external/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp146 …xplicit SimpleUnitIdentifiersSink(const char **out, int32_t outSize, BytesTrieBuilder &trieBuilder, in SimpleUnitIdentifiersSink() argument
148 … : outArray(out), outSize(outSize), trieBuilder(trieBuilder), trieValueOffset(trieValueOffset), in SimpleUnitIdentifiersSink()
183 trieBuilder.add(key, trieValueOffset + outIndex, status); in put()
191 BytesTrieBuilder &trieBuilder; member in __anone5e131780111::SimpleUnitIdentifiersSink
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
Dcollationdatabuilder.cpp1463 CollationDataBuilder::addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder, in addContextTrie() argument
1468 context.append(trieBuilder.buildUnicodeString(USTRINGTRIE_BUILD_SMALL, trieString, errorCode)); in addContextTrie()
/external/llvm-project/lld/MachO/
DSyntheticSections.cpp562 trieBuilder.setImageBase(in.header->addr); in finalizeContents()
566 trieBuilder.addSymbol(*defined); in finalizeContents()
570 size = trieBuilder.build(); in finalizeContents()
573 void ExportSection::writeTo(uint8_t *buf) const { trieBuilder.writeTo(buf); } in writeTo()
DSyntheticSections.h387 TrieBuilder trieBuilder;
/external/icu/libicu/cts_headers/
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java1132 protected int addContextTrie(int defaultCE32, CharsTrieBuilder trieBuilder) { in addContextTrie() argument
1135 context.append(trieBuilder.buildCharSequence(StringTrieBuilder.Option.SMALL)); in addContextTrie()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java1131 protected int addContextTrie(int defaultCE32, CharsTrieBuilder trieBuilder) { in addContextTrie() argument
1134 context.append(trieBuilder.buildCharSequence(StringTrieBuilder.Option.SMALL)); in addContextTrie()