Lines Matching refs:trie
185 uint32_t ce32 = utrie2_get32(builder.trie, c); in fetchCEs()
251 return utrie2_get32(builder.trie, c); in getDataCE32()
259 return utrie2_get32(builder.trie, jamo); in getCE32FromBuilderData()
281 trie(NULL), in CollationDataBuilder()
292 utrie2_close(trie); in ~CollationDataBuilder()
300 if(trie != NULL) { in initForTailoring()
311 trie = utrie2_open(Collation::FALLBACK_CE32, Collation::FFFD_CE32, &errorCode); in initForTailoring()
319 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring()
327 utrie2_setRange32(trie, Hangul::HANGUL_BASE, Hangul::HANGUL_END, hangulCE32, TRUE, &errorCode); in initForTailoring()
365 utrie2_setRange32(trie, start, end, offsetCE32, TRUE, &errorCode); in maybeSetPrimaryRange()
385 utrie2_set32(trie, start, Collation::makeLongPrimaryCE32(primary), &errorCode); in setPrimaryRangeAndReturnNext()
409 return Collation::isAssignedCE32(utrie2_get32(trie, c)); in isAssigned()
414 uint32_t ce32 = utrie2_get32(trie, c); in getLongPrimaryIfSingleCE()
427 uint32_t ce32 = utrie2_get32(trie, c); in getSingleCE()
542 if(trie == NULL || utrie2_isFrozen(trie)) { in addCE32()
548 uint32_t oldCE32 = utrie2_get32(trie, c); in addCE32()
558 utrie2_set32(trie, c, oldCE32, &errorCode); in addCE32()
565 utrie2_set32(trie, c, ce32, &errorCode); in addCE32()
579 utrie2_set32(trie, c, contextCE32, &errorCode); in addCE32()
661 if(trie == NULL || utrie2_isFrozen(trie)) { in encodeCEs()
905 utrie2_setRange32(dest.trie, start, end, ce32, TRUE, &errorCode); in copyRangeCE32()
1030 if(trie == NULL || utrie2_isFrozen(trie)) { in copyFrom()
1035 utrie2_enum(src.trie, NULL, enumRangeForCopy, &helper); in copyFrom()
1049 uint32_t ce32 = utrie2_get32(trie, c); in optimize()
1053 utrie2_set32(trie, c, ce32, &errorCode); in optimize()
1065 uint32_t ce32 = utrie2_get32(trie, c); in suppressContractions()
1070 utrie2_set32(trie, c, ce32, &errorCode); in suppressContractions()
1077 utrie2_set32(trie, c, ce32, &errorCode); in suppressContractions()
1092 uint32_t ce32 = utrie2_get32(trie, jamo); in getJamoCE32s()
1159 uint32_t ce32 = utrie2_get32(trie, c); in setDigitTags()
1169 utrie2_set32(trie, c, ce32, &errorCode); in setDigitTags()
1202 utrie2_enumForLeadSurrogate(trie, lead, NULL, enumRangeLeadValue, &value); in setLeadSurrogates()
1204 trie, lead, in setLeadSurrogates()
1227 if(trie == NULL || utrie2_isFrozen(trie)) { in buildMappings()
1263 utrie2_setRange32(trie, c, limit - 1, ce32, TRUE, &errorCode); in buildMappings()
1273 utrie2_setRange32(trie, c, limit - 1, ce32, TRUE, &errorCode); in buildMappings()
1282 ce32s.setElementAt((int32_t)utrie2_get32(trie, 0), 0); in buildMappings()
1283 utrie2_set32(trie, 0, Collation::makeCE32FromTagAndIndex(Collation::U0000_TAG, 0), &errorCode); in buildMappings()
1285 utrie2_freeze(trie, UTRIE2_32_VALUE_BITS, &errorCode); in buildMappings()
1298 data.trie = trie; in buildMappings()
1322 uint32_t ce32 = utrie2_get32(trie, iter.getCodepoint()); in clearContexts()
1338 uint32_t ce32 = utrie2_get32(trie, c); in buildContexts()
1346 utrie2_set32(trie, c, ce32, &errorCode); in buildContexts()