OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NumToks
(Results
1 - 2
of
2
) sorted by null
/external/clang/lib/Lex/
MacroArgs.cpp
23
unsigned
NumToks
, bool VarargsElided,
34
if ((*Entry)->NumUnexpArgTokens >=
NumToks
&&
39
if ((*Entry)->NumUnexpArgTokens ==
NumToks
)
48
Result = (MacroArgs*)malloc(sizeof(MacroArgs) +
NumToks
*sizeof(Token));
50
new (Result) MacroArgs(
NumToks
, VarargsElided);
55
Result->NumUnexpArgTokens =
NumToks
;
60
if (
NumToks
)
62
UnexpArgTokens,
NumToks
*sizeof(Token));
156
unsigned
NumToks
= getArgLength(AT)+1; // Include the EOF.
162
PP.EnterTokenStream(AT,
NumToks
, false /*disable expand*/
[
all
...]
TokenLexer.cpp
81
void TokenLexer::Init(const Token *TokArray, unsigned
NumToks
,
92
NumTokens =
NumToks
;
101
if (
NumToks
!= 0) {
216
unsigned
NumToks
= MacroArgs::getArgLength(ResultArgToks);
217
ResultToks.append(ResultArgToks, ResultArgToks+
NumToks
);
258
unsigned
NumToks
= MacroArgs::getArgLength(ArgToks);
259
if (
NumToks
) { // Not an empty argument?
273
ResultToks.append(ArgToks, ArgToks+
NumToks
);
277
for (unsigned i = ResultToks.size() -
NumToks
, e = ResultToks.size();
289
for (unsigned i = ResultToks.size() -
NumToks
, e = ResultToks.size()
[
all
...]
Completed in 165 milliseconds