Lines Matching refs:endBuf
430 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()
1176 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1177 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1187 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1188 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1657 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt() local
1658 while (*endBuf != ')') endBuf--; in RewriteObjCSynchronizedStmt()
1659 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf); in RewriteObjCSynchronizedStmt()
2028 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2030 while (startBuf < endBuf) { in scanForProtocolRefs()
2092 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2094 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2134 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2135 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2139 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2141 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2142 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2157 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2159 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2161 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2171 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2208 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2209 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2214 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2215 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3058 const char *endBuf) { in BufferContainsPPDirectives() argument
3059 while (startBuf < endBuf) { in BufferContainsPPDirectives()
3099 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3105 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3106 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3119 assert((cursor && endBuf) in RewriteObjCInternalStruct()
3168 while (cursor < endBuf) { in RewriteObjCInternalStruct()
3202 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3208 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3897 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr() local
3906 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
3912 while (*argPtr++ && (argPtr < endBuf)) { in RewriteCastExpr()
4037 const char *endBuf = startBuf; in RewriteBlockPointerDecl() local
4041 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4183 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar() local
4268 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4278 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
4295 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()
4638 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
4642 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()