Home
last modified time | relevance | path

Searched refs:strValue (Results 1 - 25 of 26) sorted by relevance

12

/base/telephony/sms_mms/test/fuzztest/cdmasmsdecode_fuzzer/
H A 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/
H A Dwappushbuffer_fuzzer.cpp32 std::string strValue(reinterpret_cast<const char *>(data), size); in WapPushBuffer()
35 smsWapPushHandler->DecodeWapPushPdu(indexer, strValue); in WapPushBuffer()
58 decodeBuffer->DecodeTokenText(strValue, desLen); in WapPushBuffer()
59 decodeBuffer->DecodeText(strValue, desLen); in WapPushBuffer()
61 decodeBuffer->DecodeQuotedText(strValue, desLen); in WapPushBuffer()
75 decodeBuffer->DecodeTextValue(strValue, isNoValue); in WapPushBuffer()
/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_utils_in_c.cpp41 std::string strValue(entry.value); in EnforceCodeSignForApp()
45 entryPathMap[strKey] = strValue; in EnforceCodeSignForApp()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
H A 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/session/src/
H A Dnapi_common_utils.cpp79 int32_t NapiCommonUtils::GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue) in GetString() argument
86 return GetString(env, value, strValue); in GetString()
91 int32_t NapiCommonUtils::GetString(napi_env env, napi_value arg, std::string &strValue) in GetString() argument
102 strValue.assign(buff.data(), copied); in GetString()
288 std::string strValue; in ConvertVectorToStr() local
290 if (!strValue.empty()) { in ConvertVectorToStr()
291 strValue.append(", "); in ConvertVectorToStr()
294 strValue.append(str.first); in ConvertVectorToStr()
296 strValue.append(str.second); in ConvertVectorToStr()
299 return strValue; in ConvertVectorToStr()
[all...]
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/
H A Dhisyseventmanager_fuzzer.cpp65 std::string strValue; in HiSysEventRecordTest() local
66 (void)record.GetParamValue(data, strValue); in HiSysEventRecordTest()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscan_option_value.cpp82 void ScanOptionValue::SetStrValue(const std::string &strValue) in SetStrValue() argument
84 strValue_ = strValue; in SetStrValue()
H A Dscan_option_value_helper.cpp26 static constexpr const char *PARAM_SCAN_OPTION_STR_VALUE = "strValue";
99 std::string strValue = NapiScanUtils::GetStringPropertyUtf8(env, jsValue, PARAM_SCAN_OPTION_STR_VALUE); in BuildFromJs() local
100 nativeObj->SetStrValue(strValue); in BuildFromJs()
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
H A 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/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscan_option_value.h41 void SetStrValue(const std::string &strValue);
/base/update/updateservice/frameworks/js/napi/session/include/
H A Dnapi_common_utils.h37 static int32_t GetString(napi_env env, napi_value arg, const std::string &attrName, std::string &strValue);
38 static int32_t GetString(napi_env env, napi_value arg, std::string &strValue);
/base/customization/enterprise_device_management/interfaces/kits/common/include/
H A Dnapi_edm_common.h98 bool ParseStringToInt(const std::string &strValue, int32_t &result);
99 bool ParseStringToLong(const std::string &strValue, int64_t &result);
/base/customization/enterprise_device_management/interfaces/kits/common/src/
H A Dnapi_edm_common.cpp628 bool ParseStringToInt(const std::string &strValue, int32_t &result) in ParseStringToInt() argument
631 if (!ParseStringToLong(strValue, temp)) { in ParseStringToInt()
643 bool ParseStringToLong(const std::string &strValue, int64_t &result) in ParseStringToLong() argument
646 const char *p = strValue.c_str(); in ParseStringToLong()
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp452 std::string strValue; in Unmarshalling() local
453 res = data.ReadString(strValue); in Unmarshalling()
454 output.emplace<std::string>(strValue); in Unmarshalling()
/base/startup/init/services/init/
H A Dinit_group_manager.c92 char *strValue = cJSON_GetStringValue(item); in ParseGroupCfgItem() local
93 if (strValue != NULL) { in ParseGroupCfgItem()
94 AddGroupNode(type, strValue); in ParseGroupCfgItem()
/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_header.cpp1297 std::string strValue = ""; in EcondeFieldMessageClassValue() local
1298 if (GetTextValue(MMS_MESSAGE_CLASS, strValue)) { in EcondeFieldMessageClassValue()
1299 if (strValue == "personal") { in EcondeFieldMessageClassValue()
1301 } else if (strValue == "advertisement") { in EcondeFieldMessageClassValue()
1303 } else if (strValue == "informational") { in EcondeFieldMessageClassValue()
1305 } else if (strValue == "auto") { in EcondeFieldMessageClassValue()
1312 return EncodeTextStringValue(buff, MMS_MESSAGE_CLASS, strValue); in EcondeFieldMessageClassValue()
/base/telephony/core_service/services/sim/include/
H A Dicc_file_controller.h73 void SendMultiRecordResult(const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue);
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp389 napi_value strValue = nullptr; in CreateString() local
390 if (napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &strValue) != napi_ok) { in CreateString()
394 return strValue; in CreateString()
/base/telephony/core_service/frameworks/native/src/
H A Dresource_utils.cpp415 std::string strValue; in SaveAllValue() local
423 if (GetStringByName(iter.first.c_str(), strValue)) { in SaveAllValue()
424 mapResourceValues_[iter.first] = strValue; in SaveAllValue()
425 TELEPHONY_LOGE("SaveAllValue strValue %{public}s", strValue.c_str()); in SaveAllValue()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_report_test.cpp141 std::string strValue = to_string(value); in ActionValueDecision() local
142 return strValue; in ActionValueDecision()
180 std::string strValue = to_string(value).substr(THERMAL_RATIO_BEGIN, THERMAL_RATIO_LENGTH); in LcdValueDecision() local
181 return strValue; in LcdValueDecision()
/base/telephony/core_service/services/sim/src/
H A Dicc_file_controller.cpp512 const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue) in SendMultiRecordResult()
525 object->fileResults.assign(strValue.begin(), strValue.end()); in SendMultiRecordResult()
526 object->resultLength = static_cast<int>(strValue.size()); in SendMultiRecordResult()
511 SendMultiRecordResult( const AppExecFwk::InnerEvent::Pointer &response, std::vector<std::string> &strValue) SendMultiRecordResult() argument
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test_sim_ril.cpp633 std::vector<std::string> strValue = {"FFFFFFFFFFFFFFFF"}; in HWTEST_F() local
634 object->fileResults.assign(strValue.begin(), strValue.end()); in HWTEST_F()
635 object->resultLength = static_cast<int>(strValue.size()); in HWTEST_F()
928 std::vector<std::string> strValue; in HWTEST_F() local
934 iccFileController->SendMultiRecordResult(event6, strValue); in HWTEST_F()
1297 std::vector<std::string> strValue; in HWTEST_F() local
1299 iccFileController->SendMultiRecordResult(respone, strValue); in HWTEST_F()
H A Dcore_service_native_branch_test.cpp127 std::string strValue = ""; in HWTEST_F() local
135 EXPECT_FALSE(resourceUtils.GetStringByName("testName", strValue)); in HWTEST_F()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dweb_scheme_handler_request.cpp105 std::string strValue(value); in WebSchemeHandlerRequest()
106 headerList_.emplace_back(std::make_pair(strKey, strValue)); in WebSchemeHandlerRequest()
/base/global/resource_management/frameworks/resmgr/src/
H A Dresource_manager_impl.cpp709 RState ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &unit) in ParseFloat() argument
713 if (!regex_search(strValue, floatMatch, reg)) { in ParseFloat()
714 RESMGR_HILOGD(RESMGR_TAG, "not valid float value %{public}s", strValue.c_str()); in ParseFloat()

Completed in 25 milliseconds

12