/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/common/js/ |
H A D | general.js | 19 router.replace({ 24 router.replace({ 29 router.replace({ 38 router.replace({ uri: prevUri }); 41 router.replace({ uri: "/" }); 44 router.replace({ uri: nextUri }); 51 router.replace({ uri: "pages/index/index" }); 54 router.replace({ uri: prevUri }); 57 router.replace({ uri: nextUri }); 63 router.replace({ ur [all...] |
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/common/js/ |
H A D | general.js | 21 router.replace({ uri: "/pages/index/index" }); 25 router.replace({ uri: superiorUri }); 51 router.replace({ 56 router.replace({ 61 router.replace({ 71 router.replace({ uri: uri }); 79 router.replace({ uri: "pages/index/index" }); 82 router.replace({ uri: prevUri });
|
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/common/js/ |
H A D | general.js | 19 router.replace({ uri: 'pages/index/index' }); 22 router.replace({ uri: superiorUri }); 29 router.replace({ uri: 'pages/index/index' }); 32 router.replace({ uri: superiorUri }); 39 router.replace({ uri: page });
|
/foundation/arkui/ace_engine/build/tools/ |
H A D | build_resource_to_bytecode.py | 38 input_file = input_file.replace(".", "_") 39 template1 = template1.replace("$1", str(input_file)) \ 40 .replace("$2", str(length)) \ 41 .replace("$3", str(byte_code)) 42 template2 = template2.replace("$1", str(input_file)) \ 43 .replace("$2", str(length))
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/ |
H A D | help_utils.cpp | 89 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir() 93 realPath.replace(realPath.find("%s"), strlen("%s"), "el1"); in CheckUserDir() 100 realPath.replace(realPath.find("%s"), strlen("%s"), "el2"); in CheckUserDir() 110 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir() 111 path.replace(path.find("%s"), strlen("%s"), "el1"); in CheckUserDir() 119 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir() 120 path.replace(path.find("%s"), strlen("%s"), "el2"); in CheckUserDir() 129 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir() 242 dstPath.replace(dstPath.find("%d"), strlen("%d"), std::to_string(id)); in ClearTestResource()
|
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/list/list/list13/ |
H A D | list13.js | 21 router.replace({ uri: 'pages/index/index' }); 24 router.replace({ uri: 'pages/component/list/list/indexOperation/index' }); 27 router.replace({ uri: 'pages/component/list/list/list13/list13' });
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | string_util.h | 98 // find and replace first instance of "find" with "replace" in "source" 100 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceOne() 104 source.replace(source.begin() + static_cast<BASE_NS::string::difference_type>(p), in FindAndReplaceOne() 105 source.begin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in FindAndReplaceOne() 109 // find and replace all instances of "find" with "replace" in "source" 111 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceAll() 113 while (FindAndReplaceOne(source, find, replace)) in FindAndReplaceAll() 99 FindAndReplaceOne( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceOne() argument 110 FindAndReplaceAll( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceAll() argument
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/ |
H A D | string_util.h | 99 // find and replace first instance of "find" with "replace" in "source" 101 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceOne() 105 source.replace(source.cbegin() + static_cast<BASE_NS::string::difference_type>(p), in FindAndReplaceOne() 106 source.cbegin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in FindAndReplaceOne() 110 // find and replace all instances of "find" with "replace" in "source" 112 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceAll() 114 while (FindAndReplaceOne(source, find, replace)) in FindAndReplaceAll() 100 FindAndReplaceOne( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceOne() argument 111 FindAndReplaceAll( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceAll() argument
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/video_job_repository/ |
H A D | video_job_queue.cpp | 69 DeferredVideoJobPtr replace = heap_.back(); in Remove() local 73 if (obj == replace) { in Remove() 76 heap_[index] = replace; in Remove() 77 indexMap_[replace] = index; in Remove() 78 Update(replace); in Remove()
|
/foundation/communication/dsoftbus/ |
H A D | config.py | 75 file_gni = file_gni.replace('platform', 'standard') 77 file_gni = file_gni.replace('platform', 'small') 79 file_gni = file_gni.replace('platform', 'mini')
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | io_util.cpp | 294 void ReplaceTextInFilesImpl(CORE_NS::IFileManager& fileManager, BASE_NS::string_view folderUri, Work& replace) in ReplaceTextInFilesImpl() argument 308 ReplaceTextInFileImpl(fileManager, inFilePath, replace); in ReplaceTextInFilesImpl() 311 ReplaceTextInFilesImpl(fileManager, path, replace); in ReplaceTextInFilesImpl() 317 void ReplaceTextInFileImpl(CORE_NS::IFileManager& fileManager, BASE_NS::string_view uri, Work& replace) in ReplaceTextInFileImpl() argument 326 replace(stringContents); in ReplaceTextInFileImpl() 341 auto replace = [&text, &replaceWith](BASE_NS::string& stringContents) { in ReplaceTextInFiles() local 348 ReplaceTextInFilesImpl(fileManager, folderUri, replace); in ReplaceTextInFiles() 354 auto replace = [&replacements](BASE_NS::string& stringContents) { in ReplaceTextInFiles() local 358 stringContents = stringContents.replace( in ReplaceTextInFiles() 364 ReplaceTextInFilesImpl(fileManager, folderUri, replace); in ReplaceTextInFiles() 370 auto replace = [&replacements](BASE_NS::string& stringContents) { ReplaceTextInFile() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | device.cpp | 504 bool replace = false; in CreateSwapchainImpl() local 516 replace = replace || (checkReplaceWindow && (cmpSwap.window == swapchainCreateInfo.window.window)); in CreateSwapchainImpl() 517 replace = replace || (checkReplaceSurface && (cmpSwap.surfaceHandle == swapchainCreateInfo.surfaceHandle)); in CreateSwapchainImpl() 518 replace = replace || in CreateSwapchainImpl() 521 if (replace) { in CreateSwapchainImpl() 540 if ((!replace) && (swapchains_.size() == DeviceConstants::MAX_SWAPCHAIN_COUNT)) { in CreateSwapchainImpl() 546 if (!replace) { in CreateSwapchainImpl() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | business_error.cpp | 273 errMessage = errMessage.replace(iter, 1, std::to_string(err)); in CreateCommonError() 280 errMessage = errMessage.replace(iter, 1, functionName); in CreateCommonError() 283 errMessage = errMessage.replace(iter, 1, permissionName); in CreateCommonError() 302 errMessage = errMessage.replace(iter, 1, std::to_string(ERROR_PARAM_CHECK_ERROR)); in CreateEnumError() 307 errMessage = errMessage.replace(iter, 1, parameter); in CreateEnumError() 310 errMessage = errMessage.replace(iter, 1, enumClass); in CreateEnumError()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/hidumphelper/ |
H A D | hidump_helper.cpp | 159 result.replace(result.size() - 1, 1, "\n"); in ShowAllLoadedComps() 180 result.replace(result.size() - 1, 1, "\n"); in ShowAllLoadedComps() 215 result.replace(result.size() - 1, 1, "\n"); in ShowAllEnabledComps() 259 result.replace(result.size() - 1, 1, "\n"); in ShowAllTaskInfos() 298 result.replace(result.size() - 1, 1, "\n"); in ShowAllCapabilityInfos()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/ |
H A D | IntfContainerTest.cpp | 364 const auto replace = children[index]; in HWTEST_P() local 367 EXPECT_TRUE(container_->Replace(replace, replaceWith, false)); in HWTEST_P() 370 EXPECT_THAT(container_->GetAll(), Not(Contains(replace))); in HWTEST_P() 372 const auto removed = ChildChangedInfo { replace, index, container_ }; in HWTEST_P() 391 const auto replace = children[expectedCount / 2]; in HWTEST_P() local 394 ASSERT_EQ(replace, replaceWith); in HWTEST_P() 396 EXPECT_TRUE(container_->Replace(replace, replaceWith)); in HWTEST_P() 399 EXPECT_THAT(container_->GetAll(), Contains(replace)); in HWTEST_P() 479 const auto replace = interface_pointer_cast<IObject>(CreateTestType("NotThere")); in HWTEST_P() local 482 EXPECT_FALSE(container_->Replace(replace, replaceWit in HWTEST_P() 711 const auto replace = children[expectedCount / 2]; HWTEST_P() local 854 const auto replace = children[indexReplace]; HWTEST_F() local 881 const auto replace = children[indexReplace]; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/image-animator/01/ |
H A D | index.js | 46 router.replace({
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | fixed_string.h | 281 basic_fixed_string& replace(size_t first, size_t last, const basic_string_view<CharT>& str) in replace() function in basic_fixed_string 283 const auto replace = last - first; in replace() local 285 const auto newSize = len_ + add - replace; in replace() 286 if (add < replace) { in replace() 287 CloneData(data() + first, replace, str.data(), add); in replace() 289 } else if (add > replace) { in replace() 292 data_[i] = data_[i - add + replace]; in replace() 296 CloneData(data() + first, replace, str.data(), add); in replace()
|
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | hisysevent_observer.cpp | 134 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessAvCodecEvent() 167 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessRunningLockEvent() 220 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessAudioEvent() 267 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessCameraEvent() 292 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessBluetoothEvent() 327 std::string str = root.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ProcessWifiEvent()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_uri_utils.cpp | 84 uriString.replace(lastPathPos + 1, tempLastPath.size() - 1, newLastPath.c_str()); in AttachId() 212 // replace "/lastpath"==>"" in UriUpateLastPath() 213 uriString.replace(lastPathPos, lastPath.size() + 1, strUpdateLastPath); in UriUpateLastPath()
|
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test.cpp | 130 path.replace(path.find(curName), curName.length(), newName); in ReplaceBundleNameFromPath() 152 path.replace(path.find(bundleName), bundleName.length(), newName); in ReplaceBundleNameFromPath() 159 GTEST_LOG_(ERROR) << "replace BundleName failed."; in ReplaceBundleName()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | log_print.cpp | 134 outStrFormat.replace(pos, PRIVATE_TAG.size(), "s"); in PreparePrivateLog() 136 outStrFormat.replace(pos, PRIVATE_TAG.size(), ".3s"); in PreparePrivateLog()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | log_print.cpp | 89 outStrFormat.replace(pos, PRIVATE_TAG.size(), ""); in PreparePrivateLog() 93 outStrFormat.replace(pos, PUBLIC_TAG.size(), ""); in PreparePrivateLog()
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/async/async001/ |
H A D | index.js | 21 router.replace({ uri: "pages/index/index" });
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/ |
H A D | debug_printf.cpp | 34 fmtstr.replace(pos, OLD_STR_LEN, NEW_STR); in DebugPrintf()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 82 resultPath.replace(0, curPath.length(), pathMap[curPath]); in ConvertCurrentPath() 95 resultPath.replace(0, curPath.length(), entry.path()); in ConvertCurrentPath() 138 displayName.replace(dotPos, displayName.length() - dotPos, ".camera"); in ConvertLowQualityPath() 186 path = filePath.substr(0, displayNameIndex).replace(0, UPGRADE_FILE_DIR.length(), GARBLE); in GarbleFilePath() 188 path = filePath.substr(0, displayNameIndex).replace(0, GARBLE_DUAL_FRAME_CLONE_DIR.length(), GARBLE); in GarbleFilePath() 190 path = filePath.substr(0, displayNameIndex).replace(0, cloneFilePath.length(), GARBLE); in GarbleFilePath() 192 path = filePath.substr(0, displayNameIndex).replace(0, OTHER_CLONE_PATH.length(), GARBLE); in GarbleFilePath() 194 path = filePath.substr(0, displayNameIndex).replace(0, OTHER_CLONE_PATH.length(), GARBLE); in GarbleFilePath() 344 replacedPath.replace(0, srcPrefix.length(), dstPrefix); in GetReplacedPathByPrefixType()
|