Home
last modified time | relevance | path

Searched refs:read_uint (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/byteorder/benches/
Dbench.rs133 bench_num!(uint_1, read_uint, 1, [1]);
134 bench_num!(uint_2, read_uint, 2, [1, 2]);
135 bench_num!(uint_3, read_uint, 3, [1, 2, 3]);
136 bench_num!(uint_4, read_uint, 4, [1, 2, 3, 4]);
137 bench_num!(uint_5, read_uint, 5, [1, 2, 3, 4, 5]);
138 bench_num!(uint_6, read_uint, 6, [1, 2, 3, 4, 5, 6]);
139 bench_num!(uint_7, read_uint, 7, [1, 2, 3, 4, 5, 6, 7]);
140 bench_num!(uint_8, read_uint, 8, [1, 2, 3, 4, 5, 6, 7, 8]);
/external/u-boot/arch/mips/lib/
Dreloc.c43 static unsigned long read_uint(uint8_t **buf) in read_uint() function
133 type = read_uint(&buf); in relocate_code()
137 addr += read_uint(&buf) << 2; in relocate_code()
/external/rust/crates/byteorder/src/
Dlib.rs251 Self::read_uint(buf, 3) as u32 in read_u24()
291 Self::read_uint(buf, 6) as u64 in read_u48()
351 fn read_uint(buf: &[u8], nbytes: usize) -> u64; in read_uint() method
687 extend_sign(Self::read_uint(buf, nbytes), nbytes) in read_int()
1980 fn read_uint(buf: &[u8], nbytes: usize) -> u64 { in read_uint() method
2195 fn read_uint(buf: &[u8], nbytes: usize) -> u64 { in read_uint() method
2552 u64, calc_max!(super::U64_MAX, 1), 1, read_uint, write_uint);
2554 u64, calc_max!(super::U64_MAX, 2), 2, read_uint, write_uint);
2556 u64, calc_max!(super::U64_MAX, 3), 3, read_uint, write_uint);
2558 u64, calc_max!(super::U64_MAX, 4), 4, read_uint, write_uint);
[all …]
Dio.rs427 fn read_uint<T: ByteOrder>(&mut self, nbytes: usize) -> Result<u64> { in read_uint() method
430 Ok(T::read_uint(&buf[..nbytes], nbytes)) in read_uint()
/external/fmtlib/test/
Dscan.h131 template <typename T = unsigned> T read_uint() { in read_uint() function
150 value = read_uint<typename std::make_unsigned<T>::type>(); in read_int()
185 *arg_.uint_value = read_uint(); in on_replacement_field()
191 *arg_.ulong_long_value = read_uint<unsigned long long>(); in on_replacement_field()