Home
last modified time | relevance | path

Searched refs:NumTokens (Results 1 – 8 of 8) sorted by relevance

/external/clang/include/clang/Lex/
DTokenLexer.h56 unsigned NumTokens; variable
159 return CurToken == NumTokens; in isAtEnd()
/external/clang/lib/Lex/
DTokenLexer.cpp44 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init()
50 if (NumTokens > 0) { in Init()
94 NumTokens = NumToks; in Init()
180 for (unsigned i = 0, e = NumTokens; i != e; ++i) { in ExpandFunctionArguments()
399 NumTokens = ResultToks.size(); in ExpandFunctionArguments()
714 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()
DPPDirectives.cpp2196 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2197 if (NumTokens && Tok.getIdentifierInfo() == Ident__VA_ARGS__ && in HandleDefineDirective()
2198 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in HandleDefineDirective()
2250 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2251 if (NumTokens != 0) { in HandleDefineDirective()
2256 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective()
2257 Diag(MI->getReplacementToken(NumTokens-1), diag::err_paste_at_end); in HandleDefineDirective()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c309 out_tokens->NumTokens = 0; in i915_optimize()
315 out_tokens->NumTokens++; in i915_optimize()
320 out_tokens->Tokens = MALLOC(sizeof(union i915_full_token) * out_tokens->NumTokens); in i915_optimize()
327 out_tokens->NumTokens--; in i915_optimize()
Di915_fpc.h320 unsigned NumTokens; member
Di915_fpc_translate.c1210 for(i = 0; i<tokens->NumTokens; i++) { in i915_translate_instructions()
/external/clang/tools/libclang/
DCIndex.cpp5734 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()
[all …]
/external/clang/include/clang-c/
DIndex.h4239 CXToken **Tokens, unsigned *NumTokens);
4272 CXToken *Tokens, unsigned NumTokens,
4279 CXToken *Tokens, unsigned NumTokens);