Searched refs:serializer (Results 1 – 13 of 13) sorted by relevance
/trusty/user/base/lib/hwwsk/rust/src/ |
D | lib.rs | 69 serializer: &mut S, in serialize() 71 self.hdr.cmd.serialize(serializer)?; in serialize() 72 self.hdr.flags.serialize(serializer)?; in serialize() 75 HwWskCmd::Generate(g) => g.serialize(serializer), in serialize() 76 HwWskCmd::Export(e) => e.serialize(serializer), in serialize() 127 serializer: &mut S, in serialize() 133 serializer.serialize_as_bytes(&self.req.key_size)?; in serialize() 134 serializer.serialize_as_bytes(&self.req.key_flags)?; in serialize() 137 serializer.serialize_bytes(&self.raw_key) in serialize() 174 serializer: &mut S, in serialize() [all …]
|
/trusty/user/base/lib/hwbcc/rust/src/ |
D | lib.rs | 84 serializer: &mut S, in serialize() 90 serializer.serialize_as_bytes(&self.cmd)?; in serialize() 91 serializer.serialize_as_bytes(&self.test_mode)?; in serialize() 92 serializer.serialize_as_bytes(&self.context) in serialize() 131 serializer: &mut S, in serialize() 133 self.header.serialize(serializer)?; in serialize() 138 serializer.serialize_as_bytes(&self.algorithm)?; in serialize() 139 serializer.serialize_as_bytes(&self.data_size)?; in serialize() 140 serializer.serialize_as_bytes(&self.aad_size)?; in serialize() 142 serializer.serialize_bytes(self.data)?; in serialize() [all …]
|
/trusty/user/app/keymint/ |
D | ffi_bindings.rs | 86 serializer: &mut S, in serialize() 92 serializer.serialize_as_bytes(&self.req_header.cmd)?; in serialize() 93 serializer.serialize_as_bytes(&self.req_header.reserved)?; in serialize() 94 serializer.serialize_as_bytes(&self.unwrap_req_header.wrapped_keybox_len)?; in serialize() 96 serializer.serialize_bytes(self.wrapped_keybox) in serialize()
|
D | ipc_manager.rs | 84 serializer: &mut S, in serialize() 86 serializer.serialize_bytes(self.0.as_slice()) in serialize()
|
/trusty/user/base/lib/hwkey/rust/src/ |
D | lib.rs | 522 serializer: &mut S, in serialize() 529 serializer.serialize_as_bytes(&self.msg.header)?; in serialize() 530 serializer.serialize_as_bytes(&self.msg.arg1)?; in serialize() 531 serializer.serialize_as_bytes(&self.msg.arg2)?; in serialize() 533 serializer.serialize_bytes(self.request) in serialize() 545 serializer: &mut S, in serialize() 553 serializer.serialize_as_bytes(&self.msg.header)?; in serialize() 554 serializer.serialize_as_bytes(&self.msg.kdf_version)?; in serialize() 555 serializer.serialize_as_bytes(&self.msg.rollback_version_source)?; in serialize() 560 serializer.serialize_as_bytes(rv)?; in serialize() [all …]
|
/trusty/user/base/lib/tipc/rust/src/ |
D | serialization.rs | 51 serializer: &mut S, in serialize() 58 serializer: &mut S, in serialize() 63 unsafe { serializer.serialize_as_bytes(self) } in serialize()
|
D | handle.rs | 122 let mut serializer = BorrowingSerializer::default(); in send() localVariable 123 msg.serialize(&mut serializer)?; in send() 124 self.send_vectored(&serializer.buffers[..], &serializer.handles[..]) in send()
|
D | service.rs | 1365 serializer: &mut S, in serialize() 1367 unsafe { serializer.serialize_as_bytes(self) } in serialize()
|
/trusty/user/app/sample/memref-test/rust/ |
D | memref_test.rs | 139 serializer: &mut S, in serialize() 143 unsafe { serializer.serialize_as_bytes(self) } in serialize() 193 serializer: &mut S, in serialize() 195 self.msg.serialize(serializer)?; in serialize() 198 unsafe { serializer.serialize_as_bytes(&self.value) } in serialize()
|
/trusty/user/base/lib/unittest-rust/src/ |
D | lib.rs | 102 serializer: &mut S, in serialize() 105 TestMessage::Passed => serializer.serialize_bytes(&[0u8]), in serialize() 106 TestMessage::Failed => serializer.serialize_bytes(&[1u8]), in serialize() 108 serializer.serialize_bytes(&[2u8])?; in serialize() 109 serializer.serialize_bytes(msg.as_bytes()) in serialize()
|
/trusty/user/app/sample/rust-hello-world/ |
D | lib.rs | 92 serializer: &mut S, in serialize() 95 serializer.serialize_as_bytes(match self.tag { in serialize() 99 serializer.serialize_as_bytes(&self.length)?; in serialize() 101 serializer.serialize_bytes(&self.message.as_slice()) in serialize()
|
/trusty/user/base/lib/system_state/rust/src/ |
D | lib.rs | 155 serializer: &mut S, in serialize() 159 unsafe { serializer.serialize_as_bytes(&self.0)? }; in serialize() 165 unsafe { serializer.serialize_as_bytes(req) } in serialize()
|
/trusty/user/app/secretkeeper/ |
D | lib.rs | 80 serializer: &mut S, in serialize() 82 serializer.serialize_bytes(self.0.as_slice()) in serialize()
|