/third_party/flatbuffers/src/ |
D | idl_gen_rust.cpp | 202 bool IsBitFlagsEnum(const FieldDef &field) { in IsBitFlagsEnum() 209 bool IsOptionalToBuilder(const FieldDef &field) { in IsOptionalToBuilder() 916 std::string GetFieldOffsetName(const FieldDef &field) { in GetFieldOffsetName() 921 std::string GetDefaultValue(const FieldDef &field, in GetDefaultValue() 1004 std::string TableBuilderArgsDefnType(const FieldDef &field, in TableBuilderArgsDefnType() 1078 std::string ObjectFieldType(const FieldDef &field, bool in_a_table) { in ObjectFieldType() 1163 std::string TableBuilderArgsAddFuncType(const FieldDef &field, in TableBuilderArgsAddFuncType() 1244 std::string TableBuilderArgsAddFuncBody(const FieldDef &field) { in TableBuilderArgsAddFuncBody() 1296 std::string GenTableAccessorFuncReturnType(const FieldDef &field, in GenTableAccessorFuncReturnType() 1452 std::string GenTableAccessorFuncBody(const FieldDef &field, in GenTableAccessorFuncBody() [all …]
|
D | idl_gen_python.cpp | 56 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix() 159 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen() 171 void GetVectorIsNone(const StructDef &struct_def, const FieldDef &field, in GetVectorIsNone() 187 const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfStruct() 198 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable() 224 const FieldDef &field, std::string *code_ptr) { 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() 285 void GetStringField(const StructDef &struct_def, const FieldDef &field, in GetStringField() 298 void GetUnionField(const StructDef &struct_def, const FieldDef &field, in GetUnionField() [all …]
|
D | idl_gen_lua.cpp | 56 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix() 152 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen() 168 const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfStruct() 181 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable() 207 const FieldDef &field, std::string *code_ptr) { 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() 260 void GetUnionField(const StructDef &struct_def, const FieldDef &field, in GetUnionField() 290 const FieldDef &field, std::string *code_ptr) { in GetMemberOfVectorOfStruct() 318 const FieldDef &field, in GetMemberOfVectorOfNonStruct() [all …]
|
D | idl_gen_go.cpp | 131 std::string OffsetPrefix(const FieldDef &field) { in OffsetPrefix() 313 void GetVectorLen(const StructDef &struct_def, const FieldDef &field, in GetVectorLen() 325 void GetUByteSlice(const StructDef &struct_def, const FieldDef &field, in GetUByteSlice() 338 const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfStruct() 352 void GetScalarFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetScalarFieldOfTable() 369 const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfStruct() 387 void GetStructFieldOfTable(const StructDef &struct_def, const FieldDef &field, in GetStructFieldOfTable() 409 void GetStringField(const StructDef &struct_def, const FieldDef &field, in GetStringField() 421 void GetUnionField(const StructDef &struct_def, const FieldDef &field, in GetUnionField() 436 const FieldDef &field, std::string *code_ptr) { in GetMemberOfVectorOfStruct() [all …]
|
D | idl_gen_php.cpp | 177 static void GetVectorLen(const FieldDef &field, std::string *code_ptr) { in GetVectorLen() 194 static void GetUByte(const FieldDef &field, std::string *code_ptr) { in GetUByte() 209 static void GetScalarFieldOfStruct(const FieldDef &field, in GetScalarFieldOfStruct() 233 void GetScalarFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetScalarFieldOfTable() 254 void GetStructFieldOfStruct(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfStruct() 273 void GetStructFieldOfTable(const FieldDef &field, std::string *code_ptr) { in GetStructFieldOfTable() 296 void GetStringField(const FieldDef &field, std::string *code_ptr) { in GetStringField() 311 void GetUnionField(const FieldDef &field, std::string *code_ptr) { in GetUnionField() 329 const FieldDef &field, std::string *code_ptr) { in GetMemberOfVectorOfStruct() 388 void GetMemberOfVectorOfNonStruct(const FieldDef &field, in GetMemberOfVectorOfNonStruct() [all …]
|
D | idl_gen_dart.cpp | 329 const FieldDef &def, in GenReaderTypeName() 353 const FieldDef &def, bool addBuilder = false) { in GenDartTypeName() 392 const FieldDef &field) { in MaybeWrapNamespace() 448 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields; in GenStruct() 504 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in GenImplementationGetters() 633 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in GenBuilder() 656 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in StructBuilderBody() 701 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in TableBuilderBody() 746 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in GenObjectBuilder() 864 std::vector<std::pair<int, FieldDef *>> non_deprecated_fields, in StructObjectBuilderBody() [all …]
|
D | idl_gen_kotlin.cpp | 164 std::string GetterReturnType(const FieldDef &field) const { in GetterReturnType() 185 std::string GenEnumDefaultValue(const FieldDef &field) const { in GenEnumDefaultValue() 199 std::string GenFBBDefaultValue(const FieldDef &field) const { in GenFBBDefaultValue() 226 std::string GenFBBValueCast(const FieldDef &field) const { in GenFBBValueCast() 233 std::string GenDefaultValue(const FieldDef &field, in GenDefaultValue() 371 std::string GenLookupByKey(flatbuffers::FieldDef *key_field, in GenLookupByKey() 441 std::string GenOffsetGetter(flatbuffers::FieldDef *key_field, in GenOffsetGetter() 490 FieldDef *key_field = nullptr; in GenStruct() 549 void GenerateLookupByKey(FieldDef *key_field, StructDef &struct_def, in GenerateLookupByKey() 660 void GenerateCreateVectorField(FieldDef &field, CodeWriter &writer, in GenerateCreateVectorField() [all …]
|
D | idl_gen_cpp.cpp | 717 const std::string &PtrType(const FieldDef *field) { in PtrType() 722 const std::string NativeString(const FieldDef *field) { in NativeString() 729 bool FlexibleStringConstructor(const FieldDef *field) { in FlexibleStringConstructor() 738 std::string GenTypeNativePtr(const std::string &type, const FieldDef *field, in GenTypeNativePtr() 753 std::string GenPtrGet(const FieldDef &field) { in GenPtrGet() 767 const FieldDef &field) { in GenTypeNative() 1599 std::string GenUnderlyingCast(const FieldDef &field, bool from, in GenUnderlyingCast() 1613 std::string GenFieldOffsetName(const FieldDef &field) { in GenFieldOffsetName() 1630 std::string GenDefaultConstant(const FieldDef &field) { in GenDefaultConstant() 1637 std::string GetDefaultScalarValue(const FieldDef &field, bool is_ctor) { in GetDefaultScalarValue() [all …]
|
D | idl_gen_text.cpp | 239 template<typename T> static T GetFieldDefault(const FieldDef &fd) { in GetFieldDefault() 249 bool GenField(const FieldDef &fd, const Table *table, bool fixed, in GenField() 259 bool GenFieldOffset(const FieldDef &fd, const Table *table, bool fixed, in GenFieldOffset() 293 FieldDef &fd = **it; in GenStruct()
|
D | idl_gen_swift.cpp | 447 flatbuffers::FieldDef *key_field = nullptr; in GenTableWriter() 533 void GenTableWriterFields(const FieldDef &field, in GenTableWriterFields() 646 void GenTableReaderFields(const FieldDef &field) { in GenTableReaderFields() 742 void GenTableReaderVectorFields(const FieldDef &field) { in GenTableReaderVectorFields() 834 void GenByKeyFunctions(const FieldDef &key_field) { in GenByKeyFunctions() 1055 void GenerateVectorObjectAPITableExtension(const FieldDef &field, in GenerateVectorObjectAPITableExtension() 1143 const FieldDef &field, bool is_fixed, in BuildObjectAPIConstructorBody() 1236 const FieldDef &field, const std::string &name, in BuildObjectAPIConstructorBodyVectors() 1357 void GenLookup(const FieldDef &key_field) { in GenLookup() 1407 inline void GenPadding(const FieldDef &field, int *id) { in GenPadding() [all …]
|
D | idl_gen_java.cpp | 256 std::string GenEnumDefaultValue(const FieldDef &field) const { in GenEnumDefaultValue() 265 std::string GenDefaultValue(const FieldDef &field) const { in GenDefaultValue() 290 std::string GenDefaultValueBasic(const FieldDef &field) const { in GenDefaultValueBasic() 380 std::string GenGetterForLookupByKey(flatbuffers::FieldDef *key_field, in GenGetterForLookupByKey() 506 std::string GenOffsetGetter(flatbuffers::FieldDef *key_field, in GenOffsetGetter() 520 std::string GenLookupKeyGetter(flatbuffers::FieldDef *key_field) const { in GenLookupKeyGetter() 539 std::string GenKeyGetter(flatbuffers::FieldDef *key_field) const { in GenKeyGetter() 940 flatbuffers::FieldDef *key_field = nullptr; in GenStruct() 1164 std::string GenOptionalScalarCheck(FieldDef &field) const { in GenOptionalScalarCheck()
|
D | idl_gen_csharp.cpp | 206 std::string GenEnumDefaultValue(const FieldDef &field) const { in GenEnumDefaultValue() 215 std::string GenDefaultValue(const FieldDef &field, in GenDefaultValue() 243 std::string GenDefaultValue(const FieldDef &field) const { in GenDefaultValue() 247 std::string GenDefaultValueBasic(const FieldDef &field, in GenDefaultValueBasic() 266 std::string GenDefaultValueBasic(const FieldDef &field) const { in GenDefaultValueBasic() 345 std::string GenGetterForLookupByKey(flatbuffers::FieldDef *key_field, in GenGetterForLookupByKey() 474 std::string GenOffsetGetter(flatbuffers::FieldDef *key_field, in GenOffsetGetter() 488 std::string GenLookupKeyGetter(flatbuffers::FieldDef *key_field) const { in GenLookupKeyGetter() 505 std::string GenKeyGetter(flatbuffers::FieldDef *key_field) const { in GenKeyGetter() 955 std::set<flatbuffers::FieldDef *> field_has_create_set; in GenStruct() [all …]
|
D | idl_parser.cpp | 716 const Type &type, FieldDef **dest) { in AddField() 717 auto &field = *new FieldDef(); in AddField() 777 FieldDef *typefield = nullptr; in ParseField() 799 FieldDef *field; in ParseField() 889 field->presence = FieldDef::MakeFieldPresence(optional, required); in ParseField() 1055 CheckedError Parser::ParseAnyValue(Value &val, FieldDef *field, in ParseAnyValue() 1411 const FieldDef &key) { in CompareSerializedScalars() 1432 const FieldDef &key) { in CompareTablesByScalarKey() 1445 const FieldDef &key) { in CompareTablesByStringKey() 1513 FieldDef *field, size_t fieldn) { in ParseVector() [all …]
|
D | idl_gen_json_schema.cpp | 239 std::vector<FieldDef *> requiredProperties; in generate() 242 [](FieldDef const *prop) { return prop->IsRequired(); }); in generate()
|
D | code_generators.cpp | 202 const FieldDef &field) const { in GenFloatConstantImpl() 218 const FieldDef &field) const { in GenFloatConstant()
|
D | idl_gen_ts.cpp | 213 std::string GenDefaultValue(const FieldDef &field, const std::string &context, in GenDefaultValue() 1036 [](const FieldDef *f) -> bool { in CanCreateFactoryMethod() 1536 static bool HasNullDefault(const FieldDef &field) { in HasNullDefault() 1541 const FieldDef &field, bool allowNull) { in GetArgType() 1546 static std::string GetArgName(const FieldDef &field) { in GetArgName()
|
D | idl_gen_lobster.cpp | 100 void GenStructAccessor(const StructDef &struct_def, const FieldDef &field, in GenStructAccessor()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | idl.h | 291 struct FieldDef : public Definition { struct 292 FieldDef() in FieldDef() argument 342 return required ? FieldDef::kRequired in MakeFieldPresence() argument 343 : optional ? FieldDef::kOptional in MakeFieldPresence() 344 : FieldDef::kDefault; in MakeFieldPresence() 373 SymbolTable<FieldDef> fields; argument 905 FieldDef **dest); 909 FLATBUFFERS_CHECKED_ERROR ParseAnyValue(Value &val, FieldDef *field, 926 FieldDef *field, size_t fieldn); 929 Value &val, FieldDef *field, size_t fieldn, [all …]
|
D | code_generators.h | 168 std::string GenFloatConstant(const FieldDef &field) const; 180 std::string GenFloatConstantImpl(const FieldDef &field) const;
|