| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | collapsible_str_replace.rs | 20 let _ = "hesuo worpd".replace('s', "l").replace('u', "l"); in main() 22 let _ = "hesuo worpd".replace('s', l).replace('u', l); in main() 24 let _ = "hesuo worpd".replace('s', "l").replace('u', "l").replace('p', "l"); in main() 27 .replace('s', "l") in main() 28 .replace('u', "l") in main() 29 .replace('p', "l") in main() 30 .replace('d', "l"); in main() 32 let _ = "hesuo world".replace(s, "l").replace('u', "l"); in main() 34 let _ = "hesuo worpd".replace(s, "l").replace('u', "l").replace('p', "l"); in main() 36 let _ = "hesuo worpd".replace(s, "l").replace(u, "l").replace('p', "l"); in main() [all …]
|
| D | collapsible_str_replace.stderr | 1 error: used consecutive `str::replace` call 4 LL | let _ = "hesuo worpd".replace('s', "l").replace('u', "l"); 5 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `replace(['s',… 7 = note: `-D clippy::collapsible-str-replace` implied by `-D warnings` 9 error: used consecutive `str::replace` call 12 LL | let _ = "hesuo worpd".replace('s', l).replace('u', l); 13 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `replace(['s', 'u'… 15 error: used consecutive `str::replace` call 18 LL | let _ = "hesuo worpd".replace('s', "l").replace('u', "l").replace('p', "l"); 19 … ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `replace(['s', 'u',… [all …]
|
| D | collapsible_str_replace.fixed | 20 let _ = "hesuo worpd".replace(['s', 'u'], "l"); 22 let _ = "hesuo worpd".replace(['s', 'u'], l); 24 let _ = "hesuo worpd".replace(['s', 'u', 'p'], "l"); 27 .replace(['s', 'u', 'p', 'd'], "l"); 29 let _ = "hesuo world".replace([s, 'u'], "l"); 31 let _ = "hesuo worpd".replace([s, 'u', 'p'], "l"); 33 let _ = "hesuo worpd".replace([s, u, 'p'], "l"); 35 let _ = "hesuo worpd".replace([s, u, p], "l"); 37 let _ = "hesuo worlp".replace(['s', 'u'], "l").replace('p', "d"); 39 let _ = "hesuo worpd".replace('s', "x").replace(['u', 'p'], "l"); [all …]
|
| D | mem_replace.rs | 16 let _ = mem::replace(&mut an_option, None); in replace_option_with_none() 18 let _ = mem::replace(an_option, None); in replace_option_with_none() 23 let _ = std::mem::replace(&mut s, String::default()); in replace_with_default() 26 let _ = std::mem::replace(s, String::default()); in replace_with_default() 27 let _ = std::mem::replace(s, Default::default()); in replace_with_default() 30 let _ = std::mem::replace(&mut v, Vec::default()); in replace_with_default() 31 let _ = std::mem::replace(&mut v, Default::default()); in replace_with_default() 32 let _ = std::mem::replace(&mut v, Vec::new()); in replace_with_default() 33 let _ = std::mem::replace(&mut v, vec![]); in replace_with_default() 36 let _ = std::mem::replace(&mut hash_map, HashMap::new()); in replace_with_default() [all …]
|
| D | eta.stderr | 5 | ^^^^^^^^^^ help: replace the closure with the function itself: `foo` 13 …| ^^^^^^^^^ help: replace the closure with `Vec::new`: `std… 19 …| ^^^^^^^^^^^^^ help: replace the closure with the function itse… 25 …| ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: … 31 …| ^^^^^^^^^^^^^^ help: replace the closure with the function itself: `ge… 37 …| ^^^^^^^^^^^ help: replace the closure with the… 45 …| ^^^^^^^^^^^^^^^^^ help: replace the closure wi… 51 …| ^^^^^^^^^^^^^ help: replace the closure with the method… 57 …| ^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: … 63 …| ^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the method itself:… [all …]
|
| D | cast_abs_to_unsigned.stderr | 5 | ^^^^^^^^^^^^^^ help: replace with: `x.unsigned_abs()` 13 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 19 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 25 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 31 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 37 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 43 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 49 | ^^^^^^^ help: replace with: `a.unsigned_abs()` 55 | ^^^^^^^^^^^^^^ help: replace with: `a.unsigned_abs()` 61 | ^^^^^^^ help: replace with: `a.unsigned_abs()` [all …]
|
| /third_party/vk-gl-cts/android/cts/main/vk-master-2024-03-01/ |
| D | fragment-shading-rate.txt | 17 …ass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.151x431.samples1.… 18 …ass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.151x431.samples1.… 19 …erpass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.ms 20 …erpass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.vs 21 …ass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.256x256.samples1.… 22 …ass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.256x256.samples1.… 23 …pass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.33x35.samples1.ms 24 …pass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.33x35.samples1.vs 25 …erpass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.4x4.samples1.ms 26 …erpass2.monolithic.fragdepth_baselevel.dynamic.attachment.noshaderrate.keep.replace.4x4.samples1.vs [all …]
|
| /third_party/vk-gl-cts/external/vulkancts/mustpass/main/vksc-default/ |
| D | fragment-shading-rate.txt | 26 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples1.… 27 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples16… 28 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples2.… 29 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples4.… 30 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples8.… 31 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.vs 32 ….renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples16.vs 33 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples2.vs 34 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples4.vs 35 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples8.vs [all …]
|
| /third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/ |
| D | fragment-shading-rate.txt | 26 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 27 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 28 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 29 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 30 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 31 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 32 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 33 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 34 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 35 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… [all …]
|
| /third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/ |
| D | fragment-shading-rate.txt | 26 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 27 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 28 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 29 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 30 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.1x1.… 31 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 32 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 33 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 34 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… 35 dEQP-VK.fragment_shading_rate.renderpass2.basic.dynamic.noattachment.noshaderrate.keep.replace.4x4.… [all …]
|
| /third_party/vk-gl-cts/android/cts/main/vk-master-2021-03-01/ |
| D | fragment-shading-rate.txt | 26 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples1.… 27 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples16… 28 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples2.… 29 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples4.… 30 …enderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples8.… 31 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.vs 32 ….renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples16.vs 33 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples2.vs 34 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples4.vs 35 …e.renderpass2.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples8.vs [all …]
|
| /third_party/rust/crates/regex/tests/ |
| D | replace.rs | 1 macro_rules! replace( macro 3 $search:expr, $replace:expr, $result:expr) => ( 7 assert_eq!(re.$which(text!($search), $replace), text!($result)); 12 replace!(first, replace, r"[0-9]", "age: 26", t!("Z"), "age: Z6"); 13 replace!(plus, replace, r"[0-9]+", "age: 26", t!("Z"), "age: Z"); 14 replace!(all, replace_all, r"[0-9]", "age: 26", t!("Z"), "age: ZZ"); 15 replace!( 17 replace, 23 replace!( 25 replace, [all …]
|
| /third_party/jerryscript/tests/jerry/es2015/ |
| D | symbol-replace.js | 15 var replace = RegExp.prototype[Symbol.replace]; variable 18 replace.call (0, "string", "replace"); 25 replace.call (new RegExp(), { 29 }, "replace"); 36 replace.call (new RegExp(), "string", { 38 throw "abrupt replace" 43 assert (e === "abrupt replace"); 47 replace.call ({ 51 }, "string", "replace"); 58 replace.call ({ [all …]
|
| /third_party/vk-gl-cts/android/cts/main/vk-master-2022-03-01/ |
| D | fragment-shading-rate.txt | 26 …y_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples1.… 27 …y_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples16… 28 …y_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples2.… 29 …y_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples4.… 30 …y_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.151x431.samples8.… 31 …mary_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.vs 32 …ary_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples16.vs 33 …mary_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples2.vs 34 …mary_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples4.vs 35 …mary_cmd_buff.monolithic.apisamplemask.dynamic.attachment.noshaderrate.keep.replace.1x1.samples8.vs [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/python/api/ |
| D | _parse_update_weights_name.py | 97 diffusers_name = name.replace("lora_te1_", "") 98 diffusers_name = diffusers_name.replace("lora_te2_", "") 99 diffusers_name = diffusers_name.replace("lora_te_", "") 100 diffusers_name = diffusers_name.replace("lora_unet_", "").replace("_", ".") 101 diffusers_name = diffusers_name.replace("text.model", "text_model") 104 diffusers_name = diffusers_name.replace("input.blocks", "down_blocks") 106 diffusers_name = diffusers_name.replace("down.blocks", "down_blocks") 109 diffusers_name = diffusers_name.replace("middle.block", "mid_block") 111 diffusers_name = diffusers_name.replace("mid.block", "mid_block") 113 diffusers_name = diffusers_name.replace("output.blocks", "up_blocks") [all …]
|
| /third_party/jerryscript/tests/jerry/ |
| D | string-prototype-replace.js | 15 assert ("abcabc".replace("bc", ":") === "a:abc"); 16 assert ("hello".replace("", ":") === ":hello"); 17 assert ("hello".replace("h", "") === "ello"); 18 assert ("".replace("", "h") === "h"); 20 assert ("xabcxabcx".replace (/abc/g, "[$&][$`][$']") === "x[abc][x][xabcx]x[abc][xabcx][x]x"); 21 assert ("abc".replace (/a(b)c|d()/, "[$1][$01][$2][$02][$99][$123][$012]") === "[b][b][][][$99][b23… 22 assert ("abc".replace("abc", "$x$$5$0$00$") === "$x$5$0$00$"); 24 assert ("#x#".replace("x", "$1") === "#$1#"); 25 assert ("#x#".replace(/(x)/, "$1$2") === "#x$2#"); 26 assert ("#x#".replace(/(x)/, "$01$02$11$20") === "#x$02x1$20#"); [all …]
|
| /third_party/python/Lib/test/ |
| D | test_codecencodings_jp.py | 16 (b"abc\x81\x00\x82\x84", "replace", "abc\ufffd\x00\uff44"), 17 (b"abc\x81\x00\x82\x84\x88", "replace", "abc\ufffd\x00\uff44\ufffd"), 19 (b"ab\xEBxy", "replace", "ab\uFFFDxy"), 20 (b"ab\xF0\x39xy", "replace", "ab\uFFFD9xy"), 21 (b"ab\xEA\xF0xy", "replace", 'ab\ufffd\ue038y'), 23 (b"\\\x7e", "replace", "\\\x7e"), 24 (b"\x81\x5f\x81\x61\x81\x7c", "replace", "\uff3c\u2225\uff0d"), 30 (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\ufffd\u7956"), 31 (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\u7956\ufffd"), 34 (b"abc\x8f\x83\x83", "replace", "abc\ufffd\ufffd\ufffd"), [all …]
|
| D | test_codecencodings_kr.py | 16 (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\ufffd\uc894"), 17 (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\uc894\ufffd"), 28 (b"abc\x80\x80\xc1\xc4", "replace", 'abc\ufffd\ufffd\uc894'), 29 (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\uc894\ufffd"), 41 (b"a\xa4\xd4\xa4\xb6\xa4", "replace", 'a\ufffd'), 45 (b"\xa4\xd4\xa4\xff\xa4\xd0\xa4\xd4", "replace", '\ufffd\u6e21\ufffd\u3160\ufffd'), 46 (b"\xa4\xd4\xa4\xb6\xa4\xff\xa4\xd4", "replace", '\ufffd\u6e21\ub544\ufffd\ufffd'), 47 (b"\xa4\xd4\xa4\xb6\xa4\xd0\xa4\xff", "replace", '\ufffd\u6e21\ub544\u572d\ufffd'), 48 (b"\xa4\xd4\xff\xa4\xd4\xa4\xb6\xa4\xd0\xa4\xd4", "replace", '\ufffd\ufffd\ufffd\uc4d4'), 59 (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\ufffd\ucd27"), [all …]
|
| D | test_codecencodings_cn.py | 16 (b"abc\x81\x81\xc1\xc4", "replace", "abc\ufffd\ufffd\u804a"), 17 (b"abc\x81\x81\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\u804a\ufffd"), 29 (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\ufffd\u804a"), 30 (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\u804a\ufffd"), 43 (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\ufffd\u804a"), 44 (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\ufffd\u804a\ufffd"), 46 (b"abc\x84\x39\x84\x39\xc1\xc4", "replace", "abc\ufffd9\ufffd9\u804a"), 48 (b"abc\x84\x32\x80\x80def", "replace", 'abc\ufffd2\ufffd\ufffddef'), 50 (b"abc\x86\x30\x81\x30def", "replace", 'abc\ufffd0\ufffd0def'), 54 (b"abc\x81\x39\xff\x39\xc1\xc4", "replace", "abc\ufffd\x39\ufffd\x39\u804a"), [all …]
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_replace.py | 1 "Test replace, coverage 78%." 3 from idlelib.replace import ReplaceDialog 56 # Test replace function with all options at default setting. 66 replace = self.dialog.replace_it 75 replace() 82 replace() 88 replace() 96 replace() 104 replace() 107 replace() [all …]
|
| /third_party/skia/third_party/externals/freetype/builds/mac/ |
| D | ascii2mpw.py | 7 mpw_line = string.replace(asc_line, "\\xA5", "\245") 8 mpw_line = string.replace(mpw_line, "\\xB6", "\266") 9 mpw_line = string.replace(mpw_line, "\\xC4", "\304") 10 mpw_line = string.replace(mpw_line, "\\xC5", "\305") 11 mpw_line = string.replace(mpw_line, "\\xFF", "\377") 12 mpw_line = string.replace(mpw_line, "\n", "\r") 13 mpw_line = string.replace(mpw_line, "\\n", "\n") 17 asc_line = string.replace(mpw_line, "\n", "\\n") 18 asc_line = string.replace(asc_line, "\r", "\n") 19 asc_line = string.replace(asc_line, "\245", "\\xA5") [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | regExpWithSlashInCharClass.symbols | 2 var foo1 = "a/".replace(/.[/]/, ""); 4 >"a/".replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 5 >replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 7 var foo2 = "a//".replace(/.[//]/g, ""); 9 >"a//".replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 10 >replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 12 var foo3 = "a/".replace(/.[/no sleep /till/]/, "bugfix"); 14 >"a/".replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 15 >replace : Symbol(String.replace, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
| /third_party/python/Lib/idlelib/ |
| D | replace.py | 1 """Replace dialog for IDLE. Inherits SearchDialogBase for GUI. 3 Defines various replace related functions like replace, replace all, 4 and replace+find. 14 def replace(text, insert_tags=None): function 34 title = "Replace Dialog" 35 icon = "Replace" 44 replvar: StringVar containing 'Replace with:' value. 81 self.replent = self.make_entry("Replace with:", self.replvar)[0] 86 The additional buttons are for Find, Replace, 87 Replace+Find, and Replace All. [all …]
|
| /third_party/mbedtls/tests/scripts/ |
| D | translate_ciphers.py | 97 # Replace "_" with "-" to handle ciphersuite names based on Mbed TLS 99 s_cipher = s_cipher.replace("_", "-") 102 s_cipher = s_cipher.replace("-WITH-", ":+") 103 s_cipher = s_cipher.replace("-EDE", "") 111 # Replace "GCM:+SHAxyz" with "GCM:+AEAD" 116 # Replace the last "-" with ":+" 129 # Replace "_" with "-" to handle ciphersuite names based on Mbed TLS 131 s_cipher = s_cipher.replace("_", "-") 134 s_cipher = s_cipher.replace("-WITH", "") 137 s_cipher = s_cipher.replace("AES-", "AES") [all …]
|
| /third_party/typescript/scripts/ |
| D | ohTestCasesGenerationScript.js | 134 …const ohFourslashCasesName = caseName.replace(/NodeModules/g, "OHModules").replace(/PackageJson/g,… 138 …let ohfileContent = fileContent.replace(/node_modules/g, "oh_modules").replace(/package.json/g, "o… 140 ohfileContent = ohfileContent.replace("fourslash/modules", "fourslash/oh/modules") 158 …ohCompilerCasesName = caseName.replace(/NodeModules/g, "OHModules").replace(/PackageJson/g, "OHPac… 161 ohCompilerCasesName = caseName.replace(".ts", "_isohpm.ts"); 167 …t = "// @packageManagerType: ohpm\r\n" + fileContent.replace(/node_modules/g, "oh_modules").replac… 169 …ent = "// @packageManagerType: ohpm\n" + fileContent.replace(/node_modules/g, "oh_modules").replac… 175 const baselineNamePath = baselineCaseNamePath.replace(".ts", type); 180 …let ohContent = content.replace(/node_modules/g, "oh_modules").replace(/package.json/g, "oh-packag… 182 ohContent = ohContent.replace("tests/cases/compiler", "tests/cases/compiler-oh"); [all …]
|