Home
last modified time | relevance | path

Searched refs:nspace (Results 1 – 12 of 12) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast.cpp78 AutoPtr<ASTNamespace> nspace; in ParseNamespace() local
80 nspace = FindNamespace(ns); in ParseNamespace()
82 nspace = currNspace->FindNamespace(ns); in ParseNamespace()
84 if (nspace == nullptr) { in ParseNamespace()
85 nspace = new ASTNamespace(ns); in ParseNamespace()
87 AddNamespace(nspace); in ParseNamespace()
89 currNspace->AddNamespace(nspace); in ParseNamespace()
92 currNspace = nspace; in ParseNamespace()
98 void AST::AddNamespace(const AutoPtr<ASTNamespace> &nspace) in AddNamespace() argument
100 if (nspace == nullptr) { in AddNamespace()
[all …]
Dast_namespace.cpp91 const ASTNamespace *nspace = this; in ToString() local
92 while (nspace != nullptr) { in ToString()
93 nspaceStr = nspace->name_ + "." + nspaceStr; in ToString()
94 nspace = nspace->outerNamespace_; in ToString()
Dast_sequenceable_type.cpp14 void ASTSequenceableType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument
16 ASTType::SetNamespace(nspace); in SetNamespace()
Dast_sequenceable_type.h20 void SetNamespace(const AutoPtr<ASTNamespace> &nspace) override;
Dast.h102 void AddNamespace(const AutoPtr<ASTNamespace> &nspace);
Dast_type.cpp23 void ASTType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument
25 namespace_ = nspace; in SetNamespace()
Dast_interface_type.h37 void SetNamespace(const AutoPtr<ASTNamespace> &nspace) override;
Dast_interface_type.cpp14 void ASTInterfaceType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument
16 ASTType::SetNamespace(nspace); in SetNamespace()
Dast_type.h80 virtual void SetNamespace(const AutoPtr<ASTNamespace> &nspace);
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcpp_code_emitter.cpp165 for (const auto &nspace : cppNamespaceVec) { in EmitBeginNamespace() local
166 sb.AppendFormat("namespace %s {\n", nspace.c_str()); in EmitBeginNamespace()
222 for (const auto &nspace : namespaceSet) { in EmitImportUsingNamespace() local
223 sb.Append("using namespace ").AppendFormat("%s;\n", nspace.c_str()); in EmitImportUsingNamespace()
284 for (const auto &nspace : cppNamespaceVec) { in EmitDefinitionByInterface() local
285 sb.AppendFormat("%s", nspace.c_str()); in EmitDefinitionByInterface()
Dcpp_service_driver_code_emitter.cpp89 std::string nspace = EmitPackageToNameSpace(interface_->GetNamespace()->ToString()); in EmitDriverUsings() local
90 sb.AppendFormat("using namespace %s;\n", nspace.c_str()); in EmitDriverUsings()
Dcpp_custom_types_code_emitter.cpp363 for (const auto &nspace : cppNamespaceVec) { in EmitBeginNamespace() local
364 sb.AppendFormat("namespace %s {\n", nspace.c_str()); in EmitBeginNamespace()