Lines Matching refs:UCharsTrie
143 UCharsTrie *
146 UCharsTrie *newTrie=NULL; in build()
148 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
374 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
379 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
380 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
388 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
403 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
404 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
408 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
412 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitNodeValueLead+((value>>10)&0x7fc0)); in writeValueAndType()
424 if(i<=UCharsTrie::kMaxOneUnitDelta) { in writeDeltaTo()
429 if(i<=UCharsTrie::kMaxTwoUnitDelta) { in writeDeltaTo()
430 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitDeltaLead+(i>>16)); in writeDeltaTo()
433 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitDeltaLead); in writeDeltaTo()