Home
last modified time | relevance | path

Searched refs:tempStr (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_restore_deps_manager.cpp113 string tempStr = srcStr.substr(start, index - start); in SplitString() local
114 tempStr.erase(0, tempStr.find_first_not_of(" ")); in SplitString()
115 tempStr.erase(tempStr.find_last_not_of(" ") + 1); in SplitString()
116 tempStr.erase(tempStr.find_last_not_of("\r") + 1); in SplitString()
117 dst.push_back(tempStr); in SplitString()
124 string tempStr = srcStr.substr(start); in SplitString() local
125 tempStr.erase(0, tempStr.find_first_not_of(" ")); in SplitString()
126 tempStr.erase(tempStr.find_last_not_of(" ") + 1); in SplitString()
127 tempStr.erase(tempStr.find_last_not_of("\r") + 1); in SplitString()
128 dst.push_back(tempStr); in SplitString()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/app_network_speed_limit/
H A Dspeed_limit_configs_writer.cpp80 char tempStr[MAX_ARRAY_LENGTH]; in SetUidPids() local
85 ret = snprintf_s(tempStr, sizeof(tempStr), MAX_ARRAY_LENGTH - 1, "%d", idArray[i]); in SetUidPids()
87 … ret = snprintf_s(tempStr, sizeof(tempStr), MAX_ARRAY_LENGTH - 1, "%s;%d", idStr, idArray[i]); in SetUidPids()
94 if (strcpy_s(idStr, sizeof(idStr), tempStr) != 0) { in SetUidPids()
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/common/src/
H A Dhttp.cpp56 std::string tempStr; in HttpPost() local
57 curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&tempStr); in HttpPost()
75 ret = memcpy_s(response, tempStr.size(), tempStr.c_str(), tempStr.size()); in HttpPost()
80 *responseLen = tempStr.size(); in HttpPost()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/dfx/
H A Dnative_module_dfx.cpp32 std::string tempStr = ""; in DumpHeapSnapshot() local
38 tempStr.reserve(tempStrsize + 1); in DumpHeapSnapshot()
39 tempStr.resize(tempStrsize); in DumpHeapSnapshot()
40 …if (napi_get_value_string_utf8(env, argv[0], tempStr.data(), tempStrsize + 1, &tempStrsize) != nap… in DumpHeapSnapshot()
44 std::string pathStr = tempStr; in DumpHeapSnapshot()
101 std::string tempStr = ""; in StopHeapTracking() local
107 tempStr.reserve(tempStrsize); in StopHeapTracking()
108 tempStr.resize(tempStrsize); in StopHeapTracking()
109 …if (napi_get_value_string_utf8(env, argv, tempStr.data(), tempStrsize + 1, &tempStrsize) != napi_o… in StopHeapTracking()
113 std::string filePath = tempStr; in StopHeapTracking()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dsource_map.cpp143 std::string tempStr; in ExtractKeyInfo() local
148 tempStr += sourceMap[i]; in ExtractKeyInfo()
157 tempStr = ""; in ExtractKeyInfo()
161 tempStr += sourceMap[i]; in ExtractKeyInfo()
328 std::string tempStr; in HandleMappings() local
332 tempStr = ""; in HandleMappings()
334 if (tempStr != "") { in HandleMappings()
337 tempStr = ""; in HandleMappings()
340 tempStr += mapping[i]; in HandleMappings()
343 if (tempStr != "") { in HandleMappings()
[all …]
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
H A Dhilog_vector.cpp77 char **tempStr = static_cast<char**>( in Push() local
82 if (tempStr != nullptr && tempType != nullptr) { in Push()
83 vector->str = tempStr; in Push()
91 char *tempStr = static_cast<char*>(malloc(length)); in Push() local
92 if (tempStr == nullptr) { in Push()
95 vector->str[vector->size] = tempStr; in Push()
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Dsource_map.cpp245 std::string tempStr; in ExtractStackInfo() local
247 res.push_back(tempStr); in ExtractStackInfo()
341 std::string tempStr; in ExtractKeyInfo() local
355 tempStr = ""; in ExtractKeyInfo()
409 std::string tempStr; in HandleMappings() local
413 tempStr = ""; in HandleMappings()
415 if (tempStr != "") { in HandleMappings()
418 tempStr = ""; in HandleMappings()
421 tempStr += mapping[i]; in HandleMappings()
424 if (tempStr != "") { in HandleMappings()
[all …]
H A Duncaught_exception_callback.cpp106 std::string tempStr; in GetBuildId() local
109 while (std::getline(ss, tempStr)) { in GetBuildId()
110 auto spitlPos = tempStr.rfind(" "); in GetBuildId()
112 auto elfFile = std::make_shared<HiviewDFX::DfxElf>(tempStr.substr(spitlPos + 1)); in GetBuildId()
115 addBuildId += tempStr + "(" + buildId + ")" + "\n"; in GetBuildId()
117 addBuildId += tempStr + "\n"; in GetBuildId()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/include/
H A Dsocperf_common.h167 std::string tempStr = str; in SplitEx() local
168 tempStr += pattern; in SplitEx()
169 int32_t length = (int32_t)tempStr.size(); in SplitEx()
171 position = (int32_t)tempStr.find(pattern, i); in SplitEx()
173 std::string tmp = tempStr.substr(i, position - i); in SplitEx()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dphoto_album_clone.cpp29 std::string tempStr; in ToString() local
30 arg.GetString(tempStr); in ToString()
31 args += tempStr + ", "; in ToString()
H A Dphoto_album_dao.cpp213 std::string tempStr; in ToString() local
214 arg.GetString(tempStr); in ToString()
215 args += tempStr + ", "; in ToString()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dability_stage_context.cpp285 std::string tempStr = path; in CreateMultiDir() local
286 tempStr += fileSeparator_; in CreateMultiDir()
292 while ((pos = tempStr.find(fileSeparator_, pos)) != std::string::npos) { in CreateMultiDir()
293 strFolderPath = tempStr.substr(0, pos); in CreateMultiDir()
305 return Access(tempStr); in CreateMultiDir()
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/include/
H A Dsocperf_common.h291 std::string tempStr = str; in SplitEx() local
292 tempStr += pattern; in SplitEx()
293 int32_t length = (int32_t)tempStr.size(); in SplitEx()
295 position = (int32_t)tempStr.find(pattern, i); in SplitEx()
297 std::string tmp = tempStr.substr(i, position - i); in SplitEx()
/ohos5.0/base/telephony/ril_adapter/services/vendor/src/
H A Dat_network.c2008 char *tempStr = (char *)str; in FillNeighboringCellSsbId() local
2009 if (NextIntNotSkipNextComma(&tempStr, &tempData) != 0) { in FillNeighboringCellSsbId()
2022 if (NextIntNotSkipNextComma(&tempStr, &tempData) != 0) { in FillNeighboringCellSsbId()
2026 if (NextIntNotSkipNextComma(&tempStr, &tempData) != 0) { in FillNeighboringCellSsbId()
2030 if (NextIntNotSkipNextComma(&tempStr, &tempData) != 0) { in FillNeighboringCellSsbId()
2056 char *tempStr = (char *)str; in FillServingCellSsbId() local
2076 char *tempStr = (char *)str; in ProcessNrSsbId() local
2078 if ((tempStr == NULL) || (nrSsbIdInfo == NULL)) { in ProcessNrSsbId()
2083 TELEPHONY_LOGD("result: %{public}s", tempStr); in ProcessNrSsbId()
2084 int32_t err = SkipATPrefix(&tempStr); in ProcessNrSsbId()
[all …]
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_param_encode.cpp239 std::string tempStr(REL_TIME_LEN + 1, '\0'); in EncodeTimePdu() local
240 …int ret = memcpy_s(tempStr.data(), REL_TIME_LEN + 1, &(timeStamp->time.relative.time), REL_TIME_LE… in EncodeTimePdu()
244 resultValue = tempStr; in EncodeTimePdu()
/ohos5.0/base/tee/tee_client/services/cadaemon/src/ca_daemon/
H A Dcadaemon_stub.cpp92 string tempStr; in GetChar() local
99 ret = data.ReadString(tempStr); in GetChar()
101 …if (strnlen(tempStr.c_str(), PATH_MAX) == PATH_MAX || strLen != strnlen(tempStr.c_str(), PATH_MAX)… in GetChar()
106 if (strcpy_s(tempChar, PATH_MAX + 1, tempStr.c_str()) != EOK) { in GetChar()
/ohos5.0/drivers/peripheral/input/hal/src/
H A Dinput_controller.c55 const char *tempStr = NULL; in ReadStrBuf() local
58 tempStr = HdfSbufReadString(reply); in ReadStrBuf()
59 if (tempStr != NULL) { in ReadStrBuf()
60 if (strncpy_s(buf, length, tempStr, strlen(tempStr)) == EOK) { in ReadStrBuf()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp713 std::string tempStr = ""; in Trace() local
716 HILOG_INFO("%{public}s%{public}s", groupIndent.c_str(), tempStr.c_str()); in Trace()
717 tempStr = ""; in Trace()
719 tempStr += stack[i]; in Trace()
730 std::string tempStr = ""; in TraceHybridStack() local
733 HILOG_INFO("%{public}s%{public}s", groupIndent.c_str(), tempStr.c_str()); in TraceHybridStack()
734 tempStr = ""; in TraceHybridStack()
736 tempStr += stack[i]; in TraceHybridStack()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_parser.cpp102 std::string tempStr; in GetPeriodAttr() local
105 periodNode->GetAttr("start", tempStr); in GetPeriodAttr()
106 DashStrToDuration(tempStr, periodInfo->start_); in GetPeriodAttr()
108 periodNode->GetAttr("duration", tempStr); in GetPeriodAttr()
109 DashStrToDuration(tempStr, periodInfo->duration_); in GetPeriodAttr()
111 periodNode->GetAttr("bitstreamSwitching", tempStr); in GetPeriodAttr()
112 if (tempStr == "true") { in GetPeriodAttr()
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Dpkg_db_helper.cpp338 std::string tempStr; in QueryAndGetResultColumnValues() local
339 if (resultSet->GetString(columnIndex, tempStr) == E_OK) { in QueryAndGetResultColumnValues()
340 columnValues.push_back(tempStr); in QueryAndGetResultColumnValues()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp490 std::string tempStr; in ExtractEachInfo() local
493 res.push_back(tempStr); in ExtractEachInfo()
494 tempStr = ""; in ExtractEachInfo()
496 tempStr += tempStack[i]; in ExtractEachInfo()
499 if (!tempStr.empty()) { in ExtractEachInfo()
500 res.push_back(tempStr); in ExtractEachInfo()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_locale.cpp463 std::string tempStr = outValue.at(j + 1); in FindAndSort() local
465 outValue.at(j) = tempStr; in FindAndSort()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dres_locale.cpp474 std::string tempStr = outValue.at(j + 1); in FindAndSort() local
476 outValue.at(j) = tempStr; in FindAndSort()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_asset_manager_napi.cpp981 std::string tempStr = fileUri.substr(PhotoColumn::PHOTO_URI_PREFIX.length()); in SavePicture() local
982 std::size_t index = tempStr.find("/"); in SavePicture()
983 std::string fileId = tempStr.substr(0, index); in SavePicture()
1140 std::string tempStr = fileUri.substr(PhotoColumn::PHOTO_URI_PREFIX.length()); in GetPictureNapiObject() local
1141 std::size_t index = tempStr.find("/"); in GetPictureNapiObject()
1142 std::string fileId = tempStr.substr(0, index); in GetPictureNapiObject()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_utils.cpp480 std::string tempStr = std::string(value); in Convert2JSValue() local
481 if (napi_create_string_utf8(env, tempStr.c_str(), tempStr.size(), &output) != napi_ok) { in Convert2JSValue()

12