Home
last modified time | relevance | path

Searched refs:startBuf (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp438 bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
782 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() local
783 assert((*startBuf == '@') && "bogus @synthesize location"); in RewritePropertyImplDecl()
784 const char *semiBuf = strchr(startBuf, ';'); in RewritePropertyImplDecl()
787 startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
913 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() local
914 const char *semiPtr = strchr(startBuf, ';'); in RewriteForwardClassEpilogue()
916 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1012 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() local
1014 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
[all …]
DRewriteModernObjC.cpp535 bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
948 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() local
949 assert((*startBuf == '@') && "bogus @synthesize location"); in RewritePropertyImplDecl()
950 const char *semiBuf = strchr(startBuf, ';'); in RewritePropertyImplDecl()
952 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1084 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() local
1085 const char *semiPtr = strchr(startBuf, ';'); in RewriteForwardClassEpilogue()
1087 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1194 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() local
1196 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c1075 const char *startBuf, *endBuf; in FunctionScanVisitor() local
1084 clang_getDefinitionSpellingAndExtent(Cursor, &startBuf, &endBuf, in FunctionScanVisitor()
1091 while (startBuf < endBuf) { in FunctionScanVisitor()
1096 if (*startBuf == '\n') { in FunctionScanVisitor()
1097 startBuf++; in FunctionScanVisitor()
1100 } else if (*startBuf != '\t') in FunctionScanVisitor()
1121 startBuf++; in FunctionScanVisitor()
/external/clang/include/clang-c/
DIndex.h3970 const char **startBuf,
/external/clang/tools/libclang/
DCIndex.cpp4979 const char **startBuf, in clang_getDefinitionSpellingAndExtent() argument
4990 *startBuf = SM.getCharacterData(Body->getLBracLoc()); in clang_getDefinitionSpellingAndExtent()