Searched refs:varint_buf (Results 1 – 6 of 6) sorted by relevance
/external/open-vcdiff/src/ |
D | varint_bigendian.cc | 62 char* varint_buf) { in EncodeInternal() argument 70 char* buf_ptr = &varint_buf[kMaxBytes - 1]; in EncodeInternal() 85 char varint_buf[kMaxBytes]; in Encode() local 86 const int length = EncodeInternal(v, varint_buf); in Encode() 87 memcpy(ptr, &varint_buf[kMaxBytes - length], length); in Encode() 94 char varint_buf[kMaxBytes]; in AppendToString() local 95 const int length = EncodeInternal(value, varint_buf); in AppendToString() 96 s->append(&varint_buf[kMaxBytes - length], length); in AppendToString() 103 char varint_buf[kMaxBytes]; in AppendToOutputString() local 104 const int length = EncodeInternal(value, varint_buf); in AppendToOutputString() [all …]
|
D | vcdecoder_test.cc | 80 char varint_buf[VarintBE<int32_t>::kMaxBytes]; in GetByteFromStringLength() local 81 VarintBE<int32_t>::Encode(static_cast<int32_t>(strlen(s)), varint_buf); in GetByteFromStringLength() 82 return varint_buf[which_byte]; in GetByteFromStringLength()
|
D | varint_bigendian.h | 121 static int EncodeInternal(SignedIntegerType v, char* varint_buf);
|
/external/chromium/sdch/open-vcdiff/src/ |
D | varint_bigendian.cc | 62 char* varint_buf) { in EncodeInternal() argument 70 char* buf_ptr = &varint_buf[kMaxBytes - 1]; in EncodeInternal() 85 char varint_buf[kMaxBytes]; in Encode() local 86 const int length = EncodeInternal(v, varint_buf); in Encode() 87 memcpy(ptr, &varint_buf[kMaxBytes - length], length); in Encode() 94 char varint_buf[kMaxBytes]; in AppendToString() local 95 const int length = EncodeInternal(value, varint_buf); in AppendToString() 96 s->append(&varint_buf[kMaxBytes - length], length); in AppendToString() 103 char varint_buf[kMaxBytes]; in AppendToOutputString() local 104 const int length = EncodeInternal(value, varint_buf); in AppendToOutputString() [all …]
|
D | vcdecoder_test.cc | 80 char varint_buf[VarintBE<int32_t>::kMaxBytes]; in GetByteFromStringLength() local 81 VarintBE<int32_t>::Encode(static_cast<int32_t>(strlen(s)), varint_buf); in GetByteFromStringLength() 82 return varint_buf[which_byte]; in GetByteFromStringLength()
|
D | varint_bigendian.h | 121 static int EncodeInternal(SignedIntegerType v, char* varint_buf);
|