Home
last modified time | relevance | path

Searched defs:trie (Results 1 – 25 of 194) sorted by relevance

12345678

/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTrieTest.java20 Trie trie = new Trie(); in testSimple() local
27 Trie trie = new Trie(); in testSubSpan() local
34 Trie trie = new Trie(); in testHierarchyAndOrdering() local
55 Trie trie = new Trie(); in testStarOrdering() local
86 Trie trie = new Trie(); in testBadTrie_BadValue() local
97 Trie trie = new Trie(); in testBadTrie_NoPrefix() local
106 Trie trie = new Trie(); in testBadTrie_BadPrefix() local
117 Trie trie = new Trie(); in testBadTrie_NoStarInPrefix() local
128 Trie trie = new Trie(); in testBadTrie_TooLong() local
140 BytesTrie trie = new BytesTrie(data, 0); in getRawTrieTable() local
/external/icing/icing/legacy/index/
Dicing-dynamic-trie_test.cc53 static void StatsDump(const IcingDynamicTrie& trie) { in StatsDump()
59 static void AddToTrie(IcingDynamicTrie* trie, uint32_t num_keys) { in AddToTrie()
68 static void CheckTrie(const IcingDynamicTrie& trie, uint32_t num_keys) { in CheckTrie()
80 static void PrintTrie(const IcingDynamicTrie& trie) { in PrintTrie()
124 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
152 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
165 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
275 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
385 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
433 IcingDynamicTrie trie(trie_files_prefix_, in TEST_F() local
[all …]
/external/icu/icu4c/source/common/
Dutrie.h178 #define _UTRIE_GET_RAW(trie, data, offset, c16) \ argument
185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
201 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \ argument
209 #define _UTRIE_GET(trie, data, c32, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
224 #define _UTRIE_NEXT(trie, data, src, limit, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
240 #define _UTRIE_PREVIOUS(trie, data, start, src, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN {… argument
274 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH) argument
285 #define UTRIE_GET32_LATIN1(trie) ((trie)->data32+UTRIE_DATA_BLOCK_LENGTH) argument
295 #define UTRIE_GET16_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, index, 0, c16) argument
305 #define UTRIE_GET32_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, data32, 0, c16) argument
[all …]
Dutrie2.h360 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c)) argument
370 #define UTRIE2_GET32(trie, c) _UTRIE2_GET((trie), data32, 0, (c)) argument
382 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c,… argument
394 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c… argument
406 #define UTRIE2_U16_PREV16(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, index, start, src, c,… argument
418 #define UTRIE2_U16_PREV32(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, data32, start, src, c… argument
428 #define UTRIE2_U8_NEXT16(trie, src, limit, result)\ argument
439 #define UTRIE2_U8_NEXT32(trie, src, limit, result) \ argument
450 #define UTRIE2_U8_PREV16(trie, start, src, result) \ argument
461 #define UTRIE2_U8_PREV32(trie, start, src, result) \ argument
[all …]
Dutrie2.cpp42 get32(const UNewTrie2 *trie, UChar32 c, UBool fromLSCP) { in get32()
61 utrie2_get32(const UTrie2 *trie, UChar32 c) { in utrie2_get32()
74 utrie2_get32FromLeadSurrogateCodeUnit(const UTrie2 *trie, UChar32 c) { in utrie2_get32FromLeadSurrogateCodeUnit()
88 u8Index(const UTrie2 *trie, UChar32 c, int32_t i) { in u8Index()
98 utrie2_internalU8NextIndex(const UTrie2 *trie, UChar32 c, in utrie2_internalU8NextIndex()
113 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c, in utrie2_internalU8PrevIndex()
137 UTrie2 *trie; in utrie2_openFromSerialized() local
242 UTrie2 *trie; in utrie2_openDummy() local
374 utrie2_close(UTrie2 *trie) { in utrie2_close()
391 utrie2_isFrozen(const UTrie2 *trie) { in utrie2_isFrozen()
[all …]
Dutrie2_builder.cpp117 UTrie2 *trie; in utrie2_open() local
250 UNewTrie2 *trie; in cloneBuilder() local
300 UTrie2 *trie; in utrie2_clone() local
345 UTrie2 *trie; member
369 static long countInitial(const UTrie2 *trie) { in countInitial()
386 utrie_printLengths(const UTrie *trie) { in utrie_printLengths()
395 utrie2_printLengths(const UTrie2 *trie, const char *which) { in utrie2_printLengths()
498 isInNullBlock(UNewTrie2 *trie, UChar32 c, UBool forLSCP) { in isInNullBlock()
513 allocIndex2Block(UNewTrie2 *trie) { in allocIndex2Block()
532 getIndex2Block(UNewTrie2 *trie, UChar32 c, UBool forLSCP) { in getIndex2Block()
[all …]
Dutrie.cpp53 UNewTrie *trie; in utrie_open() local
117 UNewTrie *trie; in utrie_clone() local
153 utrie_close(UNewTrie *trie) { in utrie_close()
166 utrie_getData(UNewTrie *trie, int32_t *pLength) { in utrie_getData()
176 utrie_allocDataBlock(UNewTrie *trie) { in utrie_allocDataBlock()
196 utrie_getDataBlock(UNewTrie *trie, UChar32 c) { in utrie_getDataBlock()
222 utrie_set32(UNewTrie *trie, UChar32 c, uint32_t value) { in utrie_set32()
240 utrie_get32(UNewTrie *trie, UChar32 c, UBool *pInBlockZero) { in utrie_get32()
284 utrie_setRange32(UNewTrie *trie, UChar32 start, UChar32 limit, uint32_t value, UBool overwrite) { in utrie_setRange32()
405 utrie_fold(UNewTrie *trie, UNewTrieGetFoldedValue *getFoldedValue, UErrorCode *pErrorCode) { in utrie_fold()
[all …]
Ducptrie.cpp100 UCPTrie *trie = (UCPTrie *)uprv_malloc(sizeof(UCPTrie)); in ucptrie_openFromBinary() local
146 ucptrie_close(UCPTrie *trie) { in ucptrie_close()
151 ucptrie_getType(const UCPTrie *trie) { in ucptrie_getType()
156 ucptrie_getValueWidth(const UCPTrie *trie) { in ucptrie_getValueWidth()
161 ucptrie_internalSmallIndex(const UCPTrie *trie, UChar32 c) { in ucptrie_internalSmallIndex()
188 ucptrie_internalSmallU8Index(const UCPTrie *trie, int32_t lt1, uint8_t t2, uint8_t t3) { in ucptrie_internalSmallU8Index()
198 ucptrie_internalU8PrevIndex(const UCPTrie *trie, UChar32 c, in ucptrie_internalU8PrevIndex()
233 ucptrie_get(const UCPTrie *trie, UChar32 c) { in ucptrie_get()
264 const UCPTrie *trie = reinterpret_cast<const UCPTrie *>(t); in getRange() local
416 const void *trie, UChar32 start, in ucptrie_internalGetRange()
[all …]
/external/cronet/third_party/icu/source/common/
Dutrie.h178 #define _UTRIE_GET_RAW(trie, data, offset, c16) \ argument
185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
201 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \ argument
209 #define _UTRIE_GET(trie, data, c32, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
224 #define _UTRIE_NEXT(trie, data, src, limit, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
240 #define _UTRIE_PREVIOUS(trie, data, start, src, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN {… argument
274 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH) argument
285 #define UTRIE_GET32_LATIN1(trie) ((trie)->data32+UTRIE_DATA_BLOCK_LENGTH) argument
295 #define UTRIE_GET16_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, index, 0, c16) argument
305 #define UTRIE_GET32_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, data32, 0, c16) argument
[all …]
Dutrie2.h360 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c)) argument
370 #define UTRIE2_GET32(trie, c) _UTRIE2_GET((trie), data32, 0, (c)) argument
382 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c,… argument
394 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c… argument
406 #define UTRIE2_U16_PREV16(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, index, start, src, c,… argument
418 #define UTRIE2_U16_PREV32(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, data32, start, src, c… argument
428 #define UTRIE2_U8_NEXT16(trie, src, limit, result)\ argument
439 #define UTRIE2_U8_NEXT32(trie, src, limit, result) \ argument
450 #define UTRIE2_U8_PREV16(trie, start, src, result) \ argument
461 #define UTRIE2_U8_PREV32(trie, start, src, result) \ argument
[all …]
Dutrie2.cpp42 get32(const UNewTrie2 *trie, UChar32 c, UBool fromLSCP) { in get32()
61 utrie2_get32(const UTrie2 *trie, UChar32 c) { in utrie2_get32()
74 utrie2_get32FromLeadSurrogateCodeUnit(const UTrie2 *trie, UChar32 c) { in utrie2_get32FromLeadSurrogateCodeUnit()
88 u8Index(const UTrie2 *trie, UChar32 c, int32_t i) { in u8Index()
98 utrie2_internalU8NextIndex(const UTrie2 *trie, UChar32 c, in utrie2_internalU8NextIndex()
113 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c, in utrie2_internalU8PrevIndex()
137 UTrie2 *trie; in utrie2_openFromSerialized() local
242 UTrie2 *trie; in utrie2_openDummy() local
374 utrie2_close(UTrie2 *trie) { in utrie2_close()
391 utrie2_isFrozen(const UTrie2 *trie) { in utrie2_isFrozen()
[all …]
Dutrie2_builder.cpp117 UTrie2 *trie; in utrie2_open() local
250 UNewTrie2 *trie; in cloneBuilder() local
300 UTrie2 *trie; in utrie2_clone() local
345 UTrie2 *trie; member
369 static long countInitial(const UTrie2 *trie) { in countInitial()
386 utrie_printLengths(const UTrie *trie) { in utrie_printLengths()
395 utrie2_printLengths(const UTrie2 *trie, const char *which) { in utrie2_printLengths()
498 isInNullBlock(UNewTrie2 *trie, UChar32 c, UBool forLSCP) { in isInNullBlock()
513 allocIndex2Block(UNewTrie2 *trie) { in allocIndex2Block()
532 getIndex2Block(UNewTrie2 *trie, UChar32 c, UBool forLSCP) { in getIndex2Block()
[all …]
Dutrie.cpp53 UNewTrie *trie; in utrie_open() local
117 UNewTrie *trie; in utrie_clone() local
153 utrie_close(UNewTrie *trie) { in utrie_close()
166 utrie_getData(UNewTrie *trie, int32_t *pLength) { in utrie_getData()
176 utrie_allocDataBlock(UNewTrie *trie) { in utrie_allocDataBlock()
196 utrie_getDataBlock(UNewTrie *trie, UChar32 c) { in utrie_getDataBlock()
222 utrie_set32(UNewTrie *trie, UChar32 c, uint32_t value) { in utrie_set32()
240 utrie_get32(UNewTrie *trie, UChar32 c, UBool *pInBlockZero) { in utrie_get32()
284 utrie_setRange32(UNewTrie *trie, UChar32 start, UChar32 limit, uint32_t value, UBool overwrite) { in utrie_setRange32()
405 utrie_fold(UNewTrie *trie, UNewTrieGetFoldedValue *getFoldedValue, UErrorCode *pErrorCode) { in utrie_fold()
[all …]
Ducptrie.cpp100 UCPTrie *trie = (UCPTrie *)uprv_malloc(sizeof(UCPTrie)); in ucptrie_openFromBinary() local
146 ucptrie_close(UCPTrie *trie) { in ucptrie_close()
151 ucptrie_getType(const UCPTrie *trie) { in ucptrie_getType()
156 ucptrie_getValueWidth(const UCPTrie *trie) { in ucptrie_getValueWidth()
161 ucptrie_internalSmallIndex(const UCPTrie *trie, UChar32 c) { in ucptrie_internalSmallIndex()
188 ucptrie_internalSmallU8Index(const UCPTrie *trie, int32_t lt1, uint8_t t2, uint8_t t3) { in ucptrie_internalSmallU8Index()
198 ucptrie_internalU8PrevIndex(const UCPTrie *trie, UChar32 c, in ucptrie_internalU8PrevIndex()
233 ucptrie_get(const UCPTrie *trie, UChar32 c) { in ucptrie_get()
264 const UCPTrie *trie = reinterpret_cast<const UCPTrie *>(t); in getRange() local
416 const void *trie, UChar32 start, in ucptrie_internalGetRange()
[all …]
/external/icu/libicu/cts_headers/
Dutrie.h178 #define _UTRIE_GET_RAW(trie, data, offset, c16) \ argument
185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
201 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \ argument
209 #define _UTRIE_GET(trie, data, c32, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
224 #define _UTRIE_NEXT(trie, data, src, limit, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
240 #define _UTRIE_PREVIOUS(trie, data, start, src, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN {… argument
274 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH) argument
285 #define UTRIE_GET32_LATIN1(trie) ((trie)->data32+UTRIE_DATA_BLOCK_LENGTH) argument
295 #define UTRIE_GET16_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, index, 0, c16) argument
305 #define UTRIE_GET32_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, data32, 0, c16) argument
[all …]
Dutrie2.h360 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c)) argument
370 #define UTRIE2_GET32(trie, c) _UTRIE2_GET((trie), data32, 0, (c)) argument
382 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c,… argument
394 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c… argument
406 #define UTRIE2_U16_PREV16(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, index, start, src, c,… argument
418 #define UTRIE2_U16_PREV32(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, data32, start, src, c… argument
428 #define UTRIE2_U8_NEXT16(trie, src, limit, result)\ argument
439 #define UTRIE2_U8_NEXT32(trie, src, limit, result) \ argument
450 #define UTRIE2_U8_PREV16(trie, start, src, result) \ argument
461 #define UTRIE2_U8_PREV32(trie, start, src, result) \ argument
[all …]
/external/icu/icu4c/source/common/unicode/
Ducptrie.h326 #define UCPTRIE_16(trie, i) ((trie)->data.ptr16[i]) argument
336 #define UCPTRIE_32(trie, i) ((trie)->data.ptr32[i]) argument
346 #define UCPTRIE_8(trie, i) ((trie)->data.ptr8[i]) argument
358 #define UCPTRIE_FAST_GET(trie, dataAccess, c) dataAccess(trie, _UCPTRIE_CP_INDEX(trie, 0xffff, c)) argument
370 #define UCPTRIE_SMALL_GET(trie, dataAccess, c) \ argument
386 #define UCPTRIE_FAST_U16_NEXT(trie, dataAccess, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
417 #define UCPTRIE_FAST_U16_PREV(trie, dataAccess, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
451 #define UCPTRIE_FAST_U8_NEXT(trie, dataAccess, src, limit, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
497 #define UCPTRIE_FAST_U8_PREV(trie, dataAccess, start, src, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
517 #define UCPTRIE_ASCII_GET(trie, dataAccess, c) dataAccess(trie, c) argument
[all …]
/external/icu/libandroidicu/include/unicode/
Ducptrie.h326 #define UCPTRIE_16(trie, i) ((trie)->data.ptr16[i]) argument
336 #define UCPTRIE_32(trie, i) ((trie)->data.ptr32[i]) argument
346 #define UCPTRIE_8(trie, i) ((trie)->data.ptr8[i]) argument
358 #define UCPTRIE_FAST_GET(trie, dataAccess, c) dataAccess(trie, _UCPTRIE_CP_INDEX(trie, 0xffff, c)) argument
370 #define UCPTRIE_SMALL_GET(trie, dataAccess, c) \ argument
386 #define UCPTRIE_FAST_U16_NEXT(trie, dataAccess, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
417 #define UCPTRIE_FAST_U16_PREV(trie, dataAccess, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
451 #define UCPTRIE_FAST_U8_NEXT(trie, dataAccess, src, limit, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
497 #define UCPTRIE_FAST_U8_PREV(trie, dataAccess, start, src, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
517 #define UCPTRIE_ASCII_GET(trie, dataAccess, c) dataAccess(trie, c) argument
[all …]
/external/icu/libicu/cts_headers/unicode/
Ducptrie.h326 #define UCPTRIE_16(trie, i) ((trie)->data.ptr16[i]) argument
336 #define UCPTRIE_32(trie, i) ((trie)->data.ptr32[i]) argument
346 #define UCPTRIE_8(trie, i) ((trie)->data.ptr8[i]) argument
358 #define UCPTRIE_FAST_GET(trie, dataAccess, c) dataAccess(trie, _UCPTRIE_CP_INDEX(trie, 0xffff, c)) argument
370 #define UCPTRIE_SMALL_GET(trie, dataAccess, c) \ argument
386 #define UCPTRIE_FAST_U16_NEXT(trie, dataAccess, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
417 #define UCPTRIE_FAST_U16_PREV(trie, dataAccess, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
451 #define UCPTRIE_FAST_U8_NEXT(trie, dataAccess, src, limit, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
497 #define UCPTRIE_FAST_U8_PREV(trie, dataAccess, start, src, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
517 #define UCPTRIE_ASCII_GET(trie, dataAccess, c) dataAccess(trie, c) argument
[all …]
/external/cronet/third_party/icu/source/common/unicode/
Ducptrie.h326 #define UCPTRIE_16(trie, i) ((trie)->data.ptr16[i]) argument
336 #define UCPTRIE_32(trie, i) ((trie)->data.ptr32[i]) argument
346 #define UCPTRIE_8(trie, i) ((trie)->data.ptr8[i]) argument
358 #define UCPTRIE_FAST_GET(trie, dataAccess, c) dataAccess(trie, _UCPTRIE_CP_INDEX(trie, 0xffff, c)) argument
370 #define UCPTRIE_SMALL_GET(trie, dataAccess, c) \ argument
386 #define UCPTRIE_FAST_U16_NEXT(trie, dataAccess, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
417 #define UCPTRIE_FAST_U16_PREV(trie, dataAccess, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
451 #define UCPTRIE_FAST_U8_NEXT(trie, dataAccess, src, limit, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
497 #define UCPTRIE_FAST_U8_PREV(trie, dataAccess, start, src, result) UPRV_BLOCK_MACRO_BEGIN { \ argument
517 #define UCPTRIE_ASCII_GET(trie, dataAccess, c) dataAccess(trie, c) argument
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DBytesTrieTest.java266 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local
300 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test41GetNextBytes() local
347 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test50IteratorFromBranch() local
390 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test51IteratorFromLinearMatch() local
412 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test52TruncatingIteratorFromRoot() local
457 BytesTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test53TruncatingIteratorFromLinearMatchShort() local
479 BytesTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test54TruncatingIteratorFromLinearMatchLong() local
522 BytesTrie trie = buildTrie(data, data.length, StringTrieBuilder.Option.SMALL); in TestClone() local
583 BytesTrie trie=buildTrie(data, dataLength, buildOption); in checkData() local
613 BytesTrie trie=builder_.build(buildOption); in buildTrie() local
[all …]
DCharsTrieTest.java244 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test32NextForCodePoint() local
325 CharsTrie trie=buildLargeTrie(1111); in Test37LargeTrie() local
394 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local
428 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test41GetNextChars() local
475 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test50IteratorFromBranch() local
518 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test51IteratorFromLinearMatch() local
540 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test52TruncatingIteratorFromRoot() local
585 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test53TruncatingIteratorFromLinearMatchShort() local
607 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test54TruncatingIteratorFromLinearMatchLong() local
648 CharsTrie trie = buildTrie(data, data.length, StringTrieBuilder.Option.SMALL); in TestClone() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DBytesTrieTest.java269 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local
303 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test41GetNextBytes() local
350 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test50IteratorFromBranch() local
393 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test51IteratorFromLinearMatch() local
415 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test52TruncatingIteratorFromRoot() local
460 BytesTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test53TruncatingIteratorFromLinearMatchShort() local
482 BytesTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test54TruncatingIteratorFromLinearMatchLong() local
525 BytesTrie trie = buildTrie(data, data.length, StringTrieBuilder.Option.SMALL); in TestClone() local
586 BytesTrie trie=buildTrie(data, dataLength, buildOption); in checkData() local
616 BytesTrie trie=builder_.build(buildOption); in buildTrie() local
[all …]
DCharsTrieTest.java247 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test32NextForCodePoint() local
328 CharsTrie trie=buildLargeTrie(1111); in Test37LargeTrie() local
397 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local
431 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test41GetNextChars() local
478 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test50IteratorFromBranch() local
521 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.SMALL); in Test51IteratorFromLinearMatch() local
543 CharsTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test52TruncatingIteratorFromRoot() local
588 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test53TruncatingIteratorFromLinearMatchShort() local
610 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test54TruncatingIteratorFromLinearMatchLong() local
651 CharsTrie trie = buildTrie(data, data.length, StringTrieBuilder.Option.SMALL); in TestClone() local
[all …]
/external/marisa-trie/lib/marisa/
Dtrie.cc179 static void fread(std::FILE *file, Trie *trie) { in fread()
191 static void fwrite(std::FILE *file, const Trie &trie) { in fwrite()
199 static std::istream &read(std::istream &stream, Trie *trie) { in read()
212 static std::ostream &write(std::ostream &stream, const Trie &trie) { in write()
221 void fread(std::FILE *file, Trie *trie) { in fread()
227 void fwrite(std::FILE *file, const Trie &trie) { in fwrite()
232 std::istream &read(std::istream &stream, Trie *trie) { in read()
237 std::ostream &write(std::ostream &stream, const Trie &trie) { in write()
241 std::istream &operator>>(std::istream &stream, Trie &trie) { in operator >>()
245 std::ostream &operator<<(std::ostream &stream, const Trie &trie) { in operator <<()

12345678