Home
last modified time | relevance | path

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

12345678910>>...12

/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/rust/android-crates-io/crates/zerotrie/tests/
Dbuilder_test.rs98 let trie = ZeroTrieSimpleAscii::try_from(&lm1a).unwrap(); in test_basic() localVariable
102 let trie = ZeroTriePerfectHash::try_from(&lm1b).unwrap(); in test_basic() localVariable
107 let trie = ZeroTriePerfectHash::try_from(&lm2).unwrap(); in test_basic() localVariable
112 let trie = ZeroTriePerfectHash::try_from(&lm3).unwrap(); in test_basic() localVariable
119 let trie = ZeroTrieSimpleAscii::try_from(&LiteMap::<&[u8], usize>::new_vec()).unwrap(); in test_empty() localVariable
133 let trie = ZeroTrieSimpleAscii::try_from(&litemap.as_sliced()).unwrap(); in test_single_empty_value() localVariable
152 let trie = ZeroTrieSimpleAscii::try_from(&litemap.as_sliced()).unwrap(); in test_single_byte_string() localVariable
172 let trie = ZeroTrieSimpleAscii::try_from(&litemap.as_sliced()).unwrap(); in test_single_string() localVariable
190 let trie = ZeroTrieSimpleAscii::try_from(&litemap.as_sliced()).unwrap(); in test_prefix_strings() localVariable
206 let trie = ZeroTrieSimpleAscii::try_from(&litemap.as_sliced()).unwrap(); in test_single_byte_branch() localVariable
[all …]
/external/icing/icing/legacy/index/
Dicing-dynamic-trie_test.cc55 static void StatsDump(const IcingDynamicTrie& trie) { in StatsDump()
61 static void AddToTrie(IcingDynamicTrie* trie, uint32_t num_keys) { in AddToTrie()
70 static void CheckTrie(const IcingDynamicTrie& trie, uint32_t num_keys) { in CheckTrie()
82 static void PrintTrie(const IcingDynamicTrie& trie) { in PrintTrie()
126 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
154 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
167 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
277 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
387 IcingDynamicTrie trie(trie_files_prefix_, IcingDynamicTrie::RuntimeOptions(), in TEST_F() local
435 IcingDynamicTrie trie(trie_files_prefix_, in TEST_F() local
[all …]
/external/cronet/stable/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 …]
/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 …]
/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/cronet/tot/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 …]
/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/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/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/cronet/tot/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/cronet/stable/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/rust/android-crates-io/crates/icu_collections/tests/
Dchar16trie.rs14 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in empty() localVariable
25 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in a() localVariable
44 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in a_b() localVariable
68 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in shortest_branch() localVariable
89 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in branches() localVariable
126 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in long_sequence() localVariable
171 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in long_branch() localVariable
225 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in compact() localVariable
267 let trie = Char16Trie::new(ZeroVec::from_slice_or_alloc(trie_data.as_slice())); in months() localVariable
/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 …]
/external/icu/icu4j/main/core/src/test/java/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 …]

12345678910>>...12