/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 36 Replacement createReplacement(SourceLocation Start, unsigned Length, in createReplacement() 38 return Replacement(Context.Sources, Start, Length, ReplacementText); in createReplacement() 47 Replacement Replace(createReplacement(Location, 4, "")); in TEST_F() 55 Replacement Replace(createReplacement(Location, 17, "")); in TEST_F() 63 Replacement Replace(createReplacement(Location, 0, "result")); in TEST_F() 72 Replacement Replace(createReplacement(Location, 12, "x")); in TEST_F() 81 Replacement Replace1(createReplacement(Location1, 12, "x\ny\n")); in TEST_F() 88 Replacement Replace2(createReplacement(Location2, 1, "f")); in TEST_F() 94 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); in TEST_F() 99 Replacement Replace("/path/to/file.cpp", 0, 1, ""); in TEST_F() [all …]
|
D | RewriterTest.cpp | 42 Replaces.insert(Replacement("<file>", 6, 6, "")); in TEST() 43 Replaces.insert(Replacement("<file>", 6, 0, "replaced\n")); in TEST()
|
D | ReplacementsYamlTest.cpp | 27 .push_back(Replacement("/path/to/file1.h", 232, 56, "replacement #1")); in TEST() 29 .push_back(Replacement("/path/to/file2.h", 301, 2, "replacement #2")); in TEST()
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 70 class Replacement { 73 Replacement(); 81 Replacement(StringRef FilePath, unsigned Offset, unsigned Length, 86 Replacement(const SourceManager &Sources, SourceLocation Start, 90 Replacement(const SourceManager &Sources, const CharSourceRange &Range, 96 Replacement(const SourceManager &Sources, const Node &NodeToReplace, 134 bool operator<(const Replacement &LHS, const Replacement &RHS); 137 bool operator==(const Replacement &LHS, const Replacement &RHS); 141 typedef std::set<Replacement> Replacements; 157 bool applyAllReplacements(const std::vector<Replacement> &Replaces, [all …]
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 31 Replacement::Replacement() in Replacement() function in clang::tooling::Replacement 34 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, in Replacement() function in clang::tooling::Replacement 39 Replacement::Replacement(const SourceManager &Sources, SourceLocation Start, in Replacement() function in clang::tooling::Replacement 44 Replacement::Replacement(const SourceManager &Sources, in Replacement() function in clang::tooling::Replacement 51 bool Replacement::isApplicable() const { in isApplicable() 55 bool Replacement::apply(Rewriter &Rewrite) const { in apply() 80 std::string Replacement::toString() const { in toString() 88 bool operator<(const Replacement &LHS, const Replacement &RHS) { in operator <() 103 bool operator==(const Replacement &LHS, const Replacement &RHS) { in operator ==() 110 void Replacement::setFromSourceLocation(const SourceManager &Sources, in setFromSourceLocation() [all …]
|
D | CMakeLists.txt | 5 Replacement.cpp
|
/external/clang/include/clang/Tooling/ |
D | ReplacementsYaml.h | 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Replacement) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 31 template <> struct MappingTraits<clang::tooling::Replacement> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 38 NormalizedReplacement(const IO &, const clang::tooling::Replacement &R) in LLVM_YAML_IS_SEQUENCE_VECTOR() 42 clang::tooling::Replacement denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 43 return clang::tooling::Replacement(FilePath, Offset, Length, in LLVM_YAML_IS_SEQUENCE_VECTOR() 53 static void mapping(IO &Io, clang::tooling::Replacement &R) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 54 MappingNormalization<NormalizedReplacement, clang::tooling::Replacement> in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | ReplaceSelectedJavadoc.java | 45 private List<Replacement> replacements; 47 public ReplaceSelectedJavadoc(List<Replacement> replacements) { in ReplaceSelectedJavadoc() 64 for (Replacement replacement : replacements) { in processComment() 100 List<Replacement> replacements = Lists.newArrayList(); in createFromResource() 116 replacements.add(new Replacement(locator, replacementText)); in createFromResource() 140 public static class Replacement { class in ReplaceSelectedJavadoc 144 public Replacement(BodyDeclarationLocator locator, String replacementText) { in Replacement() method in ReplaceSelectedJavadoc.Replacement
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 23 static Replacement replaceStmtWithText(SourceManager &Sources, in replaceStmtWithText() 26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange( in replaceStmtWithText() 29 static Replacement replaceStmtWithStmt(SourceManager &Sources, in replaceStmtWithStmt() 43 Replace.insert(tooling::Replacement( in run()
|
D | Android.mk | 19 Core/Replacement.cpp \
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 164 Value *Replacement = nullptr; in replaceImageUses() local 167 Replacement = ConstantInt::get(Int32Type, ResourceID); in replaceImageUses() 169 Replacement = &ImageSizeArg; in replaceImageUses() 171 Replacement = &ImageFormatArg; in replaceImageUses() 176 Inst->replaceAllUsesWith(Replacement); in replaceImageUses() 197 Value *Replacement = nullptr; in replaceSamplerUses() local 200 Replacement = ConstantInt::get(Int32Type, ResourceID); in replaceSamplerUses() 205 Inst->replaceAllUsesWith(Replacement); in replaceSamplerUses()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 571 Instruction *Replacement = Inst; in runOnFunction() local 577 if (Replacement->getType() != UseTy) in runOnFunction() 578 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 590 PHI->setIncomingValue(i, Replacement); in runOnFunction() 593 if (Replacement->getType() != UseTy) in runOnFunction() 594 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 596 U.set(Replacement); in runOnFunction()
|
/external/v8/src/compiler/ |
D | int64-lowering.h | 35 struct Replacement { struct 73 Replacement* replacements_;
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 344 TemplateName Replacement; variable 349 Parameter(parameter), Replacement(replacement) {} in SubstTemplateTemplateParmStorage() 353 TemplateName getReplacement() const { return Replacement; } in getReplacement()
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 716 NodeTy *replaceTemporary(TempMDNode &&N, NodeTy *Replacement) { in replaceTemporary() argument 717 if (N.get() == Replacement) in replaceTemporary() 720 N->replaceAllUsesWith(Replacement); in replaceTemporary() 721 return Replacement; in replaceTemporary()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/ |
D | plugin.properties | 11 pluginName = International Components for Unicode for Java (ICU4J) Replacement plug-in Tests
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/ |
D | plugin.properties | 11 pluginName = International Components for Unicode for Java (ICU4J) Replacement plug-in
|
/external/llvm/test/CodeGen/PowerPC/ |
D | BreakableToken-reduced.ll | 195 …Replacement, clang::tooling::Replacement, std::_Identity<clang::tooling::Replacement>, std::less<c… 196 …Replacement, clang::tooling::Replacement, std::_Identity<clang::tooling::Replacement>, std::less<c…
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 213 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt() argument 214 : Range(R), Text(Replacement.str()) { in SMFixIt()
|
/external/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 238 SmallString<64> Replacement; in groupDiagnostics() local 240 Replacement += "InGroup<"; in groupDiagnostics() 241 Replacement += (*I)->ExplicitDef->getName(); in groupDiagnostics() 242 Replacement += ">"; in groupDiagnostics() 244 SMFixIt FixIt(InGroupRange, Replacement); in groupDiagnostics()
|
/external/llvm/lib/IR/ |
D | BasicBlock.cpp | 73 Constant *Replacement = in ~BasicBlock() local 77 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 282 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs() local 283 Alias.replaceAllUsesWith(Replacement); in TestFuncs() 290 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs() local 291 I.replaceAllUsesWith(Replacement); in TestFuncs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1091 Value *Replacement) { in findBasePointer() argument 1100 BaseI->replaceAllUsesWith(Replacement); in findBasePointer() 1103 States[BDV] = BDVState(BDVState::Conflict, Replacement); in findBasePointer() 2050 Instruction *Replacement = cast<Instruction>(Replacements[V].first); in splitVectorValues() local 2051 (new StoreInst(Replacement, Alloca))->insertAfter(Replacement); in splitVectorValues() 2053 Replacement = cast_or_null<Instruction>(Replacements[V].second); in splitVectorValues() 2054 if (Replacement) in splitVectorValues() 2055 (new StoreInst(Replacement, Alloca))->insertAfter(Replacement); in splitVectorValues()
|
/external/clang/lib/AST/ |
D | TemplateName.cpp | 31 Profile(ID, Parameter, Replacement); in Profile()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 345 Instruction *Replacement = nullptr; in HandleInlinedEHPad() local 354 Replacement = NewCatchSwitch; in HandleInlinedEHPad() 360 if (Replacement) { in HandleInlinedEHPad() 361 Replacement->takeName(I); in HandleInlinedEHPad() 362 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad()
|