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()
707 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()
DPPDirectives.cpp2165 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2166 if (NumTokens && Tok.getIdentifierInfo() == Ident__VA_ARGS__ && in HandleDefineDirective()
2167 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in HandleDefineDirective()
2219 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2220 if (NumTokens != 0) { in HandleDefineDirective()
2225 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective()
2226 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.cpp5479 CXToken **Tokens, unsigned *NumTokens) { in clang_tokenize() argument
5486 if (NumTokens) in clang_tokenize()
5487 *NumTokens = 0; in clang_tokenize()
5495 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize()
5512 *NumTokens = CXTokens.size(); in clang_tokenize()
5516 CXToken *Tokens, unsigned NumTokens) { in clang_disposeTokens() argument
5536 unsigned NumTokens; member in __anonc9d3eafc0711::AnnotateTokensWorker
5552 assert(Idx < NumTokens); in getTok()
5556 assert(Idx < NumTokens); in getTok()
5559 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens()
[all …]
/external/clang/include/clang-c/
DIndex.h4154 CXToken **Tokens, unsigned *NumTokens);
4187 CXToken *Tokens, unsigned NumTokens,
4194 CXToken *Tokens, unsigned NumTokens);