/external/flatbuffers/src/ |
flatc_main.cpp | 17 #include "flatbuffers/flatc.h" 21 static void Warn(const flatbuffers::FlatCompiler *flatc, 31 static void Error(const flatbuffers::FlatCompiler *flatc, 48 const flatbuffers::FlatCompiler::Generator generators[] = { 49 { flatbuffers::GenerateBinary, "-b", "--binary", "binary", 51 flatbuffers::IDLOptions::kBinary, 53 flatbuffers::BinaryMakeRule }, 54 { flatbuffers::GenerateTextFile, "-t", "--json", "text", 56 flatbuffers::IDLOptions::kJson, 58 flatbuffers::TextMakeRule } [all...] |
/external/flatbuffers/go/ |
doc.go | 1 // Package flatbuffers provides facilities to read and write flatbuffers 3 package flatbuffers package
|
/external/flatbuffers/tests/MyGame/Example2/ |
Monster.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 10 _tab flatbuffers.Table 13 func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *Monster) Table() flatbuffers.Table { 29 func MonsterStart(builder *flatbuffers.Builder) { 32 func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT [all...] |
/external/flatbuffers/include/flatbuffers/ |
reflection_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 74 struct Type FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 89 bool Verify(flatbuffers::Verifier &verifier) const { 99 flatbuffers::FlatBufferBuilder &fbb_; 100 flatbuffers::uoffset_t start_; 110 TypeBuilder(flatbuffers::FlatBufferBuilder &_fbb) 115 flatbuffers::Offset<Type> Finish() { 117 auto o = flatbuffers::Offset<Type>(end) [all...] |
/external/flatbuffers/tests/union_vector/ |
union_vector_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 58 bool VerifyCharacter(flatbuffers::Verifier &verifier, const void *obj, Character type); 59 bool VerifyCharacterVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types); 61 struct MuLan FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 68 bool Verify(flatbuffers::Verifier &verifier) const [all...] |
/system/chre/platform/shared/include/chre/platform/shared/ |
host_protocol_common.h | 22 #include "flatbuffers/flatbuffers.h" 29 // FlatBuffers header file 57 flatbuffers::FlatBufferBuilder& builder, uint64_t appId, 62 static flatbuffers::Offset<flatbuffers::Vector<int8_t>> 63 addStringAsByteVector(flatbuffers::FlatBufferBuilder& builder, 73 * of flatbuffers::Offset::Union() on the message offset) 80 flatbuffers::FlatBufferBuilder& builder, fbs::ChreMessage messageType, 81 flatbuffers::Offset<void> message [all...] |
host_messages_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 32 /// A union that joins together all possible messages. Note that in FlatBuffers, 99 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type); 100 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types); 114 : client_id_(flatbuffers::EndianScalar(_client_id)) [all...] |
/external/flatbuffers/reflection/ |
generate_code.sh | 17 ../flatc -c --no-prefix -o ../include/flatbuffers reflection.fbs
|
/external/flatbuffers/java/com/google/flatbuffers/ |
Struct.java | 17 package com.google.flatbuffers;
|
Constants.java | 17 package com.google.flatbuffers;
|
/system/chre/external/flatbuffers/ |
flatbuffers.mk | 2 # FlatBuffers Makefile - include this and add $(FLATBUFFERS_CFLAGS) to the build 6 FLATBUFFERS_PATH = external/flatbuffers
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
TableInC.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 9 _tab flatbuffers.Table 12 func (rcv *TableInC) Init(buf []byte, i flatbuffers.UOffsetT) { 18 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 31 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 43 func TableInCStart(builder *flatbuffers.Builder) { builder.StartObject(2) } 44 func TableInCAddReferToA1(builder *flatbuffers.Builder, referToA1 flatbuffers.UOffsetT) { builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(referToA1), 0) [all...] |
SecondTableInA.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 10 _tab flatbuffers.Table 13 func GetRootAsSecondTableInA(buf []byte, offset flatbuffers.UOffsetT) *SecondTableInA { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *SecondTableInA) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *SecondTableInA) Table() flatbuffers.Table { 30 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 42 func SecondTableInAStart(builder *flatbuffers.Builder) [all...] |
TableInFirstNS.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 10 _tab flatbuffers.Table 13 func GetRootAsTableInFirstNS(buf []byte, offset flatbuffers.UOffsetT) *TableInFirstNS { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *TableInFirstNS) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *TableInFirstNS) Table() flatbuffers.Table { 30 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 43 o := flatbuffers.UOffsetT(rcv._tab.Offset(6) [all...] |
/external/flatbuffers/tests/ |
monster_test_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 103 flatbuffers::NativeTable *table; 123 static flatbuffers::NativeTable *UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *resolver); 124 flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_function_t *_rehasher = nullptr) const; 140 bool VerifyAny(flatbuffers::Verifier &verifier, const void *obj, Any type) [all...] |
monster_test.grpc.fb.h | 8 #include "flatbuffers/grpc.h" 34 virtual ::grpc::Status Store(::grpc::ClientContext* context, const flatbuffers::BufferRef<Monster>& request, flatbuffers::BufferRef<Stat>* response) = 0; 35 std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::BufferRef<Stat>>> AsyncStore(::grpc::ClientContext* context, const flatbuffers::BufferRef<Monster>& request, ::grpc::CompletionQueue* cq) { 36 return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::BufferRef<Stat>>>(AsyncStoreRaw(context, request, cq)); 38 std::unique_ptr< ::grpc::ClientReaderInterface< flatbuffers::BufferRef<Monster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::BufferRef<Stat>& request) { 39 return std::unique_ptr< ::grpc::ClientReaderInterface< flatbuffers::BufferRef<Monster>>>(RetrieveRaw(context, request)); 41 std::unique_ptr< ::grpc::ClientAsyncReaderInterface< flatbuffers::BufferRef<Monster>>> AsyncRetrieve(::grpc::ClientContext* context, const flatbuffers::BufferRef<S (…) [all...] |
/external/flatbuffers/tests/namespace_test/ |
namespace_test2_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 27 struct TableInFirstNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { 51 bool Verify(flatbuffers::Verifier &verifier) const { 53 VerifyField<flatbuffers::uoffset_t>(verifier, VT_FOO_TABLE) && 62 flatbuffers::FlatBufferBuilder &fbb_; 63 flatbuffers::uoffset_t start_; 64 void add_foo_table(flatbuffers::Offset<NamespaceA::NamespaceB::TableInNestedNS> foo_table) { 73 TableInFirstNSBuilder(flatbuffers::FlatBufferBuilder &_fbb [all...] |
/external/flatbuffers/tests/MyGame/Example/ |
Test.py | 1 # automatically generated by the FlatBuffers compiler, do not modify 5 import flatbuffers 12 self._tab = flatbuffers.table.Table(buf, pos) 15 def A(self): return self._tab.Get(flatbuffers.number_types.Int16Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def B(self): return self._tab.Get(flatbuffers.number_types.Int8Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(2))
|
TestSimpleTableWithEnum.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 10 _tab flatbuffers.Table 13 func GetRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table { 30 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 41 func TestSimpleTableWithEnumStart(builder *flatbuffers.Builder) [all...] |
TestSimpleTableWithEnum.py | 1 # automatically generated by the FlatBuffers compiler, do not modify 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)
|
Vec3.py | 1 # automatically generated by the FlatBuffers compiler, do not modify 5 import flatbuffers 12 self._tab = flatbuffers.table.Table(buf, pos) 15 def X(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def Y(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4)) 19 def Z(self): return self._tab.Get(flatbuffers.number_types.Float32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(8)) 21 def Test1(self): return self._tab.Get(flatbuffers.number_types.Float64Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(16) [all...] |
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
StructInNestedNS.py | 1 # automatically generated by the FlatBuffers compiler, do not modify 5 import flatbuffers 12 self._tab = flatbuffers.table.Table(buf, pos) 15 def A(self): return self._tab.Get(flatbuffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(0)) 17 def B(self): return self._tab.Get(flatbuffers.number_types.Int32Flags, self._tab.Pos + flatbuffers.number_types.UOffsetTFlags.py_type(4))
|
TableInNestedNS.go | 1 // automatically generated by the FlatBuffers compiler, do not modify 6 flatbuffers "github.com/google/flatbuffers/go" 10 _tab flatbuffers.Table 13 func GetRootAsTableInNestedNS(buf []byte, offset flatbuffers.UOffsetT) *TableInNestedNS { 14 n := flatbuffers.GetUOffsetT(buf[offset:]) 20 func (rcv *TableInNestedNS) Init(buf []byte, i flatbuffers.UOffsetT) { 25 func (rcv *TableInNestedNS) Table() flatbuffers.Table { 30 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 41 func TableInNestedNSStart(builder *flatbuffers.Builder) [all...] |
TableInNestedNS.py | 1 # automatically generated by the FlatBuffers compiler, do not modify 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.Int32Flags, o + self._tab.Pos)
|
/external/flatbuffers/samples/ |
monster_generated.h | 1 // automatically generated by the FlatBuffers compiler, do not modify 7 #include "flatbuffers/flatbuffers.h" 74 flatbuffers::NativeTable *table; 94 static flatbuffers::NativeTable *UnPack(const void *obj, Equipment type, const flatbuffers::resolver_function_t *resolver); 95 flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_function_t *_rehasher = nullptr) const; 103 bool VerifyEquipment(flatbuffers::Verifier &verifier, const void *obj, Equipment type) [all...] |