Home
last modified time | relevance | path

Searched defs:ProtobufResult (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/protobuf/src/
Dcoded_output_stream.rs54 F: FnOnce(&mut CodedOutputStream) -> ProtobufResult<()>, in with_coded_output_stream_to_bytes()
136 fn refresh_buffer(&mut self) -> ProtobufResult<()> { in refresh_buffer()
158 pub fn flush(&mut self) -> ProtobufResult<()> { in flush()
169 pub fn write_raw_byte(&mut self, byte: u8) -> ProtobufResult<()> { in write_raw_byte()
179 pub fn write_raw_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()> { in write_raw_bytes()
220 ) -> ProtobufResult<()> { in write_tag()
225 pub fn write_raw_varint32(&mut self, value: u32) -> ProtobufResult<()> { in write_raw_varint32()
240 pub fn write_raw_varint64(&mut self, value: u64) -> ProtobufResult<()> { in write_raw_varint64()
255 pub fn write_raw_little_endian32(&mut self, value: u32) -> ProtobufResult<()> { in write_raw_little_endian32()
261 pub fn write_raw_little_endian64(&mut self, value: u64) -> ProtobufResult<()> { in write_raw_little_endian64()
[all …]
Drt.rs264 ) -> ProtobufResult<()> { in read_repeated_int32_into()
280 ) -> ProtobufResult<()> { in read_repeated_int64_into()
296 ) -> ProtobufResult<()> { in read_repeated_uint32_into()
312 ) -> ProtobufResult<()> { in read_repeated_uint64_into()
328 ) -> ProtobufResult<()> { in read_repeated_sint32_into()
344 ) -> ProtobufResult<()> { in read_repeated_sint64_into()
360 ) -> ProtobufResult<()> { in read_repeated_fixed32_into()
376 ) -> ProtobufResult<()> { in read_repeated_fixed64_into()
392 ) -> ProtobufResult<()> { in read_repeated_sfixed32_into()
408 ) -> ProtobufResult<()> { in read_repeated_sfixed64_into()
[all …]
Dmessage.rs33 fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>; in merge_from()
50 fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>; in write_to_with_cached_sizes()
61 fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()> { in write_to()
74 fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()> { in write_length_delimited_to()
86 fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> ProtobufResult<()> { in write_length_delimited_to_vec()
94 fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()> { in merge_from_bytes()
136 fn check_initialized(&self) -> ProtobufResult<()> { in check_initialized()
147 fn write_to_writer(&self, w: &mut dyn Write) -> ProtobufResult<()> { in write_to_writer()
152 fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()> { in write_to_vec()
176 fn write_length_delimited_to_writer(&self, w: &mut dyn Write) -> ProtobufResult<()> { in write_length_delimited_to_writer()
Dcoded_input_stream.rs84 pub(crate) fn incr_recursion(&mut self) -> ProtobufResult<()> { in incr_recursion()
111 pub fn read(&mut self, buf: &mut [u8]) -> ProtobufResult<()> { in read()
150 pub fn check_eof(&mut self) -> ProtobufResult<()> { in check_eof()
367 ) -> ProtobufResult<()> { in read_repeated_packed_double_into()
381 pub fn read_repeated_packed_float_into(&mut self, target: &mut Vec<f32>) -> ProtobufResult<()> { in read_repeated_packed_float_into()
395 pub fn read_repeated_packed_int64_into(&mut self, target: &mut Vec<i64>) -> ProtobufResult<()> { in read_repeated_packed_int64_into()
406 pub fn read_repeated_packed_int32_into(&mut self, target: &mut Vec<i32>) -> ProtobufResult<()> { in read_repeated_packed_int32_into()
420 ) -> ProtobufResult<()> { in read_repeated_packed_uint64_into()
434 ) -> ProtobufResult<()> { in read_repeated_packed_uint32_into()
448 ) -> ProtobufResult<()> { in read_repeated_packed_sint64_into()
[all …]
Dtypes.rs73 ) -> ProtobufResult<()>; in write_with_cached_size()
149 ) -> ProtobufResult<()> { in write_with_cached_size()
182 ) -> ProtobufResult<()> { in write_with_cached_size()
210 ) -> ProtobufResult<()> { in write_with_cached_size()
242 ) -> ProtobufResult<()> { in write_with_cached_size()
270 ) -> ProtobufResult<()> { in write_with_cached_size()
298 ) -> ProtobufResult<()> { in write_with_cached_size()
326 ) -> ProtobufResult<()> { in write_with_cached_size()
354 ) -> ProtobufResult<()> { in write_with_cached_size()
382 ) -> ProtobufResult<()> { in write_with_cached_size()
[all …]
Dbuf_read_iter.rs245 pub fn read_exact_to_vec(&mut self, count: usize, target: &mut Vec<u8>) -> ProtobufResult<()> { in read_exact_to_vec()
338 pub fn read_exact(&mut self, buf: &mut [u8]) -> ProtobufResult<()> { in read_exact()
377 fn do_fill_buf(&mut self) -> ProtobufResult<()> { in do_fill_buf()
Ddescriptor.rs81 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
109 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
610 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
709 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1247 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1336 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1620 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1668 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1836 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1877 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
[all …]
Dplugin.rs147 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
204 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
472 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
519 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
746 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
790 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1068 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1114 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Derror.rs11 pub type ProtobufResult<T> = Result<T, ProtobufError>; typedef
/external/rust/crates/protobuf/src/well_known_types/
Dwrappers.rs66 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
97 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
221 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
252 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
376 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
407 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
531 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
562 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
686 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
717 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
[all …]
Dempty.rs49 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
70 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dstruct_pb.rs76 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
101 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
451 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
532 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
724 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
752 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dsource_context.rs77 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
104 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dfield_mask.rs76 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
103 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dduration.rs82 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
123 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dtimestamp.rs82 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
123 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dany.rs104 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
137 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dapi.rs252 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
319 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
649 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
721 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
939 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
972 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
Dtype_pb.rs220 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
280 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
658 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
752 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1246 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1300 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1524 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1568 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()
1762 fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::ProtobufResult<()> { in merge_from()
1796 …fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::ProtobufResu… in write_to_with_cached_sizes()