Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 19 of 19) sorted by relevance

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNodeTools.js118 node.value_.type_ == DataType.REFERENCE
120 refname = node.value_.value_;
141 for (let n in node.value_) {
142 NodeTools.recursionNode(node.value_[n], callback);
152 for (let i = 0; i < node.value_.length; i++) {
153 if (NodeTools.recursionAll(node.value_[i], callback, isForward)) {
167 for (let i in pn.value_) {
168 if (nameMap.indexOf(pn.value_[i].name_) >= 0) {
169 pn.value_[i].errMsg_ = '重名:' + pn.value_[i].lineno_;
172 nameMap.push(pn.value_[i].name_);
[all …]
DGenerator.js54 ret.value_ = [];
57 ret.value_.push(this.astToObj(child, ret));
79 ret.value_ = node.integerValue_;
83 ret.value_ = node.stringValue_;
89 ret.value_ = this.astToObj(node.child_, ret);
92 ret.value_ = [];
95 ret.value_.push(this.astToObj(child, ret));
102 ret.value_ = node.stringValue_;
105 ret.value_ = null;
109 ret.value_ = false;
[all …]
DModifyNode.js27 for (let i in node.value_) {
28 if (node.value_[i].name_ == name) {
75 node.value_.push(newAttr);
77 newAttr.value_.parent_ = newAttr;
93 node.value_.push(newNode);
106 for (let i in parent.value_) {
107 if (parent.value_[i] == node) {
108 parent.value_.splice(i, 1);
118 for (let i in parent.value_) {
119 let pn = parent.value_[i];
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_attribute.h26 explicit ASTAttr(Attribute value = ASTAttr::NONE) : value_(value) {} in value_() function
34 value_ |= value; in SetValue()
39 return (value_ & attr) != 0; in HasValue()
45 Attribute value_;
55 explicit ASTParamAttr(ParamAttr value) : ASTNode(), value_(value) {} in ASTParamAttr()
62 ParamAttr value_;
Dast_attribute.cpp17 if (value_ & ASTAttr::MINI) { in ToString()
21 if (value_ & ASTAttr::LITE) { in ToString()
25 if (value_ & ASTAttr::FULL) { in ToString()
29 if (value_ & ASTAttr::ONEWAY) { in ToString()
33 if (value_ & ASTAttr::CALLBACK) { in ToString()
70 return StringHelper::Format("[%s]", (value_ == ParamAttr::PARAM_IN) ? "in" : "out"); in ToString()
Dast_parameter.cpp22 if (attr_->value_ == ParamAttr::PARAM_IN) { in Dump()
59 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCParameter()
64 … if (type_->GetTypeKind() == TypeKind::TYPE_STRING && attr_->value_ == ParamAttr::PARAM_OUT) { in EmitCParameter()
72 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCParameter()
78 … ", uint32_t%s %sLen", (attr_->value_ == ParamAttr::PARAM_IN) ? "" : "*", name_.c_str()); in EmitCParameter()
89 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCppParameter()
248 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitJavaWriteVar()
263 if (attr_->value_ == ParamAttr::PARAM_OUT) { in EmitJavaReadVar()
Dast_enum_type.h23 explicit ASTEnumValue(const std::string &name) : mName_(name), value_(nullptr) {} in ASTEnumValue()
44 value_ = value; in SetExprValue()
49 return value_; in GetExprValue()
55 AutoPtr<ASTExpr> value_; variable
Dast_expr.h70 std::string value_; variable
Dast_expr.cpp98 sb.AppendFormat("%s", value_.c_str()); in Dump()
Dast_parameter.h43 return attr_->value_; in GetAttribute()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DAttrEditor.js226 let v = node.value_;
236 'value', 'Attribute Value', NodeTools.jinZhi10ToX(v.value_, v.jinzhi_), false, '请输入整数');
239 AttributeArea.gi().addInput('value', 'Attribute Value', v.value_);
245 AttributeArea.gi().addSelect('value', 'Attribute Value', [true, false], v.value_ == 1);
248 AttributeArea.gi().addLabelButton('change_target', v.value_, 'Original Node');
258 v.value_ = 0;
263 v.value_ = '';
267 v.value_ = [];
271 v.value_ = 1;
275 v.value_ = 'unknow';
[all …]
DMainEditor.js544 for (let i in data.value_) {
545 y = this.calcPostionY(data.value_[i], y);
550 y = this.calcPostionY(data.value_, y);
668 offy + data.value_[i].posY + MainEditor.NODE_RECT_HEIGHT / 2,
675 offy + data.value_[i].posY + MainEditor.NODE_RECT_HEIGHT / 2,
677 offy + data.value_[i].posY + MainEditor.NODE_RECT_HEIGHT / 2,
684 let ss = '[' + data.value_.length + ']' + NodeTools.arrayToString(data);
706 if (data.value_.length > 0) {
711 for (let i in data.value_) {
713 data.value_[i].parent_.type_ == 6 &&
[all …]
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraonsettingsresult_fuzzer/
Ddcameraonsettingsresult_fuzzer.cpp47 result.value_ = std::string(reinterpret_cast<const char*>(data), size); in DcameraOnSettingsResultFuzzTest()
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraupdatesettings_fuzzer/
Ddcameraupdatesettings_fuzzer.cpp48 setting.value_ = std::string(reinterpret_cast<const char*>(data), size); in DcameraUpdateSettingsFuzzTest()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddcamera_device.cpp131 dcSetting.value_ = encodeString; in UpdateSettings()
205 dcSetting.value_ = sstream.str(); in EnableResult()
240 dcSetting.value_ = sstream.str(); in DisableResult()
379 if ((result->value_).empty()) { in OnSettingsResult()
384 DCamRetCode ret = dMetadataProcessor_->SaveResultMetadata(result->value_); in OnSettingsResult()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/
Ddcamera_provider.cpp176 dCameraResult->value_ = result.value_; in OnSettingsResult()
330 return result.value_.empty() || result.value_.length() > SETTING_VALUE_MAX_LENGTH; in IsDCameraSettingsInvalid()
/drivers/interface/distributed_camera/v1_0/
DDCameraTypes.idl165 String value_;
/drivers/hdf_core/framework/tools/hdi-gen/parser/
Dparser.cpp700 if (ifaceType->IsCallback() && paramAttr->value_ != ParamAttr::PARAM_IN) { in ParseParam()
703 } else if (!ifaceType->IsCallback() && paramAttr->value_ != ParamAttr::PARAM_OUT) { in ParseParam()
727 attr->value_ = ParamAttr::PARAM_IN; in ParseParamAttr()
730 attr->value_ = ParamAttr::PARAM_OUT; in ParseParamAttr()
1491 expr->value_ = token.value; in ParseNumExpr()
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddstream_operator.cpp929 …dcSetting.value_ = Base64Encode(reinterpret_cast<const unsigned char *>(settingStr.c_str()), setti… in BuildSuitableCaptureInfo()