Home
last modified time | relevance | path

Searched refs:CXToken (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/include/clang-c/
DIndex.h4974 } CXToken; typedef
4987 CINDEX_LINKAGE CXToken *clang_getToken(CXTranslationUnit TU,
4993 CINDEX_LINKAGE CXTokenKind clang_getTokenKind(CXToken);
5001 CINDEX_LINKAGE CXString clang_getTokenSpelling(CXTranslationUnit, CXToken);
5007 CXToken);
5012 CINDEX_LINKAGE CXSourceRange clang_getTokenExtent(CXTranslationUnit, CXToken);
5032 CXToken **Tokens, unsigned *NumTokens);
5064 CINDEX_LINKAGE void clang_annotateTokens(CXTranslationUnit TU, CXToken *Tokens,
5070 CINDEX_LINKAGE void clang_disposeTokens(CXTranslationUnit TU, CXToken *Tokens,
/external/clang/include/clang-c/
DIndex.h4318 } CXToken; typedef
4323 CINDEX_LINKAGE CXTokenKind clang_getTokenKind(CXToken);
4331 CINDEX_LINKAGE CXString clang_getTokenSpelling(CXTranslationUnit, CXToken);
4337 CXToken);
4342 CINDEX_LINKAGE CXSourceRange clang_getTokenExtent(CXTranslationUnit, CXToken);
4362 CXToken **Tokens, unsigned *NumTokens);
4395 CXToken *Tokens, unsigned NumTokens,
4402 CXToken *Tokens, unsigned NumTokens);
/external/rust/crates/clang-sys/src/
Dlib.rs1624 pub struct CXToken { struct
1629 default!(CXToken); argument
1919 …pub fn clang_annotateTokens(tu: CXTranslationUnit, tokens: *mut CXToken, n_tokens: c_uint, cursors…
1956 pub fn clang_disposeTokens(tu: CXTranslationUnit, tokens: *mut CXToken, n_tokens: c_uint);
2104 pub fn clang_getTokenExtent(tu: CXTranslationUnit, token: CXToken) -> CXSourceRange;
2105 pub fn clang_getTokenKind(token: CXToken) -> CXTokenKind;
2106 pub fn clang_getTokenLocation(tu: CXTranslationUnit, token: CXToken) -> CXSourceLocation;
2107 pub fn clang_getTokenSpelling(tu: CXTranslationUnit, token: CXToken) -> CXString;
2173 …pub fn clang_tokenize(tu: CXTranslationUnit, range: CXSourceRange, tokens: *mut *mut CXToken, n_to…
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp6739 CXTokenKind clang_getTokenKind(CXToken CXTok) { in clang_getTokenKind()
6743 CXString clang_getTokenSpelling(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenSpelling()
6785 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenLocation()
6800 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent()
6816 SmallVectorImpl<CXToken> &CXTokens) { in getTokens()
6849 CXToken CXTok; in getTokens()
6883 CXToken *clang_getToken(CXTranslationUnit TU, CXSourceLocation Location) { in clang_getToken()
6906 SmallVector<CXToken, 32> CXTokens; in clang_getToken()
6913 CXToken *Token = static_cast<CXToken *>(llvm::safe_malloc(sizeof(CXToken))); in clang_getToken()
6915 memmove(Token, CXTokens.data(), sizeof(CXToken)); in clang_getToken()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp5960 CXTokenKind clang_getTokenKind(CXToken CXTok) { in clang_getTokenKind()
5964 CXString clang_getTokenSpelling(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenSpelling()
6006 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenLocation()
6020 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent()
6035 SmallVectorImpl<CXToken> &CXTokens) { in getTokens()
6069 CXToken CXTok; in getTokens()
6107 CXToken **Tokens, unsigned *NumTokens) { in clang_tokenize()
6132 SmallVector<CXToken, 32> CXTokens; in clang_tokenize()
6138 *Tokens = (CXToken *)malloc(sizeof(CXToken) * CXTokens.size()); in clang_tokenize()
6139 memmove(*Tokens, CXTokens.data(), sizeof(CXToken) * CXTokens.size()); in clang_tokenize()
[all …]
/external/rust/crates/cexpr/tests/
Dclang.rs176 unsafe fn token_clang_to_cexpr(tu: CXTranslationUnit, orig: &CXToken) -> Token { in token_clang_to_cexpr()
/external/rust/crates/bindgen/src/
Dclang.rs735 tokens: *mut CXToken,
754 fn as_slice(&self) -> &[CXToken] { in as_slice() argument
841 raw: slice::Iter<'a, CXToken>,
/external/llvm-project/clang/unittests/libclang/
DLibclangTest.cpp716 CXToken *Tokens; in TEST_F()
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c2472 CXToken *token = clang_getToken(translation_unit, start); in print_token_range()
4134 CXToken *tokens; in perform_token_annotation()
/external/clang/tools/c-index-test/
Dc-index-test.c3586 CXToken *tokens; in perform_token_annotation()