Searched refs:SIZE_UOFFSET (Results 1 – 3 of 3) sorted by relevance
68 T::follow(self.0, self.1 as usize + SIZE_UOFFSET + sz * idx) in get()85 let data_buf = &buf[loc + SIZE_UOFFSET..loc + SIZE_UOFFSET + len * sz]; in safe_slice()124 let slice = &buf[loc + SIZE_UOFFSET..loc + SIZE_UOFFSET + len]; in follow()134 let data_buf = &buf[loc + SIZE_UOFFSET..loc + SIZE_UOFFSET + len * sz]; in follow_slice_helper()174 loc: inner.1 + SIZE_UOFFSET, in new()
47 pub const SIZE_UOFFSET: usize = SIZE_U32; constant50 pub const SIZE_SIZEPREFIX: usize = SIZE_UOFFSET;138 let n = (SIZE_UOFFSET + rest.len() - self.value() as usize) as UOffsetT; in push()180 let slice = &buf[loc..loc + SIZE_UOFFSET]; in follow()264 T::follow(buf, loc + SIZE_UOFFSET) in follow()
219 self.align(num_items * T::size(), T::alignment().max_of(SIZE_UOFFSET)); in start_vector()253 self.align(data.len() + 1, PushAlignment::new(SIZE_UOFFSET)); in create_byte_string()275 self.align(items.len() * elem_size, T::alignment().max_of(SIZE_UOFFSET)); in create_vector_direct()323 self.align(items.len() * elem_size, T::alignment().max_of(SIZE_UOFFSET)); in create_vector()573 let a = SIZE_UOFFSET; in finish_with_opts()575 let b = if size_prefixed { SIZE_UOFFSET } else { 0 }; in finish_with_opts()