Home
last modified time | relevance | path

Searched full:flatbuffers (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
109 if (flatbuffers::IsOutRange(e, None, Array)) return ""; in EnumNameBaseType()
114 struct Type FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
134 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
146 flatbuffers::FlatBufferBuilder &fbb_;
147 flatbuffers::uoffset_t start_;
160 explicit TypeBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TypeBuilder()
165 flatbuffers::Offset<Type> Finish() { in Finish()
167 auto o = flatbuffers::Offset<Type>(end); in Finish()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dserialization_base_generated.h15 // automatically generated by the FlatBuffers compiler, do not modify
21 #include "flatbuffers/flatbuffers.h"
118 if (flatbuffers::IsOutRange(e, AccessType::READ, AccessType::READ_WRITE)) return ""; in EnumNameAccessType()
157 if (flatbuffers::IsOutRange(e, DataType::UNKNOWN, DataType::INT64)) return ""; in EnumNameDataType()
190 if (flatbuffers::IsOutRange(e, MemoryType::GLOBAL, MemoryType::LOCAL)) return ""; in EnumNameMemoryType()
220 …if (flatbuffers::IsOutRange(e, LinearStorageType::BUFFER, LinearStorageType::TEXTURE_2D)) return "… in EnumNameLinearStorageType()
265 …if (flatbuffers::IsOutRange(e, TensorStorageType::UNKNOWN, TensorStorageType::SINGLE_TEXTURE_2D)) … in EnumNameTensorStorageType()
304 if (flatbuffers::IsOutRange(e, Layout::UNKNOWN, Layout::BHWDC)) return ""; in EnumNameLayout()
330 if (flatbuffers::IsOutRange(e, CalculationsPrecision::F32, in EnumNameCalculationsPrecision()
366 if (flatbuffers::IsOutRange(e, TensorToGrid::CUSTOM, in EnumNameTensorToGrid()
[all …]
/external/flatbuffers/tests/
Dnative_type_test_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
19 inline const flatbuffers::TypeTable *Vector3DTypeTable();
21 inline const flatbuffers::TypeTable *ApplicationDataTypeTable();
30 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
37 : x_(flatbuffers::EndianScalar(_x)), in Vector3D()
38 y_(flatbuffers::EndianScalar(_y)), in Vector3D()
39 z_(flatbuffers::EndianScalar(_z)) { in Vector3D()
42 return flatbuffers::EndianScalar(x_); in x()
45 flatbuffers::WriteScalar(&x_, _x); in mutate_x()
[all …]
Darrays_test_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
27 inline const flatbuffers::TypeTable *NestedStructTypeTable();
29 inline const flatbuffers::TypeTable *ArrayStructTypeTable();
31 inline const flatbuffers::TypeTable *ArrayTableTypeTable();
61 if (flatbuffers::IsOutRange(e, TestEnum::A, TestEnum::C)) return ""; in EnumNameTestEnum()
75 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
82 : b_(flatbuffers::EndianScalar(static_cast<int8_t>(_b))) { in NestedStruct()
88 const flatbuffers::Array<int32_t, 2> *a() const { in a()
89 return reinterpret_cast<const flatbuffers::Array<int32_t, 2> *>(a_); in a()
[all …]
Dmonster_test_generated.ts1 // automatically generated by the FlatBuffers compiler, do not modify
73 bb: flatbuffers.ByteBuffer|null = null;
78 * @param flatbuffers.ByteBuffer bb
81 __init(i:number, bb:flatbuffers.ByteBuffer):InParentNamespace {
88 * @param flatbuffers.ByteBuffer bb
92 static getRootAsInParentNamespace(bb:flatbuffers.ByteBuffer, obj?:InParentNamespace):InParentNamesp…
97 * @param flatbuffers.ByteBuffer bb
101 static getSizePrefixedRootAsInParentNamespace(bb:flatbuffers.ByteBuffer, obj?:InParentNamespace):In…
102 bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
107 * @param flatbuffers.Builder builder
[all …]
Dmonster_test_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
8 #include "flatbuffers/flexbuffers.h"
83 inline const flatbuffers::TypeTable *InParentNamespaceTypeTable();
87 inline const flatbuffers::TypeTable *MonsterTypeTable();
93 inline const flatbuffers::TypeTable *TestTypeTable();
95 inline const flatbuffers::TypeTable *TestSimpleTableWithEnumTypeTable();
97 inline const flatbuffers::TypeTable *Vec3TypeTable();
99 inline const flatbuffers::TypeTable *AbilityTypeTable();
101 inline const flatbuffers::TypeTable *StatTypeTable();
[all …]
Dmonster_test_generated.rs1 // automatically generated by the FlatBuffers compiler, do not modify
10 extern crate flatbuffers;
11 use self::flatbuffers::EndianScalar;
21 extern crate flatbuffers;
22 use self::flatbuffers::EndianScalar;
28 pub _tab: flatbuffers::Table<'a>,
31 impl<'a> flatbuffers::Follow<'a> for InParentNamespace<'a> {
36 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow()
47 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table()
54 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create()
[all …]
Dmonster_test.grpc.fb.h8 #include "flatbuffers/grpc.h"
38 …tus Store(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Monster>& request, flat…
39 …syncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> AsyncStore(::grpc::ClientContext* … in AsyncStore()
40 …return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Sta… in AsyncStore()
42 …ResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> PrepareAsyncStore(::grpc::ClientContex… in PrepareAsyncStore()
43 …return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Sta… in PrepareAsyncStore()
45 …rpc::ClientReaderInterface< flatbuffers::grpc::Message<Monster>>> Retrieve(::grpc::ClientContext* … in Retrieve()
46 …return std::unique_ptr< ::grpc::ClientReaderInterface< flatbuffers::grpc::Message<Monster>>>(Retri… in Retrieve()
48 …ientAsyncReaderInterface< flatbuffers::grpc::Message<Monster>>> AsyncRetrieve(::grpc::ClientContex… in AsyncRetrieve()
49 …return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< flatbuffers::grpc::Message<Monster>>>(… in AsyncRetrieve()
[all …]
Dmonster_extra_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
18 inline const flatbuffers::TypeTable *MonsterExtraTypeTable();
20 struct MonsterExtraT : public flatbuffers::NativeTable {
63 struct MonsterExtra FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
66 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
129 const flatbuffers::Vector<double> *dvec() const { in dvec()
130 return GetPointer<const flatbuffers::Vector<double> *>(VT_DVEC); in dvec()
132 flatbuffers::Vector<double> *mutable_dvec() { in mutable_dvec()
133 return GetPointer<flatbuffers::Vector<double> *>(VT_DVEC); in mutable_dvec()
[all …]
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dconfiguration_generated.h15 // automatically generated by the FlatBuffers compiler, do not modify
21 #include "flatbuffers/flatbuffers.h"
107 if (flatbuffers::IsOutRange(e, ExecutionPreference_ANY, ExecutionPreference_FORCE_CPU)) return ""; in EnumNameExecutionPreference()
152 if (flatbuffers::IsOutRange(e, Delegate_NONE, Delegate_EDGETPU_CORAL)) return ""; in EnumNameDelegate()
188 …if (flatbuffers::IsOutRange(e, NNAPIExecutionPreference_UNDEFINED, NNAPIExecutionPreference_NNAPI_… in EnumNameNNAPIExecutionPreference()
224 …if (flatbuffers::IsOutRange(e, NNAPIExecutionPriority_NNAPI_PRIORITY_UNDEFINED, NNAPIExecutionPrio… in EnumNameNNAPIExecutionPriority()
257 if (flatbuffers::IsOutRange(e, GPUBackend_UNSET, GPUBackend_OPENGL)) return ""; in EnumNameGPUBackend()
295 if (flatbuffers::IsOutRange(e, PlatformType_MMIO, PlatformType_REMOTE_SIMULATOR)) return ""; in EnumNamePlatformType()
345 …if (flatbuffers::IsOutRange(e, EdgeTpuPowerState_UNDEFINED_POWERSTATE, EdgeTpuPowerState_OVER_DRIV… in EnumNameEdgeTpuPowerState()
386 if (flatbuffers::IsOutRange(e, Performance_UNDEFINED, Performance_LOW)) return ""; in EnumNamePerformance()
[all …]
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h15 // automatically generated by the FlatBuffers compiler, do not modify
21 #include "flatbuffers/flatbuffers.h"
458 if (flatbuffers::IsOutRange(e, TensorType_FLOAT32, TensorType_UINT32)) return ""; in EnumNameTensorType()
488 …if (flatbuffers::IsOutRange(e, QuantizationDetails_NONE, QuantizationDetails_CustomQuantization)) … in EnumNameQuantizationDetails()
530 …static void *UnPack(const void *obj, QuantizationDetails type, const flatbuffers::resolver_functio…
531flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
543 bool VerifyQuantizationDetails(flatbuffers::Verifier &verifier, const void *obj, QuantizationDetail…
544 …zationDetailsVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
571 if (flatbuffers::IsOutRange(e, DimensionType_DENSE, DimensionType_SPARSE_CSR)) return "";
607 if (flatbuffers::IsOutRange(e, SparseIndexVector_NONE, SparseIndexVector_Uint8Vector)) return "";
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
46 inline const flatbuffers::TypeTable *TableInFirstNSTypeTable();
52 inline const flatbuffers::TypeTable *TableInCTypeTable();
58 inline const flatbuffers::TypeTable *SecondTableInATypeTable();
60 struct TableInFirstNST : public flatbuffers::NativeTable {
62 flatbuffers::unique_ptr<NamespaceA::NamespaceB::TableInNestedNST> foo_table;
64 flatbuffers::unique_ptr<NamespaceA::NamespaceB::StructInNestedNS> foo_struct;
82 struct TableInFirstNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
85 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
[all …]
Dnamespace_test2_generated.ts1 // automatically generated by the FlatBuffers compiler, do not modify
9 bb: flatbuffers.ByteBuffer|null = null;
14 * @param flatbuffers.ByteBuffer bb
17 __init(i:number, bb:flatbuffers.ByteBuffer):TableInFirstNS {
24 * @param flatbuffers.ByteBuffer bb
28 static getRootAsTableInFirstNS(bb:flatbuffers.ByteBuffer, obj?:TableInFirstNS):TableInFirstNS {
33 * @param flatbuffers.ByteBuffer bb
37 static getSizePrefixedRootAsTableInFirstNS(bb:flatbuffers.ByteBuffer, obj?:TableInFirstNS):TableInF…
38 bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
84 * @param flatbuffers.Builder builder
[all …]
Dnamespace_test1_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
23 inline const flatbuffers::TypeTable *TableInNestedNSTypeTable();
25 inline const flatbuffers::TypeTable *StructInNestedNSTypeTable();
55 if (flatbuffers::IsOutRange(e, EnumInNestedNS_A, EnumInNestedNS_C)) return ""; in EnumNameEnumInNestedNS()
66 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
73 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS()
74 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS()
77 return flatbuffers::EndianScalar(a_); in a()
80 flatbuffers::WriteScalar(&a_, _a); in mutate_a()
[all …]
/external/flatbuffers/samples/
Dmonster_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
29 inline const flatbuffers::TypeTable *Vec3TypeTable();
31 inline const flatbuffers::TypeTable *MonsterTypeTable();
33 inline const flatbuffers::TypeTable *WeaponTypeTable();
63 if (flatbuffers::IsOutRange(e, Color_Red, Color_Blue)) return ""; in EnumNameColor()
93 if (flatbuffers::IsOutRange(e, Equipment_NONE, Equipment_Weapon)) return ""; in EnumNameEquipment()
135 …static void *UnPack(const void *obj, Equipment type, const flatbuffers::resolver_function_t *resol…
136flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
169 bool VerifyEquipment(flatbuffers::Verifier &verifier, const void *obj, Equipment type);
[all …]
Dmonster_generated.rs1 // automatically generated by the FlatBuffers compiler, do not modify
12 extern crate flatbuffers;
13 use self::flatbuffers::EndianScalar;
22 extern crate flatbuffers;
23 use self::flatbuffers::EndianScalar;
37 impl<'a> flatbuffers::Follow<'a> for Color {
41 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow()
45 impl flatbuffers::EndianScalar for Color {
60 impl flatbuffers::Push for Color {
64 flatbuffers::emplace_scalar::<Color>(dst, *self); in push()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dserialization_generated.h15 // automatically generated by the FlatBuffers compiler, do not modify
21 #include "flatbuffers/flatbuffers.h"
42 struct TensorDescWithId FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
54 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
65 flatbuffers::FlatBufferBuilder &fbb_;
66 flatbuffers::uoffset_t start_;
67 void add_desc(flatbuffers::Offset<tflite::gpu::data::TensorDescriptor> desc) { in add_desc()
73 explicit TensorDescWithIdBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TensorDescWithIdBuilder()
77 flatbuffers::Offset<TensorDescWithId> Finish() { in Finish()
79 auto o = flatbuffers::Offset<TensorDescWithId>(end); in Finish()
[all …]
Dcompiled_program_cache_generated.h15 // automatically generated by the FlatBuffers compiler, do not modify
21 #include "flatbuffers/flatbuffers.h"
32 struct Program FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
40 const flatbuffers::Vector<uint8_t> *binary() const { in binary()
41 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_BINARY); in binary()
43 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
53 flatbuffers::FlatBufferBuilder &fbb_;
54 flatbuffers::uoffset_t start_;
58 void add_binary(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> binary) { in add_binary()
61 explicit ProgramBuilder(flatbuffers::FlatBufferBuilder &_fbb) in ProgramBuilder()
[all …]
/external/flatbuffers/src/
Dflatc_main.cpp17 #include "flatbuffers/flatc.h"
18 #include "flatbuffers/util.h"
22 static void Warn(const flatbuffers::FlatCompiler *flatc, in Warn()
29 static void Error(const flatbuffers::FlatCompiler *flatc, in Error()
39 namespace flatbuffers { namespace
41 Warn(static_cast<const flatbuffers::FlatCompiler *>(nullptr), warn, true); in LogCompilerWarn()
44 Error(static_cast<const flatbuffers::FlatCompiler *>(nullptr), err, false, in LogCompilerError()
47 } // namespace flatbuffers
51 flatbuffers::SetupDefaultCRTReportMode(); in main()
55 const flatbuffers::FlatCompiler::Generator generators[] = { in main()
[all …]
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
30 inline const flatbuffers::TypeTable *AttackerTypeTable();
32 inline const flatbuffers::TypeTable *RapunzelTypeTable();
34 inline const flatbuffers::TypeTable *BookReaderTypeTable();
36 inline const flatbuffers::TypeTable *MovieTypeTable();
78 if (flatbuffers::IsOutRange(e, Character_NONE, Character_Unused)) return ""; in EnumNameCharacter()
100 …static void *UnPack(const void *obj, Character type, const flatbuffers::resolver_function_t *resol…
101flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
194 bool VerifyCharacter(flatbuffers::Verifier &verifier, const void *obj, Character type);
[all …]
Dunion_vector_generated.ts1 // automatically generated by the FlatBuffers compiler, do not modify
20 bb: flatbuffers.ByteBuffer|null = null;
25 * @param flatbuffers.ByteBuffer bb
28 __init(i:number, bb:flatbuffers.ByteBuffer):Attacker {
35 * @param flatbuffers.ByteBuffer bb
39 static getRootAsAttacker(bb:flatbuffers.ByteBuffer, obj?:Attacker):Attacker {
44 * @param flatbuffers.ByteBuffer bb
48 static getSizePrefixedRootAsAttacker(bb:flatbuffers.ByteBuffer, obj?:Attacker):Attacker {
49 bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
77 * @param flatbuffers.Builder builder
[all …]
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
8 #include "flatbuffers/flexbuffers.h"
54 inline const flatbuffers::TypeTable *InParentNamespaceTypeTable();
58 inline const flatbuffers::TypeTable *MonsterTypeTable();
64 inline const flatbuffers::TypeTable *TestTypeTable();
66 inline const flatbuffers::TypeTable *TestSimpleTableWithEnumTypeTable();
68 inline const flatbuffers::TypeTable *Vec3TypeTable();
70 inline const flatbuffers::TypeTable *AbilityTypeTable();
72 inline const flatbuffers::TypeTable *StatTypeTable();
[all …]
/external/flatbuffers/tests/MyGame/Example/
DMonster.go1 // Code generated by the FlatBuffers compiler. DO NOT EDIT.
6 flatbuffers "github.com/google/flatbuffers/go" packageName
60 func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
63 inventoryOffset := flatbuffers.UOffsetT(0)
69 test4Offset := flatbuffers.UOffsetT(0)
78 testarrayofstringOffset := flatbuffers.UOffsetT(0)
81 testarrayofstringOffsets := make([]flatbuffers.UOffsetT, testarrayofstringLength)
91 testarrayoftablesOffset := flatbuffers.UOffsetT(0)
94 testarrayoftablesOffsets := make([]flatbuffers.UOffsetT, testarrayoftablesLength)
105 testnestedflatbufferOffset := flatbuffers.UOffsetT(0)
[all …]
/external/flatbuffers/tests/evolution_test/
Devolution_v2_generated.h1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
110 bool VerifyUnion(flatbuffers::Verifier &verifier, const void *obj, Union type);
111 …l VerifyUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
124 : a_(flatbuffers::EndianScalar(_a)),
126 b_(flatbuffers::EndianScalar(_b)) {
130 return flatbuffers::EndianScalar(a_);
133 return flatbuffers::EndianScalar(b_);
138 struct TableA FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
150 const flatbuffers::String *c() const {
[all …]
/external/flatbuffers/js/
Dflatbuffers.js18 var flatbuffers = {}; variable
23 flatbuffers.Offset;
27 * bb: flatbuffers.ByteBuffer,
31 flatbuffers.Table;
37 flatbuffers.SIZEOF_SHORT = 2;
43 flatbuffers.SIZEOF_INT = 4;
49 flatbuffers.FILE_IDENTIFIER_LENGTH = 4;
55 flatbuffers.SIZE_PREFIX_LENGTH = 4;
60 flatbuffers.Encoding = {
69 flatbuffers.int32 = new Int32Array(2);
[all …]

12345678910>>...41