/base/telephony/sms_mms/test/fuzztest/wappushbuffer_fuzzer/ |
D | wappushbuffer_fuzzer.cpp | 30 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/ |
D | client_stub.cpp | 85 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 …]
|
D | client_stub.h | 44 std::string strValue; variable
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/ |
D | napi_util.cpp | 72 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/ |
D | napi_util.cpp | 48 …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()
|
D | client_helper.cpp | 646 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/ |
D | napi_util.h | 61 …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/ |
D | hisyseventmanager_fuzzer.cpp | 65 std::string strValue; in HiSysEventRecordTest() local 66 (void)record.GetParamValue(data, strValue); in HiSysEventRecordTest()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_util.cpp | 203 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/ |
D | init_group_manager.c | 58 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/ |
D | parameter_hal.cpp | 45 const std::string strValue(value); in IsValidValue() local 46 if (strValue.length() + 1 > len) { in IsValidValue()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_header.cpp | 1238 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/ |
D | icc_file_controller.h | 74 …iRecordResult(const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue);
|
/base/telephony/core_service/frameworks/native/src/ |
D | resource_utils.cpp | 413 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/ |
D | icc_file_controller.cpp | 477 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/ |
D | thermal_action_report_test.cpp | 244 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/ |
D | README_zh.md | 226 …("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"})
|
D | README.md | 226 …("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/ |
D | resource_manager_impl.h | 501 RState ParseFloat(const std::string &strValue, float &result, std::string &unit);
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | resource_manager_impl.cpp | 582 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()
|