Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp430 bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
773 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() local
774 assert((*startBuf == '@') && "bogus @synthesize location"); in RewritePropertyImplDecl()
775 const char *semiBuf = strchr(startBuf, ';'); in RewritePropertyImplDecl()
778 startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
904 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() local
905 const char *semiPtr = strchr(startBuf, ';'); in RewriteForwardClassEpilogue()
907 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1003 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() local
1005 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
[all …]
DRewriteModernObjC.cpp925 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() local
926 assert((*startBuf == '@') && "bogus @synthesize location"); in RewritePropertyImplDecl()
927 const char *semiBuf = strchr(startBuf, ';'); in RewritePropertyImplDecl()
929 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1061 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() local
1062 const char *semiPtr = strchr(startBuf, ';'); in RewriteForwardClassEpilogue()
1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1171 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() local
1173 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1175 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); in RewriteProtocolDecl()
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c1133 const char *startBuf, *endBuf; in FunctionScanVisitor() local
1142 clang_getDefinitionSpellingAndExtent(Cursor, &startBuf, &endBuf, in FunctionScanVisitor()
1149 while (startBuf < endBuf) { in FunctionScanVisitor()
1154 if (*startBuf == '\n') { in FunctionScanVisitor()
1155 startBuf++; in FunctionScanVisitor()
1158 } else if (*startBuf != '\t') in FunctionScanVisitor()
1179 startBuf++; in FunctionScanVisitor()
/external/clang/include/clang-c/
DIndex.h4420 const char **startBuf,
/external/clang/tools/libclang/
DCIndex.cpp5865 const char **startBuf, in clang_getDefinitionSpellingAndExtent() argument
5876 *startBuf = SM.getCharacterData(Body->getLBracLoc()); in clang_getDefinitionSpellingAndExtent()