Home
last modified time | relevance | path

Searched refs:packed_type (Results 1 – 10 of 10) sorted by relevance

/third_party/flatbuffers/tests/
Dpy_flexbuffers_test.py46 def packed_type(type_, i): function
276 packed_type(Type.NULL, ebw_ignored),
303 packed_type(Type.BOOL, ebw_ignored),
361 packed_type(Type.INT, ebw_ignored),
377 packed_type(Type.INDIRECT_INT, ebw),
389 packed_type(Type.UINT, ebw_ignored),
405 packed_type(Type.INDIRECT_UINT, ebw),
480 packed_type(Type.FLOAT, ebw_ignored),
496 packed_type(Type.INDIRECT_FLOAT, ebw),
536 packed_type(Type.STRING, lbw),
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_packed_varyings.c280 const struct glsl_type *packed_type; in create_or_update_packed_varying() local
282 packed_type = glsl_vector_type(GLSL_TYPE_INT, state->components[slot]); in create_or_update_packed_varying()
284 packed_type = glsl_vector_type(GLSL_TYPE_FLOAT, state->components[slot]); in create_or_update_packed_varying()
287 packed_type = in create_or_update_packed_varying()
288 glsl_array_type(packed_type, state->gs_input_vertices, 0); in create_or_update_packed_varying()
291 packed_var->type = packed_type; in create_or_update_packed_varying()
488 const struct glsl_type *packed_type = glsl_without_array(packed_var->type); in bitwise_assign_unpack() local
489 enum glsl_base_type packed_base_type = glsl_get_base_type(packed_type); in bitwise_assign_unpack()
514 assert(glsl_get_vector_elements(packed_type) == 4); in bitwise_assign_unpack()
/third_party/flatbuffers/python/flatbuffers/
Dflexbuffers.py208 def Unpack(packed_type): argument
209 return 1 << (packed_type & 0b11), Type(packed_type >> 2)
430 packed_type = self._buf[len(self) * self._byte_width + index]
432 return Ref.PackedType(buf, self._byte_width, packed_type)
548 def PackedType(buf, parent_width, packed_type): argument
549 byte_width, type_ = Type.Unpack(packed_type)
1515 Buf(buf, -(2 + byte_width)), byte_width, packed_type=buf[-2])
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h383 Reference(const uint8_t *data, uint8_t parent_width, uint8_t packed_type) in Reference() argument
385 byte_width_ = 1U << static_cast<BitWidth>(packed_type & 3); in Reference()
386 type_ = static_cast<Type>(packed_type >> 2); in Reference()
818 auto packed_type = (data_ + len * byte_width_)[i]; variable
820 return Reference(elem, byte_width_, packed_type);
869 auto packed_type = *--end; in GetRoot() local
871 return Reference(end, byte_width, packed_type); in GetRoot()
/third_party/flatbuffers/rust/flexbuffers/src/builder/
Dmod.rs324 buffer.push(root.packed_type(root_width)); in store_root()
395 buffer.push(v.packed_type(width)); in store_vector()
Dvalue.rs232 pub fn packed_type(self, parent_width: BitWidth) -> u8 { in packed_type() method
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp3043 union packed_type { union
3111 STATIC_ASSERT(sizeof(union packed_type) == 4); in encode_type_to_blob()
3112 union packed_type encoded; in encode_type_to_blob()
3218 union packed_type encoded; in decode_type_from_blob()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.hpp435 bool packed_type, bool row_major);
/third_party/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c5619 struct vtn_type *packed_type = vtn_get_value_type(b, w[2]); in vtn_handle_write_packed_primitive_indices() local
5620 vtn_fail_if(packed_type->base_type != vtn_base_type_scalar || in vtn_handle_write_packed_primitive_indices()
5621 packed_type->type != glsl_uint_type(), in vtn_handle_write_packed_primitive_indices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def165 HANDLE_DW_TAG(0x002d, packed_type, 2, DWARF, DW_KIND_TYPE)