Searched refs:WrapInNameSpace (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/src/ |
D | idl_gen_rust.cpp | 435 std::string WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::rust::RustGenerator 436 return WrapInNameSpace(def.defined_namespace, Name(def)); in WrapInNameSpace() 438 std::string WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::rust::RustGenerator 526 if (type.enum_def) { return WrapInNameSpace(*type.enum_def); } in GetTypeBasic() 565 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet() 568 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet() 743 return WrapInNameSpace(field.value.type.enum_def->defined_namespace, in GetDefaultScalarValue() 776 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType() 780 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType() 789 const auto typname = WrapInNameSpace(*type.enum_def); in TableBuilderArgsDefnType() [all …]
|
D | code_generators.cpp | 110 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::BaseGenerator 119 std::string BaseGenerator::WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::BaseGenerator 120 return WrapInNameSpace(def.defined_namespace, def.name); in WrapInNameSpace()
|
D | idl_gen_js_ts.cpp | 346 code += WrapInNameSpace(enum_def) + " = {\n"; in GenEnum() 419 GenTypeAnnotation(kType, WrapInNameSpace(*type.enum_def), "", in GenGetter() 437 return GenPrefixedTypeName(WrapInNameSpace(*value.type.enum_def), in GenDefaultValue() 441 return WrapInNameSpace(*value.type.enum_def) + "." + val->name; in GenDefaultValue() 445 GenTypeAnnotation(kType, WrapInNameSpace(*value.type.enum_def), in GenDefaultValue() 477 name = WrapInNameSpace(*type.struct_def); in GenTypeName() 489 if (type.enum_def) { return WrapInNameSpace(*type.enum_def); } in GenTypeName() 643 object_name = WrapInNameSpace(struct_def); in GenStruct() 806 auto type = WrapInNameSpace(*field.value.type.struct_def); in GenStruct() 933 kType, WrapInNameSpace(*field.value.type.enum_def), in GenStruct()
|
D | idl_gen_cpp.cpp | 441 NativeName(WrapInNameSpace(struct_def), &struct_def, parser_.opts); in generate() 507 if (type.enum_def) return WrapInNameSpace(*type.enum_def); in GenTypeBasic() 525 return WrapInNameSpace(*type.struct_def); in GenTypePointer() 619 auto type_name = WrapInNameSpace(*type.struct_def); in GenTypeNative() 684 return wrap ? WrapInNameSpace(ev.union_type.struct_def->defined_namespace, in GetUnionElement() 808 ? WrapInNameSpace(*type.struct_def) in GenMiniReflect() 809 : type.enum_def ? WrapInNameSpace(*type.enum_def) : ""; in GenMiniReflect() 1239 WrapInNameSpace(*ev.union_type.struct_def) + "(*ptr);"; in GenUnionPost() 1409 return WrapInNameSpace(field.value.type.enum_def->defined_namespace, in GetDefaultScalarValue() 1441 type = WrapInNameSpace(*vtype.struct_def); in GenParam() [all …]
|
D | idl_gen_general.cpp | 282 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic() 284 return "Offset<" + WrapInNameSpace(*type.struct_def) + ">"; in GenTypeBasic() 305 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer() 337 return "Offset<" + WrapInNameSpace(struct_def) + ">"; in GenOffsetType() 346 return "new Offset<" + WrapInNameSpace(struct_def) + ">(" + in GenOffsetConstruct() 392 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast() 451 result = WrapInNameSpace(*enum_def) + "." + enum_val.name; in GenEnumDefaultValue() 503 WrapInNameSpace(*value.type.struct_def) + ">)"; in GenDefaultValueBasic() 1092 auto qualified_name = WrapInNameSpace(sd); in GenStruct() 1180 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenStruct()
|
D | idl_gen_lobster.cpp | 55 return WrapInNameSpace(def.defined_namespace, NormalizedName(def)); in NamespacedName()
|
D | idl_gen_php.cpp | 880 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name; in GenDefaultValue()
|
/external/flatbuffers/include/flatbuffers/ |
D | code_generators.h | 109 std::string WrapInNameSpace(const Namespace *ns, 112 std::string WrapInNameSpace(const Definition &def) const;
|