Home
last modified time | relevance | path

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

/base/telephony/sms_mms/test/fuzztest/cdmasmsdecode_fuzzer/
Dcdmasmsdecode_fuzzer.cpp38 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/
Dwappushbuffer_fuzzer.cpp30 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/
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.cpp52 …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()
Dclient_helper.cpp648 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/
Dnapi_util.h64 …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/
Dhisyseventmanager_fuzzer.cpp65 std::string strValue; in HiSysEventRecordTest() local
66 (void)record.GetParamValue(data, strValue); in HiSysEventRecordTest()
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
Dsmspdubuffer_fuzzer.cpp27 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/
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/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/services/sim/src/
Dicc_file_controller.cpp501 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/
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/powermgr/thermal_manager/test/unittest/src/
Dthermal_action_report_test.cpp129 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/
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.h553 RState ParseFloat(const std::string &strValue, float &result, std::string &unit);
/base/global/resource_management/frameworks/resmgr/src/
Dresource_manager_impl.cpp563 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()