/external/clang/lib/Rewrite/Frontend/ |
D | FixItRewriter.cpp | 35 Rewrite(SourceMgr, LangOpts), in FixItRewriter() 50 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() 60 Rewriter &Rewrite; member in __anon5de14fba0111::RewritesReceiver 63 RewritesReceiver(Rewriter &Rewrite) : Rewrite(Rewrite) { } in RewritesReceiver() argument 66 Rewrite.InsertText(loc, text); in insert() 69 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace() 82 RewritesReceiver Rec(Rewrite); in WriteFixedFiles() 86 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles() 202 Rewrite.getLangOpts(), FixItOpts); in clone()
|
D | RewriteMacros.cpp | 93 Rewriter Rewrite; in RewriteMacrosInInput() local 94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput() 95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput() 210 Rewrite.getRewriteBufferFor(SM.getMainFileID())) { in RewriteMacrosInInput()
|
D | InclusionRewriter.cpp | 342 InclusionRewriter *Rewrite = new InclusionRewriter(PP, *OS, in RewriteIncludesInInput() local 344 PP.addPPCallbacks(Rewrite); in RewriteIncludesInInput() 359 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User); in RewriteIncludesInInput()
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 50 bool Replacement::apply(Rewriter &Rewrite) const { in apply() 51 SourceManager &SM = Rewrite.getSourceMgr(); in apply() 69 bool RewriteSucceeded = !Rewrite.ReplaceText(Start, Length, ReplacementText); in apply() 124 bool applyAllReplacements(Replacements &Replaces, Rewriter &Rewrite) { in applyAllReplacements() argument 130 Result = I->apply(Rewrite) && Result; in applyAllReplacements() 138 bool saveRewrittenFiles(Rewriter &Rewrite) { in saveRewrittenFiles() argument 139 for (Rewriter::buffer_iterator I = Rewrite.buffer_begin(), in saveRewrittenFiles() 140 E = Rewrite.buffer_end(); in saveRewrittenFiles() 146 Rewrite.getSourceMgr().getFileEntryForID(I->first); in saveRewrittenFiles() 174 Rewriter Rewrite(Sources, DefaultLangOptions); in run() local [all …]
|
/external/clang/unittests/Tooling/ |
D | RewriterTest.cpp | 18 Context.Rewrite.ReplaceText(Context.getLocation(ID, 2, 1), 5, "replaced"); in TEST() 19 EXPECT_FALSE(Context.Rewrite.overwriteChangedFiles()); in TEST() 27 Context.Rewrite.ReplaceText(Context.getLocation(FailingID, 1, 2), 1, "other"); in TEST() 30 Context.Rewrite.ReplaceText(Context.getLocation(WorkingID, 2, 1), 5, in TEST() 32 EXPECT_TRUE(Context.Rewrite.overwriteChangedFiles()); in TEST()
|
D | RefactoringTest.cpp | 48 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F() 56 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F() 64 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F() 73 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F() 82 EXPECT_TRUE(Replace1.apply(Context.Rewrite)); in TEST_F() 89 EXPECT_TRUE(Replace2.apply(Context.Rewrite)); in TEST_F() 95 EXPECT_FALSE(Replace.apply(Context.Rewrite)); in TEST_F() 119 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 133 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 149 EXPECT_FALSE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() [all …]
|
D | RewriterTestContext.h | 42 Rewrite(Sources, Options) { in RewriterTestContext() 96 Rewrite.getEditBuffer(ID).write(OS); in getRewrittenText() 117 Rewriter Rewrite; variable
|
D | RefactoringCallbacksTest.cpp | 35 Context.Rewrite)); in expectRewritten()
|
/external/clang/include/clang/Rewrite/Frontend/ |
D | FixItRewriter.h | 64 Rewriter Rewrite; variable 93 return Rewrite.getRewriteBufferFor(ID) != NULL; in IsModified() 97 iterator buffer_begin() { return Rewrite.buffer_begin(); } in buffer_begin() 98 iterator buffer_end() { return Rewrite.buffer_end(); } in buffer_end()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 168 Rewriter &Rewrite; member in __anonb5f593af0311::RewritesReceiver 171 RewritesReceiver(Rewriter &Rewrite) : Rewrite(Rewrite) { } in RewritesReceiver() argument 174 Rewrite.InsertText(loc, text); in insert() 177 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
|
/external/clang/ |
D | Android.mk | 19 lib/Rewrite/Core \ 20 lib/Rewrite/Frontend \
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 80 bool apply(Rewriter &Rewrite) const; 112 bool applyAllReplacements(Replacements &Replaces, Rewriter &Rewrite);
|
/external/v8/src/ |
D | rewriter.h | 44 static bool Rewrite(CompilationInfo* info);
|
D | rewriter.cc | 235 bool Rewriter::Rewrite(CompilationInfo* info) { in EXPRESSION_NODE_LIST()
|
/external/clang/lib/ |
D | Makefile | 12 StaticAnalyzer Edit Rewrite ARCMigrate Serialization Frontend \
|
D | CMakeLists.txt | 11 add_subdirectory(Rewrite)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/ |
D | Reduce.g3 | 20 /** Rewrite: x+x to be 2*x, 2*x to be x<<1, x<<n<<m to be x<<(n+m) */
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTreeAdaptor.h | 102 #pragma mark Rewrite Rules
|
/external/webp/ |
D | README.android | 6 - Rewrite Android.mk to remove duplicate definitions and set module name
|
/external/regex-re2/util/ |
D | pcre.cc | 335 if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) in Replace() 385 pattern.Rewrite(&out, rewrite, *str, vec, matches); in GlobalReplace() 409 return pattern.Rewrite(out, rewrite, text, vec, matches); in Extract() 606 bool PCRE::Rewrite(string *out, const StringPiece &rewrite, in Rewrite() function in re2::PCRE
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRTreeAdaptor.h | 106 #pragma mark Rewrite Rules
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRTreeAdaptor.h | 106 #pragma mark Rewrite Rules
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRTreeAdaptor.h | 106 #pragma mark Rewrite Rules
|
/external/elfutils/config/ |
D | ChangeLog | 3 * Makefile.am ($(srcdir)/elfutils.spec.in): Rewrite awk magic.
|
/external/regex-re2/re2/ |
D | re2.cc | 337 if (!re.Rewrite(&s, rewrite, vec, nvec)) in Replace() 371 re.Rewrite(&out, rewrite, vec, nvec); in GlobalReplace() 399 return re.Rewrite(out, rewrite, vec, nvec); in Extract() 827 bool RE2::Rewrite(string *out, const StringPiece &rewrite, in Rewrite() function in re2::RE2
|