Home
last modified time | relevance | path

Searched refs:namespace_ (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_sequenceable_type.cpp24 if (namespace_ != nullptr) { in SetNamespace()
25 namespace_->AddSequenceable(this); in SetNamespace()
31 std::string fullName = namespace_ != nullptr ? in GetSignature()
32 namespace_->ToString() + name_ : name_; in GetSignature()
51 if (namespace_ != nullptr) { in Dump()
52 sb.Append(namespace_->ToString()); in Dump()
62 if (namespace_ == nullptr) { in GetFullName()
65 return namespace_->ToString() + name_; in GetFullName()
H A Dast_interface_type.cpp24 if (namespace_ != nullptr) { in SetNamespace()
25 namespace_->AddInterface(this); in SetNamespace()
79 std::string fullName = namespace_ != nullptr ? in GetSignature()
80 namespace_->ToString() + name_ : name_; in GetSignature()
95 sb.AppendFormat("interface %s", (namespace_->ToString() + name_).c_str()); in Dump()
123 return namespace_->ToString() + name_; in GetFullName()
H A Dast_type.cpp32 namespace_ = nspace; in SetNamespace()
37 return namespace_; in GetNamespace()
200 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
H A Dast_type.h80 :isPod_(isPod), typeKind_(typekind), name_(), namespace_()
163 AutoPtr<ASTNamespace> namespace_; variable
/ohos5.0/foundation/ability/idl_tool/ast/
H A Dast_sequenceable_type.cpp25 if (namespace_ != nullptr) { in SetNamespace()
26 namespace_->AddSequenceable(this); in SetNamespace()
32 String fullName = namespace_ != nullptr ? in GetSignature()
33 namespace_->ToString() + name_ : name_; in GetSignature()
52 if (namespace_ != nullptr) { in Dump()
53 sb.Append(namespace_->ToString()); in Dump()
H A Dast_interface_type.cpp25 if (namespace_ != nullptr) { in SetNamespace()
26 namespace_->AddInterface(this); in SetNamespace()
49 String fullName = namespace_ != nullptr ? in GetSignature()
50 namespace_->ToString() + name_ : name_; in GetSignature()
69 if (namespace_ != nullptr) { in Dump()
70 sb.Append(namespace_->ToString()); in Dump()
H A Dast_type.cpp32 namespace_ = nspace; in SetNamespace()
37 return namespace_; in GetNamespace()
122 return namespace_ == nullptr ? name_ : namespace_->ToString() + name_; in ToString()
H A Dast_type.h74 AutoPtr<ASTNamespace> namespace_; variable
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast_sequenceable_type.cpp17 if (namespace_ != nullptr) { in SetNamespace()
18 namespace_->AddSequenceable(this); in SetNamespace()
37 if (namespace_ != nullptr) { in Dump()
38 sb.Append(namespace_->ToString()); in Dump()
48 return namespace_->ToString() + name_; in GetFullName()
61 … return StringHelper::Format("sptr<%s>", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
63 … return StringHelper::Format("const sptr<%s>&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
65 … return StringHelper::Format("sptr<%s>&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
67 … return StringHelper::Format("sptr<%s>", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
H A Dast_interface_type.cpp17 if (namespace_ != nullptr) { in SetNamespace()
18 namespace_->AddInterface(this); in SetNamespace()
98 return namespace_->ToString() + name_; in GetFullName()
130 …ringHelper::Format("%s<%s>", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
133 … "const %s<%s>&", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
136 "%s<%s>&", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
138 …ringHelper::Format("%s<%s>", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
193 name.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppWriteVar()
202 std::string interfaceNamespace = GetNamespaceWithColon(namespace_, name_); in EmitCppReadVar()
204 …sb.Append(prefix).AppendFormat("sptr<%s> %s;\n", GetNameWithNamespace(namespace_, name_).c_str(), … in EmitCppReadVar()
H A Dast_type.cpp25 namespace_ = nspace; in SetNamespace()
30 return namespace_; in GetNamespace()
175 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
H A Dast_struct_type.cpp90 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
92 … return StringHelper::Format("const %s&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
94 return StringHelper::Format("%s&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
96 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
H A Dast_enum_type.cpp109 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
111 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
113 return StringHelper::Format("%s&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
115 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
H A Dast_union_type.cpp70 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
72 … return StringHelper::Format("const %s&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
74 return StringHelper::Format("%s&", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
76 return StringHelper::Format("%s", GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
H A Dast_type.h72 :typeKind_(kind), isPod_(isPod), name_(), namespace_()
212 AutoPtr<ASTNamespace> namespace_; variable
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/metadata/
H A Dmetadata_serializer.cpp86 mp->namespace_ = reinterpret_cast<char*>(SerializeAdjust(mp->namespace_)); in SerializeMetaSequenceable()
96 mi->namespace_ = reinterpret_cast<char*>(SerializeAdjust(mi->namespace_)); in SerializeMetaInterface()
209 mp->namespace_ = reinterpret_cast<char*>(DeserializeAdjust(mp->namespace_)); in DeserializeMetaSequenceable()
219 mi->namespace_ = reinterpret_cast<char*>(DeserializeAdjust(mi->namespace_)); in DeserializeMetaInterface()
H A Dmeta_sequenceable.h23 char* namespace_; member
H A Dmeta_interface.h27 char* namespace_; member
H A Dmetadata_reader.cpp101 … seqType->SetNamespace(ast_->ParseNamespace(std::string(reinterpret_cast<char*>(mp->namespace_)))); in ReadMetaSequenceable()
124 …interface->SetNamespace(ast_->ParseNamespace(std::string(reinterpret_cast<char*>(mi->namespace_)))… in ReadMetaInterface()
H A Dmetadata_dumper.cpp145 sb.Append(prefix + tab_).AppendFormat("\"namespace_\" : \"%s\"\n", mp->namespace_); in DumpMetaSequenceable()
169 sb.Append(prefix + tab_).AppendFormat("\"namespace_\" : \"%s\",\n", mi->namespace_); in DumpMetaInterface()
/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dcode_emitter.cpp37 interfaceFullName_ = metaInterface_->namespace_ + interfaceName_; in CodeEmitter()
40 proxyFullName_ = metaInterface_->namespace_ + proxyName_; in CodeEmitter()
43 stubFullName_ = metaInterface_->namespace_ + stubName_; in CodeEmitter()
/ohos5.0/foundation/ability/idl_tool/metadata/
H A Dmetadata_serializer.cpp89 mp->namespace_ = reinterpret_cast<char*>(SerializeAdjust(mp->namespace_)); in SerializeMetaSequenceable()
99 mi->namespace_ = reinterpret_cast<char*>(SerializeAdjust(mi->namespace_)); in SerializeMetaInterface()
218 mp->namespace_ = reinterpret_cast<char*>(DeserializeAdjust(mp->namespace_)); in DeserializeMetaSequenceable()
228 mi->namespace_ = reinterpret_cast<char*>(DeserializeAdjust(mi->namespace_)); in DeserializeMetaInterface()
H A Dmeta_sequenceable.h23 char* namespace_; member
H A Dmeta_interface.h26 char* namespace_; member
H A Dmetadata_dumper.cpp148 sb.Append(prefix + tab).AppendFormat("\"namespace_\" : \"%s\"\n", mp->namespace_); in DumpMetaSequenceable()
156 sb.Append(prefix + tab).AppendFormat("\"namespace_\" : \"%s\",\n", mi->namespace_); in DumpMetaInterface()

12