Home
last modified time | relevance | path

Searched refs:name_ (Results 1 – 25 of 61) sorted by relevance

123

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_parameter.cpp30 sb.Append(name_); in Dump()
60 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter()
62 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter()
65 paramStr.AppendFormat(", uint32_t %sLen", name_.c_str()); in EmitCParameter()
73 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter()
75 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter()
78 … ", uint32_t%s %sLen", (attr_->value_ == ParamAttr::PARAM_IN) ? "" : "*", name_.c_str()); in EmitCParameter()
82 return StringHelper::Format("unknow type %s", name_.c_str()); in EmitCParameter()
90 …return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_IN).c_str(), name_.c_str()… in EmitCppParameter()
92 …return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_OUT).c_str(), name_.c_str(… in EmitCppParameter()
[all …]
Dast_interface_type.cpp76 sb.AppendFormat("interface %s {\n", name_.c_str()); in Dump()
96 return namespace_->ToString() + name_; in GetFullName()
101 return StringHelper::Format("%s_INTERFACE_DESC", StringHelper::StrToUpper(name_).c_str()); in EmitDescMacroName()
108 return StringHelper::Format("struct %s", name_.c_str()); in EmitCType()
110 return StringHelper::Format("struct %s*", name_.c_str()); in EmitCType()
112 return StringHelper::Format("struct %s**", name_.c_str()); in EmitCType()
114 return StringHelper::Format("struct %s*", name_.c_str()); in EmitCType()
128 …ringHelper::Format("%s<%s>", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
131 … "const %s<%s>&", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
134 "%s<%s>&", pointerName.c_str(), GetNameWithNamespace(namespace_, name_).c_str()); in EmitCppType()
[all …]
Dast_type.cpp15 name_ = name; in SetName()
20 return name_; in GetName()
170 return name_; in ToShortString()
175 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
201 … sb.Append(prefix).AppendFormat("//Writing \"%s\" type of data is not supported\n", name_.c_str()); in EmitCWriteVar()
207 … sb.Append(prefix).AppendFormat("//Writing \"%s\" type of data is not supported\n", name_.c_str()); in EmitCProxyWriteOutVar()
213 … sb.Append(prefix).AppendFormat("//Reading \"%s\" type of data is not supported\n", name_.c_str()); in EmitCProxyReadVar()
219 … sb.Append(prefix).AppendFormat("//Reading \"%s\" type of data is not supported\n", name_.c_str()); in EmitCStubReadVar()
226 … sb.Append(prefix).AppendFormat("//Reading \"%s\" type of data is not supported\n", name_.c_str()); in EmitCStubReadOutVar()
232 … sb.Append(prefix).AppendFormat("//Writing \"%s\" type of data is not supported\n", name_.c_str()); in EmitCppWriteVar()
[all …]
Dast_sequenceable_type.cpp40 sb.Append(name_); in Dump()
48 return namespace_->ToString() + name_; in GetFullName()
61 return StringHelper::Format("sptr<%s>", name_.c_str()); in EmitCppType()
63 return StringHelper::Format("const sptr<%s>&", name_.c_str()); in EmitCppType()
65 return StringHelper::Format("sptr<%s>&", name_.c_str()); in EmitCppType()
67 return StringHelper::Format("sptr<%s>", name_.c_str()); in EmitCppType()
75 return name_; in EmitJavaType()
91 …sb.Append(prefix).AppendFormat("sptr<%s> %s = %s.ReadStrongParcelable<%s>();\n", name_.c_str(), na… in EmitCppReadVar()
92 parcelName.c_str(), name_.c_str()); in EmitCppReadVar()
95 … "%s = %s.ReadStrongParcelable<%s>();\n", name.c_str(), parcelName.c_str(), name_.c_str()); in EmitCppReadVar()
[all …]
Dast_struct_type.cpp37 sb.AppendFormat("struct %s {\n", name_.c_str()); in Dump()
57 return StringHelper::Format("struct %s", name_.c_str()); in EmitCType()
59 return StringHelper::Format("const struct %s*", name_.c_str()); in EmitCType()
61 return StringHelper::Format("struct %s*", name_.c_str()); in EmitCType()
63 return StringHelper::Format("struct %s*", name_.c_str()); in EmitCType()
73 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
75 return StringHelper::Format("const %s&", name_.c_str()); in EmitCppType()
77 return StringHelper::Format("%s&", name_.c_str()); in EmitCppType()
79 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
94 sb.AppendFormat("struct %s {\n", name_.c_str()); in EmitCTypeDecl()
[all …]
Dast_method.h24 name_ = name; in SetName()
29 return name_; in GetName()
76 std::string name_;
Dast_parameter.h22 : ASTNode(), name_(name), attr_(new ASTParamAttr(attribute)), type_(type) in ASTParameter()
27 : ASTNode(), name_(name), attr_(attribute), type_(type) in ASTParameter()
33 return name_; in GetName()
75 std::string name_;
Dast_namespace.h30 return name_; in GetName()
64 return name_; in ToShortString()
70 std::string name_;
Dast_namespace.cpp18 ASTNamespace::ASTNamespace(const std::string &nspaceStr) : name_(nspaceStr), outerNamespace_(nullpt… in ASTNamespace()
38 return element->name_ == nspaceStr; in FindNamespace()
93 nspaceStr = nspace->name_ + "." + nspaceStr; in ToString()
Dast_enum_type.cpp37 sb.AppendFormat("enum %s : %s {\n", name_.c_str(), baseType_->ToString().c_str()); in Dump()
39 sb.AppendFormat("enum %s {\n", name_.c_str()); in Dump()
67 return StringHelper::Format("enum %s", name_.c_str()); in EmitCType()
69 return StringHelper::Format("enum %s", name_.c_str()); in EmitCType()
71 return StringHelper::Format("enum %s*", name_.c_str()); in EmitCType()
73 return StringHelper::Format("enum %s", name_.c_str()); in EmitCType()
83 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
85 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
87 return StringHelper::Format("%s&", name_.c_str()); in EmitCppType()
89 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
[all …]
Dast_union_type.cpp34 sb.AppendFormat("union %s {\n", name_.c_str()); in Dump()
54 return StringHelper::Format("union %s", name_.c_str()); in EmitCType()
56 return StringHelper::Format("const union %s*", name_.c_str()); in EmitCType()
58 return StringHelper::Format("union %s*", name_.c_str()); in EmitCType()
60 return StringHelper::Format("union %s*", name_.c_str()); in EmitCType()
70 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
72 return StringHelper::Format("const %s&", name_.c_str()); in EmitCppType()
74 return StringHelper::Format("%s&", name_.c_str()); in EmitCppType()
76 return StringHelper::Format("%s", name_.c_str()); in EmitCppType()
91 sb.AppendFormat("union %s {\n", name_.c_str()); in EmitCTypeDecl()
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNodeTools.js62 let ret = node.name_;
66 if (node.ref_.startsWith(getRoot(node).name_)) {
73 ret = node.name_ + '.' + ret;
168 if (nameMap.indexOf(pn.value_[i].name_) >= 0) {
172 nameMap.push(pn.value_[i].name_);
192 if (node.value_[i].name_ == name) {
202 name_: node.name_, property
279 makeError(pn, pn.name_ + ' 复制目标没找到!');
281 makeError(pn, pn.name_ + ' 引用目标没找到!');
286 makeError(pn, pn.name_ + ' 复制目标不能为模板节点!');
[all …]
DGenerator.js70 ret.name_ = node.name_;
137 name_: 'root', property
176 ret = this.makeSpace(deep) + node.name_ + ' {\n';
178 ret = this.makeSpace(deep) + node.name_ + ' : ' + node.ref_ + ' {\n';
180 ret = this.makeSpace(deep) + node.name_ + ' : &' + node.ref_ + ' {\n';
182 ret = this.makeSpace(deep) + node.name_ + ' : delete {\n';
184 ret = this.makeSpace(deep) + 'template ' + node.name_ + ' {\n';
186 ret = this.makeSpace(deep) + node.name_ + ' :: ' + node.ref_ + ' {\n';
214 ret = this.makeSpace(deep) + node.name_ + ' = ';
DModifyNode.js28 if (node.value_[i].name_ == name) {
41 node.name_ = name;
139 ptemp = NodeTools.findChildByName(ptemp, ps[i].name_);
160 ret.push(nodes[i].name_);
172 if (parent.ref_ == ilist[i].name_) {
175 } else if (parent.name_ == ilist[i].name_) {
Dast.js64 this.constructorSis(name.name_, name.type_, name.stringValue_);
89 this.name_ = name;
186 if (srcObj.name_ != this.name_) {
243 if (peer.name_ == name && (type == 0 || peer.type_ == type)) {
320 return this.name_;
412 if (!srcObj.isNode() || srcObj.name() != this.name_) {
599 super(name.name_, ObjectType.PARSEROP_CONFTERM, 0);
797 if (current.name_ == 'blockSize') {
798 current.name_ = 'blockSize';
800 NapiLog.logInfo(this.setw(walkDepth * 4) + current.name_ + ' :');
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/strategy/
Dstream_pipeline_strategy.cpp61 return info.peerPortNodeName_ == n.name_; in SetUpBasicOutPortFormat()
69 return info.peerPortName_ == p.info_.name_; in SetUpBasicOutPortFormat()
72 CAMERA_LOGI("config fail! port name:%{public}s not exist", info.name_.c_str()); in SetUpBasicOutPortFormat()
84 return p.info_.name_ == "out0"; in SetUpBasicInPortFormat()
87 CAMERA_LOGI("config fail! node name:%{public}s out0 not exist", nodeSpec.name_.c_str()); in SetUpBasicInPortFormat()
135 .name_ = pipeSpecPtr->nodeSpec[j].name, in SelectPipelineSpec()
141 .name_ = std::string(pipeSpecPtr->nodeSpec[j].portSpec[k].name), in SelectPipelineSpec()
192 … n.name_.c_str(), it.info_.name_.c_str(), it.format_.w_, it.format_.h_, it.format_.format_, in PrintConnection()
198 return n.name_ == it.info_.peerPortNodeName_; in PrintConnection()
215 return n.name_ == (*it).name_; in CombineSpecs()
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/control/
DXButton.js22 this.name_ = name;
51 if (this.name_ != undefined && this.name_.length > 0)
53 …this.pm2f_.drawText(this.name_, 14, this.posX_ + this.posW_ / 2, this.posY_ + this.posH_ / 2 + 2, …
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DAttrEditor.js41 AttributeArea.gi().addTitle(this.node_.name_);
79 node.name_,
93 } else if (searchId == 'name' && this.node_.name_ != value) {
110 AttributeArea.gi().addTopInput('name', 'Node Name', node.name_);
140 if (searchId == 'name' && this.node_.name_ != value) {
163 AttributeArea.gi().addTopInput('name', 'Node Name', node.name_);
190 if (searchId == 'name' && this.node_.name_ != value) {
201 AttributeArea.gi().addTopInput('name', 'Node Name', node.name_);
227 AttributeArea.gi().addTopInput('name', 'Name', node.name_);
302 if (searchId == 'name' && value != this.node_.name_) {
[all …]
DMainEditor.js577 return data.name_;
579 return data.name_ + ' : delete';
581 return 'templete ' + data.name_;
584 return data.name_;
586 return data.name_ + ' :: ' + data.ref_;
589 return data.name_;
591 return data.name_ + ' : ' + data.ref_;
594 return data.name_;
596 return data.name_ + ' : &' + data.ref_;
685 let keyAndValue = data.parent_.name_ + ' = ';
[all …]
/drivers/interface/camera/metadata/src/
Dcamera_metadata_info.cpp129 const char *name_ = GetCameraMetadataItemName(tag); in updateEntry() local
130 (void)name_; in updateEntry()
131 … METADATA_ERR_LOG("Failed to update tag tagname = %{public}s", (name_ ? name_ : "<unknown>")); in updateEntry()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
Dstream_pipeline_builder.cpp34 size_t pos = it.name_.find_first_of('#'); in Build()
35 nodeName = it.name_.substr(0, pos); in Build()
36 … std::shared_ptr<INode> newNode = NodeFactory::Instance().CreateShared(nodeName, it.name_, in Build()
59 std::shared_ptr<IPort> port = newNode->GetPort(portSpec.info_.name_); in Build()
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_component_service.cpp28 name_ = name; in CodecComponentService()
45 name_ = ""; in ~CodecComponentService()
180 if (name_ == "") { in SetComponentRole()
185 auto err = mgr_->GetCoreOfComponent(core, name_); in SetComponentRole()
192 int32_t ret = core->GetRolesOfComponent(name_, roles); in SetComponentRole()
216 return name_; in GetComponentCompName()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/
Dmpi_node.cpp19 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in MpiNode()
62 …RetCode rc = deviceManager_->Connect(name_, port->GetName(), peerNode->GetName(), peerPort->GetNam… in ConnectMpi()
100 …RetCode rc = deviceManager_->UnConnect(name_, port->GetName(), peerNode->GetName(), peerPort->GetN… in DisConnectMpi()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
Dnode_base.h25 PortBase(const std::string& name, const std::weak_ptr<INode>& n) : name_(name), owner_(n) in PortBase()
43 std::string name_;
51 : name_(name), type_(type), cameraId_(cameraId) in NodeBase()
88 std::string name_;
Dnode_base.cpp19 return name_; in GetName()
55 if (name_.empty()) { in Direction()
59 if (name_[0] == 'i') { in Direction()
112 return name_; in GetName()
142 CAMERA_LOGI("name:%{public}s start enter\n", name_.c_str()); in Start()

123