/external/clang/unittests/Tooling/ |
RewriterTest.cpp | 18 Context.Rewrite.ReplaceText(Context.getLocation(ID, 2, 1), 5, "replaced"); 27 Context.Rewrite.ReplaceText(Context.getLocation(FailingID, 1, 2), 1, "other"); 30 Context.Rewrite.ReplaceText(Context.getLocation(WorkingID, 2, 1), 5,
|
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 88 /// ReplaceText - This method replaces a range of characters in the input 91 void ReplaceText(unsigned OrigOffset, unsigned OrigLength, 231 /// ReplaceText - This method replaces a range of characters in the input 234 bool ReplaceText(SourceLocation Start, unsigned OrigLength, 237 /// ReplaceText - This method replaces a range of characters in the input 240 bool ReplaceText(SourceRange range, StringRef NewStr) { 241 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); 244 /// ReplaceText - This method replaces a range of characters in the input 247 bool ReplaceText(SourceRange range, SourceRange replacementRange);
|
/external/clang/lib/Rewrite/Core/ |
HTMLRewrite.cpp | 128 RB.ReplaceText(FilePos, 1, " "); 132 RB.ReplaceText(FilePos, 1, "<hr>"); 141 RB.ReplaceText(FilePos, 1, 145 RB.ReplaceText(FilePos, 1, StringRef(" ", NumSpaces)); 150 RB.ReplaceText(FilePos, 1, "<"); 155 RB.ReplaceText(FilePos, 1, ">"); 160 RB.ReplaceText(FilePos, 1, "&");
|
Rewriter.cpp | 105 /// ReplaceText - This method replaces a range of characters in the input 108 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, 300 /// ReplaceText - This method replaces a range of characters in the input 303 bool Rewriter::ReplaceText(SourceLocation Start, unsigned OrigLength, 309 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr); 313 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { 324 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); 342 ReplaceText(From->getLocStart(), Size, Str);
|
/external/chromium_org/ui/views/controls/textfield/ |
textfield_views_model.h | 91 void ReplaceText(const string16& text) {
|
textfield_views_model_unittest.cc | 109 model.ReplaceText(ASCIIToUTF16(" WOR")); [all...] |
native_textfield_views.cc | 924 model_->ReplaceText(GetTextForDisplay(text)); [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 236 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { 256 void ReplaceText(SourceLocation Start, unsigned OrigLength, 259 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || 751 ReplaceText(ImportLoc, ImportLen, "include"); [all...] |
RewriteModernObjC.cpp | 273 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { 293 void ReplaceText(SourceLocation Start, unsigned OrigLength, 296 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || [all...] |
FixItRewriter.cpp | 69 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text);
|
/external/clang/lib/Tooling/ |
Refactoring.cpp | 66 // ReplaceText returns false on success. 67 // ReplaceText only fails if the source location is not a file location, in 69 bool RewriteSucceeded = !Rewrite.ReplaceText(
|
/external/clang/lib/ARCMigrate/ |
ObjCMT.cpp | 707 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text);
|