Home | History | Annotate | Download | only in Rewrite

Lines Matching defs:endBuf

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