Home
last modified time | relevance | path

Searched refs:read_scalar (Results 1 – 7 of 7) sorted by relevance

/external/flatbuffers/rust/flatbuffers/src/
Dvector.rs22 use endian_scalar::{EndianScalar, read_scalar};
41 read_scalar::<UOffsetT>(&self.0[self.1 as usize..]) as usize in len()
48 debug_assert!(idx < read_scalar::<u32>(&self.0[self.1 as usize..]) as usize); in get()
62 let len = read_scalar::<UOffsetT>(&buf[loc..loc + SIZE_UOFFSET]) as usize; in safe_slice()
100 let len = read_scalar::<UOffsetT>(&buf[loc..loc + SIZE_UOFFSET]) as usize; in follow()
110 let len = read_scalar::<UOffsetT>(&buf[loc..loc + SIZE_UOFFSET]) as usize; in follow_slice_helper()
Dvtable_writer.rs19 use endian_scalar::{emplace_scalar, read_scalar};
60 read_scalar::<VOffsetT>(&self.buf[idx..idx + SIZE_VOFFSET]) in get_field_offset()
Dprimitives.rs21 use endian_scalar::{emplace_scalar, read_scalar, read_scalar_at};
161 let off = read_scalar::<u32>(slice) as usize; in follow()
182 let off = read_scalar::<VOffsetT>(slice) as usize; in follow()
212 let off = read_scalar::<SOffsetT>(slice); in follow()
Dendian_scalar.rs166 read_scalar(buf) in read_scalar_at()
172 pub fn read_scalar<T: EndianScalar>(s: &[u8]) -> T { in read_scalar() function
Dlib.rs42 pub use endian_scalar::{EndianScalar, emplace_scalar, read_scalar, read_scalar_at, byte_swap_f32, b…
Dbuilder.rs24 use endian_scalar::{read_scalar, emplace_scalar};
461 let saw = read_scalar::<UOffsetT>(&self.owned_buf[n..n + SIZE_SOFFSET]); in write_vtable()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs1266 let y = flatbuffers::read_scalar(&buf[..]); in prop()