Home
last modified time | relevance | path

Searched refs:NumTokens (Results 1 – 11 of 11) 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()
398 NumTokens = ResultToks.size(); in ExpandFunctionArguments()
690 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()
DPPDirectives.cpp2023 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2024 if (NumTokens && Tok.getIdentifierInfo() == Ident__VA_ARGS__ && in HandleDefineDirective()
2025 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in HandleDefineDirective()
2074 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local
2075 if (NumTokens != 0) { in HandleDefineDirective()
2081 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective()
2082 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/chromium_org/third_party/mesa/src/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.cpp5218 CXToken **Tokens, unsigned *NumTokens) { in clang_tokenize() argument
5225 if (NumTokens) in clang_tokenize()
5226 *NumTokens = 0; in clang_tokenize()
5234 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize()
5251 *NumTokens = CXTokens.size(); in clang_tokenize()
5255 CXToken *Tokens, unsigned NumTokens) { in clang_disposeTokens() argument
5275 unsigned NumTokens; member in __anonbd367dd30711::AnnotateTokensWorker
5291 assert(Idx < NumTokens); in getTok()
5295 assert(Idx < NumTokens); in getTok()
5298 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens()
[all …]
/external/clang/include/clang-c/
DIndex.h3912 CXToken **Tokens, unsigned *NumTokens);
3945 CXToken *Tokens, unsigned NumTokens,
3952 CXToken *Tokens, unsigned NumTokens);