/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | mk_file_add_config.py | 58 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_fla [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_pep3118.py | 17 format = format.replace(OTHER_ENDIAN, THIS_ENDIAN) 188 (Point, "T{<l:x:<l:y:}".replace('l', s_long), (), Point), 191 (Point2, "T{<l:x:<l:y:}".replace('l', s_long), (), Point2), 196 (StructWithArrays, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), (), StructWithArrays), 197 (StructWithArrays * 3, "T{(2,3)<l:x:(4)T{<l:x:<l:y:}:y:}".replace('l', s_long), (3,), StructWithArrays), 205 (Complete, "T{<l:a:}".replace('l', s_long), (), Complete), 228 (BEPoint, "T{>l:x:>l:y:}".replace('l', s_long), (), BEPoint), 229 (LEPoint, "T{<l:x:<l:y:}".replace('l', s_long), (), LEPoint), 230 (POINTER(BEPoint), "&T{>l:x:>l:y:}".replace('l', s_long), (), POINTER(BEPoint)), 231 (POINTER(LEPoint), "&T{<l:x:<l:y:}".replace(' [all...] |
/third_party/node/src/ |
H A D | json_utils.cc | 21 std::string replace; in EscapeJsonChars() local 24 replace = "\\\\"; in EscapeJsonChars() 26 replace = "\\\""; in EscapeJsonChars() 29 if (num < 0x20) replace = control_symbols[num]; in EscapeJsonChars() 31 if (!replace.empty()) { in EscapeJsonChars() 36 ret += replace; in EscapeJsonChars()
|
/third_party/glslang/ |
H A D | build_info.py | 204 .replace("@major@", software_version["major"]) \ 205 .replace("@minor@", software_version["minor"]) \ 206 .replace("@patch@", software_version["patch"]) \ 207 .replace("@flavor@", software_version["flavor"]) \ 208 .replace("@-flavor@", software_version["-flavor"]) \ 209 .replace("@date@", software_version["date"]) \ 210 .replace("@commit@", commit)
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
H A D | send-file-form-helper.js | 5 return string.replace(/\\/g, "\\\\").replace( 12 ).replace(/\\x0d\\x0a/g, "\r\n"); 102 .replace(/[^\0-\x7F]/gu, (x) => `&#${x.codePointAt(0)};`) 106 "ABC~‾\xA5≈\xA4・・\x95∙\xB7☼★星?星★☼\xB7∙\x95・・\xA4≈\xA5‾~XYZ".replace( 112 const kTestFallbackXUserDefined = kTestChars.replace( 244 const asValue = expectedEncodedBaseName.replace(/\r\n?|\n/g, "\r\n"); 245 const asName = asValue.replace(/[\r\n"]/g, encodeURIComponent); 246 const asFilename = expectedEncodedBaseName.replace(/[\r\n"]/g, encodeURIComponent); 262 escapeString(asValue).replace(/\ [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | flatten_decoration_pass.cpp | 72 // On the second pass, replace OpDecorationGroup and its uses with in Process() 77 // Should we replace this instruction? in Process() 78 bool replace = false; in Process() local 83 replace = true; in Process() 86 // If this decoration targets a group, then replace it in Process() 96 replace = true; in Process() 121 replace = true; in Process() 127 if (!replace && group_ids.count(group)) { in Process() 128 replace = true; in Process() 134 if (replace) { in Process() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | flatten_decoration_pass.cpp | 72 // On the second pass, replace OpDecorationGroup and its uses with in Process() 77 // Should we replace this instruction? in Process() 78 bool replace = false; in Process() local 83 replace = true; in Process() 86 // If this decoration targets a group, then replace it in Process() 96 replace = true; in Process() 121 replace = true; in Process() 127 if (!replace && group_ids.count(group)) { in Process() 128 replace = true; in Process() 134 if (replace) { in Process() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | flatten_decoration_pass.cpp | 72 // On the second pass, replace OpDecorationGroup and its uses with in Process() 77 // Should we replace this instruction? in Process() 78 bool replace = false; in Process() local 83 replace = true; in Process() 86 // If this decoration targets a group, then replace it in Process() 96 replace = true; in Process() 121 replace = true; in Process() 127 if (!replace && group_ids.count(group)) { in Process() 128 replace = true; in Process() 134 if (replace) { in Process() [all...] |
/third_party/node/tools/ |
H A D | getarch.py | 7 .replace('ia32', 'x64') \ 8 .replace('ppc', 'ppc64') \ 9 .replace('arm', 'arm64') \ 10 .replace('s390', 's390x'))
|
/third_party/node/deps/npm/node_modules/encoding/lib/ |
H A D | encoding.js | 77 .replace(/^latin[\-_]?(\d+)$/i, 'ISO-8859-$1') 78 .replace(/^win(?:dows)?[\-_]?(\d+)$/i, 'WINDOWS-$1') 79 .replace(/^utf[\-_]?(\d+)$/i, 'UTF-$1') 80 .replace(/^ks_c_5601\-1987$/i, 'CP949') 81 .replace(/^us[\-_]?ascii$/i, 'ASCII')
|
/third_party/skia/src/core/ |
H A D | SkRecordOpts.cpp | 47 record->replace<NoOp>(begin); // first SetMatrix in multiple_set_matrices() 65 record->replace<NoOp>(begin); // first SetMatrix 84 record->replace<NoOp>(begin); // Save in onMatch() 85 record->replace<NoOp>(end-1); // Restore in onMatch() 159 record->replace<NoOp>(i); in onMatch() 216 record->replace<NoOp>(saveLayerIndex); // SaveLayer in KillSaveLayerAndRestore() 217 record->replace<NoOp>(saveLayerIndex+2); // Restore in KillSaveLayerAndRestore() 270 record->replace<NoOp>(saveLayerIndex); // SaveLayer in KillSaveLayerAndRestore() 271 record->replace<NoOp>(saveLayerIndex + 6); // Restore in KillSaveLayerAndRestore()
|
/third_party/libxml2/ |
H A D | generate_header.py | 43 value = item.replace("#cmakedefine", "#define") 49 key_index = key.replace(" ", "") 59 key_index = key.replace("@", "") 63 value = value.replace(key, self.configs[key_index]) 92 index_key = key.replace("@", "") 95 value = item.replace(key, self.configs[index_key]) 97 value = item.replace(key, "0")
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | zsh.rs | 106 bin_name_underscore = bin_name.replace(' ', "__"), in subcommand_details() 128 bin_name_underscore = bin_name.replace(' ', "__"), in subcommand_details() 214 // [name_hyphen] = The full space delineated bin_name, but replace spaces with hyphens 273 name_hyphen = parent_bin_name.replace(' ', "-"), in get_subcommands_of() 345 name = parent_bin_name.replace(' ', "__") in get_args_of() 425 .replace('\\', "\\\\") in escape_help() 426 .replace('\'', "'\\''") in escape_help() 427 .replace('[', "\\[") in escape_help() 428 .replace(']', "\\]") in escape_help() 434 .replace('\\', "\\\\") in escape_value() [all...] |
/third_party/node/deps/npm/node_modules/diff/lib/convert/ |
H A D | xml.js | 36 n = n.replace(/&/g, '&'); 37 n = n.replace(/</g, '<'); 38 n = n.replace(/>/g, '>'); 39 n = n.replace(/"/g, '"');
|
/third_party/node/test/parallel/ |
H A D | test-repl-editor.js | 14 const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g'); 20 stream.write = (msg) => found += msg.replace('\r', ''); 41 found = found.replace(terminalCodeRegex, '').replace(/\n/g, ''); 42 expected = expected.replace(terminalCodeRegex, '').replace(/\n/g, '');
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
H A D | clock_settime02.c | 23 int replace; member 32 .replace = 1, 39 .replace = 1, 46 .replace = 1, 53 .replace = 1, 118 if (tc[i].replace == 0) { in verify_clock_settime()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | controlFlowPropertyDeclarations.js | 73 return string.replace(/-(.)/g, function(match, chr) { 122 .replace(/\r/g, '') 123 .replace(/( {2,}|\n|\t|\{|\})/g, function(whitespace) { 219 return string.replace(/-(.)/g, function (match, chr) {
260 .replace(/\r/g, '')
261 .replace(/( {2,}|\n|\t|\{|\})/g, function (whitespace) {
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_imports.py | 120 self.replace = {} 127 import_mod.replace(Name(new_name, prefix=import_mod.prefix)) 131 self.replace[mod_name] = new_name 143 new_name = self.replace.get(bare_name.value) 145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
|
/third_party/rust/crates/lazycell/src/ |
H A D | lib.rs | 95 pub fn replace(&mut self, value: T) -> Option<T> { in replace() functions 96 mem::replace(unsafe { &mut *self.inner.get() }, Some(value)) in replace() 280 pub fn replace(&mut self, value: T) -> Option<T> { in replace() functions 281 match mem::replace(self.state.get_mut(), SOME) { in replace() 285 mem::replace(unsafe { &mut *self.inner.get() }, Some(value)) in replace() 595 assert_eq!(cell.replace(2), Some(1)); in normal_replace() 596 assert_eq!(cell.replace(3), Some(2)); in normal_replace() 600 assert_eq!(cell.replace(2), None); in normal_replace() 607 assert_eq!(cell.replace(2), Some(1)); in atomic_replace() 608 assert_eq!(cell.replace( in atomic_replace() [all...] |
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | StringReplacer.java | 61 * @param theOutput text that will replace input text when the 62 * replace() method is called. May contain stand-in characters 65 * the replace() method 82 * @param theOutput text that will replace input text when the 83 * replace() method is called. May contain stand-in characters 114 public int replace(Replaceable text, in replace() method in StringReplacer 127 text.replace(start, limit, output); in replace() 162 text.replace(tempStart, tempStart, "\uFFFF"); in replace() 183 // right context for previous replace() operations. in replace() 199 text.replace(destLimi in replace() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | StringReplacer.java | 62 * @param theOutput text that will replace input text when the 63 * replace() method is called. May contain stand-in characters 66 * the replace() method 83 * @param theOutput text that will replace input text when the 84 * replace() method is called. May contain stand-in characters 115 public int replace(Replaceable text, in replace() method in StringReplacer 128 text.replace(start, limit, output); in replace() 163 text.replace(tempStart, tempStart, "\uFFFF"); in replace() 184 // right context for previous replace() operations. in replace() 200 text.replace(destLimi in replace() [all...] |
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | decode.py | 304 guard = os.path.basename(glue_h).upper().replace("-", "_").replace(".", "_") 311 guard = os.path.basename(dst_h).upper().replace("-", "_").replace(".", "_")
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-hb-version.py | 29 .replace ("@HB_VERSION_MAJOR@", major) 30 .replace ("@HB_VERSION_MINOR@", minor) 31 .replace ("@HB_VERSION_MICRO@", micro) 32 .replace ("@HB_VERSION@", version)
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 345 utctime = self.DT.replace(tzinfo=tz) 349 self.DT.replace(tzinfo=timezone.utc)) 377 t.replace(tzinfo=tz).tzname()) 379 t.replace(tzinfo=tz).utcoffset()) 381 t.replace(tzinfo=tz).dst()) 1694 self.assertEqual(base, base.replace()) 1703 got = base.replace(**{name: newval}) 1709 self.assertRaises(ValueError, base.replace, year=2001) 1716 self.assertIs(type(dt.replace(year=2013)), DateSubclass) 2110 dt = dt_base.replace(tzinf 2183 def replace(self, *args): global() member in TestDateTime.test_strftime_with_bad_tzname_replace.MyTzInfo.tzname.MyStr [all...] |
/third_party/node/deps/npm/node_modules/ip-address/dist/ |
H A D | ipv6.js | 46 number = number.replace(r, '$1,$2'); 51 n = n.replace(/^(0{1,})([1-9]+)$/, '<span class="parse-error">$1</span>$2'); 52 n = n.replace(/^(0{1,})(0)$/, '<span class="parse-error">$1</span>$2'); 119 this.parsedSubnet = subnet[0].replace('/', ''); 127 address = address.replace(constants6.RE_SUBNET_STRING, ''); 135 address = address.replace(constants6.RE_ZONE_STRING, ''); 200 url = url.replace(/^[a-z0-9]+:\/\//, ''); 261 let address = arpaFormAddress.replace(/(\.ip6\.arpa)?\.$/, ''); 282 return (0, sprintf_js_1.sprintf)('%s.ipv6-literal.net', this.correctForm().replace(/:/g, '-')); 454 .replace(/ [all...] |