Lines Matching refs:NumTokens

6920                     unsigned *NumTokens) {  in clang_tokenize()  argument
6925 if (NumTokens) in clang_tokenize()
6926 *NumTokens = 0; in clang_tokenize()
6934 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize()
6952 *NumTokens = CXTokens.size(); in clang_tokenize()
6956 unsigned NumTokens) { in clang_disposeTokens() argument
6974 unsigned NumTokens; member in __anon2c39628a0a11::AnnotateTokensWorker
6997 assert(Idx < NumTokens); in getTok()
7001 assert(Idx < NumTokens); in getTok()
7004 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens()
7024 : Tokens(tokens), Cursors(cursors), NumTokens(numTokens), TokIdx(0), in AnnotateTokensWorker()
7172 for (; I < NumTokens && isFunctionMacroToken(I); ++I) { in annotateAndAdvanceFunctionMacroTokens()
7406 for (unsigned RefNameRangeNr = 0; I < NumTokens; RefNameRangeNr++) { in HandlePostPonedChildCursor()
7413 while (I < NumTokens) { in HandlePostPonedChildCursor()
7459 unsigned NumTokens; member in __anon2c39628a0b11::MarkMacroArgTokensVisitor
7465 : SM(SM), Tokens(tokens), NumTokens(numTokens), CurIdx(0) {} in MarkMacroArgTokensVisitor()
7475 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
7481 if (CurIdx == NumTokens) in visit()
7484 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
7492 if (CurIdx == NumTokens) in visit()
7500 assert(Idx < NumTokens); in getTok()
7504 assert(Idx < NumTokens); in getTok()
7531 unsigned NumTokens) { in lexNext() argument
7532 if (NextIdx >= NumTokens) in lexNext()
7543 unsigned NumTokens) { in annotatePreprocessorTokens() argument
7572 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
7587 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
7592 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
7606 if (lexNext(Lex, Tok, NextIdx, NumTokens)) { in annotatePreprocessorTokens()
7643 CXToken *Tokens, unsigned NumTokens, in clang_annotateTokensImpl() argument
7654 clang_getTokenLocation(TU, Tokens[NumTokens - 1]))); in clang_annotateTokensImpl()
7658 annotatePreprocessorTokens(TU, RegionOfInterest, Cursors, Tokens, NumTokens); in clang_annotateTokensImpl()
7673 NumTokens); in clang_annotateTokensImpl()
7683 AnnotateTokensWorker W(Tokens, Cursors, NumTokens, TU, RegionOfInterest); in clang_annotateTokensImpl()
7695 for (unsigned I = 0; I != NumTokens; ++I) { in clang_annotateTokensImpl()
7749 unsigned NumTokens, CXCursor *Cursors) { in clang_annotateTokens() argument
7754 if (NumTokens == 0 || !Tokens || !Cursors) { in clang_annotateTokens()
7762 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens - 1]); in clang_annotateTokens()
7768 for (unsigned I = 0; I != NumTokens; ++I) in clang_annotateTokens()
7778 clang_annotateTokensImpl(TU, CXXUnit, Tokens, NumTokens, Cursors); in clang_annotateTokens()