/external/protobuf/ |
D | update_version.py | 53 def ReplaceText(elem, text): function 211 lambda document : ReplaceText( 217 lambda document : ReplaceText( 224 lambda document : ReplaceText( 228 lambda document : ReplaceText( 232 lambda document : ReplaceText( 237 lambda document : ReplaceText( 242 lambda document : ReplaceText( 247 lambda document : ReplaceText( 252 lambda document : ReplaceText( [all …]
|
/external/cronet/third_party/protobuf/ |
D | update_version.py | 53 def ReplaceText(elem, text): function 223 lambda document : ReplaceText( 229 lambda document : ReplaceText( 236 lambda document : ReplaceText( 240 lambda document : ReplaceText( 244 lambda document : ReplaceText( 249 lambda document : ReplaceText( 254 lambda document : ReplaceText( 259 lambda document : ReplaceText( 264 lambda document : ReplaceText( [all …]
|
/external/clang/unittests/Tooling/ |
D | RewriterTest.cpp | 21 Context.Rewrite.ReplaceText(Context.getLocation(ID, 2, 1), 5, "replaced"); in TEST() 30 Context.Rewrite.ReplaceText(Context.getLocation(FailingID, 1, 2), 1, "other"); in TEST() 33 Context.Rewrite.ReplaceText(Context.getLocation(WorkingID, 2, 1), 5, in TEST()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 137 bool ReplaceText(SourceLocation Start, unsigned OrigLength, 143 bool ReplaceText(SourceRange range, StringRef NewStr) { in ReplaceText() function 144 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText() 150 bool ReplaceText(SourceRange range, SourceRange replacementRange);
|
D | RewriteBuffer.h | 87 void ReplaceText(unsigned OrigOffset, unsigned OrigLength,
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 128 RB.ReplaceText(FilePos, 1, " "); in EscapeText() 132 RB.ReplaceText(FilePos, 1, "<hr>"); in EscapeText() 141 RB.ReplaceText(FilePos, 1, in EscapeText() 145 RB.ReplaceText(FilePos, 1, StringRef(" ", NumSpaces)); in EscapeText() 150 RB.ReplaceText(FilePos, 1, "<"); in EscapeText() 155 RB.ReplaceText(FilePos, 1, ">"); in EscapeText() 160 RB.ReplaceText(FilePos, 1, "&"); in EscapeText()
|
D | Rewriter.cpp | 108 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, in ReplaceText() function in RewriteBuffer 303 bool Rewriter::ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in Rewriter 309 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr); in ReplaceText() 313 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { in ReplaceText() function in Rewriter 324 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); in ReplaceText()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 229 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { in ReplaceStmtWithRange() 249 void ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in __anon4905ea610111::RewriteObjC 252 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || in ReplaceText() 749 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude() 907 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue() 953 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration() 962 ReplaceText(Loc, 0, "// "); in RewriteProperty() 970 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl() 980 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl() 989 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl() [all …]
|
D | RewriteModernObjC.cpp | 278 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { in ReplaceStmtWithRange() 298 void ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in __anona72327e60111::RewriteModernObjC 301 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || in ReplaceText() 820 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude() 1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue() 1114 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration() 1123 ReplaceText(Loc, 0, "// "); in RewriteProperty() 1132 ReplaceText(LocStart, 1, "/** "); in RewriteCategoryDecl() 1133 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl() 1136 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl() [all …]
|
D | FixItRewriter.cpp | 68 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 511 rewriter_.ReplaceText(expansionLoc(E->getOperatorLoc()), 1, pre); in VisitUnaryOperator() 576 rewriter_.ReplaceText(expansionRange(SourceRange(member, GET_ENDLOC(E))), post); in VisitMemberExpr() 641 rewriter_.ReplaceText(lbracket_range, lbracket); in VisitArraySubscriptExpr() 644 rewriter_.ReplaceText(expansionLoc(E->getRBracketLoc()), 1, rbracket); in VisitArraySubscriptExpr() 797 rewriter_.ReplaceText( in rewriteFuncParam() 804 rewriter_.ReplaceText(S->getLBracLoc(), 1, preamble); in rewriteFuncParam() 1133 rewriter_.ReplaceText(expansionRange(SourceRange(rewrite_start, rewrite_end)), txt); in VisitCallExpr() 1172 rewriter_.ReplaceText(expansionRange(Call->getSourceRange()), text); in VisitCallExpr() 1177 rewriter_.ReplaceText(expansionRange(Call->getSourceRange()), text); in VisitCallExpr() 1185 rewriter_.ReplaceText(expansionRange(Call->getSourceRange()), text); in VisitCallExpr() [all …]
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 69 bool RewriteSucceeded = !Rewrite.ReplaceText( in apply()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 1762 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
|