Lines Matching refs:endBuf

526     bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() local
1184 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1380 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1381 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1391 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1392 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
2079 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt() local
2080 const char *semiBuf = strchr(endBuf, ';'); in RewriteObjCThrowStmt()
2140 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2142 while (startBuf < endBuf) { in scanForProtocolRefs()
2204 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2206 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2250 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2251 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2255 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2257 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2258 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2273 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2275 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2277 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2287 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2324 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2325 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2330 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2331 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3642 const char *endBuf) { in BufferContainsPPDirectives() argument
3643 while (startBuf < endBuf) { in BufferContainsPPDirectives()
3963 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3969 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3970 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
4016 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
4017 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
4807 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr() local
4816 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
4822 while (*argPtr++ && (argPtr < endBuf)) { in RewriteCastExpr()
4966 const char *endBuf = startBuf; in RewriteBlockPointerDecl() local
4970 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
5112 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar() local
5221 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5232 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5233 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()
5616 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
5620 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()