Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DMeasureUnitImpl.java408 CharsTrieBuilder trieBuilder;
409 trieBuilder = new CharsTrieBuilder();
413 trieBuilder.add(unitPrefix.getIdentifier(), getTrieIndexForPrefix(unitPrefix)); in unitPrefix.getIdentifier()
417 trieBuilder.add("-per-", CompoundPart.PER.getTrieIndex());
418 trieBuilder.add("-", CompoundPart.TIMES.getTrieIndex());
419 trieBuilder.add("-and-", CompoundPart.AND.getTrieIndex());
420 trieBuilder.add("per-", InitialCompoundPart.INITIAL_COMPOUND_PART_PER.getTrieIndex());
421 trieBuilder.add("square-", PowerPart.P2.getTrieIndex());
422 trieBuilder.add("cubic-", PowerPart.P3.getTrieIndex());
423 trieBuilder.add("pow2-", PowerPart.P2.getTrieIndex());
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp177 BytesTrieBuilder &trieBuilder, int32_t trieValueOffset) in SimpleUnitIdentifiersSink() argument
178 : outArray(out), outCategories(outCategories), outSize(outSize), trieBuilder(trieBuilder), in SimpleUnitIdentifiersSink()
214 trieBuilder.add(simpleUnitID, trieValueOffset + outIndex, status); in put()
244 BytesTrieBuilder &trieBuilder; member in __anon70c534e40111::SimpleUnitIdentifiersSink
275 explicit CategoriesSink(const UChar **out, int32_t &outSize, BytesTrieBuilder &trieBuilder) in CategoriesSink() argument
276 : outQuantitiesArray(out), outSize(outSize), trieBuilder(trieBuilder), outIndex(0) {} in CategoriesSink()
303 trieBuilder.add(key, outIndex, status); in put()
311 BytesTrieBuilder &trieBuilder; member in __anon70c534e40111::CategoriesSink
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
Dcollationdatabuilder.cpp1469 CollationDataBuilder::addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder, in addContextTrie() argument
1474 context.append(trieBuilder.buildUnicodeString(USTRINGTRIE_BUILD_SMALL, trieString, errorCode)); in addContextTrie()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasunit_extra.cpp177 BytesTrieBuilder &trieBuilder, int32_t trieValueOffset) in SimpleUnitIdentifiersSink() argument
178 : outArray(out), outCategories(outCategories), outSize(outSize), trieBuilder(trieBuilder), in SimpleUnitIdentifiersSink()
214 trieBuilder.add(simpleUnitID, trieValueOffset + outIndex, status); in put()
244 BytesTrieBuilder &trieBuilder; member in __anon7be46dd20111::SimpleUnitIdentifiersSink
275 explicit CategoriesSink(const UChar **out, int32_t &outSize, BytesTrieBuilder &trieBuilder) in CategoriesSink() argument
276 : outQuantitiesArray(out), outSize(outSize), trieBuilder(trieBuilder), outIndex(0) {} in CategoriesSink()
303 trieBuilder.add(key, outIndex, status); in put()
311 BytesTrieBuilder &trieBuilder; member in __anon7be46dd20111::CategoriesSink
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
Dcollationdatabuilder.cpp1469 CollationDataBuilder::addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder, in addContextTrie() argument
1474 context.append(trieBuilder.buildUnicodeString(USTRINGTRIE_BUILD_SMALL, trieString, errorCode)); in addContextTrie()
/third_party/node/deps/icu-small/source/i18n/
Dmeasunit_extra.cpp176 BytesTrieBuilder &trieBuilder, int32_t trieValueOffset) in SimpleUnitIdentifiersSink() argument
177 : outArray(out), outCategories(outCategories), outSize(outSize), trieBuilder(trieBuilder), in SimpleUnitIdentifiersSink()
213 trieBuilder.add(simpleUnitID, trieValueOffset + outIndex, status); in put()
243 BytesTrieBuilder &trieBuilder; member in __anonfb8c7d130111::SimpleUnitIdentifiersSink
274 explicit CategoriesSink(const UChar **out, int32_t &outSize, BytesTrieBuilder &trieBuilder) in CategoriesSink() argument
275 : outQuantitiesArray(out), outSize(outSize), trieBuilder(trieBuilder), outIndex(0) {} in CategoriesSink()
302 trieBuilder.add(key, outIndex, status); in put()
310 BytesTrieBuilder &trieBuilder; member in __anonfb8c7d130111::CategoriesSink
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
Dcollationdatabuilder.cpp1469 CollationDataBuilder::addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder, in addContextTrie() argument
1474 context.append(trieBuilder.buildUnicodeString(USTRINGTRIE_BUILD_SMALL, trieString, errorCode)); in addContextTrie()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationdatabuilder.h216 int32_t addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder,
Dcollationdatabuilder.cpp1464 CollationDataBuilder::addContextTrie(uint32_t defaultCE32, UCharsTrieBuilder &trieBuilder, in addContextTrie() argument
1469 context.append(trieBuilder.buildUnicodeString(USTRINGTRIE_BUILD_SMALL, trieString, errorCode)); in addContextTrie()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()