Searched refs:VectorInt2 (Results 1 – 4 of 4) sorted by relevance
/third_party/flatbuffers/rust/flexbuffers/src/ |
D | flexbuffer_type.rs | 85 VectorInt2 = 16, enumerator 151 VectorInt | VectorInt2 | VectorInt3 | VectorInt4 => Some(Int), in typed_vector_type() 165 VectorInt2 | VectorUInt2 | VectorFloat2 => Some(2), in fixed_length_vector_length() 221 is_ty!(is_vector_int2, VectorInt2);
|
/third_party/flatbuffers/dart/lib/src/ |
D | types.dart | 74 VectorInt2, VectorUInt2, VectorFloat2, 124 toInt(self) >= toInt(ValueType.VectorInt2) 140 … return ValueTypeUtils.fromInt(toInt(self) - toInt(ValueType.Int) + toInt(ValueType.VectorInt2)); 156 …return ValueTypeUtils.fromInt((toInt(self) - toInt(ValueType.VectorInt2)) % 3 + toInt(ValueType.In… 160 return (toInt(self) - toInt(ValueType.VectorInt2)) ~/ 3 + 2;
|
/third_party/flatbuffers/dart/test/ |
D | flex_types_test.dart | 35 expect(ValueTypeUtils.isTypedVector(ValueType.VectorInt2), isFalse); 38 expect(ValueTypeUtils.isFixedTypedVector(ValueType.VectorInt2), isTrue); 58 expect(ValueTypeUtils.toTypedVector(ValueType.Int,2), equals(ValueType.VectorInt2)); 79 expect(ValueTypeUtils.fixedTypedVectorElementType(ValueType.VectorInt2), equals(ValueType.Int)); 92 expect(ValueTypeUtils.fixedTypedVectorElementSize(ValueType.VectorInt2), equals(2));
|
/third_party/flatbuffers/rust/flexbuffers/src/builder/ |
D | value.rs | 92 VectorInt2,
|