Home
last modified time | relevance | path

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

12

/base/hiviewdfx/hiview/base/event_report/event/
Dparam_value.cpp24 this->value_ = value; in ParamValue()
29 this->value_ = value; in ParamValue()
34 this->value_ = value; in ParamValue()
39 this->value_ = value; in ParamValue()
44 this->value_ = value; in ParamValue()
49 this->value_ = value; in ParamValue()
54 this->value_ = value; in ParamValue()
59 return this->value_.index(); in GetType()
64 return IsUint8() ? std::get<uint8_t>(this->value_) : DEFAULT_UINT8; in GetUint8()
69 return IsUint16() ? std::get<uint16_t>(this->value_) : DEFAULT_UINT16; in GetUint16()
[all …]
/base/security/access_token/services/common/database/src/
Dvariant_value.cpp29 value_ = value; in VariantValue()
34 value_ = value; in VariantValue()
39 value_ = value; in VariantValue()
53 return std::get<int32_t>(value_); in GetInt()
62 return std::get<int64_t>(value_); in GetInt64()
71 return std::get<std::string>(value_); in GetString()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_parser_test.cpp73 kp->value_ = 31336;
78 kp->value_ = 17230;
83 kp->value_ = SCREEN_DENSITY_SDPI;
88 kp->value_ = DEVICE_CAR;
93 kp->value_ = DIRECTION_VERTICAL;
98 kp->value_ = DARK;
163 kp->value_ = 31336;
168 kp->value_ = 17230;
173 kp->value_ = SCREEN_DENSITY_SDPI;
178 kp->value_ = DEVICE_CAR;
[all …]
Dhap_resource_test.cpp79 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About"); in TestGetIdValuesByName()
85 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name"); in TestGetIdValuesByName()
91 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "应用名称"); in TestGetIdValuesByName()
124 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
130 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
136 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "应用名称");
157 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About"); in GetIdValuesByNameFuncTest002()
163 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name"); in GetIdValuesByNameFuncTest002()
203 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
209 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dhap_parser_test.cpp72 kp->value_ = 31336;
77 kp->value_ = 17230;
82 kp->value_ = SCREEN_DENSITY_SDPI;
87 kp->value_ = DEVICE_CAR;
92 kp->value_ = DIRECTION_VERTICAL;
155 kp->value_ = 31336;
160 kp->value_ = 17230;
165 kp->value_ = SCREEN_DENSITY_SDPI;
170 kp->value_ = DEVICE_CAR;
175 kp->value_ = DIRECTION_VERTICAL;
Dhap_resource_test.cpp95 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
101 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "应用名称");
107 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
121 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
127 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "应用名称");
133 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
177 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
184 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
199 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "App Name");
206 EXPECT_TRUE(limitPath->GetIdItem()->value_ == "About");
/base/useriam/user_auth_framework/frameworks/native/common/dfx/src/
Diam_hitrace_helper.cpp27 value_(std::move(value)) in IamHitraceHelper()
29 StartAsyncTrace(HITRACE_TAG_USERIAM, value_, taskId_); in IamHitraceHelper()
34 FinishAsyncTrace(HITRACE_TAG_USERIAM, value_, taskId_); in ~IamHitraceHelper()
/base/update/updater/services/script/script_interpreter/
Dscript_context.h71 …explicit IntegerValue(int32_t value) : UScriptValue(UScriptValue::VALUE_TYPE_INTEGER), value_(valu… in IntegerValue()
76 return value_ != 0; in IsTrue()
81 return value_; in GetValue()
88 int32_t value_;
93 … explicit FloatValue(float value) : UScriptValue(UScriptValue::VALUE_TYPE_FLOAT), value_(value) {} in FloatValue()
98 return value_ != 0; in IsTrue()
103 return value_; in GetValue()
111 float value_; variable
117 value_(std::move(value)) {} in StringValue()
122 return !value_.empty(); in IsTrue()
[all …]
Dscript_expression.h78 value_ = v; in IntegerExpression()
90 int value_;
97 value_ = v; in FloatExpression()
110 float value_;
116 value_(str) {} in StringExpression()
127 std::string value_;
Dscript_statement.h40 …UScriptStatementResult(StatementResultType type, UScriptValuePtr value) : type_(type), value_(valu… in UScriptStatementResult()
54 return value_; in GetResultValue()
59 value_ = value; in SetResultValue()
77 UScriptValuePtr value_ = nullptr; variable
Dscript_expression.cpp61 return std::make_shared<IntegerValue>(this->value_); in Execute()
65 return std::make_shared<FloatValue>(this->value_); in Execute()
69 return std::make_shared<StringValue>(this->value_); in Execute()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data_builder_json_parser.cpp239 values_.emplace_back(value_); in HandleStatusRun()
240 value_.clear(); in HandleStatusRun()
249 value_.clear(); in HandleStatusValueParse()
256 values_.emplace_back(value_); in HandleStatusValueParse()
257 value_.clear(); in HandleStatusValueParse()
269 values_.emplace_back(value_); in HandleStatusArrayParse()
270 value_.clear(); in HandleStatusArrayParse()
277 value_.clear(); in HandleStatusStringParse()
280 value_.append(1, charactor_); in HandleStatusStringParse()
287 value_.clear(); in HandleStatusStringItemParse()
[all …]
/base/hiviewdfx/hiview/base/event_raw/encoded/
Draw_data_builder_json_parser.cpp239 values_.emplace_back(value_); in HandleStatusRun()
240 value_.clear(); in HandleStatusRun()
249 value_.clear(); in HandleStatusValueParse()
256 values_.emplace_back(value_); in HandleStatusValueParse()
257 value_.clear(); in HandleStatusValueParse()
269 values_.emplace_back(value_); in HandleStatusArrayParse()
270 value_.clear(); in HandleStatusArrayParse()
277 value_.clear(); in HandleStatusStringParse()
280 value_.append(1, charactor_); in HandleStatusStringParse()
287 value_.clear(); in HandleStatusStringItemParse()
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_web_message.h40 int64_t GetInt64() { return value_; } in GetInt64()
44 void SetInt64(int64_t value) { value_ = value; } in SetInt64()
59 int64_t value_ = -1; variable
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_execute_callback.h54 explicit WebJsMessageExt(std::shared_ptr<NWebMessage> value) : value_(value) {}; in WebJsMessageExt()
64 return value_; in GetJsMsgResult()
68 std::shared_ptr<NWebMessage> value_ = nullptr;
Dwebview_javascript_execute_callback.cpp271 if (value_) { in GetType()
272 return ConvertToJsType(value_->GetType()); in GetType()
279 if (value_) { in GetString()
280 return value_->GetString(); in GetString()
287 if (value_) { in GetNumber()
288 return value_->GetDouble(); in GetNumber()
295 if (value_) { in GetBoolean()
296 return value_->GetBoolean(); in GetBoolean()
/base/global/resource_management/frameworks/resmgr/src/
Dres_desc.cpp35 switch (value_) { in GetScreenDensityStr()
64 switch (value_) { in GetDeviceTypeStr()
94 switch (value_) { in GetColorModeStr()
112 if (value_ == InputDevice::INPUTDEVICE_POINTINGDEVICE) { in GetInputDeviceStr()
142 errno_t eret = memcpy_s(tmp, sizeof(tmp), &value_, 4); in ConvertToStr()
158 return std::string((value_ == 0) ? VERTICAL : HORIZONTAL); in ConvertToStr()
183 std::string ret = FormatString("[type:%d, value:%u", type_, value_); in ToString()
264 ret.append(FormatString("'%s'", value_.c_str())); in ToString()
Dhap_manager.cpp524 std::string tempFilePath(idItem->value_); in GetFilePathFromHap()
530 filePath = idItem->value_.substr(index + 1); in GetFilePathFromHap()
534 tempFilePath.append(idItem->value_); in GetFilePathFromHap()
760 auto index = idItem->value_.find('/'); in GetFilePath()
762 HILOG_ERROR("resource path format error, %s", idItem->value_.c_str()); in GetFilePath()
765 auto nameWithoutModule = idItem->value_.substr(index + 1); in GetFilePath()
768 if (Utils::IsFileExist(idItem->value_)) { in GetFilePath()
769 outValue = idItem->value_; in GetFilePath()
772 auto index = idItem->value_.find('/'); in GetFilePath()
774 HILOG_ERROR("resource path format error, %s", idItem->value_.c_str()); in GetFilePath()
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_desc.cpp28 switch (value_) { in GetScreenDensityStr()
57 switch (value_) { in GetDeviceTypeStr()
87 errno_t eret = memcpy_s(tmp, sizeof(tmp), &value_, 4); in ConvertToStr()
103 return std::string((value_ == 0) ? VERTICAL : HORIZONTAL); in ConvertToStr()
116 std::string ret = FormatString("[type:%d, value:%u", type_, value_); in ToString()
200 ret.append(FormatString("'%s'", value_.c_str())); in ToString()
Dresource_manager_impl.cpp119 RState ret = ResolveReference(idItem->value_, outValue); in GetString()
301 refStr = idItem->value_; in ResolveReference()
393 RState state = ResolveReference(idItem->value_, temp); in GetBoolean()
426 RState state = ResolveReference(idItem->value_, temp); in GetFloat()
452 RState state = ResolveReference(idItem->value_, temp); in GetInteger()
478 RState state = ResolveReference(idItem->value_, temp); in GetColor()
586 outValue.append(idItem->value_); in GetRawFile()
/base/startup/init/services/param/watcher/agent/
Dwatcher_manager_kits.h56 bool ret = (value_ == value && name_ == name); in CheckValueChange()
57 value_ = value; in CheckValueChange()
62 std::string value_ {};
/base/useriam/user_auth_framework/frameworks/native/common/dfx/inc/
Diam_hitrace_helper.h35 std::string value_; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_desc.h95 std::string value_; variable
136 uint32_t value_; variable
/base/security/access_token/services/common/database/include/
Dvariant_value.h50 std::variant<int32_t, int64_t, std::string> value_; variable
/base/global/resource_management/frameworks/resmgr/include/
Dres_desc.h96 std::string value_; variable
137 uint32_t value_; variable

12