• Home
  • Raw
  • Download

Lines Matching refs:NumTokens

5734                     CXToken **Tokens, unsigned *NumTokens) {  in clang_tokenize()  argument
5741 if (NumTokens) in clang_tokenize()
5742 *NumTokens = 0; in clang_tokenize()
5750 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize()
5767 *NumTokens = CXTokens.size(); in clang_tokenize()
5771 CXToken *Tokens, unsigned NumTokens) { in clang_disposeTokens() argument
5791 unsigned NumTokens; member in __anonb5f32f410a11::AnnotateTokensWorker
5807 assert(Idx < NumTokens); in getTok()
5811 assert(Idx < NumTokens); in getTok()
5814 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens()
5835 NumTokens(numTokens), TokIdx(0), PreprocessingTokIdx(0), in AnnotateTokensWorker()
5922 for (; I < NumTokens && isFunctionMacroToken(I); ++I) { in annotateAndAdvanceFunctionMacroTokens()
6151 unsigned NumTokens; member in __anonb5f32f410b11::MarkMacroArgTokensVisitor
6157 : SM(SM), Tokens(tokens), NumTokens(numTokens), CurIdx(0) { } in MarkMacroArgTokensVisitor()
6167 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
6173 if (CurIdx == NumTokens) in visit()
6176 for (; CurIdx < NumTokens; ++CurIdx) { in visit()
6184 if (CurIdx == NumTokens) in visit()
6192 assert(Idx < NumTokens); in getTok()
6196 assert(Idx < NumTokens); in getTok()
6223 unsigned &NextIdx, unsigned NumTokens) { in lexNext() argument
6224 if (NextIdx >= NumTokens) in lexNext()
6239 unsigned NumTokens) { in annotatePreprocessorTokens() argument
6269 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
6284 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
6289 if (lexNext(Lex, Tok, NextIdx, NumTokens)) in annotatePreprocessorTokens()
6303 if (lexNext(Lex, Tok, NextIdx, NumTokens)) { in annotatePreprocessorTokens()
6340 CXToken *Tokens, unsigned NumTokens, in clang_annotateTokensImpl() argument
6352 Tokens[NumTokens-1]))); in clang_annotateTokensImpl()
6356 annotatePreprocessorTokens(TU, RegionOfInterest, Cursors, Tokens, NumTokens); in clang_annotateTokensImpl()
6371 Tokens, NumTokens); in clang_annotateTokensImpl()
6382 AnnotateTokensWorker W(Tokens, Cursors, NumTokens, TU, RegionOfInterest); in clang_annotateTokensImpl()
6394 for (unsigned I = 0; I != NumTokens; ++I) { in clang_annotateTokensImpl()
6449 CXToken *Tokens, unsigned NumTokens, in clang_annotateTokens() argument
6455 if (NumTokens == 0 || !Tokens || !Cursors) { in clang_annotateTokens()
6463 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens-1]); in clang_annotateTokens()
6469 for (unsigned I = 0; I != NumTokens; ++I) in clang_annotateTokens()
6479 clang_annotateTokensImpl(TU, CXXUnit, Tokens, NumTokens, Cursors); in clang_annotateTokens()