Home
last modified time | relevance | path

Searched refs:read_byte (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/ring/src/io/
Dder.rs69 let tag = input.read_byte()?; in read_tag_and_get_value()
77 let length = match input.read_byte()? { in read_tag_and_get_value()
80 let second_byte = input.read_byte()?; in read_tag_and_get_value()
87 let second_byte = usize::from(input.read_byte()?); in read_tag_and_get_value()
88 let third_byte = usize::from(input.read_byte()?); in read_tag_and_get_value()
108 let unused_bits_at_end = value.read_byte().map_err(|_| error::Unspecified)?; in bit_string_with_no_unused_bits()
139 let first_byte = input.read_byte()?; in nonnegative_integer()
152 let first_byte = input.read_byte()?; in nonnegative_integer()
165 let second_byte = input.read_byte()?; in nonnegative_integer()
195 let r = input.read_byte()?; in small_nonnegative_integer()
/external/capstone/arch/M680X/
DM680XDisassembler.c155 static bool read_byte(const m680x_info *info, uint8_t *byte, uint16_t address) in read_byte() function
645 return read_byte(info, &ir, (*address)++); in is_indexed09_post_byte_valid()
652 retval = read_byte(info, &ir, *address + 1); in is_indexed09_post_byte_valid()
659 read_byte(info, &ir, *address + 1); in is_indexed09_post_byte_valid()
685 return read_byte(info, &ir, (*address)++); in is_indexed12_post_byte_valid()
693 result = read_byte(info, &ir, *address + 1); in is_indexed12_post_byte_valid()
753 retval = read_byte(info, &ir, address + 3); in is_sufficient_code_size()
765 retval = read_byte(info, &ir, address + 1); in is_sufficient_code_size()
779 retval = read_byte(info, &ir, address++); in is_sufficient_code_size()
793 if (!read_byte(info, &ir, address++)) in is_sufficient_code_size()
[all …]
/external/rust/crates/untrusted/tests/
Dtests.rs36 assert_eq!(b'f', input.read_byte()?); in test_input_read_all()
37 assert_eq!(b'o', input.read_byte()?); in test_input_read_all()
38 assert_eq!(b'o', input.read_byte()?); in test_input_read_all()
49 assert_eq!(b'f', input.read_byte()?); in test_input_read_all_unconsume()
/external/libjpeg-turbo/
Drdtarga.c83 read_byte(tga_source_ptr sinfo) in read_byte() function
106 sinfo->colormap[2][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
107 sinfo->colormap[1][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
108 sinfo->colormap[0][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
124 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_non_rle_pixel()
143 i = read_byte(sinfo); in read_rle_pixel()
154 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_rle_pixel()
448 (void)read_byte(source); in start_input_tga()
Drdbmp.c81 read_byte(bmp_source_ptr sinfo) in read_byte() function
103 sinfo->colormap[2][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
104 sinfo->colormap[1][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
105 sinfo->colormap[0][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
114 sinfo->colormap[2][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
115 sinfo->colormap[1][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
116 sinfo->colormap[0][i] = (JSAMPLE)read_byte(sinfo); in read_colormap()
117 (void)read_byte(sinfo); in read_colormap()
556 (void)read_byte(source); in start_input_bmp()
/external/skia/src/codec/
DSkWbmpCodec.cpp40 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte() function
67 if (!read_byte(stream, &data) || data != 0) { // unknown type in read_header()
70 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header in read_header()
/external/skqp/src/codec/
DSkWbmpCodec.cpp40 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte() function
67 if (!read_byte(stream, &data) || data != 0) { // unknown type in read_header()
70 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header in read_header()
/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs210 pub fn read_byte(&mut self) -> ProtobufResult<u8> { in read_byte() method
454 assert_eq!(bytes[90], bri.read_byte().expect("read_byte")); in read_exact_bytes_from_slice()
464 assert_eq!(bytes[90], bri.read_byte().expect("read_byte")); in read_exact_bytes_from_bytes()
510 buf_read_iter.read_byte().expect("read_byte"); in eof_at_limit()
Dcoded_input_stream.rs128 self.source.read_byte() in read_raw_byte()
/external/rust/crates/ring/src/rsa/
Dpadding.rs327 if m.read_byte()? != 0 { in verify()
345 if em.read_byte()? != 0xbc { in verify()
357 let b = masked_bytes.read_byte()?; in verify()
365 db[i] ^= masked_bytes.read_byte()?; in verify()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/himax_driver/
DHM01B0_optimized.c77 const uint8_t value = read_byte(); in hm01b0_blocking_read_oneframe_scaled()
DHM01B0.h84 #define read_byte() (APBDMA->BBINPUT) macro
DHM01B0.c685 *(pui8Buffer + ui32Idx++) = read_byte(); in hm01b0_blocking_read_oneframe()
707 *(pui8Buffer + ui32Idx++) = read_byte(); in hm01b0_blocking_read_oneframe()
/external/rust/crates/ring/src/ec/suite_b/
Dpublic_key.rs39 let encoding = input.read_byte()?; in parse_uncompressed_point()
/external/rust/crates/protobuf/benches/
Dcoded_input_stream.rs24 fn read_byte(b: &mut Bencher) { in read_byte() function
/external/python/cpython3/Lib/test/
Dtest_mmap.py580 self.assertEqual(m.read_byte(), data[i])
582 self.assertRaises(ValueError, m.read_byte)
603 self.assertEqual(m.read_byte(), b)
719 self.assertRaises(ValueError, m.read_byte)
/external/python/cpython2/Lib/test/
Dtest_mmap.py568 self.assertEqual(m.read_byte(), data[i])
570 self.assertRaises(ValueError, m.read_byte)
665 self.assertRaises(ValueError, m.read_byte)
/external/rust/crates/untrusted/src/
Duntrusted.rs280 pub fn read_byte(&mut self) -> Result<u8, EndOfInput> { in read_byte() method
/external/libpng/contrib/tools/
Dpngfix.c1244 read_byte(struct file *file) in read_byte() function
1267 return read_byte(file); in read_byte()
1372 int ch = read_byte(file); in read_4()
1397 int ch = read_byte(file); in crc_read_many()
3018 ch = read_byte(file); in sync_stream()
3059 ch = read_byte(file); in sync_stream()
/external/rust/crates/ring/src/
Dlimb.rs231 let b: Limb = input.read_byte()?.into(); in parse_big_endian_and_pad_consttime()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py30 def read_byte(self, b0, data, index): function
75 t1OperandEncoding[32:247] = (247 - 32) * [read_byte]
/external/python/cpython2/Doc/library/
Dmmap.rst197 .. method:: read_byte()
/external/python/cpython3/Doc/library/
Dmmap.rst238 .. method:: read_byte()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs676 .read_byte() in from_be_bytes()