Home
last modified time | relevance | path

Searched refs:get_bytes (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/octets/src/
Dlib.rs200 pub fn get_bytes(&mut self, len: usize) -> Result<Octets<'a>> { in get_bytes() method
219 self.get_bytes(len as usize) in get_bytes_with_u8_length()
227 self.get_bytes(len as usize) in get_bytes_with_u16_length()
235 self.get_bytes(len as usize) in get_bytes_with_varint_length()
474 pub fn get_bytes(&mut self, len: usize) -> Result<Octets> { in get_bytes() method
510 self.get_bytes(len as usize) in get_bytes_with_u8_length()
518 self.get_bytes(len as usize) in get_bytes_with_u16_length()
526 self.get_bytes(len as usize) in get_bytes_with_varint_length()
815 fn get_bytes() { in get_bytes() function
821 assert_eq!(b.get_bytes(5).unwrap().as_ref(), [1, 2, 3, 4, 5]); in get_bytes()
[all …]
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py76 def get_bytes(tpm_str, start, length): function
133 if get_bytes(result, 0, TPM_TAG_SIZE_BYTES) != '8001':
139 get_bytes(result, VENDOR_CMD_RESPONSE_SIZE_OFFSET,
147 response_code = get_bytes(result, VENDOR_CMD_RESPONSE_CODE_OFFSET,
155 response_vendor_cc = get_bytes(result, VENDOR_CMD_RESPONSE_CC_OFFSET,
170 get_bytes(result, VENDOR_CMD_HEADER_SIZE_BYTES,
/external/autotest/client/cros/
Ddhcp_packet.py57 def get_bytes(value): function
137 return get_bytes(value)
170 byte_string += get_bytes(chr(prefix_size))
224 byte_string += get_bytes(chr(len(part)))
225 byte_string += get_bytes(part)
556 hwmac_addr += get_bytes(chr(OPTION_PAD))
819 data += get_bytes(chr(OPTION_END))
822 data += get_bytes(chr(OPTION_PAD))
/external/rust/crates/quiche/src/h3/qpack/
Ddecoder.rs137 let mut name = b.get_bytes(name_len)?; in decode()
255 let mut val = b.get_bytes(len)?; in decode_str()
/external/rust/crates/quiche/src/h3/
Dframe.rs113 payload: b.get_bytes(payload_length as usize)?.to_vec(), in from_bytes()
117 header_block: b.get_bytes(payload_length as usize)?.to_vec(), in from_bytes()
591 let header_block = b.get_bytes(header_block_length as usize)?.to_vec(); in parse_push_promise()
606 b.get_bytes(priority_field_value_length as usize)?.to_vec(); in parse_priority_update()
/external/python/cpython2/Lib/
Duuid.py204 def get_bytes(self): member in UUID
210 bytes = property(get_bytes)
/external/python/cpython3/Lib/test/
Dtest_mailbox.py96 self.assertEqual(self._box.get_bytes(key),
137 self.assertEqual(self._box.get_bytes(key),
151 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
159 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
168 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
265 self.assertEqual(self._box.get_bytes(key0),
267 self.assertEqual(self._box.get_bytes(key1), _bytes_sample_message)
574 self.assertRaises(NotImplementedError, lambda: box.get_bytes(''))
995 self.assertEqual(self._box.get_bytes(key0, from_=False),
997 self.assertEqual(self._box.get_bytes(key1, from_=False),
[all …]
/external/rust/crates/protobuf/2.27.1/src/reflect/
Dfield.rs145 pub fn get_bytes<'a>(&self, m: &'a dyn Message) -> &'a [u8] { in get_bytes() method
/external/python/cpython3/Lib/
Dmailbox.py88 return email.message_from_bytes(self.get_bytes(key)).as_string()
90 def get_bytes(self, key): member in Mailbox
388 def get_bytes(self, key): member in Maildir
790 self.get_bytes(key, from_)).as_string(unixfrom=from_)
792 def get_bytes(self, key, from_=False): member in _mboxMMDF
1047 def get_bytes(self, key): member in MH
1298 def get_bytes(self, key): member in Babyl
1322 return io.BytesIO(self.get_bytes(key).replace(b'\n', linesep))
/external/rust/crates/quiche/src/
Dpacket.rs353 let dcid = b.get_bytes(dcid_len)?; in from_bytes()
387 let dcid = b.get_bytes(dcid_len as usize)?.to_vec(); in from_bytes()
393 let scid = b.get_bytes(scid_len as usize)?.to_vec(); in from_bytes()
412 token = Some(b.get_bytes(token_len)?.to_vec()); in from_bytes()
668 Ok(b.get_bytes(payload_len)?) in decrypt_pkt()
Dframe.rs269 .get_bytes(16)? in from_bytes()
281 .get_bytes(8)? in from_bytes()
289 .get_bytes(8)? in from_bytes()
1305 let data = b.get_bytes(len)?; in parse_stream_frame()
1320 let data = b.get_bytes(len)?; in parse_datagram_frame()
Dlib.rs2001 let session_bytes = b.get_bytes(session_len)?; in set_session()
2006 let raw_params_bytes = b.get_bytes(raw_params_len)?; in set_session()
7627 val.get_bytes(16)? in decode()
/external/harfbuzz_ng/src/OT/glyf/
DGlyph.hh431 hb_bytes_t get_bytes () const { return bytes; } in get_bytes() function
Dglyf.hh416 subset_glyph.dest_start = subset_glyph.source_glyph.get_bytes (); in _populate_subset_glyphs()
/external/python/cpython2/Lib/bsddb/
Ddbtables.py244 def get_bytes(self, key, txn=None, flags=0) : member in bsdTableDB.__init__.db_py3k
/external/rust/crates/arbitrary/
DCHANGELOG.md227 * Rename `Unstructured#get_bytes` to `Unstructured#bytes`. [#70](https://github.com/rust-fuzz/arbit…
/external/crosvm/system_api/src/protos/
Dkey.rs450 pub fn get_bytes(&self) -> &[u8] { in get_bytes() method
/external/python/cpython3/Doc/library/
Dmailbox.rst183 .. method:: get_bytes(key)
/external/python/cpython3/Doc/whatsnew/
D3.2.rst2284 the file to text-mode). There is also a new :meth:`~mailbox.Mailbox.get_bytes`