Lines Matching refs:Tokens
4321 CXToken **Tokens, unsigned *NumTokens) { in clang_tokenize() argument
4322 if (Tokens) in clang_tokenize()
4323 *Tokens = 0; in clang_tokenize()
4328 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize()
4410 *Tokens = (CXToken *)malloc(sizeof(CXToken) * CXTokens.size()); in clang_tokenize()
4411 memmove(*Tokens, CXTokens.data(), sizeof(CXToken) * CXTokens.size()); in clang_tokenize()
4416 CXToken *Tokens, unsigned NumTokens) { in clang_disposeTokens() argument
4417 free(Tokens); in clang_disposeTokens()
4433 CXToken *Tokens; member in __anon5b030abf0411::AnnotateTokensWorker
4446 return SourceLocation::getFromRawEncoding(Tokens[tokI].int_data[1]); in GetTokenLoc()
4453 : Annotated(annotated), Tokens(tokens), Cursors(cursors), in AnnotateTokensWorker()
4482 AnnotateTokensData::iterator Pos = Annotated.find(Tokens[I].int_data[1]); in AnnotateTokens()
4495 AnnotateTokensData::iterator Pos = Annotated.find(Tokens[I].int_data[1]); in AnnotateTokens()
4748 CXToken *Tokens; member
4758 CXToken *Tokens = ((clang_annotateTokens_Data*)UserData)->Tokens; in clang_annotateTokensImpl() local
4765 cxloc::translateSourceLocation(clang_getTokenLocation(TU, Tokens[0]))); in clang_annotateTokensImpl()
4768 Tokens[NumTokens-1]))); in clang_annotateTokensImpl()
4836 AnnotateTokensWorker W(Annotated, Tokens, Cursors, NumTokens, in clang_annotateTokensImpl()
4850 if (clang_getTokenKind(Tokens[I]) != CXToken_Identifier) in clang_annotateTokensImpl()
4854 IdentifierInfo *II = static_cast<IdentifierInfo *>(Tokens[I].ptr_data); in clang_annotateTokensImpl()
4872 Tokens[I].int_data[0] = CXToken_Keyword; in clang_annotateTokensImpl()
4879 IdentifierInfo *II = static_cast<IdentifierInfo *>(Tokens[I].ptr_data); in clang_annotateTokensImpl()
4888 Tokens[I].int_data[0] = CXToken_Keyword; in clang_annotateTokensImpl()
4893 IdentifierInfo *II = static_cast<IdentifierInfo *>(Tokens[I].ptr_data); in clang_annotateTokensImpl()
4898 Method->getLocation().getRawEncoding() != Tokens[I].int_data[1] && in clang_annotateTokensImpl()
4903 Tokens[I].int_data[0] = CXToken_Keyword; in clang_annotateTokensImpl()
4911 IdentifierInfo *II = static_cast<IdentifierInfo *>(Tokens[I].ptr_data); in clang_annotateTokensImpl()
4920 Tokens[I].int_data[0] = CXToken_Keyword; in clang_annotateTokensImpl()
4926 Tokens[I].int_data[0] = CXToken_Keyword; in clang_annotateTokensImpl()
4938 CXToken *Tokens, unsigned NumTokens, in clang_annotateTokens() argument
4941 if (NumTokens == 0 || !Tokens || !Cursors) in clang_annotateTokens()
4955 clang_annotateTokens_Data data = { TU, CXXUnit, Tokens, NumTokens, Cursors }; in clang_annotateTokens()