Lines Matching refs:BytesTrie
29 * of the byte sequences, until the BytesTrie is built.
188 BytesTrie *
191 BytesTrie *newTrie=NULL;
193 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength));
424 if(0<=i && i<=BytesTrie::kMaxOneByteValue) {
425 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal);
430 intBytes[0]=(char)BytesTrie::kFiveByteValueLead;
436 // } else if(i<=BytesTrie::kMaxOneByteValue) {
437 // intBytes[0]=(char)(BytesTrie::kMinOneByteValueLead+i);
439 if(i<=BytesTrie::kMaxTwoByteValue) {
440 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8));
442 if(i<=BytesTrie::kMaxThreeByteValue) {
443 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16));
445 intBytes[0]=(char)BytesTrie::kFourByteValueLead;
470 if(i<=BytesTrie::kMaxOneByteDelta) {
475 if(i<=BytesTrie::kMaxTwoByteDelta) {
476 intBytes[0]=(char)(BytesTrie::kMinTwoByteDeltaLead+(i>>8));
479 if(i<=BytesTrie::kMaxThreeByteDelta) {
480 intBytes[0]=(char)(BytesTrie::kMinThreeByteDeltaLead+(i>>16));
484 intBytes[0]=(char)BytesTrie::kFourByteDeltaLead;
487 intBytes[0]=(char)BytesTrie::kFiveByteDeltaLead;