Home
last modified time | relevance | path

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

12

/external/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,
/external/rust/crates/regex/examples/
Dshootout-regex-dna-single-cheat.rs23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
54 let seq = replace_all(&seq, substs); in main()
59 fn replace_all(text: &str, substs: Vec<(u8, &str)>) -> String { in replace_all() function
Dshootout-regex-dna-cheat.rs30 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
66 let seq = replace_all(&seq, substs); in main()
74 fn replace_all(text: &str, substs: Vec<(u8, &str)>) -> String { in replace_all() function
Dshootout-regex-dna-single.rs23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
56 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna-bytes.rs25 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main()
63 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna.rs25 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
63 seq = re.replace_all(&seq, replacement).into_owned(); in main()
Dshootout-regex-dna-replace.rs17 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
/external/python/cpython3/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()
/external/python/uritemplates/uritemplate/
Dtemplate.py101 def replace_all(match): function
109 replace = replace_partial if replace else replace_all
/external/rust/crates/clap/
Dclap-test.rs18 let left = re.replace_all(&*ls, ""); in compare()
19 let right = re.replace_all(&*rs, ""); in compare()
/external/flac/src/plugin_common/
Dtags.h73 …2(FLAC__StreamMetadata *tags, const char *name, const FLAC__uint16 *value, FLAC__bool replace_all);
Dtags.c338 …s2(FLAC__StreamMetadata *tags, const char *name, const FLAC__uint16 *value, FLAC__bool replace_all) in FLAC_plugin__tags_set_tag_ucs2() argument
356 if(!FLAC__metadata_object_vorbiscomment_replace_comment(tags, entry, replace_all, /*copy=*/false)) in FLAC_plugin__tags_set_tag_ucs2()
/external/skqp/tools/skdiff/
Dskdiff_utils.cpp106 static SkString replace_all(const SkString &input, in replace_all() function
131 diffName = replace_all(diffName, PATH_DIV_STR, "_"); in filename_to_derived_filename()
/external/tensorflow/tensorflow/core/platform/
Dstr_util.cc140 bool replace_all) { in StringReplace() argument
151 if (!replace_all) { in StringReplace()
Dstr_util.h102 bool replace_all);
/external/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()
/external/python/cpython2/Lib/idlelib/
DReplaceDialog.py50 self.make_button("Replace All", self.replace_all)
78 def replace_all(self, event=None): member in ReplaceDialog
/external/grpc-grpc/src/compiler/
Dgenerator_helpers.h62 const grpc::string& to, bool replace_all) { in StringReplace() argument
72 } while (replace_all); in StringReplace()
/external/python/cpython3/Lib/idlelib/
Dreplace.py91 self.make_button("Replace All", self.replace_all)
129 def replace_all(self, event=None): member in ReplaceDialog
/external/rust/crates/grpcio-sys/grpc/src/compiler/
Dgenerator_helpers.h62 const std::string& to, bool replace_all) { in StringReplace() argument
72 } while (replace_all); in StringReplace()
/external/flatbuffers/grpc/src/compiler/
Dpython_generator.cc74 const grpc::string& to, bool replace_all) { in StringReplace() argument
84 } while (replace_all); in StringReplace()
/external/selinux/libsemanage/src/
Dgenhomedircon.c515 static char *replace_all(const char *str, const replacement_pair_t * repl) in replace_all() function
585 line = replace_all(tpl->data, repl); in write_replacements()
612 line = replace_all(tpl->data, repl); in write_contexts()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc149 const string& newsub, bool replace_all, in StringReplace() argument
166 } while (replace_all); in StringReplace()
180 const string& newsub, bool replace_all) { in StringReplace() argument
182 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
/external/rust/crates/syn/tests/
Dtest_precedence.rs110 let content = edition_regex.replace_all(&content, "_$0"); in test_rustc_precedence()
/external/skqp/tools/bookmaker/
DmdOut.cpp181 void replace_all(string& str, const string& from, const string& to) { in replace_all() function
1068 replace_all(*memberType, " ", "&nbsp;"); in getMemberTypeName()
1120 replace_all(result, "::", "_"); in linkName()
1379 replace_all(noUnderscores, "_", "&nbsp;"); in markTypeOut()

12