Home | History | Annotate | Download | only in libclang

Lines Matching refs:numTokens

4998                     CXToken **Tokens, unsigned *NumTokens) {
5005 if (NumTokens)
5006 *NumTokens = 0;
5012 if (!CXXUnit || !Tokens || !NumTokens)
5029 *NumTokens = CXTokens.size();
5033 CXToken *Tokens, unsigned NumTokens) {
5053 unsigned NumTokens;
5068 bool MoreTokens() const { return TokIdx < NumTokens; }
5086 AnnotateTokensWorker(CXToken *tokens, CXCursor *cursors, unsigned numTokens,
5089 NumTokens(numTokens), TokIdx(0), PreprocessingTokIdx(0),
5176 for (; I < NumTokens && isFunctionMacroToken(I); ++I) {
5407 unsigned NumTokens;
5412 CXToken *tokens, unsigned numTokens)
5413 : SM(SM), Tokens(tokens), NumTokens(numTokens), CurIdx(0) { }
5423 for (; CurIdx < NumTokens; ++CurIdx) {
5429 if (CurIdx == NumTokens)
5432 for (; CurIdx < NumTokens; ++CurIdx) {
5440 if (CurIdx == NumTokens)
5472 unsigned NumTokens;
5480 unsigned &NextIdx, unsigned NumTokens) {
5481 if (NextIdx >= NumTokens)
5496 unsigned NumTokens) {
5526 if (lexNext(Lex, Tok, NextIdx, NumTokens))
5541 if (lexNext(Lex, Tok, NextIdx, NumTokens))
5547 if (lexNext(Lex, Tok, NextIdx, NumTokens))
5561 if (lexNext(Lex, Tok, NextIdx, NumTokens)) {
5600 const unsigned NumTokens = ((clang_annotateTokens_Data*)UserData)->NumTokens;
5613 Tokens[NumTokens-1])));
5617 annotatePreprocessorTokens(TU, RegionOfInterest, Cursors, Tokens, NumTokens);
5632 Tokens, NumTokens);
5643 AnnotateTokensWorker W(Tokens, Cursors, NumTokens, TU, RegionOfInterest);
5655 for (unsigned I = 0; I != NumTokens; ++I) {
5710 CXToken *Tokens, unsigned NumTokens,
5712 if (!TU || NumTokens == 0 || !Tokens || !Cursors) {
5720 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens-1]);
5726 for (unsigned I = 0; I != NumTokens; ++I)
5735 clang_annotateTokens_Data data = { TU, CXXUnit, Tokens, NumTokens, Cursors };