/third_party/rust/crates/regex/tests/ |
H A D | replace.rs | 14 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/ |
H A D | shootout-regex-dna-single-cheat.rs | 21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 51 ]; // combined into one regex in `replace_all` 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() functions
|
H A D | shootout-regex-dna-cheat.rs | 11 // `replace_all`. As a result, this is around 25% faster. ---AG 28 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 63 ]; // combined into one regex in `replace_all` 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() functions
|
H A D | shootout-regex-dna-single.rs | 21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 54 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna.rs | 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna-bytes.rs | 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main() 61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna-replace.rs | 15 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_replace.py | 252 replace_all = self.dialog.replace_all 258 replace_all() 263 replace_all() 269 replace_all() 274 replace_all()
|
/third_party/skia/tools/skdiff/ |
H A D | skdiff_utils.cpp | 105 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/python/Lib/idlelib/ |
H A D | replace.py | 93 self.make_button("Replace All", self.replace_all) 131 def replace_all(self, event=None): member in ReplaceDialog
|
/third_party/rust/crates/regex/bench/src/ |
H A D | misc.rs | 98 fn replace_all(b: &mut Bencher) { in replace_all() functions 101 b.iter(|| re.replace_all(text, "")); in replace_all()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 128 // and append the result to "res". If replace_all is false, 133 const string& newsub, bool replace_all, in StringReplace() 150 } while (replace_all); in StringReplace() 164 const string& newsub, bool replace_all) { in StringReplace() 166 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace() 132 StringReplace(const string& s, const string& oldsub, const string& newsub, bool replace_all, string* res) StringReplace() argument 163 StringReplace(const string& s, const string& oldsub, const string& newsub, bool replace_all) StringReplace() argument
|
H A D | strutil.h | 208 const string& newsub, bool replace_all);
|
/third_party/rust/crates/aho-corasick/src/ |
H A D | ahocorasick.rs | 82 /// let result = ac.replace_all(haystack, replace_with); 426 /// let result = ac.replace_all(haystack, &["x", "y", "z"]); 429 pub fn replace_all<B>(&self, haystack: &str, replace_with: &[B]) -> String in replace_all() functions 436 "replace_all requires a replacement for every pattern \ in replace_all()
|