Lines Matching refs:endBuf

429     bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
1004 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() local
1005 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1176 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1186 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1187 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1656 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt() local
1657 while (*endBuf != ')') endBuf--; in RewriteObjCSynchronizedStmt()
1658 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf); in RewriteObjCSynchronizedStmt()
2032 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2034 while (startBuf < endBuf) { in scanForProtocolRefs()
2096 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2098 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2138 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2139 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2143 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2145 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2146 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2161 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2163 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2165 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2175 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2212 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2213 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2218 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2219 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3066 const char *endBuf) { in BufferContainsPPDirectives() argument
3067 while (startBuf < endBuf) { in BufferContainsPPDirectives()
3107 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3113 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3114 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3127 assert((cursor && endBuf) in RewriteObjCInternalStruct()
3176 while (cursor < endBuf) { in RewriteObjCInternalStruct()
3210 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3216 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3910 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr() local
3919 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
3925 while (*argPtr++ && (argPtr < endBuf)) { in RewriteCastExpr()
4052 const char *endBuf = startBuf; in RewriteBlockPointerDecl() local
4056 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4201 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar() local
4286 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4296 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
4313 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()
4658 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
4662 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()