Searched refs:FBT_INT (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffers.java | 52 public static final int FBT_INT = 1; field in FlexBuffers 126 return original_type - FBT_VECTOR_INT + FBT_INT; in toTypedVectorElementType() 139 case 0: return type - FBT_INT + FBT_VECTOR_INT; in toTypedVector() 140 case 2: return type - FBT_INT + FBT_VECTOR_INT2; in toTypedVector() 141 case 3: return type - FBT_INT + FBT_VECTOR_INT3; in toTypedVector() 142 case 4: return type - FBT_INT + FBT_VECTOR_INT4; in toTypedVector() 150 return (type >= FBT_INT && type <= FBT_KEY) || type == FBT_BOOL; in isTypedVectorElementType() 298 return type == FBT_INT || type == FBT_INDIRECT_INT; in isInt() 366 if (type == FBT_INT) { in asInt() 401 case FBT_INT: return readLong(bb, end, parentWidth); in asUInt() [all …]
|
D | FlexBuffersBuilder.java | 561 case FBT_INT: in writeAny() 674 return new Value(key, FBT_INT, WIDTH_8, value); in int8() 678 return new Value(key, FBT_INT, WIDTH_16, value); in int16() 682 return new Value(key, FBT_INT, WIDTH_32, value); in int32() 686 return new Value(key, FBT_INT, WIDTH_64, value); in int64()
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 53 FBT_INT = 1, enumerator 89 return (t >= FBT_INT && t <= FBT_STRING) || t == FBT_BOOL; in IsTypedVectorElementType() 104 case 0: return static_cast<Type>(t - FBT_INT + FBT_VECTOR_INT); 105 case 2: return static_cast<Type>(t - FBT_INT + FBT_VECTOR_INT2); 106 case 3: return static_cast<Type>(t - FBT_INT + FBT_VECTOR_INT3); 107 case 4: return static_cast<Type>(t - FBT_INT + FBT_VECTOR_INT4); 114 return static_cast<Type>(t - FBT_VECTOR_INT + FBT_INT); in ToTypedVectorElementType() 122 return static_cast<Type>(fixed_type % 3 + FBT_INT); in ToFixedTypedVectorElementType() 290 return TypedVector(empty_typed_vector + 1, 1, FBT_INT); in EmptyTypedVector() 316 return FixedTypedVector(fixed_empty_vector, 1, FBT_INT, 0); in EmptyFixedTypedVector() [all …]
|
/external/flatbuffers/tests/ |
D | JavaTest.java | 675 TestEq(((FlexBuffers.TypedVector) tvec).getElemType(), FlexBuffers.FBT_INT); in testFlexBuffersTest()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator.cc | 1734 case flexbuffers::FBT_INT: in ReadOptions()
|