Lines Matching refs:endBuf

430     bool BufferContainsPPDirectives(const char *startBuf, const char *endBuf);
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() local
1009 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1184 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1197 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1666 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt() local
1667 while (*endBuf != ')') endBuf--; in RewriteObjCSynchronizedStmt()
1668 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf); in RewriteObjCSynchronizedStmt()
2037 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2039 while (startBuf < endBuf) { in scanForProtocolRefs()
2101 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2103 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2143 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2144 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2148 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2150 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2151 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2166 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2168 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2170 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2180 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2217 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2218 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2223 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2224 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3071 const char *endBuf) { in BufferContainsPPDirectives() argument
3072 while (startBuf < endBuf) { in BufferContainsPPDirectives()
3112 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3118 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3119 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3132 assert((cursor && endBuf) in RewriteObjCInternalStruct()
3181 while (cursor < endBuf) { in RewriteObjCInternalStruct()
3215 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3221 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3908 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr() local
3917 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
3923 while (*argPtr++ && (argPtr < endBuf)) { in RewriteCastExpr()
4048 const char *endBuf = startBuf; in RewriteBlockPointerDecl() local
4052 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4194 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar() local
4279 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4289 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
4306 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()
4648 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
4652 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()