/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 309 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toByteArray() 324 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toShortArray() 339 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toIntArray() 354 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toLongArray() 369 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUByteArray() 384 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUShortArray() 399 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toUIntArray() 414 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toULongArray() 429 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toFloatArray() 444 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toDoubleArray() [all …]
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffers.java | 533 … return new TypedVector(bb, indirect(bb, end, parentWidth), byteWidth, FlexBuffers.FBT_KEY); in asVector() 535 …return new TypedVector(bb, indirect(bb, end, parentWidth), byteWidth, FlexBuffers.toTypedVectorEle… in asVector() 869 return new KeyVector(new TypedVector(bb, in keys() 1093 public static class TypedVector extends Vector { class in FlexBuffers 1095 private static final TypedVector EMPTY_VECTOR = new TypedVector(EMPTY_BB, 1, 1, FBT_INT); 1099 TypedVector(ReadBuf bb, int end, int byteWidth, int elemType) { in TypedVector() method in FlexBuffers.TypedVector 1104 public static TypedVector empty() { in empty() 1146 private final TypedVector vec; 1148 KeyVector(TypedVector vec) { in KeyVector()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 281 class TypedVector : public Sized { 283 TypedVector(const uint8_t *data, uint8_t byte_width, Type element_type) in TypedVector() function 288 static TypedVector EmptyTypedVector() { in EmptyTypedVector() 290 return TypedVector(empty_typed_vector + 1, 1, FBT_INT); in EmptyTypedVector() 293 return data_ == TypedVector::EmptyTypedVector().data_; in IsTheEmptyVector() 339 TypedVector Keys() const { in Keys() 342 return TypedVector(Indirect(keys_offset, byte_width_), in Keys() 584 AppendToString<TypedVector>(s, AsTypedVector(), keys_quoted); in ToString() 616 TypedVector AsTypedVector() const { in AsTypedVector() 619 TypedVector(Indirect(), byte_width_, ToTypedVectorElementType(type_)); in AsTypedVector() [all …]
|
/third_party/flatbuffers/python/flatbuffers/ |
D | flexbuffers.py | 444 class TypedVector(Sized): class 529 return TypedVector(buf, byte_width, Type.KEY) 775 return TypedVector(self._Indirect(), self._byte_width, 788 return TypedVector(self._Indirect(), self._byte_width, element_type, size) 1330 def TypedVector(self, key=None): member in Builder 1364 with self.TypedVector():
|
/third_party/flatbuffers/tests/ |
D | JavaTest.java | 695 TestEq(((FlexBuffers.TypedVector) tvec).getElemType(), FlexBuffers.FBT_INT); in testFlexBuffersTest() 704 TestEq(((FlexBuffers.TypedVector) bvec).getElemType(), FlexBuffers.FBT_BOOL); in testFlexBuffersTest() 987 FlexBuffers.TypedVector typedAry = FlexBuffers.TypedVector.empty(); in testFlexBuferEmpty()
|
D | py_flexbuffers_test.py | 855 with fbb.TypedVector(): 1337 with fbb.TypedVector('tv'):
|
/third_party/flatbuffers/docs/source/ |
D | FlexBuffers.md | 93 you can use mixed types. There is also a `TypedVector` variant that only
|