Searched refs:NumToks (Results 1 – 7 of 7) sorted by relevance
/external/clang/include/clang/Lex/ |
D | TokenLexer.h | 117 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() argument 120 Init(TokArray, NumToks, DisableExpansion, ownsTokens); in TokenLexer() 128 void Init(const Token *TokArray, unsigned NumToks,
|
D | Preprocessor.h | 691 void EnterTokenStream(const Token *Toks, unsigned NumToks,
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 82 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init() argument 93 NumTokens = NumToks; in Init() 102 if (NumToks != 0) { in Init() 276 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() local 277 ResultToks.append(ResultArgToks, ResultArgToks+NumToks); in ExpandFunctionArguments() 311 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments() local 312 if (NumToks) { // Not an empty argument? in ExpandFunctionArguments() 326 ResultToks.append(ArgToks, ArgToks+NumToks); in ExpandFunctionArguments() 330 for (unsigned i = ResultToks.size() - NumToks, e = ResultToks.size(); in ExpandFunctionArguments() 339 ResultToks.end()-NumToks, ResultToks.end()); in ExpandFunctionArguments() [all …]
|
D | MacroArgs.h | 56 MacroArgs(unsigned NumToks, bool varargsElided) in MacroArgs() argument 57 : NumUnexpArgTokens(NumToks), VarargsElided(varargsElided), ArgCache(0) {} in MacroArgs()
|
D | PPLexerChange.cpp | 188 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() argument 194 TokLexer = new TokenLexer(Toks, NumToks, DisableMacroExpansion, in EnterTokenStream() 198 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
|
D | MacroArgs.cpp | 162 unsigned NumToks = getArgLength(AT)+1; // Include the EOF. in getPreExpArgument() local 168 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 259 for (unsigned i = 0, NumToks = Toks.size(); i != NumToks; ++i) { in SkipUntil() local
|