Home
last modified time | relevance | path

Searched refs:tail_case (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dbin_encoder.cc54 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode() local
55 size_t output_length = input_triplets * 4 + tail_xtra[tail_case]; in grpc_chttp2_base64_encode()
72 switch (tail_case) { in grpc_chttp2_base64_encode()
172 size_t tail_case = input_length % 3; in grpc_chttp2_base64_encode_and_huffman_compress() local
173 size_t output_syms = input_triplets * 4 + tail_xtra[tail_case]; in grpc_chttp2_base64_encode_and_huffman_compress()
199 switch (tail_case) { in grpc_chttp2_base64_encode_and_huffman_compress()
Dbin_decoder.cc95 size_t tail_case = len % 4; in grpc_chttp2_base64_infer_length_after_decode() local
96 if (GPR_UNLIKELY(tail_case == 1)) { in grpc_chttp2_base64_infer_length_after_decode()
103 return tuples * 3 + tail_xtra[tail_case]; in grpc_chttp2_base64_infer_length_after_decode()