/external/clang/include/clang/Tooling/ |
Refactoring.h | 68 /// \brief A text replacement. 70 /// Represents a SourceManager independent replacement of a range of text in a 72 class Replacement { 74 /// \brief Creates an invalid (not applicable) replacement. 75 Replacement(); 77 /// \brief Creates a replacement of the range [Offset, Offset+Length) in 83 Replacement(StringRef FilePath, unsigned Offset, 86 /// \brief Creates a Replacement of the range [Start, Start+Length) with 88 Replacement(SourceManager &Sources, SourceLocation Start, unsigned Length, 91 /// \brief Creates a Replacement of the given range with ReplacementText [all...] |
/external/clang/unittests/Tooling/ |
RefactoringTest.cpp | 36 Replacement createReplacement(SourceLocation Start, unsigned Length, 38 return Replacement(Context.Sources, Start, Length, ReplacementText); 47 Replacement Replace(createReplacement(Location, 4, "")); 55 Replacement Replace(createReplacement(Location, 17, "")); 63 Replacement Replace(createReplacement(Location, 0, "result")); 72 Replacement Replace(createReplacement(Location, 12, "x")); 81 Replacement Replace1(createReplacement(Location1, 12, "x\ny\n")); 88 Replacement Replace2(createReplacement(Location2, 1, "f")); 94 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); 99 Replacement Replace("/path/to/file.cpp", 0, 1, "") [all...] |
/external/clang/lib/Tooling/ |
Refactoring.cpp | 28 Replacement::Replacement() 31 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, 36 Replacement::Replacement(SourceManager &Sources, SourceLocation Start, 41 Replacement::Replacement(SourceManager &Sources, const CharSourceRange &Range, 46 bool Replacement::isApplicable() const { 50 bool Replacement::apply(Rewriter &Rewrite) const [all...] |
RefactoringCallbacks.cpp | 23 static Replacement replaceStmtWithText(SourceManager &Sources, 26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange( 29 static Replacement replaceStmtWithStmt(SourceManager &Sources, 43 Replace.insert(tooling::Replacement(
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url.cc | 548 // Remove the parameter from the string. For parameters who replacement is 553 replacements->push_back(Replacement(SEARCH_TERMS, start)); 558 replacements->push_back(Replacement(GOOGLE_ASSISTED_QUERY_STATS, start)); 560 replacements->push_back(Replacement(GOOGLE_BASE_URL, start)); 562 replacements->push_back(Replacement(GOOGLE_BASE_SUGGEST_URL, start)); 564 replacements->push_back(Replacement(GOOGLE_BOOKMARK_BAR_PINNED, start)); 566 replacements->push_back(Replacement(GOOGLE_CURRENT_PAGE_URL, start)); 568 replacements->push_back(Replacement(GOOGLE_CURSOR_POSITION, start)); 571 Replacement(TemplateURLRef::GOOGLE_IMAGE_ORIGINAL_HEIGHT, start)); 574 Replacement(TemplateURLRef::GOOGLE_IMAGE_ORIGINAL_WIDTH, start)) [all...] |
template_url.h | 149 // Returns true if this URL supports search term replacement. 159 // If this TemplateURLRef does not support replacement (SupportsReplacement 210 // Returns true if this TemplateURLRef has a replacement term of 280 struct Replacement { 281 Replacement(ReplacementType type, size_t index) 285 // Indicates the location in where the replacement is replaced. If 292 typedef std::vector<struct Replacement> Replacements; 297 // TemplateURLRef internally caches values to make replacement quick. This 347 // Handles a replacement by using real term data. If the replacement [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 442 // and such; to do the replacement, the argument must have type i8*. 463 Instruction *Replacement = Inst; 469 if (Replacement->getType() != UseTy) 470 Replacement = new BitCastInst(Replacement, UseTy, "", 482 PHI->setIncomingValue(i, Replacement); 485 if (Replacement->getType() != UseTy) 486 Replacement = new BitCastInst(Replacement, UseTy, "", 488 U.set(Replacement); [all...] |
/external/chromium_org/tools/clang/empty_string/ |
EmptyStringConverter.cpp | 38 using clang::tooling::Replacement; 131 replacements_->insert(Replacement(*result.SourceManager, range, "")); 142 replacements_->insert(Replacement(*result.SourceManager, call, "")); 159 replacements_->insert(Replacement(*result.SourceManager, literal, "")); 162 Replacement(*result.SourceManager, 187 // Each replacement line should have the following format: 188 // r:<file path>:<offset>:<length>:<replacement text> 189 // Only the <replacement text> field can contain embedded ":" characters.
|
/external/chromium_org/tools/clang/rewrite_scoped_array/ |
RewriteScopedArray.cpp | 28 using clang::tooling::Replacement; 61 Replacement(*result.SourceManager, range, replacement_text));
|
/external/chromium_org/tools/clang/rewrite_scoped_ptr_ctor_null/ |
RewriteScopedPtrCtorNull.cpp | 38 using clang::tooling::Replacement; 132 replacements_->insert(Replacement(*result.SourceManager, range, "")); 142 replacements_->insert(Replacement(*result.SourceManager, call, "")); 151 // this replacement, but getTokenRange(call->getParenRange()) and the obvious 160 Replacement(*result.SourceManager, 184 // Each replacement line should have the following format: 185 // r:<file path>:<offset>:<length>:<replacement text> 186 // Only the <replacement text> field can contain embedded ":" characters.
|
/external/chromium/chrome/browser/search_engines/ |
template_url.cc | 118 replacements->push_back(Replacement(SEARCH_TERMS, start)); 131 replacements->push_back(Replacement(LANGUAGE, start)); 133 replacements->push_back(Replacement(ENCODING, start)); 138 replacements->push_back(Replacement(GOOGLE_ACCEPTED_SUGGESTION, start)); 140 replacements->push_back(Replacement(GOOGLE_BASE_URL, start)); 142 replacements->push_back(Replacement(GOOGLE_BASE_SUGGEST_URL, start)); 144 replacements->push_back(Replacement(GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION, 147 replacements->push_back(Replacement(GOOGLE_RLZ, start)); 149 replacements->push_back(Replacement(GOOGLE_UNESCAPED_SEARCH_TERMS, start));
|
template_url.h | 59 // Returns true if this URL supports replacement. 69 // If this TemplateURLRef does not support replacement (SupportsReplacement 127 // Returns true if this TemplateURLRef has a replacement term of 165 struct Replacement { 166 Replacement(ReplacementType type, size_t index) 173 typedef std::vector<struct Replacement> Replacements; 175 // TemplateURLRef internally caches values to make replacement quick. This 242 // Do we support replacement? 289 // replacement. 381 // a TemplateURLRef that supports replacement. Use ShowInDefaultList t [all...] |
/external/markdown/markdown/extensions/ |
headerid.py | 78 """ Replacement BlockProcessor for Header IDs. """
|
/external/clang/include/clang/AST/ |
TemplateName.h | 344 TemplateName Replacement; 347 TemplateName replacement) 349 Parameter(parameter), Replacement(replacement) {} 353 TemplateName getReplacement() const { return Replacement; } 359 TemplateName replacement);
|
ExprCXX.h | [all...] |
/external/llvm/include/llvm/Support/ |
SourceMgr.h | 172 /// Represents a single fixit, a replacement of one range of text with another. 186 SMFixIt(SMRange R, const Twine &Replacement) 187 : Range(R), Text(Replacement.str()) {
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 70 Constant *Replacement = 74 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
|
Constants.cpp | [all...] |
/external/clang/lib/AST/ |
TemplateName.cpp | 31 Profile(ID, Parameter, Replacement); 36 TemplateName replacement) { 38 ID.AddPointer(replacement.getAsVoidPointer());
|
/external/clang/utils/TableGen/ |
ClangDiagnosticsEmitter.cpp | 236 SmallString<64> Replacement; 238 Replacement += "InGroup<"; 239 Replacement += (*I)->ExplicitDef->getName(); 240 Replacement += ">"; 242 SMFixIt FixIt(InGroupRange, Replacement.str());
|
/external/clang/lib/Format/ |
WhitespaceManager.cpp | 243 // Don't create a replacement, if it does not change anything. 247 Replaces.insert(tooling::Replacement(
|
/external/llvm/lib/Transforms/Scalar/ |
LoopUnswitch.cpp | 151 static char ID; // Pass ID, replacement for typeid [all...] |
/external/clang/lib/Sema/ |
SemaTemplateDeduction.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 207 // If replacement succeeded or warning disabled return with no warning. 235 // If replacement succeeded or warning disabled return with no warning. [all...] |
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 497 Constant *Replacement = 499 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, [all...] |