Home
last modified time | relevance | path

Searched refs:tail_xtra (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dbin_decoder.cc52 static const uint8_t tail_xtra[4] = {0, 0, 1, 2}; variable
103 return tuples * 3 + tail_xtra[tail_case]; in grpc_chttp2_base64_infer_length_after_decode()
144 if (ctx->output_end >= ctx->output_cur + tail_xtra[input_tail]) { in grpc_base64_decode_partial()
153 ctx->output_cur += tail_xtra[input_tail]; in grpc_base64_decode_partial()
223 input_length / 4 * 3 + tail_xtra[input_length % 4])) { in grpc_chttp2_base64_decode_with_length()
229 static_cast<int>(input_length / 4 * 3 + tail_xtra[input_length % 4])); in grpc_chttp2_base64_decode_with_length()
Dbin_encoder.cc49 static const uint8_t tail_xtra[3] = {0, 2, 3}; variable
55 size_t output_length = input_triplets * 4 + tail_xtra[tail_case]; in grpc_chttp2_base64_encode()
173 size_t output_syms = input_triplets * 4 + tail_xtra[tail_case]; in grpc_chttp2_base64_encode_and_huffman_compress()
Dhpack_table.cc373 static const uint8_t tail_xtra[3] = {0, 2, 3}; in get_base64_encoded_size() local
374 return raw_length / 3 * 4 + tail_xtra[raw_length % 3]; in get_base64_encoded_size()