Home
last modified time | relevance | path

Searched refs:replace (Results 51 - 75 of 1758) sorted by relevance

12345678910>>...71

/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/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...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mtrr/
H A Dmtrr.c229 int i, replace, error; in mtrr_add_page() local
262 replace = -1; in mtrr_add_page()
283 replace = replace == -1 ? i : -2; in mtrr_add_page()
307 i = mtrr_if->get_free_region(base, size, replace); in mtrr_add_page()
310 if (likely(replace < 0)) { in mtrr_add_page()
313 mtrr_usage_table[i] = mtrr_usage_table[replace]; in mtrr_add_page()
316 if (unlikely(replace != i)) { in mtrr_add_page()
317 set_mtrr(replace, 0, 0, 0); in mtrr_add_page()
318 mtrr_usage_table[replace] in mtrr_add_page()
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dregression-test-issue-3817.js15 var replace = RegExp.prototype[Symbol.replace]; variable
16 replace.call({ exec : ( ) => { return { } } }, '^o?һ', "a");
/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/jsframework/runtime/main/util/
H A Dindex.js30 return str.replace(/-(\w)/g, (_, s) => s ? s.toUpperCase() : '');
94 const result = str.replace(APPLICATION_REG, '');
104 const result = str.replace(COMPONENT_REG, '').replace(MODULE_REG, '');
/third_party/node/test/fixtures/wpt/common/
H A Dsubset-tests.js24 metas.push(template.replace("%s", i).replace("%s", i + testsPerVariant - 1));
26 metas.push(template.replace("%s", i).replace("%s", "last"));
/third_party/openGLES/extensions/
H A Dprintreg.py33 return ( s.replace('GL_','').
34 replace('GLU_','').
35 replace('GLX_','').
36 replace('WGL_','') )
/third_party/skia/third_party/externals/opengl-registry/extensions/
H A Dprintreg.py45 return ( s.replace('GL_','').
46 replace('GLU_','').
47 replace('GLX_','').
48 replace('WGL_','') )
/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...]
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Ddot2k.py106 main_c = main_c.replace("MIN_TYPE", min_type)
107 main_c = main_c.replace("MODEL_NAME", self.name)
108 main_c = main_c.replace("NR_EVENTS", str(nr_events))
109 main_c = main_c.replace("TRACEPOINT_HANDLERS_SKEL", tracepoint_handlers)
110 main_c = main_c.replace("TRACEPOINT_ATTACH", tracepoint_attach)
111 main_c = main_c.replace("TRACEPOINT_DETACH", tracepoint_detach)
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py105 start = first_sunday_on_or_after(dststart.replace(year=year))
106 end = first_sunday_on_or_after(dstend.replace(year=year))
141 dt = dt.replace(tzinfo=None)
157 start = start.replace(tzinfo=self)
158 end = end.replace(tzinfo=self)
163 return std_time.replace(fold=1)
/third_party/mesa3d/src/vulkan/util/
H A Dvk_cmd_queue_gen.py230 vk_free(queue->alloc, (${remove_suffix(p.decl.replace("const", ""), p.name)})cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)});
264 cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)} = (${remove_suffix(p.decl.replace("const", ""), p.name)}) ${p.name};
397 return to_underscore(name).replace('cmd_', '')
400 return remove_prefix(to_underscore(name).replace('cmd_', ''), 'p_')
404 decl = decl.replace('const*', '*')
406 decl = decl.replace('const ', '')
426 const_cast = remove_suffix(param.decl.replace("const", ""), param.name)
437 const_cast = remove_suffix(member.decl.replace("const", ""), member.name)
487 const_cast = remove_suffix(param.decl.replace("const", ""), param.name)
494 const_cast = remove_suffix(member.decl.replace("cons
[all...]
/third_party/json/tests/src/
H A Dunit-serialization.cpp89 CHECK(j.dump(-1, ' ', false, json::error_handler_t::replace) == "\"ä\xEF\xBF\xBDü\"");
90 CHECK(j.dump(-1, ' ', true, json::error_handler_t::replace) == "\"\\u00e4\\ufffd\\u00fc\"");
100 CHECK(j.dump(-1, ' ', false, json::error_handler_t::replace) == "\"123\xEF\xBF\xBD\"");
101 CHECK(j.dump(-1, ' ', true, json::error_handler_t::replace) == "\"123\\ufffd\"");
111 CHECK(j.dump(-1, ' ', false, json::error_handler_t::replace) == "\"123\xEF\xBF\xBD\x34\x35\x36\"");
112 CHECK(j.dump(-1, ' ', true, json::error_handler_t::replace) == "\"123\\ufffd456\"");
124 CHECK(j.dump(-1, ' ', true, json::error_handler_t::replace) == "\"" + expected + "\"");
/third_party/musl/scripts/
H A Dsearch_source_files.py79 new_name = name.replace(".s", ".c")
81 new_name = name.replace(".S", ".c")
90 fake_name = change_subfix(src.replace("/" + arch, ""))
99 clean_path_src = src.replace(relative_path, "")
107 clean_path_src = src.replace(relative_path, "")
115 clean_path_src = src.replace(relative_path, "")
153 substitute_file = file.replace("/arch/generic/bits", "/arch/"+ arch +"/bits")
/kernel/linux/linux-6.6/Documentation/sphinx/
H A Dkernel_feat.py70 def warn(self, message, **replace):
71 replace["fname"] = self.state.document.current_source
72 replace["line_no"] = replace.get("line_no", self.lineno)
73 message = ("%(fname)s:%(line_no)s: [kernel-feat WARN] : " + message) % replace
/third_party/ffmpeg/libavfilter/
H A Dvf_freezeframes.c33 int64_t first, last, replace; member
44 { "replace", "set frame to replace", OFFSET(replace), AV_OPT_TYPE_INT64, {.i64=0}, 0, INT64_MAX, FLAGS },
80 int replace = ctx->inputs[1]->frame_count_out == s->replace; in activate() local
112 if (replace && frame) { in activate()
142 .name = "replace",
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_opt_copy_prop.c93 bi_index replace = ins->src[0]; in bi_opt_copy_prop() local
97 if (bi_is_ssa(replace)) { in bi_opt_copy_prop()
98 bi_index chained = replacement[replace.value]; in bi_opt_copy_prop()
101 replace = chained; in bi_opt_copy_prop()
104 replacement[ins->dest[0].value] = replace; in bi_opt_copy_prop()
/third_party/python/Lib/html/
H A D__init__.py19 s = s.replace("&", "&amp;") # Must be done first!
20 s = s.replace("<", "&lt;")
21 s = s.replace(">", "&gt;")
23 s = s.replace('"', "&quot;")
24 s = s.replace('\'', "&#x27;")
/third_party/vk-gl-cts/modules/gles2/scripts/
H A Dgen-qualification_order.py124 self.variableVtx = self.variableVtx.replace(" ", " ")
125 self.variableFrg = self.variableFrg.replace(" ", " ")
156 self.param0 = self.param0.replace(" ", " ")
157 self.param1 = self.param1.replace(" ", " ")
158 self.param2 = self.param2.replace(" ", " ")
/third_party/skia/third_party/externals/angle2/scripts/
H A Dgenerate_stats.py397 bot_name = bot_name.replace(token, '')
404 step_name = step_name.replace('_egl_', '_')
407 step_name = step_name.replace('_gles2_', '_')
410 step_name = step_name.replace('_gles3_', '_')
413 step_name = step_name.replace('_gles31_', '_')
417 step_name = step_name.replace('_d3d9_', '_')
420 step_name = step_name.replace('_d3d11_', '_')
423 step_name = step_name.replace('_gl_', '_')
426 step_name = step_name.replace('_gles_', '_')
429 step_name = step_name.replace('_vulkan
[all...]
/third_party/node/tools/
H A Denable_fips_include.py36 data = data.replace('# .include fipsmodule.cnf', '.include %s' % sys.argv[3])
37 data = data.replace('# fips = fips_sect', 'fips = fips_sect')
38 data = data.replace('# activate = 1', 'activate = 1')
/third_party/vulkan-loader/scripts/
H A Dhelper_file_generator.py294 result = str(result).replace('::', '->')
421 def to_key(regex, raw_key): return re.search(regex, raw_key).group(1).lower().replace("_","")
434 vk_object_type = dbg_map.get(object_type.replace("kVulkanObjectType", "").lower(), dbg_default)
448 vk_object_type = vko_map[object_type.replace("kVulkanObjectType", "").lower()]
459 core_target_type = core_object_type.replace("VK_OBJECT_TYPE_", "").lower()
460 core_target_type = core_target_type.replace("_", "")
462 dr_target_type = dr_object_type.replace("VK_DEBUG_REPORT_OBJECT_TYPE_", "").lower()
464 dr_target_type = dr_target_type.replace("_", "")
480 core_target_type = core_object_type.replace("VK_OBJECT_TYPE_", "").lower()
481 core_target_type = core_target_type.replace("
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DReplaceableString.java144 * @param text new text to replace characters <code>start</code> to
149 public void replace(int start, int limit, String text) { in replace() method in ReplaceableString
150 buf.replace(start, limit, text); in replace()
159 * @param chars the text to replace characters <code>start</code>
167 public void replace(int start, int limit, char[] chars, in replace() method in ReplaceableString
195 replace(dest, dest, text, 0, limit - start); in copy()

Completed in 18 milliseconds

12345678910>>...71