/base/telephony/sms_mms/test/fuzztest/cdmasmsdecode_fuzzer/ |
D | cdmasmsdecode_fuzzer.cpp | 38 std::string strValue(reinterpret_cast<const char *>(data), size); in TeleserviceIdDecode() 39 SmsReadBuffer pdu(strValue); in TeleserviceIdDecode() 60 std::string strValue(reinterpret_cast<const char *>(data), size); in ServiceCategoryDecode() 61 SmsReadBuffer pdu(strValue); in ServiceCategoryDecode() 82 std::string strValue(reinterpret_cast<const char *>(data), size); in BearerReplyDecode() 83 SmsReadBuffer pdu(strValue); in BearerReplyDecode() 104 std::string strValue(reinterpret_cast<const char *>(data), size); in CauseCodesDecode() 105 SmsReadBuffer pdu(strValue); in CauseCodesDecode() 126 std::string strValue(reinterpret_cast<const char *>(data), size); in AddressParameterDecode() 127 SmsReadBuffer pdu(strValue); in AddressParameterDecode() [all …]
|
/base/telephony/sms_mms/test/fuzztest/wappushbuffer_fuzzer/ |
D | wappushbuffer_fuzzer.cpp | 30 std::string strValue(reinterpret_cast<const char *>(data), size); in WapPushBuffer() 33 smsWapPushHandler->DecodeWapPushPdu(indexer, strValue); in WapPushBuffer() 56 decodeBuffer->DecodeTokenText(strValue, desLen); in WapPushBuffer() 57 decodeBuffer->DecodeText(strValue, desLen); in WapPushBuffer() 59 decodeBuffer->DecodeQuotedText(strValue, desLen); in WapPushBuffer() 73 decodeBuffer->DecodeTextValue(strValue, isNoValue); in WapPushBuffer()
|
/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 | 52 …piUtil::GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue) in GetString() argument 59 return GetString(env, value, strValue); in GetString() 64 int32_t NapiUtil::GetString(napi_env env, napi_value arg, std::string &strValue) in GetString() argument 75 strValue.assign(buff.data(), copied); in GetString()
|
D | client_helper.cpp | 648 std::string strValue; in ConvertVectorToStr() local 650 if (!strValue.empty()) { in ConvertVectorToStr() 651 strValue.append(", "); in ConvertVectorToStr() 654 strValue.append(str.first); in ConvertVectorToStr() 656 strValue.append(str.second); in ConvertVectorToStr() 659 return strValue; in ConvertVectorToStr()
|
/base/update/updateservice/frameworks/js/napi/base/include/ |
D | napi_util.h | 64 …nt32_t GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue); 65 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/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/ |
D | smspdubuffer_fuzzer.cpp | 27 std::string strValue(reinterpret_cast<const char *>(data), size); in ReadBuffer() 28 auto buffer = std::make_unique<SmsReadBuffer>(strValue); in ReadBuffer()
|
/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/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/services/sim/src/ |
D | icc_file_controller.cpp | 501 const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue) in SendMultiRecordResult() argument 510 object->fileResults.assign(strValue.begin(), strValue.end()); in SendMultiRecordResult() 511 object->resultLength = static_cast<int>(strValue.size()); in SendMultiRecordResult()
|
/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/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_action_report_test.cpp | 129 std::string strValue = to_string(value); in ActionValueDecision() local 130 return strValue; in ActionValueDecision() 169 std::string strValue = to_string(value).substr(THERMAL_RATIO_BEGIN, THERMAL_RATIO_LENGTH); in LcdValueDecision() local 170 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 | 553 RState ParseFloat(const std::string &strValue, float &result, std::string &unit);
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | resource_manager_impl.cpp | 563 RState ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &uni… in ParseFloat() argument 567 if (!regex_search(strValue, floatMatch, reg)) { in ParseFloat() 568 HILOG_ERROR("not valid float value %{public}s", strValue.c_str()); in ParseFloat()
|