Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/common/js/
H A Dgeneral.js19 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({ uri: page });
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/
H A Dmk_file_add_config.py45 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
57 temp_dict).replace("temp_flag", "$("), "\n"]))
60 temp_dict).replace("temp_flag", "$("), " \\", "\n"]))
65 temp_handle = Template(build_resource.replace("$(", "temp_flag"))
80 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
100 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
105 temp_dict).replace("temp_flag", "$("), "\n"])
108 temp_dict).replace("temp_flag", "$("), " \\", "\n"])
139 temp_handle = Template(makefile_add_template.replace("$(", "temp_flag"))
162 source_file_path = driver_file_path.replace('\\', '/')
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/common/js/
H A Dgeneral.js21 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 });
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
H A Dgn_file_add_config.py63 parent_temp_dict).replace("temp_flag", "\"$") + "\n")
73 temp_dict).replace("temp_flag", "\"$")
118 root).replace("\\", "/").strip("/")
122 root).replace("\\", "/").strip("/")
150 file_source_path_full = source_path.replace("\\", "/")
154 file_head_path_full = head_path.replace("\\", "/")
163 source_file_path = driver_file_path.replace('\\', '/')
192 temp_replace).replace("PERIPHERAL", "$PERIPHERAL")
222 source_file_path = driver_file_path.replace('\\', '/')
245 build_add_template.replace("$FRAMEWORKS", "FRAMEWORKS"))
[all …]
H A Dmk_file_add_config.py58 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
63 … sources_line_items.append(temp_handle.substitute(temp_dict).replace("temp_flag", "$("))
66 … sources_line_items.append(temp_handle.substitute(temp_dict).replace("temp_flag", "$("))
72 temp_handle = Template(build_resource.replace("$(", "temp_flag"))
75 build_resource = temp_handle.substitute(temp_dict).replace("temp_flag", "$(")
79 temp_handle = Template(makefile_add_template.replace("$(", "temp_flag"))
85 new_line = temp_handle.substitute(makefile_replace_dict).replace("temp_flag", "$(")
97 source_file_path = driver_file_path.replace('\\', '/')
103 temp_handle = Template(makefile_add_template.replace("$(", "temp_flag"))
129 new_line = temp_handle.substitute(temp_replace).replace("temp_flag", "$(")
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/
H A Dupdate_case.py59 source_root = source_root.replace("/", "\\")
133 output = output.replace(TestConfig.WORK_DIR, ".").replace('\\', '/') \
134 .replace(TestConfig.ERROR_COLOR_PREFIX, "") \
135 .replace(TestConfig.ERROR_COLOR_END, "").strip()
163 output = output.replace(TestConfig.WORK_DIR, ".").replace('\\', '/') \
164 .replace(TestConfig.ERROR_COLOR_PREFIX, "") \
165 .replace(TestConfig.ERROR_COLOR_END, "").strip()
191 output = output.replace(TestConfig.WORK_DIR, ".").replace('\\', '/') \
192 .replace(TestConfig.ERROR_COLOR_PREFIX, "") \
193 .replace(TestConfig.ERROR_COLOR_END, "").strip()
H A Dhcgen_test.py58 a_content = f_a.read().replace(r'\r\n', r'\n')
59 b_content = f_b.read().replace(r'\r\n', r'\n')
92 source_root = source_root.replace("/", "\\")
157 output = output.replace(temp_dir, ".").replace(TestConfig.WORK_DIR, "."). \
158 replace('\\', '/').replace(TestConfig.ERROR_COLOR_PREFIX, ""). \
159 replace(TestConfig.ERROR_COLOR_END, "")
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/router/01/
H A Dindex.js21 router.replace();
24 router.replace({});
27 router.replace({ uri: "pages/page2/" });
30 router.replace({ uri: 123 });
33 router.replace({ uri: "" });
/ohos5.0/base/update/packaging_tools/test/
H A Dcreate_package_data.py127 xml_content = xml_content.replace("SYSTEM_MARK", "")
128 xml_content = xml_content.replace("COMPONENT_MARK", "")
130 xml_content = xml_content.replace("SYSTEM_MARK", SYSTEM_COMPONENT_STR)
131 xml_content = xml_content.replace("COMPONENT_MARK", COMPONENT_STR_FULL)
159 xml_content = UPDATER_SPECIFIED_CONFIG_XML_DATA.replace(
161 xml_content = xml_content.replace(
164 xml_content = UPDATER_SPECIFIED_CONFIG_XML_DATA.replace(
167 xml_content = xml_content.replace(
170 xml_content = xml_content.replace(
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/common/js/
H A Dgeneral.js19 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 });
/ohos5.0/foundation/arkui/ace_engine/build/tools/
H A Dbuild_resource_to_bytecode.py38 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))
/ohos5.0/base/startup/init/services/modules/reboot/
H A Dreboot_static.c88 currInfo->replace = Dup2String(REBOOT_REPLACE_PREFIX, cmd); in SetParamCmdInfo()
89 PLUGIN_CHECK(currInfo->replace != NULL, break, "Failed to copy %s", cmd); in SetParamCmdInfo()
96 … PLUGIN_LOGV("SetParamCmdInfo '%s' '%s' '%s' ", currInfo->name, currInfo->cmd, currInfo->replace); in SetParamCmdInfo()
108 if (currInfo->replace != NULL) { in SetParamCmdInfo()
109 free(currInfo->replace); in SetParamCmdInfo()
126 cmdInfos[i].replace = g_rebootParamCmdInfos[i].replace; in AddRebootCmdExecutor_()
179 if (g_rebootParamCmdInfos[i].replace != NULL) { in MODULE_DESTRUCTOR()
180 free(g_rebootParamCmdInfos[i].replace); in MODULE_DESTRUCTOR()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/
H A Dhelp_utils.cpp88 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir()
92 realPath.replace(realPath.find("%s"), strlen("%s"), "el1"); in CheckUserDir()
99 realPath.replace(realPath.find("%s"), strlen("%s"), "el2"); in CheckUserDir()
109 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir()
110 path.replace(path.find("%s"), strlen("%s"), "el1"); in CheckUserDir()
118 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir()
119 path.replace(path.find("%s"), strlen("%s"), "el2"); in CheckUserDir()
128 path.replace(path.find("%d"), strlen("%d"), std::to_string(userId)); in CheckUserDir()
236 dstPath.replace(dstPath.find("%d"), strlen("%d"), std::to_string(id)); in ClearTestResource()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/router/02/
H A Dindex.js20 router.replace({
26 router.replace({
31 router.replace({
37 router.replace({
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dstring_util.h100 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in RENDER_BEGIN_NAMESPACE()
104 source.replace(source.begin() + static_cast<BASE_NS::string::difference_type>(p), in RENDER_BEGIN_NAMESPACE()
105 … source.begin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in RENDER_BEGIN_NAMESPACE()
111 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in RENDER_BEGIN_NAMESPACE()
113 while (FindAndReplaceOne(source, find, replace)) in RENDER_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/
H A Dstring_util.h101 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in CORE_BEGIN_NAMESPACE()
105 source.replace(source.cbegin() + static_cast<BASE_NS::string::difference_type>(p), in CORE_BEGIN_NAMESPACE()
106 … source.cbegin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in CORE_BEGIN_NAMESPACE()
112 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in CORE_BEGIN_NAMESPACE()
114 while (FindAndReplaceOne(source, find, replace)) in CORE_BEGIN_NAMESPACE()
/ohos5.0/build/tools/component_tools/
H A Dcomponent_node.py104 deps_raw_list = deps_raw.replace('\n', '').replace(' ', '').replace('"', '').split(',')
113 …external_deps_raw_list = external_deps_raw.replace('\n', '').replace(' ', '').replace('"', '').spl…
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/router/04/
H A Dindex.js20 router.replace("");
23 router.replace({ uri: 1 });
26 router.replace({ path: "123" });
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/video_job_repository/
H A Dvideo_job_queue.cpp69 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()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/alarm/src/main/js/default/pages/editAlarm/
H A Dedit_alarm.js128 router.replace({
138 router.replace({
147 router.replace({
160 router.replace({
169 router.replace({
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/list/list/list13/
H A Dlist13.js21 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' });
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/src/
H A Djs_convertxml.ts96 strXml = strXml.replace(/(<!\[CDATA\[[\s\S]*?\]\]>)|(>\s+<)/g, function(match, group) {
110 strXml = strXml.replace(/\]\]><!\[CDATA/g, ']]> <![CDATA');
111 return strXml.replace(/<!\[CDATA\[[\s\S]*?\]\]>/g, function (match) {
112 return match.replace(/\\/g, '\\\\').replace(/[\r\n\t\v]/g, function (suit) {
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dmake_capi_header.py107 result += '#include "' + include.replace('/include/', '/capi/') + '_capi.h"\n'
204 guard = file_name.replace('/', '_').replace('.', '_capi_').upper() + '_'
205 content = content.replace('$GUARD$', guard)
208 absolute_path = os.path.join(absolute_dir, file_name.replace('.', '_capi.'))
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Ddevice.cpp504 bool replace = false; in CreateSwapchainImpl() local
516replace = replace || (checkReplaceWindow && (cmpSwap.window == swapchainCreateInfo.window.window)); in CreateSwapchainImpl()
517replace = replace || (checkReplaceSurface && (cmpSwap.surfaceHandle == swapchainCreateInfo.surface… 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()
/ohos5.0/foundation/communication/dsoftbus/
H A Dconfig.py75 file_gni = file_gni.replace('platform', 'standard')
77 file_gni = file_gni.replace('platform', 'small')
79 file_gni = file_gni.replace('platform', 'mini')

12345678910>>...24