Home
last modified time | relevance | path

Searched refs:replace_all (Results 1 – 25 of 51) sorted by relevance

123

/third_party/rust/crates/regex/tests/
Dreplace.rs14 replace!(all, replace_all, r"[0-9]", "age: 26", t!("Z"), "age: ZZ");
35 replace_all,
43 replace_all,
53 replace_all,
61 replace_all,
69 replace_all,
114 replace_all,
127 replace_all,
/third_party/rust/crates/regex/examples/
Dshootout-regex-dna-single-cheat.rs21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
52 let seq = replace_all(&seq, substs); in main()
57 fn replace_all(text: &str, substs: Vec<(u8, &str)>) -> String { in replace_all() function
Dshootout-regex-dna-cheat.rs28 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
64 let seq = replace_all(&seq, substs); in main()
72 fn replace_all(text: &str, substs: Vec<(u8, &str)>) -> String { in replace_all() function
Dshootout-regex-dna-single.rs21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
54 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna.rs23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna-bytes.rs23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main()
61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna-replace.rs15 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
/third_party/python/Lib/idlelib/idle_test/
Dtest_replace.py252 replace_all = self.dialog.replace_all
258 replace_all()
263 replace_all()
269 replace_all()
274 replace_all()
/third_party/flutter/skia/tools/skdiff/
Dskdiff_utils.cpp105 static SkString replace_all(const SkString &input, in replace_all() function
130 diffName = replace_all(diffName, PATH_DIV_STR, "_"); in filename_to_derived_filename()
/third_party/skia/tools/skdiff/
Dskdiff_utils.cpp105 static SkString replace_all(const SkString &input, in replace_all() function
130 diffName = replace_all(diffName, PATH_DIV_STR, "_"); in filename_to_derived_filename()
/third_party/rust/crates/regex/bench/src/
Dmisc.rs98 fn replace_all(b: &mut Bencher) { in replace_all() function
101 b.iter(|| re.replace_all(text, "")); in replace_all()
/third_party/python/Lib/idlelib/
Dreplace.py93 self.make_button("Replace All", self.replace_all)
131 def replace_all(self, event=None): member in ReplaceDialog
/third_party/rust/crates/regex/bench/log/old/
D01-before28 test bench::replace_all ... bench: 2874 ns/iter (+/- 25)
D03-new-syntax-crate28 test bench::replace_all ... bench: 3124 ns/iter (+/- 53)
D04-fixed-benchmark28 test bench::replace_all ... bench: 3,185 ns/iter (+/- 12)
D02-new-syntax-crate28 test bench::replace_all ... bench: 2949 ns/iter (+/- 15)
D05-thread-caching29 test bench::replace_all ... bench: 2168 ns/iter (+/- 152)
D09-before-compiler-rewrite33 test bench::replace_all ... bench: 155 ns/iter (+/- 5)
D10-compiler-rewrite33 test bench::replace_all ... bench: 150 ns/iter (+/- 1)
D07-prefix-improvements33 test bench::replace_all ... bench: 170 ns/iter (+/- 1)
D11-compiler-rewrite33 test bench::replace_all ... bench: 148 ns/iter (+/- 0)
D08-case-fixes33 test bench::replace_all ... bench: 154 ns/iter (+/- 0)
D06-major-dynamic33 test bench::replace_all ... bench: 579 ns/iter (+/- 3)
D06-major-macro33 test bench::replace_all ... bench: 1,288 ns/iter (+/- 13)
D12-executor35 test bench::replace_all ... bench: 136 ns/iter (+/- 2)

123