Lines Matching refs:endBuf

1174   const char *endBuf = SM->getCharacterData(LocEnd);  in RewriteProtocolDecl()  local
1175 for (const char *p = startBuf; p < endBuf; p++) { in RewriteProtocolDecl()
1359 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1360 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1372 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() local
1373 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
2059 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt() local
2060 const char *semiBuf = strchr(endBuf, ';'); in RewriteObjCThrowStmt()
2119 static bool scanForProtocolRefs(const char *startBuf, const char *endBuf, in scanForProtocolRefs() argument
2121 while (startBuf < endBuf) { in scanForProtocolRefs()
2183 const char *endBuf = SM->getCharacterData(EndLoc); in RewriteObjCQualifiedInterfaceTypes() local
2185 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2229 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes() local
2230 const char *startBuf = endBuf; in RewriteObjCQualifiedInterfaceTypes()
2234 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2236 SourceLocation LessLoc = Loc.getLocWithOffset(startRef-endBuf); in RewriteObjCQualifiedInterfaceTypes()
2237 SourceLocation GreaterLoc = Loc.getLocWithOffset(endRef-endBuf+1); in RewriteObjCQualifiedInterfaceTypes()
2252 const char *endBuf = startBuf; in RewriteObjCQualifiedInterfaceTypes() local
2254 scanToNextArgument(endBuf); in RewriteObjCQualifiedInterfaceTypes()
2256 if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) { in RewriteObjCQualifiedInterfaceTypes()
2266 startBuf = ++endBuf; in RewriteObjCQualifiedInterfaceTypes()
2303 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl() local
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2309 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl() local
2310 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3901 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() local
3907 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3908 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3954 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3955 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()
5537 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
5541 messString.append(startBuf, endBuf-startBuf+1); in RewriteFunctionBodyOrGlobalInitializer()