Lines Matching refs:BytesTrie
190 BytesTrie *
193 BytesTrie *newTrie=NULL; in build()
195 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
426 if(0<=i && i<=BytesTrie::kMaxOneByteValue) { in writeValueAndFinal()
427 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal()
432 intBytes[0]=(char)BytesTrie::kFiveByteValueLead; in writeValueAndFinal()
441 if(i<=BytesTrie::kMaxTwoByteValue) { in writeValueAndFinal()
442 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()
444 if(i<=BytesTrie::kMaxThreeByteValue) { in writeValueAndFinal()
445 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()
447 intBytes[0]=(char)BytesTrie::kFourByteValueLead; in writeValueAndFinal()
472 if(i<=BytesTrie::kMaxOneByteDelta) { in writeDeltaTo()
477 if(i<=BytesTrie::kMaxTwoByteDelta) { in writeDeltaTo()
478 intBytes[0]=(char)(BytesTrie::kMinTwoByteDeltaLead+(i>>8)); in writeDeltaTo()
481 if(i<=BytesTrie::kMaxThreeByteDelta) { in writeDeltaTo()
482 intBytes[0]=(char)(BytesTrie::kMinThreeByteDeltaLead+(i>>16)); in writeDeltaTo()
486 intBytes[0]=(char)BytesTrie::kFourByteDeltaLead; in writeDeltaTo()
489 intBytes[0]=(char)BytesTrie::kFiveByteDeltaLead; in writeDeltaTo()