Searched refs:WrapInNameSpace (Results 1 – 12 of 12) sorted by relevance
/third_party/flatbuffers/src/ |
D | idl_gen_rust.cpp | 446 return WrapInNameSpace(def.defined_namespace, NativeName(def)); in NamespacedNativeName() 459 std::string WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::rust::RustGenerator 460 return WrapInNameSpace(def.defined_namespace, Name(def)); in WrapInNameSpace() 462 std::string WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::rust::RustGenerator 552 if (type.enum_def) { return WrapInNameSpace(*type.enum_def); } in GetTypeBasic() 598 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet() 603 return WrapInNameSpace(type.struct_def->defined_namespace, in GetTypeGet() 947 return WrapInNameSpace(field.value.type.enum_def->defined_namespace, in GetDefaultValue() 1025 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType() 1029 const auto typname = WrapInNameSpace(*type.struct_def); in TableBuilderArgsDefnType() [all …]
|
D | idl_gen_csharp.cpp | 137 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic() 139 return "Offset<" + WrapInNameSpace(*type.struct_def) + ">"; in GenTypeBasic() 154 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer() 168 return "Offset<" + WrapInNameSpace(struct_def) + ">"; in GenOffsetType() 173 return "new Offset<" + WrapInNameSpace(struct_def) + ">(" + variable_name + in GenOffsetConstruct() 182 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast() 211 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue() 255 return "default(Offset<" + WrapInNameSpace(*value.type.struct_def) + in GenDefaultValueBasic() 813 auto qualified_name = WrapInNameSpace(sd); in GenStruct() 884 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenStruct() [all …]
|
D | idl_gen_cpp.cpp | 647 if (type.enum_def) return WrapInNameSpace(*type.enum_def); in GenTypeBasic() 666 return WrapInNameSpace(*type.struct_def); in GenTypePointer() 713 return WrapInNameSpace(struct_def.defined_namespace, in WrapNativeNameInNameSpace() 784 auto type_name = WrapInNameSpace(*type.struct_def); in GenTypeNative() 800 auto type_name = WrapInNameSpace(*type.enum_def); in GenTypeNative() 851 text += WrapInNameSpace(*type.struct_def); in GenTypeSpan() 894 return WrapInNameSpace(ev.union_type.struct_def->defined_namespace, name); in GetUnionElement() 1014 ? WrapInNameSpace(*type.struct_def) in GenMiniReflect() 1015 : type.enum_def ? WrapInNameSpace(*type.enum_def) : ""; in GenMiniReflect() 1477 WrapInNameSpace(*ev.union_type.struct_def) + "(*ptr);"; in GenUnionPost() [all …]
|
D | code_generators.cpp | 141 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::BaseGenerator 149 std::string BaseGenerator::WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::BaseGenerator 150 return WrapInNameSpace(def.defined_namespace, def.name); in WrapInNameSpace()
|
D | idl_gen_java.cpp | 157 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer() 261 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()
|
D | idl_gen_kotlin.cpp | 157 case BASE_TYPE_STRUCT: return WrapInNameSpace(*type.struct_def); in GenTypePointer() 190 return enum_val ? (WrapInNameSpace(enum_def) + "." + enum_val->name) in GenEnumDefaultValue() 1049 auto qualified_name = WrapInNameSpace(sd); in GenerateStructGetters() 1116 auto nested_type_name = WrapInNameSpace(*field.nested_flatbuffer); in GenerateStructGetters()
|
D | idl_gen_swift.cpp | 1504 return WrapInNameSpace(struct_.defined_namespace, in GenTypePointer() 1507 return WrapInNameSpace(struct_.defined_namespace, Name(struct_)); in GenTypePointer() 1527 return WrapInNameSpace(enum_def.defined_namespace, Name(enum_def)); in NameWrappedInNameSpace() 1531 return WrapInNameSpace(struct_def.defined_namespace, Name(struct_def)); in NameWrappedInNameSpace()
|
D | idl_gen_lobster.cpp | 58 return WrapInNameSpace(def.defined_namespace, NormalizedName(def)); in NamespacedName()
|
D | idl_gen_php.cpp | 876 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name; in GenDefaultValue()
|
D | idl_gen_ts.cpp | 1328 code += " return '" + WrapInNameSpace(struct_def) + "';\n"; in GenStruct()
|
/third_party/flatbuffers/grpc/src/compiler/ |
D | swift_generator.cc | 32 std::string WrapInNameSpace(const std::vector<std::string> &components, in WrapInNameSpace() function 42 return "Message<" + WrapInNameSpace(components, name) + ">"; in GenerateMessage() 383 WrapInNameSpace(service->namespace_parts(), service->name()); in Generate()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | code_generators.h | 140 std::string WrapInNameSpace(const Namespace *ns, 143 std::string WrapInNameSpace(const Definition &def) const;
|