Home
last modified time | relevance | path

Searched refs:WrapInNameSpace (Results 1 – 11 of 11) sorted by relevance

/external/flatbuffers/src/
Didl_gen_rust.cpp369 std::string WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::rust::RustGenerator
370 return WrapInNameSpace(def.defined_namespace, Name(def)); in WrapInNameSpace()
372 std::string WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::rust::RustGenerator
462 if (type.enum_def) { return WrapInNameSpace(*type.enum_def); } in GetTypeBasic()
502 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet()
507 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet()
685 return WrapInNameSpace(field.value.type.enum_def->defined_namespace, in GetDefaultScalarValue()
720 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType()
724 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType()
733 const auto typname = WrapInNameSpace(*type.enum_def); in TableBuilderArgsDefnType()
[all …]
Didl_gen_csharp.cpp132 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()
134 return "Offset<" + WrapInNameSpace(*type.struct_def) + ">"; in GenTypeBasic()
149 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer()
163 return "Offset<" + WrapInNameSpace(struct_def) + ">"; in GenOffsetType()
168 return "new Offset<" + WrapInNameSpace(struct_def) + ">(" + variable_name + in GenOffsetConstruct()
177 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast()
206 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
247 return "default(Offset<" + WrapInNameSpace(*value.type.struct_def) + in GenDefaultValueBasic()
776 auto qualified_name = WrapInNameSpace(sd); in GenStruct()
847 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenStruct()
[all …]
Didl_gen_cpp.cpp551 NativeName(WrapInNameSpace(struct_def), &struct_def, opts_); in generate()
645 if (type.enum_def) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()
664 return WrapInNameSpace(*type.struct_def); in GenTypePointer()
770 auto type_name = WrapInNameSpace(*type.struct_def); in GenTypeNative()
785 auto type_name = WrapInNameSpace(*type.enum_def); in GenTypeNative()
843 return wrap ? WrapInNameSpace(ev.union_type.struct_def->defined_namespace, in GetUnionElement()
964 ? WrapInNameSpace(*type.struct_def) in GenMiniReflect()
965 : type.enum_def ? WrapInNameSpace(*type.enum_def) : ""; in GenMiniReflect()
1419 WrapInNameSpace(*ev.union_type.struct_def) + "(*ptr);"; in GenUnionPost()
1585 return WrapInNameSpace(field.value.type.enum_def->defined_namespace, in GetDefaultScalarValue()
[all …]
Didl_gen_js_ts.cpp340 code += WrapInNameSpace(enum_def) + (reverse ? "Name" : "") + " = {\n"; in GenEnum()
408 GenTypeAnnotation(kType, WrapInNameSpace(*type.enum_def), "", in GenGetter()
425 return GenPrefixedTypeName(WrapInNameSpace(*value.type.enum_def), in GenDefaultValue()
429 return WrapInNameSpace(*value.type.enum_def) + "." + val->name; in GenDefaultValue()
433 GenTypeAnnotation(kType, WrapInNameSpace(*value.type.enum_def), in GenDefaultValue()
465 name = WrapInNameSpace(*type.struct_def); in GenTypeName()
477 if (type.enum_def) { return WrapInNameSpace(*type.enum_def); } in GenTypeName()
700 object_name = WrapInNameSpace(struct_def); in GenStruct()
847 auto type = WrapInNameSpace(*field.value.type.struct_def); in GenStruct()
977 kType, WrapInNameSpace(*field.value.type.enum_def), in GenStruct()
Dcode_generators.cpp122 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::BaseGenerator
130 std::string BaseGenerator::WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::BaseGenerator
131 return WrapInNameSpace(def.defined_namespace, def.name); in WrapInNameSpace()
Didl_gen_kotlin.cpp157 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer()
172 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
981 auto qualified_name = WrapInNameSpace(sd); in GenerateStructGetters()
1048 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenerateStructGetters()
Didl_gen_java.cpp159 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer()
265 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue()
791 auto qualified_name = WrapInNameSpace(sd); in GenStruct()
869 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenStruct()
Didl_gen_swift.cpp807 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer()
829 return WrapInNameSpace(type.enum_def->defined_namespace, in GenTypeBasic()
Didl_gen_lobster.cpp58 return WrapInNameSpace(def.defined_namespace, NormalizedName(def)); in NamespacedName()
Didl_gen_php.cpp878 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name; in GenDefaultValue()
/external/flatbuffers/include/flatbuffers/
Dcode_generators.h134 std::string WrapInNameSpace(const Namespace *ns,
137 std::string WrapInNameSpace(const Definition &def) const;