Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DTokenLexer.cpp83 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init() argument
94 NumTokens = NumToks; in Init()
104 if (NumToks != 0) { in Init()
278 unsigned NumToks = MacroArgs::getArgLength(ResultArgToks); in ExpandFunctionArguments() local
279 ResultToks.append(ResultArgToks, ResultArgToks+NumToks); in ExpandFunctionArguments()
285 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && in ExpandFunctionArguments()
316 unsigned NumToks = MacroArgs::getArgLength(ArgToks); in ExpandFunctionArguments() local
317 if (NumToks) { // Not an empty argument? in ExpandFunctionArguments()
330 ResultToks.append(ArgToks, ArgToks+NumToks); in ExpandFunctionArguments()
334 for (unsigned i = ResultToks.size() - NumToks, e = ResultToks.size(); in ExpandFunctionArguments()
[all …]
DPPLexerChange.cpp191 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() argument
199 Toks, Toks + NumToks); in EnterTokenStream()
208 EnterTokenStream(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
217 Toks, NumToks, DisableMacroExpansion, OwnsTokens, *this); in EnterTokenStream()
220 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
DMacroArgs.cpp161 unsigned NumToks = getArgLength(AT)+1; // Include the EOF. in getPreExpArgument() local
167 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument()
/external/clang/include/clang/Lex/
DTokenLexer.h125 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() argument
128 Init(TokArray, NumToks, DisableExpansion, ownsTokens); in TokenLexer()
136 void Init(const Token *TokArray, unsigned NumToks,
DMacroArgs.h56 MacroArgs(unsigned NumToks, bool varargsElided) in MacroArgs() argument
57 : NumUnexpArgTokens(NumToks), VarargsElided(varargsElided), in MacroArgs()
DPreprocessor.h1022 void EnterTokenStream(const Token *Toks, unsigned NumToks,
/external/clang/lib/Parse/
DParser.cpp258 for (unsigned i = 0, NumToks = Toks.size(); i != NumToks; ++i) { in SkipUntil() local