Home
last modified time | relevance | path

Searched refs:parse_from_bytes (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/protobuf/src/
Dany.rs1 use crate::parse_from_bytes;
93 Ok(Some(parse_from_bytes(&self.value)?)) in unpack()
Dmessage.rs112 fn parse_from_bytes(bytes: &[u8]) -> ProtobufResult<Self> in parse_from_bytes() method
272 pub fn parse_from_bytes<M: Message>(bytes: &[u8]) -> ProtobufResult<M> { in parse_from_bytes() function
273 M::parse_from_bytes(bytes) in parse_from_bytes()
Dlib.rs23 pub use crate::message::parse_from_bytes;
Drustproto.rs188 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dtypes.rs663 .map(|bytes| M::parse_from_bytes(bytes).expect("cannot parse message")) in get_from_unknown()
Dplugin.rs1521 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Ddescriptor.rs10851 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
/external/rust/crates/protobuf/src/well_known_types_util/
Dany.rs92 Ok(Some(M::parse_from_bytes(&self.value)?)) in unpack()
/external/rust/crates/protobuf/src/well_known_types/
Dempty.rs201 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dsource_context.rs244 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dfield_mask.rs378 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dduration.rs331 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dtimestamp.rs356 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dany.rs367 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dstruct_pb.rs1002 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dapi.rs1285 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dwrappers.rs1555 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
Dtype_pb.rs2226 crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap() in parse_descriptor_proto()
/external/crosvm/crosvm_plugin/src/
Dlib.rs34 use protobuf::{parse_from_bytes, Message, ProtobufEnum, RepeatedField};
312 parse_from_bytes(&self.response_buffer[..msg_size]).map_err(proto_error_to_int)?; in main_transaction()
1073 let response: VcpuResponse = parse_from_bytes( in vcpu_recv()
/external/crosvm/src/plugin/
Dprocess.rs524 let request = protobuf::parse_from_bytes::<MainRequest>(&self.request_buffer[..msg_size]) in handle_socket()
Dvcpu.rs596 protobuf::parse_from_bytes::<VcpuRequest>(&request_buffer[..msg_size]) in handle_request()