Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 22 of 22) sorted by relevance

/tonic/tests/integration_tests/proto/
H A Dtest.proto19 bytes buf = 1; field
22 bytes buf = 1; field
/tonic/tonic/src/codec/
H A Dbuffer.rs7 buf: &'a mut BytesMut, field
14 buf: &'a mut BytesMut, field
116 let mut buf = DecodeBuf::new(&mut payload, 20); in decode_buf() localVariable
137 let mut buf = EncodeBuf::new(&mut bytes); in encode_buf() localVariable
H A Dencode.rs29 buf: BytesMut, field
43 let buf = BytesMut::with_capacity(buffer_settings.buffer_size); in new() localVariable
201 let mut buf = &mut buf[..HEADER_SIZE]; in finish_encoding() localVariable
H A Dprost.rs172 let mut buf = BytesMut::new(); in decode() localVariable
198 let mut buf = BytesMut::new(); in decode_max_message_size_exceeded() localVariable
H A Ddecode.rs30 buf: BytesMut, field
/tonic/tonic-web/src/
H A Dcall.rs65 buf: BytesMut, field
292 let buf = me.as_mut().project().decoded; in poll_frame() localVariable
555 let buf = [ in find_trailers_non_buffered() localVariable
568 let buf = [ in find_trailers_buffered() localVariable
589 let buf = vec![ in find_trailers_buffered_incomplete_message() localVariable
626 let buf = std::fs::read("tests/incomplete-buf-bug.bin").unwrap(); in find_trailers_buffered_incomplete_buf_bug() localVariable
634 let buf = b"\x80\0\0\0\x0fgrpc-status:0\r\ngrpc-message:\r\na:1\r\nb:2\r\n"; in decode_multiple_trailers() localVariable
651 let buf = b"\x80\0\0\0\x0fgrpc-status: 0\r\ngrpc-message: \r\n"; in decode_trailers_with_space_after_colon() localVariable
/tonic/examples/src/tls_rustls/
H A Dserver.rs29 let mut buf = std::io::BufReader::new(&fd); in main() localVariable
34 let mut buf = std::io::BufReader::new(&fd); in main() localVariable
H A Dclient.rs23 let mut buf = std::io::BufReader::new(&fd); in main() localVariable
/tonic/tests/web/tests/
H A Dgrpc_web.rs93 let mut buf = BytesMut::with_capacity(1024); in encode_body() localVariable
103 let mut buf = &mut buf[..5]; in encode_body() localVariable
/tonic/tonic/src/transport/channel/service/
H A Duser_agent.rs17 let mut buf = Vec::new(); in new() localVariable
/tonic/tonic-types/src/richer_error/std_messages/
H A Drequest_info.rs63 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Ddebug_info.rs60 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dloc_message.rs64 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dretry_info.rs75 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dresource_info.rs76 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Derror_info.rs76 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dhelp.rs118 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dbad_request.rs122 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dquota_failure.rs119 let buf: &[u8] = &any.value; in from_any_ref() localVariable
H A Dprec_failure.rs142 let buf: &[u8] = &any.value; in from_any_ref() localVariable
/tonic/tonic/benches/
H A Ddecode.rs114 let mut buf = BytesMut::new(); in make_payload() localVariable
/tonic/tonic-types/src/richer_error/
H A Dmod.rs44 let mut buf = BytesMut::with_capacity(status.encoded_len()); in gen_details_bytes() localVariable