Home
last modified time | relevance | path

Searched refs:TypedVector (Results 1 – 7 of 7) sorted by relevance

/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffers.kt309 …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/
DFlexBuffers.java533 … 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/
Dflexbuffers.h281 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/
Dflexbuffers.py444 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/
DJavaTest.java695 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()
Dpy_flexbuffers_test.py855 with fbb.TypedVector():
1337 with fbb.TypedVector('tv'):
/third_party/flatbuffers/docs/source/
DFlexBuffers.md93 you can use mixed types. There is also a `TypedVector` variant that only