/external/icu/icu4c/source/common/ |
D | utrie2_builder.cpp | 113 allocIndex2Block(UNewTrie2 *trie); 117 UTrie2 *trie; in utrie2_open() local 126 trie=(UTrie2 *)uprv_malloc(sizeof(UTrie2)); in utrie2_open() 129 if(trie==NULL || newTrie==NULL || data==NULL) { in utrie2_open() 130 uprv_free(trie); in utrie2_open() 137 uprv_memset(trie, 0, sizeof(UTrie2)); in utrie2_open() 138 trie->initialValue=initialValue; in utrie2_open() 139 trie->errorValue=errorValue; in utrie2_open() 140 trie->highStart=0x110000; in utrie2_open() 141 trie->newTrie=newTrie; in utrie2_open() [all …]
|
D | utrie.cpp | 53 UNewTrie *trie; in utrie_open() local 63 trie=fillIn; in utrie_open() 65 trie=(UNewTrie *)uprv_malloc(sizeof(UNewTrie)); in utrie_open() 66 if(trie==NULL) { in utrie_open() 70 uprv_memset(trie, 0, sizeof(UNewTrie)); in utrie_open() 71 trie->isAllocated= (UBool)(fillIn==NULL); in utrie_open() 74 trie->data=aliasData; in utrie_open() 75 trie->isDataAllocated=FALSE; in utrie_open() 77 trie->data=(uint32_t *)uprv_malloc(maxDataLength*4); in utrie_open() 78 if(trie->data==NULL) { in utrie_open() [all …]
|
D | utrie2.cpp | 42 get32(const UNewTrie2 *trie, UChar32 c, UBool fromLSCP) { in get32() argument 45 if(c>=trie->highStart && (!U_IS_LEAD(c) || fromLSCP)) { in get32() 46 return trie->data[trie->dataLength-UTRIE2_DATA_GRANULARITY]; in get32() 53 i2=trie->index1[c>>UTRIE2_SHIFT_1]+ in get32() 56 block=trie->index2[i2]; in get32() 57 return trie->data[block+(c&UTRIE2_DATA_MASK)]; in get32() 61 utrie2_get32(const UTrie2 *trie, UChar32 c) { in utrie2_get32() argument 62 if(trie->data16!=NULL) { in utrie2_get32() 63 return UTRIE2_GET16(trie, c); in utrie2_get32() 64 } else if(trie->data32!=NULL) { in utrie2_get32() [all …]
|
D | ucptrie.cpp | 100 UCPTrie *trie = (UCPTrie *)uprv_malloc(sizeof(UCPTrie)); in ucptrie_openFromBinary() local 101 if (trie == nullptr) { in ucptrie_openFromBinary() 105 uprv_memcpy(trie, &tempTrie, sizeof(tempTrie)); in ucptrie_openFromBinary() 107 trie->name = "fromSerialized"; in ucptrie_openFromBinary() 112 trie->index = p16; in ucptrie_openFromBinary() 113 p16 += trie->indexLength; in ucptrie_openFromBinary() 116 int32_t nullValueOffset = trie->dataNullOffset; in ucptrie_openFromBinary() 117 if (nullValueOffset >= trie->dataLength) { in ucptrie_openFromBinary() 118 nullValueOffset = trie->dataLength - UCPTRIE_HIGH_VALUE_NEG_DATA_OFFSET; in ucptrie_openFromBinary() 122 trie->data.ptr16 = p16; in ucptrie_openFromBinary() [all …]
|
D | utrie.h | 178 #define _UTRIE_GET_RAW(trie, data, offset, c16) \ argument 179 (trie)->data[ \ 180 ((int32_t)((trie)->index[(offset)+((c16)>>UTRIE_SHIFT)])<<UTRIE_INDEX_SHIFT)+ \ 185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) { \ argument 189 (result)=_UTRIE_GET_RAW((trie), data, 0, (c)); \ 190 __offset=(trie)->getFoldingOffset(result); \ 194 (result)=_UTRIE_GET_RAW((trie), data, __offset, (c2)&0x3ff); \ 196 (result)=(resultType)((trie)->initialValue); \ 201 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \ argument 202 _UTRIE_GET_RAW(trie, data, 0xd800<=(c16) && (c16)<=0xdbff ? UTRIE_LEAD_INDEX_DISP : 0, c16); [all …]
|
D | utrie2.h | 144 utrie2_get32(const UTrie2 *trie, UChar32 c); 194 utrie2_enum(const UTrie2 *trie, 242 utrie2_close(UTrie2 *trie); 254 utrie2_set32(UTrie2 *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode); 270 utrie2_setRange32(UTrie2 *trie, 295 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode); 305 utrie2_isFrozen(const UTrie2 *trie); 326 utrie2_serialize(const UTrie2 *trie, 360 #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 [all …]
|
D | utrie_swap.cpp | 30 UTrieHeader trie; in utrie_swap() local 49 trie.signature=ds->readUInt32(inTrie->signature); in utrie_swap() 50 trie.options=ds->readUInt32(inTrie->options); in utrie_swap() 51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 52 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); in utrie_swap() 54 if( trie.signature!=0x54726965 || in utrie_swap() 55 (trie.options&UTRIE_OPTIONS_SHIFT_MASK)!=UTRIE_SHIFT || in utrie_swap() 56 ((trie.options>>UTRIE_OPTIONS_INDEX_SHIFT)&UTRIE_OPTIONS_SHIFT_MASK)!=UTRIE_INDEX_SHIFT || in utrie_swap() 57 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap() 58 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ucharstrietest.cpp | 71 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 72 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 73 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 74 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 75 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 298 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestNextForCodePoint() local 299 if(trie.isNull()) { in TestNextForCodePoint() 303 if( (result=trie->nextForCodePoint(0x4dff))!=USTRINGTRIE_NO_VALUE || result!=trie->current() || in TestNextForCodePoint() 304 (result=trie->nextForCodePoint(0x10000))!=USTRINGTRIE_NO_VALUE || result!=trie->current() || in TestNextForCodePoint() 305 (result=trie->nextForCodePoint(0x9999))!=USTRINGTRIE_NO_VALUE || result!=trie->current() || in TestNextForCodePoint() [all …]
|
D | bytestrietest.cpp | 64 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 65 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 66 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 67 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 68 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 310 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue() local 311 if(trie.isNull()) { in TestHasUniqueValue() 315 if(trie->hasUniqueValue(uniqueValue)) { in TestHasUniqueValue() 318 trie->next('j'); in TestHasUniqueValue() 319 trie->next('a'); in TestHasUniqueValue() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 244 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test32NextForCodePoint() local 246 … if( (result=trie.nextForCodePoint(0x4dff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 247 … (result=trie.nextForCodePoint(0x10000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 248 … (result=trie.nextForCodePoint(0x9999))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 249 … (result=trie.nextForCodePoint(0x20000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 250 … (result=trie.nextForCodePoint(0xdfff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 251 …(result=trie.nextForCodePoint(0x10ffff))!=BytesTrie.Result.FINAL_VALUE || result!=trie.current() || in Test32NextForCodePoint() 252 trie.getValue()!=2000000000 in Test32NextForCodePoint() 256 …if( (result=trie.firstForCodePoint(0x4dff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 257 … (result=trie.nextForCodePoint(0x10000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() [all …]
|
D | BytesTrieTest.java | 265 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local 267 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 270 trie.next('j'); in Test40GetUniqueValue() 271 trie.next('a'); in Test40GetUniqueValue() 272 trie.next('n'); in Test40GetUniqueValue() 274 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 277 trie.first('j'); in Test40GetUniqueValue() 278 trie.next('u'); in Test40GetUniqueValue() 279 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 282 if(trie.next('n')!=BytesTrie.Result.INTERMEDIATE_VALUE || 6!=trie.getValue()) { in Test40GetUniqueValue() [all …]
|
D | Trie2Test.java | 54 Trie2Writable trie = new Trie2Writable(0,0); in TestTrie2API() local 56 trie.toTrie2_16().serialize(os); in TestTrie2API() 88 Trie2Writable trie = new Trie2Writable(17,0); in TestTrie2API() local 90 it = trie.iterator(); in TestTrie2API() 106 for (Trie2.Range rr: trie) { in TestTrie2API() 130 Trie2Writable trie = new Trie2Writable(0xbadfeed, 0); in TestTrie2API() local 131 trie.set(0x10123, 42); in TestTrie2API() 142 Iterator<Trie2.Range> it = trie.iterator(vm); in TestTrie2API() 154 Trie2Writable trie = new Trie2Writable(0xdefa17, 0); in TestTrie2API() local 155 trie.set(0x2f810, 10); in TestTrie2API() [all …]
|
D | TrieTest.java | 139 private void _testTrieIteration(IntTrie trie, CheckRange checkRanges[], in _testTrieIteration() argument 161 int value = trie.getCodePointValue(c); in _testTrieIteration() 181 value = trie.getLeadValue(lead); in _testTrieIteration() 182 value = trie.getTrailValue(value, trail); in _testTrieIteration() 183 if (value != trie.getSurrogateValue(lead, trail) in _testTrieIteration() 241 IntTrie trie = newTrie.serialize(new _testFoldedValue(newTrie), in _testTrieRanges() local 252 if (value != trie.getLatin1LinearValue((char)start)) { in _testTrieRanges() 256 trie.getLatin1LinearValue((char) start)) in _testTrieRanges() 264 if (latin1Linear != trie.isLatin1Linear()) { in _testTrieRanges() 283 int value2 = trie.getBMPValue((char)start); in _testTrieRanges() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CharsTrieTest.java | 247 CharsTrie trie=buildTrie(data, data.length, StringTrieBuilder.Option.FAST); in Test32NextForCodePoint() local 249 … if( (result=trie.nextForCodePoint(0x4dff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 250 … (result=trie.nextForCodePoint(0x10000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 251 … (result=trie.nextForCodePoint(0x9999))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 252 … (result=trie.nextForCodePoint(0x20000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 253 … (result=trie.nextForCodePoint(0xdfff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 254 …(result=trie.nextForCodePoint(0x10ffff))!=BytesTrie.Result.FINAL_VALUE || result!=trie.current() || in Test32NextForCodePoint() 255 trie.getValue()!=2000000000 in Test32NextForCodePoint() 259 …if( (result=trie.firstForCodePoint(0x4dff))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() 260 … (result=trie.nextForCodePoint(0x10000))!=BytesTrie.Result.NO_VALUE || result!=trie.current() || in Test32NextForCodePoint() [all …]
|
D | BytesTrieTest.java | 268 BytesTrie trie=buildMonthsTrie(StringTrieBuilder.Option.FAST); in Test40GetUniqueValue() local 270 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 273 trie.next('j'); in Test40GetUniqueValue() 274 trie.next('a'); in Test40GetUniqueValue() 275 trie.next('n'); in Test40GetUniqueValue() 277 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 280 trie.first('j'); in Test40GetUniqueValue() 281 trie.next('u'); in Test40GetUniqueValue() 282 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 285 if(trie.next('n')!=BytesTrie.Result.INTERMEDIATE_VALUE || 6!=trie.getValue()) { in Test40GetUniqueValue() [all …]
|
D | Trie2Test.java | 57 Trie2Writable trie = new Trie2Writable(0,0); in TestTrie2API() local 59 trie.toTrie2_16().serialize(os); in TestTrie2API() 91 Trie2Writable trie = new Trie2Writable(17,0); in TestTrie2API() local 93 it = trie.iterator(); in TestTrie2API() 109 for (Trie2.Range rr: trie) { in TestTrie2API() 133 Trie2Writable trie = new Trie2Writable(0xbadfeed, 0); in TestTrie2API() local 134 trie.set(0x10123, 42); in TestTrie2API() 145 Iterator<Trie2.Range> it = trie.iterator(vm); in TestTrie2API() 157 Trie2Writable trie = new Trie2Writable(0xdefa17, 0); in TestTrie2API() local 158 trie.set(0x2f810, 10); in TestTrie2API() [all …]
|
D | TrieTest.java | 142 private void _testTrieIteration(IntTrie trie, CheckRange checkRanges[], in _testTrieIteration() argument 164 int value = trie.getCodePointValue(c); in _testTrieIteration() 184 value = trie.getLeadValue(lead); in _testTrieIteration() 185 value = trie.getTrailValue(value, trail); in _testTrieIteration() 186 if (value != trie.getSurrogateValue(lead, trail) in _testTrieIteration() 244 IntTrie trie = newTrie.serialize(new _testFoldedValue(newTrie), in _testTrieRanges() local 255 if (value != trie.getLatin1LinearValue((char)start)) { in _testTrieRanges() 259 trie.getLatin1LinearValue((char) start)) in _testTrieRanges() 267 if (latin1Linear != trie.isLatin1Linear()) { in _testTrieRanges() 286 int value2 = trie.getBMPValue((char)start); in _testTrieRanges() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ucptrie.h | 217 ucptrie_close(UCPTrie *trie); 248 ucptrie_getType(const UCPTrie *trie); 260 ucptrie_getValueWidth(const UCPTrie *trie); 277 ucptrie_get(const UCPTrie *trie, UChar32 c); 316 ucptrie_getRange(const UCPTrie *trie, UChar32 start, 336 ucptrie_toBinary(const UCPTrie *trie, void *data, int32_t capacity, UErrorCode *pErrorCode); 346 #define UCPTRIE_16(trie, i) ((trie)->data.ptr16[i]) argument 356 #define UCPTRIE_32(trie, i) ((trie)->data.ptr32[i]) argument 366 #define UCPTRIE_8(trie, i) ((trie)->data.ptr8[i]) argument 378 #define UCPTRIE_FAST_GET(trie, dataAccess, c) dataAccess(trie, _UCPTRIE_CP_INDEX(trie, 0xffff, c)) argument [all …]
|
D | umutablecptrie.h | 86 umutablecptrie_close(UMutableCPTrie *trie); 129 umutablecptrie_fromUCPTrie(const UCPTrie *trie, UErrorCode *pErrorCode); 140 umutablecptrie_get(const UMutableCPTrie *trie, UChar32 c); 172 umutablecptrie_getRange(const UMutableCPTrie *trie, UChar32 start, 186 umutablecptrie_set(UMutableCPTrie *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode); 200 umutablecptrie_setRange(UMutableCPTrie *trie, 235 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
|
/external/icu/icu4c/source/test/cintltst/ |
D | trie2test.c | 99 const UTrie2 *trie, in testTrieEnum() argument 106 utrie2_enum(trie, testEnumValue, testEnumRange, &checkRanges); in testTrieEnum() 112 const UTrie2 *trie, UTrie2ValueBits valueBits, in testTrieGetters() argument 119 UBool isFrozen=utrie2_isFrozen(trie); in testTrieGetters() 134 value2=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(trie, start); in testTrieGetters() 136 value2=UTRIE2_GET32_FROM_U16_SINGLE_LEAD(trie, start); in testTrieGetters() 145 value2=UTRIE2_GET16_FROM_SUPP(trie, start); in testTrieGetters() 147 value2=UTRIE2_GET32_FROM_SUPP(trie, start); in testTrieGetters() 155 value2=UTRIE2_GET16(trie, start); in testTrieGetters() 157 value2=UTRIE2_GET32(trie, start); in testTrieGetters() [all …]
|
D | trietest.c | 56 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument 65 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32() 87 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument 96 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue16() 142 const UTrie *trie, in testTrieIteration() argument 171 if(trie->data32!=NULL) { in testTrieIteration() 172 UTRIE_NEXT32(trie, p, limit, c, c2, value); in testTrieIteration() 174 UTRIE_NEXT16(trie, p, limit, c, c2, value); in testTrieIteration() 192 if(trie->data32==NULL) { in testTrieIteration() 193 value=UTRIE_GET16_FROM_LEAD(trie, c); in testTrieIteration() [all …]
|
D | ucptrietest.c | 109 testTrieGetRanges(const char *testName, const UCPTrie *trie, const UMutableCPTrie *mutableTrie, in testTrieGetRanges() argument 112 const char *const typeName = trie == NULL ? "mutableTrie" : "trie"; in testTrieGetRanges() 139 end = trie != NULL ? in testTrieGetRanges() 140 ucptrie_getRange(trie, start, option, surrValue, NULL, NULL, &value) : in testTrieGetRanges() 156 end = trie != NULL ? in testTrieGetRanges() 157 … ucptrie_getRange(trie, start, option, surrValue ^ 0x5555, testFilter, NULL, &value) : in testTrieGetRanges() 172 end = trie != NULL ? in testTrieGetRanges() 173 ucptrie_getRange(trie, start, option, surrValue, NULL, NULL, NULL) : in testTrieGetRanges() 184 testTrieGetters(const char *testName, const UCPTrie *trie, in testTrieGetters() argument 205 value2 = UCPTRIE_ASCII_GET(trie, UCPTRIE_16, start); in testTrieGetters() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/ |
D | macho-bad-trie.test | 1 RUN: not llvm-objdump -macho -exports-trie %p/Inputs/macho-trie-bad-kind 2>&1 | FileCheck -check-pr… 2 BAD_KIND: macho-trie-bad-kind': truncated or malformed object (unsupported exported symbol kind: 3 … 4 RUN: not llvm-objdump -macho -exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128 2… 5 … macho-trie-bad-export-info-malformed-uleb128': truncated or malformed object (export info size ma… 7 RUN: not llvm-objdump -macho -exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128_t… 8 … macho-trie-bad-export-info-malformed-uleb128_too_big': truncated or malformed object (export info… 10 RUN: not llvm-objdump -macho -exports-trie %p/Inputs/macho-trie-export-info-size-too-big 2>&1 | Fil… 11 …trie-export-info-size-too-big': truncated or malformed object (export info size: 0x1234 in export … 13 RUN: not llvm-objdump -macho -exports-trie %p/Inputs/macho-trie-children-count-byte 2>&1 | FileChec… 14 …acho-trie-children-count-byte': truncated or malformed object (byte for count of childern in expor… [all …]
|
/external/libtextclassifier/utils/sentencepiece/ |
D | double_array_trie_test.cc | 38 DoubleArrayTrie trie(reinterpret_cast<const TrieNode*>(config.data()), in TEST() 43 EXPECT_TRUE(trie.FindAllPrefixMatches("hello there", &matches)); in TEST() 53 EXPECT_TRUE(trie.FindAllPrefixMatches("he", &matches)); in TEST() 59 EXPECT_TRUE(trie.FindAllPrefixMatches("abcd", &matches)); in TEST() 65 EXPECT_TRUE(trie.FindAllPrefixMatches("", &matches)); in TEST() 71 EXPECT_TRUE(trie.FindAllPrefixMatches("hi there", &matches)); in TEST() 77 EXPECT_TRUE(trie.FindAllPrefixMatches(StringPiece("\0", 1), &matches)); in TEST() 84 trie.FindAllPrefixMatches(StringPiece("\xff, \xfe", 2), &matches)); in TEST() 90 EXPECT_TRUE(trie.LongestPrefixMatch("hella there", &match)); in TEST() 96 EXPECT_TRUE(trie.LongestPrefixMatch("hello there", &match)); in TEST() [all …]
|
/external/icu/icu4c/source/test/perf/unisetperf/draft/ |
D | trieset.cpp | 27 #define UTRIE_GET8_LATIN1(trie) ((const uint8_t *)(trie)->data32+UTRIE_DATA_BLOCK_LENGTH) argument 29 #define UTRIE_GET8_FROM_LEAD(trie, c16) \ argument 30 ((const uint8_t *)(trie)->data32)[ \ 31 ((int32_t)((trie)->index[(c16)>>UTRIE_SHIFT])<<UTRIE_INDEX_SHIFT)+ \ 81 utrie_unserialize(&trie, trieData, length, &errorCode); // TODO: Implement for 8-bit UTrie! in TrieSet() 86 uprv_memcpy((uint16_t *)trie.index+(0xd800>>UTRIE_SHIFT), in TrieSet() 87 trie.index+UTRIE_BMP_INDEX_LENGTH, in TrieSet() 89 latin1=UTRIE_GET8_LATIN1(&trie); in TrieSet() 104 return (UBool)UTRIE_GET8_FROM_LEAD(&trie, c); in contains() 113 UTrie trie; member in TrieSet
|