Home
last modified time | relevance | path

Searched refs:InsertText (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/Rewrite/Core/
DRewriteBuffer.h65 void InsertText(unsigned OrigOffset, StringRef Str,
74 InsertText(OrigOffset, Str, false); in InsertTextBefore()
81 InsertText(OrigOffset, Str); in InsertTextAfter()
DRewriter.h94 bool InsertText(SourceLocation Loc, StringRef Str,
103 return InsertText(Loc, Str); in InsertTextAfter()
116 return InsertText(Loc, Str, false); in InsertTextBefore()
/external/clang/lib/Rewrite/
DRewriter.cpp92 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, in InsertText() function in RewriteBuffer
238 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, in InsertText() function in Rewriter
275 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter); in InsertText()
286 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true); in InsertTextAfterToken()
389 RB.InsertText(offs, indent, /*InsertAfter=*/false); in IncreaseIndentation()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp239 void InsertText(SourceLocation Loc, StringRef Str, in InsertText() function in __anonc8a4c0a50111::RewriteObjC
242 if (!Rewrite.InsertText(Loc, Str, InsertAfter) || in InsertText()
772 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
843 InsertText(onePastSemiLoc, Getr); in RewritePropertyImplDecl()
885 InsertText(onePastSemiLoc, Setr); in RewritePropertyImplDecl()
952 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
955 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
1167 InsertText(IMD ? IMD->getLocStart() : CID->getLocStart(), "// "); in RewriteImplementationDecl()
1193 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
1615 InsertText(endBodyLoc, buf); in RewriteObjCForCollectionStmt()
[all …]
DRewriteModernObjC.cpp288 void InsertText(SourceLocation Loc, StringRef Str, in InsertText() function in __anon8682a12a0111::RewriteModernObjC
291 if (!Rewrite.InsertText(Loc, Str, InsertAfter) || in InsertText()
924 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
996 InsertText(startGetterSetterLoc, Getr); in RewritePropertyImplDecl()
1039 InsertText(startGetterSetterLoc, Setr); in RewritePropertyImplDecl()
1113 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
1116 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
1341 InsertText(IMD->getLocStart(), "// "); in RewriteImplementationDecl()
1345 InsertText(CID->getLocStart(), "// "); in RewriteImplementationDecl()
1371 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
[all …]
DFixItRewriter.cpp65 Rewrite.InsertText(loc, text); in insert()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.h291 bool InsertText(const WideString& sText, int32_t charset);
342 bool InsertText(const WideString& sText,
Dcpwl_edit_impl.cpp394 m_pEdit->InsertText(m_swText, FX_CHARSET_Default, false, true); in Undo()
416 m_pEdit->InsertText(m_swText, m_nCharset, false, true); in Redo()
812 bool CPWL_EditImpl::InsertText(const WideString& sText, int32_t charset) { in InsertText() function in CPWL_EditImpl
813 return InsertText(sText, charset, true, true); in InsertText()
1673 bool CPWL_EditImpl::InsertText(const WideString& sText, in InsertText() function in CPWL_EditImpl
Dcpwl_edit_ctrl.cpp66 m_pEdit->InsertText(text, FX_CHARSET_Default); in ReplaceSelection()
Dcpwl_edit.cpp455 m_pEdit->InsertText(wsText, FX_CHARSET_Default); in ReplaceSel()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc488 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(E)), pre); in VisitMemberExpr()
527 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(base)), pre); in VisitArraySubscriptExpr()
704 rewriter_.InsertText(real_start_loc, attr); in VisitFunctionDecl()
725 rewriter_.InsertText(real_start_loc, "__attribute__((always_inline))\n"); in VisitFunctionDecl()
1370 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).InsertText(0, in DoMiscWorkAround()
Dtp_frontend_action.cc221 rewriter_.InsertText(insert_loc, tp_struct); in VisitFunctionDecl()
/external/clang/lib/ARCMigrate/
DARCMT.cpp480 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert()
DObjCMT.cpp1759 Rewrite.InsertText(loc, text); in insert()