Home
last modified time | relevance | path

Searched refs:NumToks (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Lex/
DTokenLexer.h117 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,
DPreprocessor.h691 void EnterTokenStream(const Token *Toks, unsigned NumToks,
/external/clang/lib/Lex/
DTokenLexer.cpp82 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 …]
DMacroArgs.h56 MacroArgs(unsigned NumToks, bool varargsElided) in MacroArgs() argument
57 : NumUnexpArgTokens(NumToks), VarargsElided(varargsElided), ArgCache(0) {} in MacroArgs()
DPPLexerChange.cpp188 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()
DMacroArgs.cpp162 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/
DParser.cpp259 for (unsigned i = 0, NumToks = Toks.size(); i != NumToks; ++i) { in SkipUntil() local