Searched refs:TokenNum (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
D | bits.c | 95 setwd = (SetWordType *) calloc(TokenNum, sizeof(SetWordType)); in NewSetWd() 98 for (p = setwd; p<&(setwd[TokenNum]); p++) {*p=0;} in NewSetWd() 126 "SetWordType setwd%d[%d] = {", wordnum, TokenNum-1); in DumpSetWdForC() 127 for (i=0; i<TokenNum-1; i++) in DumpSetWdForC() 150 fprintf(Parser_h, "\tstatic SetWordType setwd%d[%d];\n", wordnum, TokenNum-1); in DumpSetWdForCC() 153 TokenNum-1); in DumpSetWdForCC() 154 for (i=0; i<TokenNum-1; i++) in DumpSetWdForCC() 579 NumWords(TokenNum-1)*sizeof(unsigned)); 584 NumWords(TokenNum-1)*sizeof(unsigned)); 645 NumWords(TokenNum-1)*sizeof(unsigned)); [all …]
|
D | generic.h | 44 #define ALT TokenNum+1 45 #define SET TokenNum+2 46 #define TREE_REF TokenNum+3
|
D | misc.c | 88 if ( TokenNum >= tsize ) /* terminal table overflow? */ 93 more = TSChunk * (1 + ((TokenNum-tsize) / TSChunk)); 110 if ( *t == '"' ) ExprStr[TokenNum] = t; 111 else TokenStr[TokenNum] = t; 289 LastTokenCounted = TokenNum; in RemapForcedTokens() 290 TokenNum = max_token_number+1; in RemapForcedTokens() 294 for (i=1; i<TokenNum; i++) TokenInd[i] = i; in RemapForcedTokens() 319 if ( q->tnum < TokenNum ) /* is it a valid position? */ in RemapForcedTokens() 416 p->token = TokenNum++; 466 p->token = TokenNum++;
|
D | globals.c | 336 int TokenNum=TokenStart; variable
|
D | main.c | 742 LastTokenCounted = TokenNum; 759 set_size(NumWords(TokenNum-1)); 769 for (i=1; i<TokenNum; i++) { set_orel(i, &a); }
|
D | antlr.c | 3171 TokenNum = v; 3186 TokenNum = maxt + 1; 3238 TokenNum = v; 3302 TokenNum = v; 3325 TokenNum = maxt + 1;
|
D | lex.c | 288 for (i=1; i<TokenNum; i++) in genDefFile()
|
D | proto.h | 99 extern int TokenNum;
|
D | antlr.g | 2197 TokenNum = v; 2207 <<TokenNum = maxt + 1;>> 2223 TokenNum = v; 2246 TokenNum = v; 2257 <<TokenNum = maxt + 1;>> /* MR3 */
|
D | gen.c | 3914 if ( !GenCC ) _gen1("#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned)); 4128 fprintf(f, "#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned));
|