/external/flatbuffers/include/flatbuffers/ |
D | reflection_generated.h | 102 struct Type FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 117 bool Verify(flatbuffers::Verifier &verifier) const { in Verify() 127 flatbuffers::FlatBufferBuilder &fbb_; 128 flatbuffers::uoffset_t start_; 138 explicit TypeBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TypeBuilder() 143 flatbuffers::Offset<Type> Finish() { in Finish() 145 auto o = flatbuffers::Offset<Type>(end); in Finish() 150 inline flatbuffers::Offset<Type> CreateType( 151 flatbuffers::FlatBufferBuilder &_fbb, 162 struct KeyValue FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { [all …]
|
/external/flatbuffers/src/ |
D | flatc_main.cpp | 21 static void Warn(const flatbuffers::FlatCompiler *flatc, in Warn() 28 static void Error(const flatbuffers::FlatCompiler *flatc, in Error() 39 const flatbuffers::FlatCompiler::Generator generators[] = { in main() 40 { flatbuffers::GenerateBinary, "-b", "--binary", "binary", false, nullptr, in main() 41 flatbuffers::IDLOptions::kBinary, in main() 43 flatbuffers::BinaryMakeRule }, in main() 44 { flatbuffers::GenerateTextFile, "-t", "--json", "text", false, nullptr, in main() 45 flatbuffers::IDLOptions::kJson, in main() 47 flatbuffers::TextMakeRule }, in main() 48 { flatbuffers::GenerateCPP, "-c", "--cpp", "C++", true, in main() [all …]
|
/external/flatbuffers/js/ |
D | flatbuffers.js | 18 var flatbuffers = {}; variable 23 flatbuffers.Offset; 31 flatbuffers.Table; 37 flatbuffers.SIZEOF_SHORT = 2; 43 flatbuffers.SIZEOF_INT = 4; 49 flatbuffers.FILE_IDENTIFIER_LENGTH = 4; 54 flatbuffers.Encoding = { 63 flatbuffers.int32 = new Int32Array(2); 69 flatbuffers.float32 = new Float32Array(flatbuffers.int32.buffer); 75 flatbuffers.float64 = new Float64Array(flatbuffers.int32.buffer); [all …]
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.go | 6 flatbuffers "github.com/google/flatbuffers/go" packageName 13 _tab flatbuffers.Table 16 func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster { 17 n := flatbuffers.GetUOffsetT(buf[offset:]) 23 func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) { 28 func (rcv *Monster) Table() flatbuffers.Table { 33 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 46 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 58 o := flatbuffers.UOffsetT(rcv._tab.Offset(8)) 70 o := flatbuffers.UOffsetT(rcv._tab.Offset(10)) [all …]
|
D | Monster.py | 5 import flatbuffers 13 n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) 20 self._tab = flatbuffers.table.Table(buf, pos) 24 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4)) 35 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) 37 return self._tab.Get(flatbuffers.number_types.Int16Flags, o + self._tab.Pos) 42 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) 44 return self._tab.Get(flatbuffers.number_types.Int16Flags, o + self._tab.Pos) 49 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10)) 56 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14)) [all …]
|
D | TypeAliases.go | 6 flatbuffers "github.com/google/flatbuffers/go" packageName 10 _tab flatbuffers.Table 13 func GetRootAsTypeAliases(buf []byte, offset flatbuffers.UOffsetT) *TypeAliases { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *TypeAliases) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *TypeAliases) Table() flatbuffers.Table { 30 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 42 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 54 o := flatbuffers.UOffsetT(rcv._tab.Offset(8)) 66 o := flatbuffers.UOffsetT(rcv._tab.Offset(10)) [all …]
|
D | TypeAliases.py | 5 import flatbuffers 12 n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) 19 self._tab = flatbuffers.table.Table(buf, pos) 23 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4)) 25 return self._tab.Get(flatbuffers.number_types.Int8Flags, o + self._tab.Pos) 30 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) 32 return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos) 37 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) 39 return self._tab.Get(flatbuffers.number_types.Int16Flags, o + self._tab.Pos) 44 o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10)) [all …]
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_generated.h | 428 …static void *UnPack(const void *obj, QuantizationDetails type, const flatbuffers::resolver_functio… 429 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f… 441 bool VerifyQuantizationDetails(flatbuffers::Verifier &verifier, const void *obj, QuantizationDetail… 442 …zationDetailsVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset… 1471 …static void *UnPack(const void *obj, BuiltinOptions type, const flatbuffers::resolver_function_t *… 1472 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f… 2172 bool VerifyBuiltinOptions(flatbuffers::Verifier &verifier, const void *obj, BuiltinOptions type); 2173 …uiltinOptionsVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset… 2422 struct CustomQuantizationT : public flatbuffers::NativeTable { 2429 struct CustomQuantization FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { [all …]
|
/external/flatbuffers/samples/ |
D | monster_generated.h | 24 inline const flatbuffers::TypeTable *Vec3TypeTable(); 26 inline const flatbuffers::TypeTable *MonsterTypeTable(); 28 inline const flatbuffers::TypeTable *WeaponTypeTable(); 129 …static void *UnPack(const void *obj, Equipment type, const flatbuffers::resolver_function_t *resol… 130 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f… 158 bool VerifyEquipment(flatbuffers::Verifier &verifier, const void *obj, Equipment type); 159 …rifyEquipmentVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset… 172 : x_(flatbuffers::EndianScalar(_x)), 173 y_(flatbuffers::EndianScalar(_y)), 174 z_(flatbuffers::EndianScalar(_z)) { [all …]
|
D | monster_generated.rs | 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() 98 impl<'a> flatbuffers::Follow<'a> for Equipment { [all …]
|
/external/flatbuffers/tests/ |
D | monster_test_generated.h | 66 inline const flatbuffers::TypeTable *InParentNamespaceTypeTable(); 70 inline const flatbuffers::TypeTable *MonsterTypeTable(); 76 inline const flatbuffers::TypeTable *TestTypeTable(); 78 inline const flatbuffers::TypeTable *TestSimpleTableWithEnumTypeTable(); 80 inline const flatbuffers::TypeTable *Vec3TypeTable(); 82 inline const flatbuffers::TypeTable *AbilityTypeTable(); 84 inline const flatbuffers::TypeTable *StatTypeTable(); 86 inline const flatbuffers::TypeTable *ReferrableTypeTable(); 88 inline const flatbuffers::TypeTable *MonsterTypeTable(); 90 inline const flatbuffers::TypeTable *TypeAliasesTypeTable(); [all …]
|
D | monster_test_generated.rs | 10 extern crate flatbuffers; 11 use self::flatbuffers::EndianScalar; 20 extern crate flatbuffers; 21 use self::flatbuffers::EndianScalar; 27 pub _tab: flatbuffers::Table<'a>, 30 impl<'a> flatbuffers::Follow<'a> for InParentNamespace<'a> { 35 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow() 42 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table() 49 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create() 50 _args: &'args InParentNamespaceArgs) -> flatbuffers::WIPOffset<InParentNamespace<'bldr>> { in create() [all …]
|
D | monster_test.grpc.fb.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() 51 …AsyncReaderInterface< flatbuffers::grpc::Message<Monster>>> PrepareAsyncRetrieve(::grpc::ClientCon… in PrepareAsyncRetrieve() [all …]
|
D | monster_test_generated.ts | 51 bb: flatbuffers.ByteBuffer|null = null; 59 __init(i:number, bb:flatbuffers.ByteBuffer):InParentNamespace { 70 static getRootAsInParentNamespace(bb:flatbuffers.ByteBuffer, obj?:InParentNamespace):InParentNamesp… 77 static startInParentNamespace(builder:flatbuffers.Builder) { 85 static endInParentNamespace(builder:flatbuffers.Builder):flatbuffers.Offset { 90 static createInParentNamespace(builder:flatbuffers.Builder):flatbuffers.Offset { 101 bb: flatbuffers.ByteBuffer|null = null; 109 __init(i:number, bb:flatbuffers.ByteBuffer):Monster { 120 static getRootAsMonster(bb:flatbuffers.ByteBuffer, obj?:Monster):Monster { 127 static startMonster(builder:flatbuffers.Builder) { [all …]
|
D | monster_test.grpc.fb.cc | 38 …ub::Store(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Monster>& request, flat… in Store() 42 …ResponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::AsyncStoreRaw(::grpc::Cli… in AsyncStoreRaw() 43 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in AsyncStoreRaw() 46 …ponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::PrepareAsyncStoreRaw(::grpc:… in PrepareAsyncStoreRaw() 47 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in PrepareAsyncStoreRaw() 50 …::ClientReader< flatbuffers::grpc::Message<Monster>>* MonsterStorage::Stub::RetrieveRaw(::grpc::Cl… in RetrieveRaw() 51 …return ::grpc::internal::ClientReaderFactory< flatbuffers::grpc::Message<Monster>>::Create(channel… in RetrieveRaw() 54 …AsyncReader< flatbuffers::grpc::Message<Monster>>* MonsterStorage::Stub::AsyncRetrieveRaw(::grpc::… in AsyncRetrieveRaw() 55 …return ::grpc::internal::ClientAsyncReaderFactory< flatbuffers::grpc::Message<Monster>>::Create(ch… in AsyncRetrieveRaw() 58 …ncReader< flatbuffers::grpc::Message<Monster>>* MonsterStorage::Stub::PrepareAsyncRetrieveRaw(::gr… in PrepareAsyncRetrieveRaw() [all …]
|
D | test.cpp | 27 using flatbuffers::unique_ptr; 62 flatbuffers::DetachedBuffer CreateFlatBufferTest(std::string &buffer) { in CreateFlatBufferTest() 63 flatbuffers::FlatBufferBuilder builder; in CreateFlatBufferTest() 99 flatbuffers::Offset<Monster> mlocs[3]; in CreateFlatBufferTest() 116 builder.CreateVector<flatbuffers::Offset<flatbuffers::String>>( in CreateFlatBufferTest() 118 [](size_t i, flatbuffers::FlatBufferBuilder *b) in CreateFlatBufferTest() 119 -> flatbuffers::Offset<flatbuffers::String> { in CreateFlatBufferTest() 148 flatbuffers::FlatBufferBuilder nested_builder; in CreateFlatBufferTest() 193 for (flatbuffers::uoffset_t i = 0; i < builder.GetSize(); i++) in CreateFlatBufferTest() 210 flatbuffers::Verifier verifier(flatbuf, length); in AccessFlatBufferTest() [all …]
|
D | monster_extra_generated.h | 16 inline const flatbuffers::TypeTable *MonsterExtraTypeTable(); 18 struct MonsterExtraT : public flatbuffers::NativeTable { 46 struct MonsterExtra FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 48 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable() 95 bool Verify(flatbuffers::Verifier &verifier) const { in Verify() 105 MonsterExtraT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const; 106 …void UnPackTo(MonsterExtraT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) cons… 107 …static flatbuffers::Offset<MonsterExtra> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterE… 111 flatbuffers::FlatBufferBuilder &fbb_; 112 flatbuffers::uoffset_t start_; [all …]
|
/external/flatbuffers/tests/union_vector/ |
D | union_vector_generated.h | 24 inline const flatbuffers::TypeTable *AttackerTypeTable(); 26 inline const flatbuffers::TypeTable *RapunzelTypeTable(); 28 inline const flatbuffers::TypeTable *BookReaderTypeTable(); 30 inline const flatbuffers::TypeTable *MovieTypeTable(); 94 …static void *UnPack(const void *obj, Character type, const flatbuffers::resolver_function_t *resol… 95 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f… 183 bool VerifyCharacter(flatbuffers::Verifier &verifier, const void *obj, Character type); 184 …rifyCharacterVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset… 195 : hair_length_(flatbuffers::EndianScalar(_hair_length)) { in Rapunzel() 198 return flatbuffers::EndianScalar(hair_length_); in hair_length() [all …]
|
D | union_vector_generated.ts | 20 bb: flatbuffers.ByteBuffer|null = null; 28 __init(i:number, bb:flatbuffers.ByteBuffer):Attacker { 39 static getRootAsAttacker(bb:flatbuffers.ByteBuffer, obj?:Attacker):Attacker { 69 static startAttacker(builder:flatbuffers.Builder) { 77 static addSwordAttackDamage(builder:flatbuffers.Builder, swordAttackDamage:number) { 85 static endAttacker(builder:flatbuffers.Builder):flatbuffers.Offset { 90 static createAttacker(builder:flatbuffers.Builder, swordAttackDamage:number):flatbuffers.Offset { 100 bb: flatbuffers.ByteBuffer|null = null; 108 __init(i:number, bb:flatbuffers.ByteBuffer):Rapunzel { 141 static createRapunzel(builder:flatbuffers.Builder, hair_length: number):flatbuffers.Offset { [all …]
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test2_generated.h | 27 inline const flatbuffers::TypeTable *TableInFirstNSTypeTable(); 33 inline const flatbuffers::TypeTable *TableInCTypeTable(); 39 inline const flatbuffers::TypeTable *SecondTableInATypeTable(); 41 struct TableInFirstNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 42 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable() 68 bool Verify(flatbuffers::Verifier &verifier) const { in Verify() 79 flatbuffers::FlatBufferBuilder &fbb_; 80 flatbuffers::uoffset_t start_; 81 void add_foo_table(flatbuffers::Offset<NamespaceA::NamespaceB::TableInNestedNS> foo_table) { in add_foo_table() 90 explicit TableInFirstNSBuilder(flatbuffers::FlatBufferBuilder &_fbb) in TableInFirstNSBuilder() [all …]
|
D | namespace_test1_generated.h | 16 inline const flatbuffers::TypeTable *TableInNestedNSTypeTable(); 18 inline const flatbuffers::TypeTable *StructInNestedNSTypeTable(); 63 : a_(flatbuffers::EndianScalar(_a)), in StructInNestedNS() 64 b_(flatbuffers::EndianScalar(_b)) { in StructInNestedNS() 67 return flatbuffers::EndianScalar(a_); in a() 70 flatbuffers::WriteScalar(&a_, _a); in mutate_a() 73 return flatbuffers::EndianScalar(b_); in b() 76 flatbuffers::WriteScalar(&b_, _b); in mutate_b() 81 struct TableInNestedNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 82 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable() [all …]
|
D | namespace_test2_generated.rs | 10 extern crate flatbuffers; 11 use self::flatbuffers::EndianScalar; 20 extern crate flatbuffers; 21 use self::flatbuffers::EndianScalar; 27 pub _tab: flatbuffers::Table<'a>, 30 impl<'a> flatbuffers::Follow<'a> for TableInFirstNS<'a> { 35 _tab: flatbuffers::Table { buf: buf, loc: loc }, in follow() 42 pub fn init_from_table(table: flatbuffers::Table<'a>) -> Self { in init_from_table() 49 _fbb: &'mut_bldr mut flatbuffers::FlatBufferBuilder<'bldr>, in create() 50 args: &'args TableInFirstNSArgs<'args>) -> flatbuffers::WIPOffset<TableInFirstNS<'bldr>> { in create() [all …]
|
D | namespace_test2_generated.ts | 9 bb: flatbuffers.ByteBuffer|null = null; 17 __init(i:number, bb:flatbuffers.ByteBuffer):TableInFirstNS { 28 static getRootAsTableInFirstNS(bb:flatbuffers.ByteBuffer, obj?:TableInFirstNS):TableInFirstNS { 76 static startTableInFirstNS(builder:flatbuffers.Builder) { 84 static addFooTable(builder:flatbuffers.Builder, fooTableOffset:flatbuffers.Offset) { 92 static addFooEnum(builder:flatbuffers.Builder, fooEnum:NS8755221360535654258.NamespaceA.NamespaceB.… 100 static addFooStruct(builder:flatbuffers.Builder, fooStructOffset:flatbuffers.Offset) { 108 static endTableInFirstNS(builder:flatbuffers.Builder):flatbuffers.Offset { 113 …flatbuffers.Builder, fooTableOffset:flatbuffers.Offset, fooEnum:NS8755221360535654258.NamespaceA.N… 127 bb: flatbuffers.ByteBuffer|null = null; [all …]
|
D | namespace_test1_generated.rs | 10 extern crate flatbuffers; 11 use self::flatbuffers::EndianScalar; 20 extern crate flatbuffers; 21 use self::flatbuffers::EndianScalar; 29 extern crate flatbuffers; 30 use self::flatbuffers::EndianScalar; 45 impl<'a> flatbuffers::Follow<'a> for EnumInNestedNS { 49 flatbuffers::read_scalar_at::<Self>(buf, loc) in follow() 53 impl flatbuffers::EndianScalar for EnumInNestedNS { 68 impl flatbuffers::Push for EnumInNestedNS { [all …]
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 20 extern crate flatbuffers; 81 fn create_serialized_example_with_generated_code(builder: &mut flatbuffers::FlatBufferBuilder) { in create_serialized_example_with_generated_code() 112 fn create_serialized_example_with_library_code(builder: &mut flatbuffers::FlatBufferBuilder) { in create_serialized_example_with_library_code() 211 flatbuffers::FlatBufferBuilder::new_with_capacity(flatbuffers::FLATBUFFERS_MAX_BUFFER_SIZE+1); in builder_abort_with_greater_than_maximum_buffer_size() 216 let mut b = flatbuffers::FlatBufferBuilder::new(); in builder_collapses_into_vec() 224 extern crate flatbuffers; 240 extern crate flatbuffers; 256 …let name: Option<&'static str> = monster._tab.get::<flatbuffers::ForwardsUOffset<&str>>(my_game::e… in table_get_field_from_static_buffer_1() 263 let table: flatbuffers::Table<'static> = flatbuffers::Table::new(&DATA, 0); in table_get_field_from_static_buffer_2() 288 extern crate flatbuffers; [all …]
|