Searched refs:read_scalar (Results 1 – 7 of 7) sorted by relevance
/external/flatbuffers/rust/flatbuffers/src/ |
D | vector.rs | 22 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()
|
D | vtable_writer.rs | 19 use endian_scalar::{emplace_scalar, read_scalar}; 60 read_scalar::<VOffsetT>(&self.buf[idx..idx + SIZE_VOFFSET]) in get_field_offset()
|
D | primitives.rs | 21 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()
|
D | endian_scalar.rs | 166 read_scalar(buf) in read_scalar_at() 172 pub fn read_scalar<T: EndianScalar>(s: &[u8]) -> T { in read_scalar() function
|
D | lib.rs | 42 pub use endian_scalar::{EndianScalar, emplace_scalar, read_scalar, read_scalar_at, byte_swap_f32, b…
|
D | builder.rs | 24 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/ |
D | integration_test.rs | 1266 let y = flatbuffers::read_scalar(&buf[..]); in prop()
|