Lines Matching refs:CXTokens
6816 SmallVectorImpl<CXToken> &CXTokens) { in getTokens() argument
6878 CXTokens.push_back(CXTok); in getTokens()
6906 SmallVector<CXToken, 32> CXTokens; in clang_getToken() local
6907 getTokens(CXXUnit, SourceRange(Begin, End), CXTokens); in clang_getToken()
6909 if (CXTokens.empty()) in clang_getToken()
6912 CXTokens.resize(1); in clang_getToken()
6915 memmove(Token, CXTokens.data(), sizeof(CXToken)); in clang_getToken()
6943 SmallVector<CXToken, 32> CXTokens; in clang_tokenize() local
6944 getTokens(CXXUnit, R, CXTokens); in clang_tokenize()
6946 if (CXTokens.empty()) in clang_tokenize()
6950 llvm::safe_malloc(sizeof(CXToken) * CXTokens.size())); in clang_tokenize()
6951 memmove(*Tokens, CXTokens.data(), sizeof(CXToken) * CXTokens.size()); in clang_tokenize()
6952 *NumTokens = CXTokens.size(); in clang_tokenize()