• Home
  • Raw
  • Download

Lines Matching refs:trie

187         uint32_t ce32 = utrie2_get32(builder.trie, c);  in fetchCEs()
253 return utrie2_get32(builder.trie, c); in getDataCE32()
261 return utrie2_get32(builder.trie, jamo); in getCE32FromBuilderData()
283 trie(NULL), in CollationDataBuilder()
294 utrie2_close(trie); in ~CollationDataBuilder()
302 if(trie != NULL) { in initForTailoring()
313 trie = utrie2_open(Collation::FALLBACK_CE32, Collation::FFFD_CE32, &errorCode); in initForTailoring()
321 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring()
329 utrie2_setRange32(trie, Hangul::HANGUL_BASE, Hangul::HANGUL_END, hangulCE32, TRUE, &errorCode); in initForTailoring()
367 utrie2_setRange32(trie, start, end, offsetCE32, TRUE, &errorCode); in maybeSetPrimaryRange()
387 utrie2_set32(trie, start, Collation::makeLongPrimaryCE32(primary), &errorCode); in setPrimaryRangeAndReturnNext()
411 return Collation::isAssignedCE32(utrie2_get32(trie, c)); in isAssigned()
416 uint32_t ce32 = utrie2_get32(trie, c); in getLongPrimaryIfSingleCE()
429 uint32_t ce32 = utrie2_get32(trie, c); in getSingleCE()
544 if(trie == NULL || utrie2_isFrozen(trie)) { in addCE32()
550 uint32_t oldCE32 = utrie2_get32(trie, c); in addCE32()
560 utrie2_set32(trie, c, oldCE32, &errorCode); in addCE32()
567 utrie2_set32(trie, c, ce32, &errorCode); in addCE32()
581 utrie2_set32(trie, c, contextCE32, &errorCode); in addCE32()
663 if(trie == NULL || utrie2_isFrozen(trie)) { in encodeCEs()
907 utrie2_setRange32(dest.trie, start, end, ce32, TRUE, &errorCode); in copyRangeCE32()
1032 if(trie == NULL || utrie2_isFrozen(trie)) { in copyFrom()
1037 utrie2_enum(src.trie, NULL, enumRangeForCopy, &helper); in copyFrom()
1051 uint32_t ce32 = utrie2_get32(trie, c); in optimize()
1055 utrie2_set32(trie, c, ce32, &errorCode); in optimize()
1067 uint32_t ce32 = utrie2_get32(trie, c); in suppressContractions()
1072 utrie2_set32(trie, c, ce32, &errorCode); in suppressContractions()
1079 utrie2_set32(trie, c, ce32, &errorCode); in suppressContractions()
1094 uint32_t ce32 = utrie2_get32(trie, jamo); in getJamoCE32s()
1161 uint32_t ce32 = utrie2_get32(trie, c); in setDigitTags()
1171 utrie2_set32(trie, c, ce32, &errorCode); in setDigitTags()
1204 utrie2_enumForLeadSurrogate(trie, lead, NULL, enumRangeLeadValue, &value); in setLeadSurrogates()
1206 trie, lead, in setLeadSurrogates()
1229 if(trie == NULL || utrie2_isFrozen(trie)) { in buildMappings()
1265 utrie2_setRange32(trie, c, limit - 1, ce32, TRUE, &errorCode); in buildMappings()
1275 utrie2_setRange32(trie, c, limit - 1, ce32, TRUE, &errorCode); in buildMappings()
1284 ce32s.setElementAt((int32_t)utrie2_get32(trie, 0), 0); in buildMappings()
1285 utrie2_set32(trie, 0, Collation::makeCE32FromTagAndIndex(Collation::U0000_TAG, 0), &errorCode); in buildMappings()
1287 utrie2_freeze(trie, UTRIE2_32_VALUE_BITS, &errorCode); in buildMappings()
1300 data.trie = trie; in buildMappings()
1324 uint32_t ce32 = utrie2_get32(trie, iter.getCodepoint()); in clearContexts()
1340 uint32_t ce32 = utrie2_get32(trie, c); in buildContexts()
1348 utrie2_set32(trie, c, ce32, &errorCode); in buildContexts()