Home
last modified time | relevance | path

Searched defs:enum_def (Results 1 – 21 of 21) sorted by relevance

/third_party/flatbuffers/src/
Didl_gen_go.cpp149 std::string GetEnumTypeName(const EnumDef &enum_def) { in GetEnumTypeName()
155 void GenEnumType(const EnumDef &enum_def, std::string *code_ptr) { in GenEnumType()
168 void EnumMember(const EnumDef &enum_def, const EnumVal &ev, in EnumMember()
188 void BeginEnumNames(const EnumDef &enum_def, std::string *code_ptr) { in BeginEnumNames()
196 void EnumNameMember(const EnumDef &enum_def, const EnumVal &ev, in EnumNameMember()
216 void EnumStringer(const EnumDef &enum_def, std::string *code_ptr) { in EnumStringer()
228 void BeginEnumValues(const EnumDef &enum_def, std::string *code_ptr) { in BeginEnumValues()
236 void EnumValueMember(const EnumDef &enum_def, const EnumVal &ev, in EnumValueMember()
818 void GenNativeUnion(const EnumDef &enum_def, std::string *code_ptr) { in GenNativeUnion()
826 void GenNativeUnionPack(const EnumDef &enum_def, std::string *code_ptr) { in GenNativeUnionPack()
[all …]
Didl_gen_rust.cpp199 bool IsBitFlagsEnum(const EnumDef &enum_def) { in IsBitFlagsEnum()
352 const auto &enum_def = **it; in generate() local
609 std::string GetEnumValue(const EnumDef &enum_def, in GetEnumValue()
615 void ForAllEnumValues1(const EnumDef &enum_def, in ForAllEnumValues1()
624 void ForAllEnumValues(const EnumDef &enum_def, std::function<void()> cb) { in ForAllEnumValues()
635 void GenEnum(const EnumDef &enum_def) { in GenEnum()
806 void ForAllUnionObjectVariantsBesidesNone(const EnumDef &enum_def, in ForAllUnionObjectVariantsBesidesNone()
819 void GenUnionObject(const EnumDef &enum_def) { in GenUnionObject()
1622 const auto &enum_def = *type.enum_def; in GenTable() local
Didl_gen_json_schema.cpp27 template<class T> std::string GenFullName(const T *enum_def) { in GenFullName()
37 template<class T> std::string GenTypeRef(const T *enum_def) { in GenTypeRef()
Didl_gen_cpp.cpp383 const auto &enum_def = **it; in generate() local
419 const auto &enum_def = **it; in generate() local
431 const auto &enum_def = **it; in generate() local
867 std::string GenEnumValDecl(const EnumDef &enum_def, in GenEnumValDecl()
872 std::string GetEnumValUse(const EnumDef &enum_def, in GetEnumValUse()
903 std::string UnionVerifySignature(const EnumDef &enum_def) { in UnionVerifySignature()
909 std::string UnionVectorVerifySignature(const EnumDef &enum_def) { in UnionVectorVerifySignature()
916 std::string UnionUnPackSignature(const EnumDef &enum_def, bool inclass) { in UnionUnPackSignature()
923 std::string UnionPackSignature(const EnumDef &enum_def, bool inclass) { in UnionPackSignature()
972 void GenMiniReflect(const StructDef *struct_def, const EnumDef *enum_def) { in GenMiniReflect()
[all …]
Didl_gen_dart.cpp166 auto &enum_def = **it; in GenerateEnums() local
221 void GenEnum(EnumDef &enum_def, namespace_code_map *namespace_code) { in GenEnum()
289 void GenEnumReader(EnumDef &enum_def, const std::string &name, in GenEnumReader()
523 auto &enum_def = *field.value.type.enum_def; in GenImplementationGetters() local
Didl_gen_ts.cpp87 auto &enum_def = **it; in generateEnums() local
133 void GenEnum(EnumDef &enum_def, std::string *code_ptr, import_set &imports, in GenEnum()
585 std::string GenUnionConvFuncName(const EnumDef &enum_def) { in GenUnionConvFuncName()
589 std::string GenUnionListConvFuncName(const EnumDef &enum_def) { in GenUnionListConvFuncName()
595 const auto &enum_def = *union_type.enum_def; in GenUnionConvFunc() local
660 const auto &enum_def = *union_type.enum_def; in GenUnionValTS() local
Didl_gen_fbs.cpp101 EnumDef &enum_def = **enum_def_it; in GenerateFBS() local
Didl_gen_lobster.cpp276 void GenEnum(const EnumDef &enum_def, std::string *code_ptr) { in GenEnum()
361 auto &enum_def = **it; in generate() local
Didl_gen_csharp.cpp61 auto &enum_def = **it; in generate() local
209 auto &enum_def = *value.type.enum_def; in GenEnumDefaultValue() local
270 void GenEnum(EnumDef &enum_def, std::string *code_ptr, in GenEnum()
1283 void GenEnum_ObjectAPI(EnumDef &enum_def, std::string *code_ptr, in GenEnum_ObjectAPI()
1434 void GenUnionUnPack_ObjectAPI(const EnumDef &enum_def, std::string *code_ptr, in GenUnionUnPack_ObjectAPI()
Didl_gen_php.cpp45 auto &enum_def = **it; in GenerateEnums() local
122 static void EnumMember(const EnumDef &enum_def, const EnumVal &ev, in EnumMember()
811 static void GenEnum(const EnumDef &enum_def, std::string *code_ptr) { in GenEnum()
Didl_gen_python.cpp107 void EnumMember(const EnumDef &enum_def, const EnumVal &ev, in EnumMember()
885 auto enum_def = field.value.type.enum_def; in GenUnionInit() local
1560 void GenUnionCreatorForStruct(const EnumDef &enum_def, const EnumVal &ev, in GenUnionCreatorForStruct()
1578 void GenUnionCreatorForString(const EnumDef &enum_def, const EnumVal &ev, in GenUnionCreatorForString()
1592 void GenUnionCreator(const EnumDef &enum_def, std::string *code_ptr) { in GenUnionCreator()
1620 void GenEnum(const EnumDef &enum_def, std::string *code_ptr) { in GenEnum()
1709 auto &enum_def = **it; in generateEnums() local
Didl_gen_lua.cpp94 void EnumMember(const EnumDef &enum_def, const EnumVal &ev, in EnumMember()
585 void GenEnum(const EnumDef &enum_def, std::string *code_ptr) { in GenEnum()
678 auto &enum_def = **it; in generateEnums() local
Didl_gen_java.cpp56 auto &enum_def = **it; in generate() local
259 auto &enum_def = *value.type.enum_def; in GenEnumDefaultValue() local
296 void GenEnum(EnumDef &enum_def, std::string *code_ptr) const { in GenEnum()
Didl_parser.cpp625 auto enum_def = LookupEnum(id); in ParseTypeIdent() local
1752 const auto enum_def = LookupEnum(enum_def_str); in ParseEnumFromString() local
2279 EnumDef &enum_def; member
2289 EnumDef *enum_def; in ParseEnum() local
2726 EnumDef *enum_def; in ParseProtoDecl() local
2752 auto &enum_def = *new EnumDef(); in StartEnum() local
3176 EnumDef *enum_def = nullptr; in ParseRoot() local
3230 auto &enum_def = **it; in ParseRoot() local
3885 auto enum_def = new EnumDef(); in Deserialize() local
3909 auto enum_def = enums_.Lookup(qualified_name); in Deserialize() local
[all …]
Didl_gen_swift.cpp148 const auto &enum_def = **it; in generate() local
844 void GenEnum(const EnumDef &enum_def) { in GenEnum()
1466 auto &enum_def = *value.type.enum_def; in GenEnumDefaultValue() local
Didl_gen_kotlin.cpp73 auto &enum_def = **it; in generate() local
188 auto &enum_def = *value.type.enum_def; in GenEnumDefaultValue() local
259 void GenEnum(EnumDef &enum_def, CodeWriter &writer) const { in GenEnum()
Didl_gen_text.cpp60 const auto &enum_def = *type.enum_def; in PrintScalar() local
Dcode_generators.cpp329 auto &enum_def = **it; in JavaCSharpMakeRule() local
/third_party/flatbuffers/include/flatbuffers/
Didl.h186 EnumDef *enum_def; // set if t == BASE_TYPE_UNION / BASE_TYPE_UTYPE, member
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs345 let enum_def = quote_spanned! {span=> in expand_enum() localVariable
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c8735 const upb_enumdef *enum_def = upb_fielddef_enumsubdef(f); in STRINGIFY_MACROVAL() local