/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_texttimer.cpp | 163 format.replace(pos, sizeof("hh") - 1, "HH"); in SetFormat()
|
H A D | js_navigation_stack.cpp | 485 auto replace = dataSourceObj_->GetProperty("isReplace"); in GetReplaceValue() local 486 return replace->ToNumber<int32_t>(); in GetReplaceValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/ |
H A D | text_input_layout_algorithm.cpp | 34 std::replace(textContent_.begin(), textContent_.end(), '\n', ' '); in MeasureContent()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_path_animation.cpp | 300 sourceStr.replace(position, subStr.length(), newStr); in ReplaceSubString()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helpers_gles.cpp | 159 source.replace(bi, ei, "uniform ");
in ConvertConstantToUniform()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/network_client/ |
H A D | http_curl_client.cpp | 64 output.replace(pos, 1, str); in InsertCharBefore()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_file_operations.cpp | 385 selection.replace(pos, key.length(), keyInstead); in ReplaceSelectionAndArgsInQuery()
|
H A D | medialibrary_audio_operations.cpp | 427 string localPath = path.replace(0, CLOUD_AUDIO_DIR.length(), LOCAL_AUDIO_DIR); in MoveToMusic()
|
H A D | medialibrary_album_operations.cpp | 147 selection.replace(argPos, 1, "? OR 1=1)"); in ReplaceRelativePath() 148 selection.replace(pos, MEDIA_DATA_DB_RELATIVE_PATH.length(), "(" + PhotoAlbumColumns::ALBUM_ID); in ReplaceRelativePath() 177 selection.replace(argPos, 1, "? OR 1=1)"); in ReplaceMediaType() 178 selection.replace(pos, MEDIA_DATA_DB_MEDIA_TYPE.length(), "(" + PhotoAlbumColumns::ALBUM_ID); in ReplaceMediaType()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_dualfwk_restore.cpp | 418 absSrcPath.replace(found, sub.size(), replacement); in DupToneFile()
|
H A D | ringtone_restore_base.cpp | 301 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in MoveDirectory()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_rss_session.cpp | 175 detailStr = detail.dump(INDENT, ' ', false, nlohmann::json::error_handler_t::replace); in ParseMutex()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/src/ |
H A D | vpn_module_ext.cpp | 151 s.replace(pos, tmp.length(), ""); in Replace()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/ |
H A D | serializable.h | 43 return root.dump(-1, ' ', false, error_handler_t::replace); in Marshall()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 87 src.replace(pos, rep.length(), dst); in Replace()
|
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
H A D | file_permission.cpp | 372 path = path.replace(path.find(CURRENTUSER), CURRENTUSER.length(), userName); in GetPathByPermission()
|
/foundation/arkui/ace_engine/frameworks/base/resource/ |
H A D | ace_res_config.cpp | 998 std::replace(tempResTag.begin(), tempResTag.end(), '_', '-'); in ConvertDeclarativeResTagToConfig() 1015 std::replace(localeTag.begin(), localeTag.end(), '_', '-'); in ConvertDeclarativeResTagToConfig()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | prop_n_exporter.cpp | 183 physicalPath.replace(physicalPath.find(USER_ID_FLAG), USER_ID_FLAG.length(), to_string(userId));
in HandleLocalCheck() 184 physicalPath.replace(physicalPath.find(PACKAGE_NAME_FLAG), PACKAGE_NAME_FLAG.length(), bundleName);
in HandleLocalCheck()
|
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | mount_manager.cpp | 586 path = path.replace(pos, CURRENT_USER_ID_FLAG.length(), userId); in ParseSandboxPath() 591 path = path.replace(pos, PACKAGE_NAME_FLAG.length(), bundleName); in ParseSandboxPath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/ |
H A D | plugin_pattern.cpp | 261 str.replace(pos, pSize, newPattern); in ReplaceAll()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client_impl.cpp | 249 resPath.replace(0, innerStr.length(), BUNDLE_MAP_CODE_PATH); in ConvertResourcePath()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_utils.cpp | 118 string.replace(position, 1, ""); in Replace()
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_file_utils.cpp | 607 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in MoveDirectory()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 456 inputEvent.replace(pos, INPUT.length(), EVENT); in GetInputDeviceById()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedservice/src/ |
H A D | res_sched_service_stub.cpp | 292 WRITE_PARCEL(output, String, reply.dump(-1, ' ', false, nlohmann::detail::error_handler_t::replace),
in ReportSyncEventInner()
|