Home
last modified time | relevance | path

Searched refs:token_table (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/gpl2/groff/dist/src/preproc/refer/
H A Dtoken.cpp36 token_table_entry token_table[TOKEN_TABLE_SIZE]; variable
161 if (token_table[n].tok == 0) { in store_token()
164 token_table[n].tok = tok; in store_token()
167 if (strcmp(tok, token_table[n].tok) == 0) in store_token()
174 token_table[n].ti.set(typ, sk, oc); in store_token()
184 if (token_table[n].tok == 0) in lookup_token()
186 if (strlen(token_table[n].tok) == size_t(end - start) in lookup_token()
187 && memcmp(token_table[n].tok, start, end - start) == 0) in lookup_token()
188 return &(token_table[n].ti); in lookup_token()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Drl78-parse.y1201 token_table[] = variable
1346 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
1430 if (strcasecmp (rl78_lex_start, token_table[i].string) == 0 in rl78_lex()
1431 && !(token_table[i].val == IS_OPCODE && rl78_last_token != 0) in rl78_lex()
1432 && !(token_table[i].token == FLAG && !need_flag)) in rl78_lex()
1434 rl78_lval.regno = token_table[i].val; in rl78_lex()
1437 rl78_last_token = token_table[i].token; in rl78_lex()
1438 return token_table[i].token; in rl78_lex()
H A Drx-parse.y1225 token_table[] = variable
1489 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
1655 if (strcasecmp (rx_lex_start, token_table[i].string) == 0 in rx_lex()
1656 && !(token_table[i].val == IS_OPCODE && rx_last_token != 0) in rx_lex()
1657 && !(token_table[i].token == FLAG && !need_flag)) in rx_lex()
1659 rx_lval.regno = token_table[i].val; in rx_lex()
1662 rx_last_token = token_table[i].token; in rx_lex()
1663 return token_table[i].token; in rx_lex()
H A Drl78-parse.c4445 token_table[] = variable
4590 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
4674 if (strcasecmp (rl78_lex_start, token_table[i].string) == 0 in rl78_lex()
4675 && !(token_table[i].val == IS_OPCODE && rl78_last_token != 0) in rl78_lex()
4676 && !(token_table[i].token == FLAG && !need_flag)) in rl78_lex()
4678 rl78_lval.regno = token_table[i].val; in rl78_lex()
4681 rl78_last_token = token_table[i].token; in rl78_lex()
4682 return token_table[i].token; in rl78_lex()
H A Drx-parse.c4571 token_table[] = variable
4835 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
5001 if (strcasecmp (rx_lex_start, token_table[i].string) == 0 in rx_lex()
5002 && !(token_table[i].val == IS_OPCODE && rx_last_token != 0) in rx_lex()
5003 && !(token_table[i].token == FLAG && !need_flag)) in rx_lex()
5005 rx_lval.regno = token_table[i].val; in rx_lex()
5008 rx_last_token = token_table[i].token; in rx_lex()
5009 return token_table[i].token; in rx_lex()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Drl78-parse.y1201 token_table[] = variable
1346 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
1430 if (strcasecmp (rl78_lex_start, token_table[i].string) == 0 in rl78_lex()
1431 && !(token_table[i].val == IS_OPCODE && rl78_last_token != 0) in rl78_lex()
1432 && !(token_table[i].token == FLAG && !need_flag)) in rl78_lex()
1434 rl78_lval.regno = token_table[i].val; in rl78_lex()
1437 rl78_last_token = token_table[i].token; in rl78_lex()
1438 return token_table[i].token; in rl78_lex()
H A Drx-parse.y1225 token_table[] = variable
1489 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
1655 if (strcasecmp (rx_lex_start, token_table[i].string) == 0 in rx_lex()
1656 && !(token_table[i].val == IS_OPCODE && rx_last_token != 0) in rx_lex()
1657 && !(token_table[i].token == FLAG && !need_flag)) in rx_lex()
1659 rx_lval.regno = token_table[i].val; in rx_lex()
1662 rx_last_token = token_table[i].token; in rx_lex()
1663 return token_table[i].token; in rx_lex()
H A Drl78-parse.c4445 token_table[] = variable
4590 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
4674 if (strcasecmp (rl78_lex_start, token_table[i].string) == 0 in rl78_lex()
4675 && !(token_table[i].val == IS_OPCODE && rl78_last_token != 0) in rl78_lex()
4676 && !(token_table[i].token == FLAG && !need_flag)) in rl78_lex()
4678 rl78_lval.regno = token_table[i].val; in rl78_lex()
4681 rl78_last_token = token_table[i].token; in rl78_lex()
4682 return token_table[i].token; in rl78_lex()
H A Drx-parse.c4571 token_table[] = variable
4835 #define NUM_TOKENS (sizeof (token_table) / sizeof (token_table[0]))
5001 if (strcasecmp (rx_lex_start, token_table[i].string) == 0 in rx_lex()
5002 && !(token_table[i].val == IS_OPCODE && rx_last_token != 0) in rx_lex()
5003 && !(token_table[i].token == FLAG && !need_flag)) in rx_lex()
5005 rx_lval.regno = token_table[i].val; in rx_lex()
5008 rx_last_token = token_table[i].token; in rx_lex()
5009 return token_table[i].token; in rx_lex()
/netbsd-src/external/gpl2/groff/dist/src/preproc/eqn/
H A Dlex.cpp65 } token_table[] = { variable
264 for (i = 0; i < sizeof(token_table)/sizeof(token_table[0]); i++) { in init_table()
267 def->tok = token_table[i].token; in init_table()
268 macro_table.define(token_table[i].name, def); in init_table()
/netbsd-src/external/gpl2/groff/dist/
H A DChangeLog.115821 * eqn/lex.cc (token_table, def_table): Likewise.
3837 * eqn/lex.c (token_table): Add SPECIAL.
4486 * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
4878 * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to