Home
last modified time | relevance | path

Searched refs:SIZE_VOFFSET (Results 1 – 4 of 4) sorted by relevance

/external/flatbuffers/rust/flatbuffers/src/
Dvtable.rs43 (self.num_bytes() / SIZE_VOFFSET) - 2 in num_fields()
49 let n = read_scalar_at::<VOffsetT>(self.buf, self.loc + SIZE_VOFFSET); in object_inline_num_bytes()
59 self.loc + SIZE_VOFFSET + SIZE_VOFFSET + SIZE_VOFFSET * idx, in get_field()
80 ((field_id + fixed_fields) * (SIZE_VOFFSET as VOffsetT)) as VOffsetT in field_index_to_field_offset()
87 (field_o / (SIZE_VOFFSET as VOffsetT)) - fixed_fields in field_offset_to_field_index()
Dvtable_writer.rs43 emplace_scalar::<VOffsetT>(&mut self.buf[..SIZE_VOFFSET], n); in write_vtable_byte_length()
50 emplace_scalar::<VOffsetT>(&mut self.buf[SIZE_VOFFSET..2 * SIZE_VOFFSET], n); in write_object_inline_size()
60 read_scalar::<VOffsetT>(&self.buf[idx..idx + SIZE_VOFFSET]) in get_field_offset()
70 emplace_scalar::<VOffsetT>(&mut self.buf[idx..idx + SIZE_VOFFSET], object_data_offset); in write_field_offset()
Dprimitives.rs48 pub const SIZE_VOFFSET: usize = SIZE_I16; constant
181 let slice = &buf[loc..loc + SIZE_VOFFSET]; in follow()
Dbuilder.rs632 Some(mv) => { mv as usize + SIZE_VOFFSET } in get_vtable_byte_len()