/external/clang/include/clang/Tooling/ |
Refactoring.h | 35 /// \brief A text replacement. 37 /// Represents a SourceManager independent replacement of a range of text in a 39 class Replacement { 41 /// \brief Creates an invalid (not applicable) replacement. 42 Replacement(); 44 /// \brief Creates a replacement of the range [Offset, Offset+Length) in 50 Replacement(StringRef FilePath, unsigned Offset, 53 /// \brief Creates a Replacement of the range [Start, Start+Length) with 55 Replacement(SourceManager &Sources, SourceLocation Start, unsigned Length, 58 /// \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, 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/webkit/Source/WebCore/dom/ |
DocumentMarker.h | 42 // if a Replacement marker contains non-empty description, a reversion UI will be shown. 43 Replacement = 1 << 3, 45 // correction. Text with Replacement marker doesn't necessarily has CorrectionIndicator 46 // marker. For instance, after some text has been corrected, it will have both Replacement 48 // CorrectionIndicator marker, but retain Replacement marker. 77 : MarkerTypes(Spelling | Grammar | TextMatch | Replacement | CorrectionIndicator | RejectedCorrection | Autocorrected | SpellCheckingExemption)
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 463 // and such; to do the replacement, the argument must have type i8*. 484 Instruction *Replacement = Inst; 490 if (Replacement->getType() != UseTy) 491 Replacement = new BitCastInst(Replacement, UseTy, "", 503 PHI->setIncomingValue(i, Replacement); 506 if (Replacement->getType() != UseTy) 507 Replacement = new BitCastInst(Replacement, UseTy, "", 509 U.set(Replacement); [all...] |
/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/webkit/LayoutTests/dom/xhtml/level3/core/ |
nodegettextcontent09.js | 101 txt = doc.createTextNode("Replacement Text"); 105 assertEquals("nodegettextcontent09","Replacement Text",textContent);
|
/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);
|
/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/webkit/Source/WebCore/editing/ |
SpellingCorrectionController.cpp | 55 markerTypesForAutoCorrection.append(DocumentMarker::Replacement); 67 markerTypesForReplacement.append(DocumentMarker::Replacement); 154 void SpellingCorrectionController::show(PassRefPtr<Range> rangeToReplace, const String& replacement) 161 m_correctionPanelInfo.replacementString = replacement; 163 client()->showCorrectionPanel(m_correctionPanelInfo.panelType, boundingBox, m_correctionPanelInfo.replacedString, replacement, Vector<String>()); 209 // However, once the replacement took place, the value of rangeToBeReplaced is not valid anymore. 210 // So before we carry out the replacement, we need to store the start position of rangeToBeReplaced 223 // Take note of the location of autocorrection so that we can add marker after the replacement took place. 233 // Check to see if replacement succeeded. 242 if (m_correctionPanelInfo.panelType != CorrectionPanelInfo::PanelTypeReversion && (markerType == DocumentMarker::Replacement || markerType == DocumentMarker::Autocorrected) [all...] |
SpellingCorrectionController.h | 92 void show(PassRefPtr<Range> rangeToReplace, const String& replacement) UNLESS_ENABLED({ UNUSED_PARAM(rangeToReplace); UNUSED_PARAM(replacement); }) 125 return (((marker.type == DocumentMarker::Replacement && !marker.description.isNull())
|
/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/webkit/LayoutTests/dom/html/level2/html/ |
HTMLDocument19.js | 113 doc.write("<title>Replacement</title>");
|
HTMLDocument20.js | 113 doc.writeln("<title>Replacement</title>");
|
HTMLDocument21.js | 117 doc.writeln("<title>Replacement</title>");
|
/external/webkit/LayoutTests/dom/xhtml/level2/html/ |
HTMLDocument19.js | 113 doc.write("<title>Replacement</title>");
|
HTMLDocument20.js | 113 doc.writeln("<title>Replacement</title>");
|
HTMLDocument21.js | 117 doc.writeln("<title>Replacement</title>");
|
/external/llvm/lib/Transforms/Scalar/ |
LoopUnswitch.cpp | 151 static char ID; // Pass ID, replacement for typeid [all...] |