Lines Matching refs:endBuf
1172 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() local
1173 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1354 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1355 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1365 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1366 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
2052 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt() local
2053 const char *semiBuf = strchr(endBuf, ';'); in RewriteObjCThrowStmt()
2113 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2115 while (startBuf < endBuf) { in scanForProtocolRefs()
2177 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2179 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2223 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2224 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2228 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2230 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2231 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2246 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2248 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2250 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2260 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2297 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2298 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2303 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3899 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3905 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3906 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3952 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3953 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
4738 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr() local
4747 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
4753 while (*argPtr++ && (argPtr < endBuf)) { in RewriteCastExpr()
4893 const char *endBuf = startBuf; in RewriteBlockPointerDecl() local
4897 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
5036 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar() local
5145 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5156 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5157 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()
5538 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
5542 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()