Home
last modified time | relevance | path

Searched refs:resStr (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_schema_database_upgrade_test.cpp44 std::string resStr = oriString; in StringEraser() local
45 auto iter = std::search(resStr.begin(), resStr.end(), toErase.begin(), toErase.end()); in StringEraser()
46 resStr.erase(iter, iter + toErase.size()); in StringEraser()
47 return resStr; in StringEraser()
51 std::string resStr = oriString; in StringReplacer() local
52 auto iter = std::search(resStr.begin(), resStr.end(), toErase.begin(), toErase.end()); in StringReplacer()
53 resStr.replace(iter, iter + toErase.size(), toRepalce); in StringReplacer()
54 return resStr; in StringReplacer()
82 std::string resStr = oriSchemaStr; SchemaSwitchMode() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dprocess_group_util.cpp109 std::string resStr{"res"}; in ReadFileToStringForVFSFromExecutor()
110 if (!reply.contains(resStr) || !reply[resStr].is_string()) { in ReadFileToStringForVFSFromExecutor()
113 content = reply[resStr].get<std::string>(); in ReadFileToStringForVFSFromExecutor()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/
H A Ddriver_installer.cpp181 std::string resStr = destinedDir; in CreateDriverSoDestinedDir() local
182 if (resStr.back() != ServiceConstants::PATH_SEPARATOR[0]) { in CreateDriverSoDestinedDir()
183 resStr += ServiceConstants::PATH_SEPARATOR; in CreateDriverSoDestinedDir()
186 resStr.append(TEMP_PREFIX); in CreateDriverSoDestinedDir()
188 resStr.append(bundleName).append(Constants::FILE_UNDERLINE).append(moduleName) in CreateDriverSoDestinedDir()
190 return resStr; in CreateDriverSoDestinedDir()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/
H A Dressched_utils.cpp195 std::string resStr{"res"}; in CheckTidIsInPid()
196 if (!reply.contains(resStr) || !reply[resStr].is_boolean()) { in CheckTidIsInPid()
199 return reply[resStr]; in CheckTidIsInPid()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhstream_capture.cpp183 std::string resStr = ""; in SetBufferProducerInfo() local
189 resStr += bufName + ","; in SetBufferProducerInfo()
197 resStr += bufName + ","; in SetBufferProducerInfo()
205 resStr += bufName + ","; in SetBufferProducerInfo()
213 resStr += bufName + ","; in SetBufferProducerInfo()
221 resStr += bufName + ","; in SetBufferProducerInfo()
224 MEDIA_INFO_LOG("HStreamCapture::SetBufferProducerInfo bufferQueue whether is nullptr: %{public}s", resStr.c_str()); in SetBufferProducerInfo()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dtransform_util_test.cpp161 std::string resStr; in HWTEST_F() local
162 resStr.append("translate: ") in HWTEST_F()
201 EXPECT_EQ(decomposedTransform.ToString(), resStr); in HWTEST_F()
/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf_config.cpp575 char* resStr = reinterpret_cast<char*>(const_cast<xmlChar*>(greatGrandson->name)); in ParseResValue() local
577 if (!resStr || g_resStrToIdInfo.find(resStr) == g_resStrToIdInfo.end() in ParseResValue()
579 SOC_PERF_LOGE("Invalid cmd resource(%{public}s) for %{private}s", resStr, configFile.c_str()); in ParseResValue()
583 action->variable.push_back(g_resStrToIdInfo[resStr]); in ParseResValue()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Ddata_ability_impl_file_test.cpp79 std::string resStr = dataabilityimpl->GetType(uri); in HWTEST_F() local
81 EXPECT_STREQ("Type1", resStr.c_str()); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_audio_operations_test/src/
H A Dmedialibrary_audio_operations_test.cpp253 string resStr = get<string>(res); in GetFileAssetValueToStr() local
254 if (!resStr.empty()) { in GetFileAssetValueToStr()
255 return resStr; in GetFileAssetValueToStr()
303 string resStr = GetFileAssetValueToStr(*fileAsset, iter.first); in QueryAndVerifyAudioAsset() local
304 if (resStr.empty()) { in QueryAndVerifyAudioAsset()
308 if (resStr != iter.second) { in QueryAndVerifyAudioAsset()
310 iter.first.c_str(), iter.second.c_str(), resStr.c_str()); in QueryAndVerifyAudioAsset()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_photo_operations_test.cpp255 string resStr = get<string>(res); in GetFileAssetValueToStr() local
256 if (!resStr.empty()) { in GetFileAssetValueToStr()
257 return resStr; in GetFileAssetValueToStr()
305 string resStr = GetFileAssetValueToStr(*fileAsset, iter.first); in QueryAndVerifyPhotoAsset() local
306 if (resStr.empty()) { in QueryAndVerifyPhotoAsset()
310 if (resStr != iter.second) { in QueryAndVerifyPhotoAsset()
312 iter.first.c_str(), iter.second.c_str(), resStr.c_str()); in QueryAndVerifyPhotoAsset()

Completed in 18 milliseconds