Home
last modified time | relevance | path

Searched refs:Replacer (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/regex/src/
Dre_unicode.rs507 pub fn replace<'t, R: Replacer>( in replace()
521 pub fn replace_all<'t, R: Replacer>( in replace_all()
535 pub fn replacen<'t, R: Replacer>( in replacen()
1153 pub trait Replacer { trait
1206 impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R> {
1215 impl<'a> Replacer for &'a str { impl
1225 impl<'a> Replacer for &'a String { impl
1235 impl Replacer for String {
1245 impl<'a> Replacer for Cow<'a, str> {
1255 impl<'a> Replacer for &'a Cow<'a, str> { impl
[all …]
Dre_bytes.rs457 pub fn replace<'t, R: Replacer>( in replace()
471 pub fn replace_all<'t, R: Replacer>( in replace_all()
485 pub fn replacen<'t, R: Replacer>( in replacen()
1111 pub trait Replacer { interface
1164 impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R> {
1173 impl<'a> Replacer for &'a [u8] { impl
1183 impl<'a> Replacer for &'a Vec<u8> { impl
1193 impl Replacer for Vec<u8> {
1203 impl<'a> Replacer for Cow<'a, [u8]> {
1213 impl<'a> Replacer for &'a Cow<'a, [u8]> { impl
[all …]
Dlib.rs650 Locations, Match, Matches, NoExpand, Regex, Replacer, ReplacerRef, Split,
/external/llvm/include/llvm/Transforms/Utils/
DSimplifyLibCalls.h77 function_ref<void(Instruction *, Value *)> Replacer; variable
90 function_ref<void(Instruction *, Value *)> Replacer =
/external/cldr/tools/java/org/unicode/cldr/util/
DPick.java76 Replacer visitor = new Replacer(toReplace, replacement); in replace()
596 static class Replacer extends Visitor { class in Pick
600 Replacer(String toReplace, Pick replacement) { in Replacer() method in Pick.Replacer
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSimplifyLibCalls.h109 function_ref<void(Instruction *, Value *)> Replacer; variable
142 function_ref<void(Instruction *, Value *)> Replacer =
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSimplifyLibCalls.h109 function_ref<void(Instruction *, Value *)> Replacer; variable
142 function_ref<void(Instruction *, Value *)> Replacer =
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp577 bool MemorySSA::dominatesUse(const MemoryAccess *Replacer, in dominatesUse() argument
580 return DT->dominates(Replacer->getBlock(), Replacee->getBlock()); in dominatesUse()
587 !DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg))) in dominatesUse()
DSimplifyLibCalls.cpp2130 function_ref<void(Instruction *, Value *)> Replacer) in LibCallSimplifier() argument
2132 Replacer(Replacer) {} in LibCallSimplifier()
2136 Replacer(I, With); in replaceAllUsesWith()
/external/rust/crates/regex/
DCHANGELOG.md27 Add missing `Replacer` impls for `Vec<u8>`, `String`, `Cow`, etc.
87 Fix doc example for `Replacer::replace_append`.
414 Generalize impls of the `Replacer` trait.
778 * The `Replacer` trait has been completely overhauled. This should only
781 the `Replacer` trait, please consult the new documentation.
808 The `Replacer` trait has been changed to permit the caller to control
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSA.cpp1792 bool MemorySSA::dominatesUse(const MemoryAccess *Replacer, in dominatesUse() argument
1795 return DT->dominates(Replacer->getBlock(), Replacee->getBlock()); in dominatesUse()
1802 !DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg))) in dominatesUse()
/external/llvm-project/llvm/lib/Analysis/
DMemorySSA.cpp1821 bool MemorySSA::dominatesUse(const MemoryAccess *Replacer, in dominatesUse() argument
1824 return DT->dominates(Replacer->getBlock(), Replacee->getBlock()); in dominatesUse()
1831 !DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg))) in dominatesUse()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2440 UsesReplacer *Replacer; member in __anon6a1763210211::TypePromotionTransaction::InstructionRemover
2448 Replacer(nullptr) { in InstructionRemover()
2450 Replacer = new UsesReplacer(Inst, New); in InstructionRemover()
2455 ~InstructionRemover() override { delete Replacer; } in ~InstructionRemover()
2465 if (Replacer) in undo()
2466 Replacer->undo(); in undo()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp3164 function_ref<void(Instruction *, Value *)> Replacer, in LibCallSimplifier() argument
3167 UnsafeFPShrink(false), Replacer(Replacer), Eraser(Eraser) {} in LibCallSimplifier()
3171 Replacer(I, With); in replaceAllUsesWith()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp3189 function_ref<void(Instruction *, Value *)> Replacer, in LibCallSimplifier() argument
3192 UnsafeFPShrink(false), Replacer(Replacer), Eraser(Eraser) {} in LibCallSimplifier()
3196 Replacer(I, With); in replaceAllUsesWith()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2677 UsesReplacer *Replacer = nullptr; member in __anondc2463830511::TypePromotionTransaction::InstructionRemover
2692 Replacer = new UsesReplacer(Inst, New); in InstructionRemover()
2701 ~InstructionRemover() override { delete Replacer; } in ~InstructionRemover()
2708 if (Replacer) in undo()
2709 Replacer->undo(); in undo()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2821 UsesReplacer *Replacer = nullptr; member in __anon9452010f0911::TypePromotionTransaction::InstructionRemover
2836 Replacer = new UsesReplacer(Inst, New); in InstructionRemover()
2845 ~InstructionRemover() override { delete Replacer; } in ~InstructionRemover()
2852 if (Replacer) in undo()
2853 Replacer->undo(); in undo()