Home
last modified time | relevance | path

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

/external/rust/crates/quiche/src/
Doctets.rs186 let mut vec = self.get_bytes(len)?.to_vec(); in get_varint()
206 pub fn get_bytes(&mut self, len: usize) -> Result<Octets> { in get_bytes() method
225 self.get_bytes(len as usize) in get_bytes_with_u8_length()
233 self.get_bytes(len as usize) in get_bytes_with_u16_length()
241 self.get_bytes(len as usize) in get_bytes_with_varint_length()
405 let mut vec = self.get_bytes(len)?.to_vec(); in get_varint()
467 pub fn get_bytes(&mut self, len: usize) -> Result<Octets> { in get_bytes() method
503 self.get_bytes(len as usize) in get_bytes_with_u8_length()
511 self.get_bytes(len as usize) in get_bytes_with_u16_length()
519 self.get_bytes(len as usize) in get_bytes_with_varint_length()
[all …]
Dpacket.rs198 let dcid = b.get_bytes(dcid_len)?; in from_bytes()
232 let dcid = b.get_bytes(dcid_len as usize)?.to_vec(); in from_bytes()
238 let scid = b.get_bytes(scid_len as usize)?.to_vec(); in from_bytes()
257 token = Some(b.get_bytes(token_len)?.to_vec()); in from_bytes()
517 Ok(b.get_bytes(payload_len)?) in decrypt_pkt()
Dframe.rs236 reset_token: b.get_bytes(16)?.to_vec(), in from_bytes()
244 data: b.get_bytes(8)?.to_vec(), in from_bytes()
248 data: b.get_bytes(8)?.to_vec(), in from_bytes()
1077 let data = b.get_bytes(len)?; in parse_stream_frame()
1092 let data = b.get_bytes(len)?; in parse_datagram_frame()
Dlib.rs4150 tp.stateless_reset_token = Some(val.get_bytes(16)?.to_vec()); in decode()
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py76 def get_bytes(tpm_str, start, length): function
131 if get_bytes(result, 0, TPM_TAG_SIZE_BYTES) != '8001':
136 get_bytes(result, VENDOR_CMD_RESPONSE_SIZE_OFFSET,
143 response_code = get_bytes(result, VENDOR_CMD_RESPONSE_CODE_OFFSET,
151 response_vendor_cc = get_bytes(result, VENDOR_CMD_RESPONSE_CC_OFFSET,
166 get_bytes(result, VENDOR_CMD_HEADER_SIZE_BYTES,
/external/rust/crates/quiche/src/h3/qpack/
Ddecoder.rs144 let mut name = b.get_bytes(name_len)?; in decode()
264 let mut val = b.get_bytes(len)?; in decode_str()
/external/rust/crates/quiche/src/h3/
Dframe.rs89 payload: b.get_bytes(payload_length as usize)?.to_vec(), in from_bytes()
93 header_block: b.get_bytes(payload_length as usize)?.to_vec(), in from_bytes()
325 let header_block = b.get_bytes(header_block_length as usize)?.to_vec(); in parse_push_promise()
/external/python/cpython2/Lib/
Duuid.py204 def get_bytes(self): member in UUID
210 bytes = property(get_bytes)
/external/rust/crates/protobuf/src/reflect/
Dfield.rs145 pub fn get_bytes<'a>(&self, m: &'a dyn Message) -> &'a [u8] { in get_bytes() method
/external/python/cpython3/Lib/test/
Dtest_mailbox.py95 self.assertEqual(self._box.get_bytes(key),
136 self.assertEqual(self._box.get_bytes(key),
150 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
158 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
167 self.assertEqual(self._box.get_bytes(key).split(b'\n'),
264 self.assertEqual(self._box.get_bytes(key0),
266 self.assertEqual(self._box.get_bytes(key1), _bytes_sample_message)
573 self.assertRaises(NotImplementedError, lambda: box.get_bytes(''))
994 self.assertEqual(self._box.get_bytes(key0, from_=False),
996 self.assertEqual(self._box.get_bytes(key1, from_=False),
[all …]
/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/llvm-project/lldb/examples/python/
Dbsd.py74 def get_bytes(self): member in Object
95 f.write(self.get_bytes())
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh200 else subset_glyph.dest_start = subset_glyph.source_glyph.get_bytes (); in _populate_subset_glyphs()
737 hb_bytes_t get_bytes () const { return bytes; } in get_bytes() function
/external/rust/crates/arbitrary/
DCHANGELOG.md50 * Rename `Unstructured#get_bytes` to `Unstructured#bytes`. [#70](https://github.com/rust-fuzz/arbit…
/external/python/cpython2/Lib/bsddb/
Ddbtables.py244 def get_bytes(self, key, txn=None, flags=0) : member in bsdTableDB.__init__.db_py3k
/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`