Searched refs:toTypedVector (Results 1 – 9 of 9) sorted by relevance
/third_party/flatbuffers/dart/test/ |
D | flex_types_test.dart | 51 expect(ValueTypeUtils.toTypedVector(ValueType.Int,0), equals(ValueType.VectorInt)); 52 expect(ValueTypeUtils.toTypedVector(ValueType.UInt,0), equals(ValueType.VectorUInt)); 53 expect(ValueTypeUtils.toTypedVector(ValueType.Bool,0), equals(ValueType.VectorBool)); 54 expect(ValueTypeUtils.toTypedVector(ValueType.Float,0), equals(ValueType.VectorFloat)); 55 expect(ValueTypeUtils.toTypedVector(ValueType.Key,0), equals(ValueType.VectorKey)); 56 expect(ValueTypeUtils.toTypedVector(ValueType.String,0), equals(ValueType.VectorString)); 58 expect(ValueTypeUtils.toTypedVector(ValueType.Int,2), equals(ValueType.VectorInt2)); 59 expect(ValueTypeUtils.toTypedVector(ValueType.UInt,2), equals(ValueType.VectorUInt2)); 60 expect(ValueTypeUtils.toTypedVector(ValueType.Float,2), equals(ValueType.VectorFloat2)); 62 expect(ValueTypeUtils.toTypedVector(ValueType.Int,3), equals(ValueType.VectorInt3)); [all …]
|
/third_party/flatbuffers/ts/flexbuffers/ |
D | value-type-util.ts | 41 export function toTypedVector(valueType: ValueType, length: number): ValueType { function
|
D | builder.ts | 5 import { isNumber, isTypedVectorElement, toTypedVector } from './value-type-util' 381 const vType = toTypedVector(vectorType, fix ? vecLength : 0);
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffersBuilder.java | 558 : (typed ? FlexBuffers.toTypedVector(vectorType, fixed ? length : 0) in createVector() 644 return new Value(-1, FlexBuffers.toTypedVector(FBT_KEY,0), bitWidth, vloc); in createKeyVector()
|
D | FlexBuffers.java | 136 static int toTypedVector(int type, int fixedLength) { in toTypedVector() method in FlexBuffers
|
/third_party/flatbuffers/dart/lib/src/ |
D | types.dart | 135 static ValueType toTypedVector(ValueType self, int length) {
|
D | builder.dart | 351 final vType = ValueTypeUtils.toTypedVector(vectorType, fix ? vecLength : 0);
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffersInternals.kt | 114 internal fun FlexBufferType.toTypedVector(): FlexBufferType = (this - T_INT) + T_VECTOR_INT in isTypedVector() method
|
D | FlexBuffersBuilder.kt | 684 return createAnyVector(key, start, length, elementType.toTypedVector(), keys) in createTypedVector()
|