/external/clang/include/clang/Lex/ |
D | TokenLexer.h | 56 unsigned NumTokens; variable 159 return CurToken == NumTokens; in isAtEnd()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | TokenLexer.h | 54 unsigned NumTokens; variable 160 return CurTokenIdx == NumTokens; in isAtEnd()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 305 for(i = 0; i < tokens->NumTokens; i++) in liveness_analysis() 328 for(i = tokens->NumTokens - 1; i >= 0; i--) in liveness_analysis() 605 out_tokens->NumTokens = 0; in i915_optimize() 611 out_tokens->NumTokens++; in i915_optimize() 616 out_tokens->Tokens = MALLOC(sizeof(union i915_full_token) * out_tokens->NumTokens); in i915_optimize() 623 out_tokens->NumTokens--; in i915_optimize() 636 while( i < out_tokens->NumTokens) { in i915_optimize()
|
D | i915_fpc.h | 319 unsigned NumTokens; member
|
D | i915_fpc_translate.c | 1058 for(i = 0; i<tokens->NumTokens; i++) { in i915_translate_instructions()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 44 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init() 50 if (NumTokens > 0) { in Init() 92 NumTokens = NumToks; in Init() 181 for (unsigned i = 0, e = NumTokens; i != e; ++i) { in ExpandFunctionArguments() 399 NumTokens = ResultToks.size(); in ExpandFunctionArguments() 715 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()
|
D | PPDirectives.cpp | 2399 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local 2400 if (NumTokens && Tok.getIdentifierInfo() == Ident__VA_ARGS__ && in HandleDefineDirective() 2401 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in HandleDefineDirective() 2454 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local 2455 if (NumTokens != 0) { in HandleDefineDirective() 2460 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective() 2461 Diag(MI->getReplacementToken(NumTokens-1), diag::err_paste_at_end); in HandleDefineDirective()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenLexer.cpp | 57 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init() 63 if (NumTokens > 0) { in Init() 108 NumTokens = NumToks; in Init() 254 for (unsigned I = 0, E = NumTokens; I != E; ++I) { in ExpandFunctionArguments() 604 NumTokens = ResultToks.size(); in ExpandFunctionArguments() 726 return pasteTokens(Tok, llvm::makeArrayRef(Tokens, NumTokens), CurTokenIdx); in pasteTokens() 938 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()
|
D | PPDirectives.cpp | 2648 const unsigned NumTokens = MI->getNumTokens(); in ReadOptionalMacroParameterListAndBody() local 2649 assert(NumTokens >= 3 && "Must have seen at least __VA_OPT__( " in ReadOptionalMacroParameterListAndBody() 2651 if (MI->getReplacementToken(NumTokens - 2).is(tok::hashhash)) { in ReadOptionalMacroParameterListAndBody() 2690 unsigned NumTokens = MI->getNumTokens(); in ReadOptionalMacroParameterListAndBody() local 2691 if (NumTokens && Tok.getIdentifierInfo() == Ident__VA_ARGS__ && in ReadOptionalMacroParameterListAndBody() 2692 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in ReadOptionalMacroParameterListAndBody() 2778 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective() local 2779 if (NumTokens != 0) { in HandleDefineDirective() 2784 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective() 2785 Diag(MI->getReplacementToken(NumTokens-1), diag::err_paste_at_end); in HandleDefineDirective()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 6107 CXToken **Tokens, unsigned *NumTokens) { in clang_tokenize() argument 6114 if (NumTokens) in clang_tokenize() 6115 *NumTokens = 0; in clang_tokenize() 6123 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize() 6140 *NumTokens = CXTokens.size(); in clang_tokenize() 6144 CXToken *Tokens, unsigned NumTokens) { in clang_disposeTokens() argument 6164 unsigned NumTokens; member in __anonc9d3eafc0a11::AnnotateTokensWorker 6180 assert(Idx < NumTokens); in getTok() 6184 assert(Idx < NumTokens); in getTok() 6187 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens() [all …]
|
/external/llvm-project/clang/unittests/libclang/ |
D | LibclangTest.cpp | 717 unsigned int NumTokens; in TEST_F() local 718 clang_tokenize(ClangTU, Range, &Tokens, &NumTokens); in TEST_F() 720 ASSERT_EQ(6u, NumTokens); in TEST_F() 728 clang_disposeTokens(ClangTU, Tokens, NumTokens); in TEST_F()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndex.cpp | 6920 unsigned *NumTokens) { in clang_tokenize() argument 6925 if (NumTokens) in clang_tokenize() 6926 *NumTokens = 0; in clang_tokenize() 6934 if (!CXXUnit || !Tokens || !NumTokens) in clang_tokenize() 6952 *NumTokens = CXTokens.size(); in clang_tokenize() 6956 unsigned NumTokens) { in clang_disposeTokens() argument 6974 unsigned NumTokens; member in __anon2c39628a0a11::AnnotateTokensWorker 6997 assert(Idx < NumTokens); in getTok() 7001 assert(Idx < NumTokens); in getTok() 7004 bool MoreTokens() const { return TokIdx < NumTokens; } in MoreTokens() [all …]
|
/external/clang/include/clang-c/ |
D | Index.h | 4362 CXToken **Tokens, unsigned *NumTokens); 4395 CXToken *Tokens, unsigned NumTokens, 4402 CXToken *Tokens, unsigned NumTokens);
|
/external/llvm-project/clang/include/clang-c/ |
D | Index.h | 5032 CXToken **Tokens, unsigned *NumTokens); 5065 unsigned NumTokens, CXCursor *Cursors); 5071 unsigned NumTokens);
|