Home
last modified time | relevance | path

Searched refs:strValue (Results 1 – 20 of 20) sorted by relevance

/base/telephony/sms_mms/test/fuzztest/wappushbuffer_fuzzer/
Dwappushbuffer_fuzzer.cpp30 std::string strValue(reinterpret_cast<const char *>(data), size); in WapPushBuffer()
32 smsWapPushHandler->DecodeWapPushPdu(strValue); in WapPushBuffer()
55 decodeBuffer->DecodeTokenText(strValue, desLen); in WapPushBuffer()
56 decodeBuffer->DecodeText(strValue, desLen); in WapPushBuffer()
58 decodeBuffer->DecodeQuotedText(strValue, desLen); in WapPushBuffer()
72 decodeBuffer->DecodeTextValue(strValue, isNoValue); in WapPushBuffer()
/base/update/updateservice/test/unittest/update_client/
Dclient_stub.cpp85 strValue = std::string(static_cast<char*>(const_cast<void*>(value))); in TestNApiValue()
308 (void)memcpy_s(buf, bufsize, testValue->strValue.data(), testValue->strValue.size()); in napi_get_value_string_utf8()
311 testValue->strValue.c_str(), bufsize, testValue->strValue.size()); in napi_get_value_string_utf8()
312 *result = testValue->strValue.size(); in napi_get_value_string_utf8()
355 if (testValue->strValue.empty()) { in napi_set_named_property()
359 testEnv->pakcageInfo.result[0].versionName = testValue->strValue; in napi_set_named_property()
361 testEnv->pakcageInfo.result[0].versionCode = testValue->strValue; in napi_set_named_property()
363 testEnv->pakcageInfo.result[0].verifyInfo = testValue->strValue; in napi_set_named_property()
365 if (testValue->strValue.size() > 0) { in napi_set_named_property()
366 testEnv->pakcageInfo.result[0].descriptPackageId = testValue->strValue; in napi_set_named_property()
[all …]
Dclient_stub.h44 std::string strValue; variable
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_util.cpp72 napi_value strValue = nullptr; in CreateString() local
73 if (napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &strValue) != napi_ok) { in CreateString()
77 return strValue; in CreateString()
/base/update/updateservice/frameworks/js/napi/base/src/
Dnapi_util.cpp48 …piUtil::GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue) in GetString() argument
55 return GetString(env, value, strValue); in GetString()
60 int32_t NapiUtil::GetString(napi_env env, napi_value arg, std::string &strValue) in GetString() argument
71 strValue.assign(buff.data(), copied); in GetString()
Dclient_helper.cpp646 std::string strValue; in ConvertVectorToStr() local
648 if (!strValue.empty()) { in ConvertVectorToStr()
649 strValue.append(", "); in ConvertVectorToStr()
651 strValue.append(str); in ConvertVectorToStr()
653 return strValue; in ConvertVectorToStr()
/base/update/updateservice/frameworks/js/napi/base/include/
Dnapi_util.h61 …nt32_t GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue);
62 static int32_t GetString(napi_env env, napi_value arg, std::string &strValue);
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/
Dhisyseventmanager_fuzzer.cpp65 std::string strValue; in HiSysEventRecordTest() local
66 (void)record.GetParamValue(data, strValue); in HiSysEventRecordTest()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_util.cpp203 char strValue[bufsize + 1]; // 1 for '\0' in GetString() local
205 if (napi_get_value_string_utf8(env, value, strValue, bufsize, &result) != napi_ok) { in GetString()
209 return strValue; in GetString()
341 napi_value strValue = nullptr; in CreateString() local
342 if (napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &strValue) != napi_ok) { in CreateString()
346 return strValue; in CreateString()
/base/startup/init/services/init/
Dinit_group_manager.c58 char *strValue = cJSON_GetStringValue(item); in ParseGroupCfgItem() local
59 if (strValue != NULL) { in ParseGroupCfgItem()
60 AddGroupNode(type, strValue); in ParseGroupCfgItem()
/base/startup/syspara_lite/hals/parameter/src/
Dparameter_hal.cpp45 const std::string strValue(value); in IsValidValue() local
46 if (strValue.length() + 1 > len) { in IsValidValue()
/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_header.cpp1238 std::string strValue = ""; in EcondeFieldMessageClassValue() local
1239 if (GetTextValue(MMS_MESSAGE_CLASS, strValue)) { in EcondeFieldMessageClassValue()
1240 if (strValue == "personal") { in EcondeFieldMessageClassValue()
1242 } else if (strValue == "advertisement") { in EcondeFieldMessageClassValue()
1244 } else if (strValue == "informational") { in EcondeFieldMessageClassValue()
1246 } else if (strValue == "auto") { in EcondeFieldMessageClassValue()
1253 return EncodeTextStringValue(buff, MMS_MESSAGE_CLASS, strValue); in EcondeFieldMessageClassValue()
/base/telephony/core_service/services/sim/include/
Dicc_file_controller.h74 …iRecordResult(const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue);
/base/telephony/core_service/frameworks/native/src/
Dresource_utils.cpp413 std::string strValue; in SaveAllValue() local
421 if (GetStringByName(iter.first.c_str(), strValue)) { in SaveAllValue()
422 mapResourceValues_[iter.first] = strValue; in SaveAllValue()
423 TELEPHONY_LOGE("SaveAllValue strValue %{public}s", strValue.c_str()); in SaveAllValue()
/base/telephony/core_service/services/sim/src/
Dicc_file_controller.cpp477 const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue) in SendMultiRecordResult() argument
482 object->fileResults.assign(strValue.begin(), strValue.end()); in SendMultiRecordResult()
483 object->resultLength = static_cast<int>(strValue.size()); in SendMultiRecordResult()
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_action_report_test.cpp244 std::string strValue = to_string(value); in ActionValueDecision() local
245 return strValue; in ActionValueDecision()
284 std::string strValue = to_string(value).substr(THERMAL_RATIO_BEGIN, THERMAL_RATIO_LENGTH); in LcdValueDecision() local
285 return strValue; in LcdValueDecision()
/base/hiviewdfx/hiappevent/
DREADME_zh.md226 …("test_event", hiAppEvent.EventType.FAULT, {"int_data":100, "str_data":"strValue"}, (err, value) =…
238 …hiAppEvent.write("test_event", hiAppEvent.EventType.FAULT, {"int_data":100, "str_data":"strValue"})
DREADME.md226 …("test_event", hiAppEvent.EventType.FAULT, {"int_data":100, "str_data":"strValue"}, (err, value) =…
238 …hiAppEvent.write("test_event", hiAppEvent.EventType.FAULT, {"int_data":100, "str_data":"strValue"})
/base/global/resource_management/frameworks/resmgr/include/
Dresource_manager_impl.h501 RState ParseFloat(const std::string &strValue, float &result, std::string &unit);
/base/global/resource_management/frameworks/resmgr/src/
Dresource_manager_impl.cpp582 RState ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &uni… in ParseFloat() argument
586 if (!regex_search(strValue, floatMatch, reg)) { in ParseFloat()
587 HILOG_ERROR("not valid float value %{public}s", strValue.c_str()); in ParseFloat()