Home
last modified time | relevance | path

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

/external/flatbuffers/rust/flatbuffers/src/
Dvtable.rs40 (self.num_bytes() / SIZE_VOFFSET) - 2 in num_fields()
46 let n = read_scalar_at::<VOffsetT>(self.buf, self.loc + SIZE_VOFFSET); in object_inline_num_bytes()
56 self.loc + SIZE_VOFFSET + SIZE_VOFFSET + SIZE_VOFFSET * idx, in get_field()
76 ((field_id + fixed_fields) * (SIZE_VOFFSET as VOffsetT)) as VOffsetT in field_index_to_field_offset()
83 (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()
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
201 let slice = &buf[loc..loc + SIZE_VOFFSET]; in follow()
Dbuilder.rs684 Some(mv) => mv as usize + SIZE_VOFFSET, in get_vtable_byte_len()