Home
last modified time | relevance | path

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

/external/flatbuffers/src/
Dcode_generators.cpp119 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::BaseGenerator
129 std::string BaseGenerator::WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::BaseGenerator
130 return WrapInNameSpace(def.defined_namespace, def.name); in WrapInNameSpace()
Didl_gen_js.cpp186 code += WrapInNameSpace(enum_def) + " = {\n"; in GenEnum()
235 getter = "/** @type {" + WrapInNameSpace(*type.enum_def) + "} */ (" + in GenGetter()
247 return WrapInNameSpace(*value.type.enum_def) + "." + val->name; in GenDefaultValue()
249 return "/** @type {" + WrapInNameSpace(*value.type.enum_def) + "} */ (" in GenDefaultValue()
279 return WrapInNameSpace(*type.struct_def); in GenTypeName()
290 return WrapInNameSpace(*type.enum_def); in GenTypeName()
383 std::string object_name = WrapInNameSpace(struct_def); in GenStruct()
485 auto type = WrapInNameSpace(*field.value.type.struct_def); in GenStruct()
548 WrapInNameSpace(*field.value.type.enum_def) + "} */ (" + in GenStruct()
Didl_gen_cpp.cpp242 NativeName(WrapInNameSpace(struct_def)); in generate()
304 if (type.enum_def) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()
322 return WrapInNameSpace(*type.struct_def); in GenTypePointer()
393 auto type_name = WrapInNameSpace(*type.struct_def); in GenTypeNative()
632 auto name = WrapInNameSpace(*ev.struct_def); in GenEnum()
682 const auto native_type = NativeName(WrapInNameSpace(*ev.struct_def)); in GenEnum()
719 code_.SetValue("TYPE", WrapInNameSpace(*ev.struct_def)); in GenUnionPost()
759 code_.SetValue("TYPE", WrapInNameSpace(*ev.struct_def)); in GenUnionPost()
780 code_.SetValue("TYPE", NativeName(WrapInNameSpace(*ev.struct_def))); in GenUnionPost()
806 code_.SetValue("TYPE", NativeName(WrapInNameSpace(*ev.struct_def))); in GenUnionPost()
[all …]
Didl_gen_general.cpp249 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()
251 return "Offset<" + WrapInNameSpace(*type.struct_def) + ">"; in GenTypeBasic()
275 return WrapInNameSpace(*type.struct_def); in GenTypePointer()
311 return "Offset<" + WrapInNameSpace(struct_def) + ">"; in GenOffsetType()
321 return "new Offset<" + WrapInNameSpace(struct_def) + ">(" + variable_name + in GenOffsetConstruct()
369 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast()
429 result = WrapInNameSpace(*enum_def) + "." + enum_val.name; in GenEnumDefaultValue()
477 return "default(Offset<" + WrapInNameSpace(*value.type.struct_def) + in GenDefaultValueBasic()
1031 auto nested_type_name = WrapInNameSpace(*nested_type); in GenStruct()
Didl_gen_php.cpp894 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name; in GenDefaultValue()
/external/flatbuffers/include/flatbuffers/
Dcode_generators.h112 std::string WrapInNameSpace(const Namespace *ns,
115 std::string WrapInNameSpace(const Definition &def) const;