Home
last modified time | relevance | path

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

/third_party/flatbuffers/include/flatbuffers/
Dbase.h432 inline size_t PaddingBytes(size_t buf_size, size_t scalar_size) { in PaddingBytes() argument
433 return ((~buf_size) + 1) & (scalar_size - 1); in PaddingBytes()
/third_party/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs779 fn padding_bytes(buf_size: usize, scalar_size: usize) -> usize { in padding_bytes()
781 (!buf_size).wrapping_add(1) & (scalar_size.wrapping_sub(1)) in padding_bytes()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io.c1766 unsigned scalar_size = type_scalar_size_bytes(deref->type); in nir_lower_explicit_io_instr() local
1768 assert(vec_stride == 0 || vec_stride >= scalar_size); in nir_lower_explicit_io_instr()
1773 align_mul = scalar_size; in nir_lower_explicit_io_instr()
1780 if (vec_stride > scalar_size) { in nir_lower_explicit_io_instr()
1808 if (vec_stride > scalar_size) { in nir_lower_explicit_io_instr()
/third_party/flatbuffers/python/flatbuffers/
Dflexbuffers.py124 def _PaddingBytes(buf_size, scalar_size): argument
126 return -buf_size & (scalar_size - 1)