Lines Matching refs:byte
22 // the byte that was written, so that VLQEncodeUnsigned can mutate it after
26 std::is_same<decltype(std::declval<Function>()(0)), byte*>::value,
29 byte* written_byte = process_byte(value);
31 // Value fits in first byte, early return.
35 // Turn on continuation bit in the byte we just wrote.
46 std::is_same<decltype(std::declval<Function>()(0)), byte*>::value,
60 inline void VLQEncode(std::vector<byte, A>* data, int32_t value) {
62 [data](byte value) {
71 inline void VLQEncodeUnsigned(std::vector<byte, A>* data, uint32_t value) {
73 [data](byte value) {
84 std::is_same<decltype(std::declval<GetNextFunction>()()), byte>::value,
87 byte cur_byte = get_next();
88 // Single byte fast path; no need to mask.
104 inline uint32_t VLQDecodeUnsigned(byte* data_start, int* index) {
110 inline int32_t VLQDecode(byte* data_start, int* index) {