Lines Matching refs:BytesTrie
188 BytesTrie *
191 BytesTrie *newTrie=NULL; in build()
193 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
424 if(0<=i && i<=BytesTrie::kMaxOneByteValue) { in writeValueAndFinal()
425 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal()
430 intBytes[0]=(char)BytesTrie::kFiveByteValueLead; in writeValueAndFinal()
439 if(i<=BytesTrie::kMaxTwoByteValue) { in writeValueAndFinal()
440 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()
442 if(i<=BytesTrie::kMaxThreeByteValue) { in writeValueAndFinal()
443 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()
445 intBytes[0]=(char)BytesTrie::kFourByteValueLead; in writeValueAndFinal()
470 if(i<=BytesTrie::kMaxOneByteDelta) { in writeDeltaTo()
475 if(i<=BytesTrie::kMaxTwoByteDelta) { in writeDeltaTo()
476 intBytes[0]=(char)(BytesTrie::kMinTwoByteDeltaLead+(i>>8)); in writeDeltaTo()
479 if(i<=BytesTrie::kMaxThreeByteDelta) { in writeDeltaTo()
480 intBytes[0]=(char)(BytesTrie::kMinThreeByteDeltaLead+(i>>16)); in writeDeltaTo()
484 intBytes[0]=(char)BytesTrie::kFourByteDeltaLead; in writeDeltaTo()
487 intBytes[0]=(char)BytesTrie::kFiveByteDeltaLead; in writeDeltaTo()