Home
last modified time | relevance | path

Searched refs:replace (Results 26 - 50 of 1525) sorted by relevance

12345678910>>...61

/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
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_fla
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_pep3118.py17 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 Djson_utils.cc21 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 Dbuild_info.py204 .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 Dsend-file-form-helper.js5 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 Dflatten_decoration_pass.cpp72 // 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 Dflatten_decoration_pass.cpp72 // 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 Dflatten_decoration_pass.cpp72 // 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 Dgetarch.py7 .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 Dencoding.js77 .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 DSkRecordOpts.cpp47 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 Dgenerate_header.py43 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 Dzsh.rs106 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 Dxml.js36 n = n.replace(/&/g, '&amp;');
37 n = n.replace(/</g, '&lt;');
38 n = n.replace(/>/g, '&gt;');
39 n = n.replace(/"/g, '&quot;');
/third_party/node/test/parallel/
H A Dtest-repl-editor.js14 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 Dclock_settime02.c23 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 DcontrolFlowPropertyDeclarations.js73 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 Dfix_imports.py120 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 Dlib.rs95 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 DStringReplacer.java61 * @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 DStringReplacer.java62 * @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 Ddecode.py304 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 Dgen-hb-version.py29 .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 Ddatetimetester.py345 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 Dipv6.js46 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...]

Completed in 24 milliseconds

12345678910>>...61