Lines Matching refs:BytesTrie
192 BytesTrie *
195 BytesTrie *newTrie=NULL; in build()
197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
429 if(0<=i && i<=BytesTrie::kMaxOneByteValue) { in writeValueAndFinal()
430 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal()
435 intBytes[0]=(char)BytesTrie::kFiveByteValueLead; in writeValueAndFinal()
444 if(i<=BytesTrie::kMaxTwoByteValue) { in writeValueAndFinal()
445 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()
447 if(i<=BytesTrie::kMaxThreeByteValue) { in writeValueAndFinal()
448 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()
450 intBytes[0]=(char)BytesTrie::kFourByteValueLead; in writeValueAndFinal()
475 if(i<=BytesTrie::kMaxOneByteDelta) { in writeDeltaTo()
480 if(i<=BytesTrie::kMaxTwoByteDelta) { in writeDeltaTo()
481 intBytes[0]=(char)(BytesTrie::kMinTwoByteDeltaLead+(i>>8)); in writeDeltaTo()
484 if(i<=BytesTrie::kMaxThreeByteDelta) { in writeDeltaTo()
485 intBytes[0]=(char)(BytesTrie::kMinThreeByteDeltaLead+(i>>16)); in writeDeltaTo()
489 intBytes[0]=(char)BytesTrie::kFourByteDeltaLead; in writeDeltaTo()
492 intBytes[0]=(char)BytesTrie::kFiveByteDeltaLead; in writeDeltaTo()