/ohos5.0/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast_sequenceable_type.cpp | 24 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 D | ast_interface_type.cpp | 24 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 D | ast_type.cpp | 32 namespace_ = nspace; in SetNamespace() 37 return namespace_; in GetNamespace() 200 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
|
H A D | ast_type.h | 80 :isPod_(isPod), typeKind_(typekind), name_(), namespace_() 163 AutoPtr<ASTNamespace> namespace_; variable
|
/ohos5.0/foundation/ability/idl_tool/ast/ |
H A D | ast_sequenceable_type.cpp | 25 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 D | ast_interface_type.cpp | 25 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 D | ast_type.cpp | 32 namespace_ = nspace; in SetNamespace() 37 return namespace_; in GetNamespace() 122 return namespace_ == nullptr ? name_ : namespace_->ToString() + name_; in ToString()
|
H A D | ast_type.h | 74 AutoPtr<ASTNamespace> namespace_; variable
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
H A D | ast_sequenceable_type.cpp | 17 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 D | ast_interface_type.cpp | 17 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 D | ast_type.cpp | 25 namespace_ = nspace; in SetNamespace() 30 return namespace_; in GetNamespace() 175 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
|
H A D | ast_struct_type.cpp | 90 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 D | ast_enum_type.cpp | 109 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 D | ast_union_type.cpp | 70 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 D | ast_type.h | 72 :typeKind_(kind), isPod_(isPod), name_(), namespace_() 212 AutoPtr<ASTNamespace> namespace_; variable
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_serializer.cpp | 86 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 D | meta_sequenceable.h | 23 char* namespace_; member
|
H A D | meta_interface.h | 27 char* namespace_; member
|
H A D | metadata_reader.cpp | 101 … 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 D | metadata_dumper.cpp | 145 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 D | code_emitter.cpp | 37 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 D | metadata_serializer.cpp | 89 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 D | meta_sequenceable.h | 23 char* namespace_; member
|
H A D | meta_interface.h | 26 char* namespace_; member
|
H A D | metadata_dumper.cpp | 148 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()
|