Lines Matching refs:UCharsTrie
145 UCharsTrie *
148 UCharsTrie *newTrie=NULL; in build()
150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
376 if(0<=i && i<=UCharsTrie::kMaxOneUnitValue) { in writeValueAndFinal()
381 if(i<0 || i>UCharsTrie::kMaxTwoUnitValue) { in writeValueAndFinal()
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
405 if(value<0 || value>UCharsTrie::kMaxTwoUnitNodeValue) { in writeValueAndType()
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
410 } else if(value<=UCharsTrie::kMaxOneUnitNodeValue) { in writeValueAndType()
414 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitNodeValueLead+((value>>10)&0x7fc0)); in writeValueAndType()
426 if(i<=UCharsTrie::kMaxOneUnitDelta) { in writeDeltaTo()
431 if(i<=UCharsTrie::kMaxTwoUnitDelta) { in writeDeltaTo()
432 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitDeltaLead+(i>>16)); in writeDeltaTo()
435 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitDeltaLead); in writeDeltaTo()