Home
last modified time | relevance | path

Searched refs:StructDef (Results 1 – 18 of 18) sorted by relevance

/third_party/flatbuffers/src/
Didl_gen_lua.cpp63 void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass()
107 void GenerateNewObjectPrototype(const StructDef &struct_def, in GenerateNewObjectPrototype()
121 void NewRootTypeFromBuffer(const StructDef &struct_def, in NewRootTypeFromBuffer()
141 void InitializeExisting(const StructDef &struct_def, std::string *code_ptr) { in InitializeExisting()
152 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen()
167 void GetScalarFieldOfStruct(const StructDef &struct_def, in GetScalarFieldOfStruct()
181 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable()
206 void GetStructFieldOfStruct(const StructDef &struct_def, in GetStructFieldOfStruct()
221 void GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetStructFieldOfTable()
245 void GetStringField(const StructDef &struct_def, const FieldDef &field, in GetStringField()
[all …]
Didl_gen_python.cpp64 void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass()
123 void NewRootTypeFromBuffer(const StructDef &struct_def, in NewRootTypeFromBuffer()
149 void InitializeExisting(const StructDef &struct_def, std::string *code_ptr) { in InitializeExisting()
159 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen()
171 void GetVectorIsNone(const StructDef &struct_def, const FieldDef &field, in GetVectorIsNone()
186 void GetScalarFieldOfStruct(const StructDef &struct_def, in GetScalarFieldOfStruct()
198 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable()
223 void GetStructFieldOfStruct(const StructDef &struct_def, in GetStructFieldOfStruct()
235 void GetArrayOfStruct(const StructDef &struct_def, const FieldDef &field, in GetArrayOfStruct()
260 void GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetStructFieldOfTable()
[all …]
Didl_gen_go.cpp137 void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass()
255 void NewRootTypeFromBuffer(const StructDef &struct_def, in NewRootTypeFromBuffer()
285 void InitializeExisting(const StructDef &struct_def, std::string *code_ptr) { in InitializeExisting()
297 void GenTableAccessor(const StructDef &struct_def, std::string *code_ptr) { in GenTableAccessor()
313 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen()
325 void GetUByteSlice(const StructDef &struct_def, const FieldDef &field, in GetUByteSlice()
337 void GetScalarFieldOfStruct(const StructDef &struct_def, in GetScalarFieldOfStruct()
352 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable()
368 void GetStructFieldOfStruct(const StructDef &struct_def, in GetStructFieldOfStruct()
387 void GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetStructFieldOfTable()
[all …]
Didl_gen_lobster.cpp100 void GenStructAccessor(const StructDef &struct_def, const FieldDef &field, in GenStructAccessor()
188 void GenTableBuilders(const StructDef &struct_def, std::string *code_ptr) { in GenTableBuilders()
238 void GenStructPreDecl(const StructDef &struct_def, std::string *code_ptr) { in GenStructPreDecl()
246 void GenStruct(const StructDef &struct_def, std::string *code_ptr) { in GenStruct()
293 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs()
315 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody()
337 void GenStructBuilder(const StructDef &struct_def, std::string *code_ptr) { in GenStructBuilder()
Didl_gen_php.cpp100 static void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass()
138 static void NewRootTypeFromBuffer(const StructDef &struct_def, in NewRootTypeFromBuffer()
159 static void InitializeExisting(const StructDef &struct_def, in InitializeExisting()
328 void GetMemberOfVectorOfStruct(const StructDef &struct_def, in GetMemberOfVectorOfStruct()
443 static void StructBuilderArgs(const StructDef &struct_def, in StructBuilderArgs()
465 static void StructBuilderBody(const StructDef &struct_def, in StructBuilderBody()
489 static void GetStartOfTable(const StructDef &struct_def, in GetStartOfTable()
633 void GetEndOffsetOnTable(const StructDef &struct_def, std::string *code_ptr) { in GetEndOffsetOnTable()
673 void GenStructAccessor(const StructDef &struct_def, const FieldDef &field, in GenStructAccessor()
717 void GenTableBuilders(const StructDef &struct_def, std::string *code_ptr) { in GenTableBuilders()
[all …]
Didl_gen_kotlin.cpp387 static void GenStructArgs(const StructDef &struct_def, CodeWriter &writer, in GenStructArgs()
410 static void GenStructBody(const StructDef &struct_def, CodeWriter &writer, in GenStructBody()
455 void GenStruct(StructDef &struct_def, CodeWriter &writer, in GenStruct()
549 void GenerateLookupByKey(FieldDef *key_field, StructDef &struct_def, in GenerateLookupByKey()
609 void GenerateFinishSizePrefixed(StructDef &struct_def, in GenerateFinishSizePrefixed()
621 void GenerateFinishStructBuffer(StructDef &struct_def, in GenerateFinishStructBuffer()
634 void GenerateEndStructMethod(StructDef &struct_def, CodeWriter &writer, in GenerateEndStructMethod()
763 void GenerateStartStructMethod(StructDef &struct_def, CodeWriter &code, in GenerateStartStructMethod()
774 void GenerateTableCreator(StructDef &struct_def, CodeWriter &writer, in GenerateTableCreator()
854 void GenerateBufferHasIdentifier(StructDef &struct_def, CodeWriter &writer, in GenerateBufferHasIdentifier()
[all …]
Didl_gen_swift.cpp185 void GenStructReader(const StructDef &struct_def) { in GenStructReader()
257 void GenMutableStructReader(const StructDef &struct_def) { in GenMutableStructReader()
301 void GenStructWriter(const StructDef &struct_def) { in GenStructWriter()
327 void GenerateStructArgs(const StructDef &struct_def, std::string *code_ptr, in GenerateStructArgs()
368 void GenTable(const StructDef &struct_def) { in GenTable()
383 void GenTableAccessors(const StructDef &struct_def) { in GenTableAccessors()
404 void GenObjectHeader(const StructDef &struct_def) { in GenObjectHeader()
446 void GenTableWriter(const StructDef &struct_def) { in GenTableWriter()
637 void GenTableReader(const StructDef &struct_def) { in GenTableReader()
925 void GenerateObjectAPIStructConstructor(const StructDef &struct_def) { in GenerateObjectAPIStructConstructor()
[all …]
Didl_gen_cpp.cpp705 static std::string NativeName(const std::string &name, const StructDef *sd, in NativeName()
711 std::string WrapNativeNameInNameSpace(const StructDef &struct_def, in WrapNativeNameInNameSpace()
931 std::string TableCreateSignature(const StructDef &struct_def, bool predecl, in TableCreateSignature()
940 std::string TablePackSignature(const StructDef &struct_def, bool inclass, in TablePackSignature()
950 std::string TableUnPackSignature(const StructDef &struct_def, bool inclass, in TableUnPackSignature()
958 std::string TableUnPackToSignature(const StructDef &struct_def, bool inclass, in TableUnPackToSignature()
966 void GenMiniReflectPre(const StructDef *struct_def) { in GenMiniReflectPre()
972 void GenMiniReflect(const StructDef *struct_def, const EnumDef *enum_def) { in GenMiniReflect()
1619 void GenFullyQualifiedNameGetter(const StructDef &struct_def, in GenFullyQualifiedNameGetter()
1740 void GenDefaultConstructor(const StructDef &struct_def) { in GenDefaultConstructor()
[all …]
Didl_gen_dart.cpp411 void GenStruct(const StructDef &struct_def, in GenStruct()
503 const StructDef &struct_def, in GenImplementationGetters()
606 void GenReader(const StructDef &struct_def, std::string *reader_name_ptr, in GenReader()
632 void GenBuilder(const StructDef &struct_def, in GenBuilder()
655 const StructDef &struct_def, in StructBuilderBody()
700 const StructDef &struct_def, in TableBuilderBody()
745 const StructDef &struct_def, in GenObjectBuilder()
Didl_gen_ts.cpp307 void GenStructArgs(import_set &imports, const StructDef &struct_def, in GenStructArgs()
326 static void GenStructBody(const StructDef &struct_def, std::string *body, in GenStructBody()
356 void GenerateRootAccessor(StructDef &struct_def, std::string *code_ptr, in GenerateRootAccessor()
377 void GenerateFinisher(StructDef &struct_def, std::string *code_ptr, in GenerateFinisher()
399 static std::string GetObjApiClassName(const StructDef &sd, in GetObjApiClassName()
452 const StructDef &dependency) { in AddImport()
724 std::string GenStructMemberValueTS(const StructDef &struct_def, in GenStructMemberValueTS()
753 void GenObjApi(const Parser &parser, StructDef &struct_def, in GenObjApi()
1030 static bool CanCreateFactoryMethod(const StructDef &struct_def) { in CanCreateFactoryMethod()
1043 void GenStruct(const Parser &parser, StructDef &struct_def, in GenStruct()
[all …]
Didl_parser.cpp608 StructDef *Parser::LookupStruct(const std::string &id) const { in LookupStruct()
614 StructDef *Parser::LookupStructThruParentNamespaces( in LookupStructThruParentNamespaces()
715 CheckedError Parser::AddField(StructDef &struct_def, const std::string &name, in AddField()
739 CheckedError Parser::ParseField(StructDef &struct_def) { in ParseField()
1057 const StructDef *parent_struct_def, in ParseAnyValue()
1182 void Parser::SerializeStruct(const StructDef &struct_def, const Value &val) { in SerializeStruct()
1187 const StructDef &struct_def, const Value &val) { in SerializeStruct()
1197 const StructDef *struct_def, F body) { in ParseTableDelimiters()
1236 CheckedError Parser::ParseTable(const StructDef &struct_def, std::string *value, in ParseTable()
1245 const StructDef *struct_def_inner) -> CheckedError { in ParseTable()
[all …]
Didl_gen_rust.cpp428 bool TableBuilderArgsNeedsLifetime(const StructDef &struct_def) const { in TableBuilderArgsNeedsLifetime()
1479 void GenFullyQualifiedNameGetter(const StructDef &struct_def, in GenFullyQualifiedNameGetter()
1508 void ForAllTableFields(const StructDef &struct_def, in ForAllTableFields()
1530 void GenTable(const StructDef &struct_def) { in GenTable()
2022 void GenTableObject(const StructDef &table) { in GenTableObject()
2158 void ForAllObjectTableFields(const StructDef &table, in ForAllObjectTableFields()
2209 void GenRootTableFuncs(const StructDef &struct_def) { in GenRootTableFuncs()
2417 void ForAllStructFields(const StructDef &struct_def, in ForAllStructFields()
2436 void GenStruct(const StructDef &struct_def) { in GenStruct()
Didl_gen_csharp.cpp167 std::string GenOffsetType(const StructDef &struct_def) const { in GenOffsetType()
171 std::string GenOffsetConstruct(const StructDef &struct_def, in GenOffsetConstruct()
383 void GenStructArgs(const StructDef &struct_def, std::string *code_ptr, in GenStructArgs()
418 void GenStructBody(const StructDef &struct_def, std::string *code_ptr, in GenStructBody()
521 void GenStruct(StructDef &struct_def, std::string *code_ptr, in GenStruct()
1225 void GenVectorAccessObject(StructDef &struct_def, in GenVectorAccessObject()
1485 StructDef &struct_def, std::string *code_ptr, const IDLOptions &opts, in GenPackUnPack_ObjectAPI()
1806 const StructDef &struct_def, std::string *code_ptr, in GenStructPackDecl_ObjectAPI()
1881 void GenStructPackCall_ObjectAPI(const StructDef &struct_def, in GenStructPackCall_ObjectAPI()
1940 void GenStruct_ObjectAPI(StructDef &struct_def, std::string *code_ptr, in GenStruct_ObjectAPI()
Didl_gen_text.cpp286 bool GenStruct(const StructDef &struct_def, const Table *table, int indent) { in GenStruct()
353 const StructDef &struct_def, std::string *_text) { in GenerateTextImpl()
Didl_gen_fbs.cpp125 StructDef &struct_def = **it; in GenerateFBS()
Didl_gen_java.cpp417 void GenStructArgs(const StructDef &struct_def, std::string *code_ptr, in GenStructArgs()
448 void GenStructBody(const StructDef &struct_def, std::string *code_ptr, in GenStructBody()
563 void GenStruct(StructDef &struct_def, std::string *code_ptr) const { in GenStruct()
1171 void GenVectorAccessObject(StructDef &struct_def, in GenVectorAccessObject()
Didl_gen_grpc.cpp64 std::string GRPCType(const StructDef &sd) const { in GRPCType()
/third_party/flatbuffers/include/flatbuffers/
Didl.h155 struct StructDef;
162 explicit Type(BaseType _base_type = BASE_TYPE_NONE, StructDef *_sd = nullptr,
185 StructDef *struct_def; // only set if t or element == BASE_TYPE_STRUCT
349 StructDef *nested_flatbuffer; // This field contains nested FlatBuffer data.
353 struct StructDef : public Definition { struct
354 StructDef() in StructDef() argument
532 StructDef *request, *response;
874 StructDef *LookupStruct(const std::string &id) const;
875 StructDef *LookupStructThruParentNamespaces(const std::string &id) const;
903 FLATBUFFERS_CHECKED_ERROR AddField(StructDef &struct_def,
[all …]