Searched refs:stateno (Results 1 – 6 of 6) sorted by relevance
| /freebsd-11-stable/contrib/byacc/ |
| HD | mkpar.c | 17 static action *add_reductions(int stateno, action *actions); 18 static action *get_shifts(int stateno); 19 static action *parse_actions(int stateno); 20 static int sole_reduction(int stateno); 64 parse_actions(int stateno) in parse_actions() argument 68 actions = get_shifts(stateno); in parse_actions() 69 actions = add_reductions(stateno, actions); in parse_actions() 74 get_shifts(int stateno) in get_shifts() argument 83 sp = shift_table[stateno]; in get_shifts() 108 add_reductions(int stateno, action *actions) in add_reductions() argument [all …]
|
| HD | lalr.c | 14 static void add_lookback_edge(int stateno, int ruleno, int gotono); 287 int stateno; in initialize_F() local 301 stateno = to_state[i]; in initialize_F() 302 sp = shift_table[stateno]; in initialize_F() 320 edge[nedges++] = map_goto(stateno, symbol); in initialize_F() 364 Value_t stateno; in build_relations() local 386 stateno = state1; in build_relations() 391 sp = shift_table[stateno]; in build_relations() 396 stateno = sp->shift[j]; in build_relations() 397 if (accessing_symbol[stateno] == symbol2) in build_relations() [all …]
|
| HD | verbose.c | 7 static void print_actions(int stateno); 10 static void print_gotos(int stateno); 251 print_actions(int stateno) in print_actions() argument 257 if (stateno == final_state) in print_actions() 260 p = parser[stateno]; in print_actions() 264 print_reductions(p, defred[stateno]); in print_actions() 267 sp = shift_table[stateno]; in print_actions() 272 print_gotos(stateno); in print_actions() 347 print_gotos(int stateno) in print_gotos() argument 355 sp = shift_table[stateno]; in print_gotos()
|
| HD | graph.c | 5 static void graph_state(int stateno); 52 graph_state(int stateno) in graph_state() argument 59 larno = (unsigned)lookaheads[stateno]; in graph_state() 60 fprintf(graph_file, "\n\tq%d [label=\"%d:\\l", stateno, stateno); in graph_state()
|
| /freebsd-11-stable/contrib/sqlite3/ |
| HD | sqlite3.c | 158395 YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */ 159251 yypParser->yystack[0].stateno = 0; 159491 int stateno, iLookAhead, i; 159493 for(stateno=0; stateno<YYNSTATE; stateno++){ 159494 i = yy_shift_ofst[stateno]; 159497 if( yycoverage[stateno][iLookAhead]==0 ) nMissed++; 159499 fprintf(out,"State %d lookahead %s %s\n", stateno, 159501 yycoverage[stateno][iLookAhead] ? "ok" : "missed"); 159515 YYACTIONTYPE stateno /* Current state number */ 159519 if( stateno>YY_MAX_SHIFT ) return stateno; [all …]
|
| /freebsd-11-stable/crypto/heimdal/lib/sqlite/ |
| HD | sqlite3.c | 106385 YYACTIONTYPE stateno; /* The state-number */ 107072 int stateno = pParser->yystack[pParser->yyidx].stateno; 107074 if( stateno>YY_SHIFT_COUNT 107075 || (i = yy_shift_ofst[stateno])==YY_SHIFT_USE_DFLT ){ 107076 return yy_default[stateno]; 107118 return yy_default[stateno]; 107133 int stateno, /* Current state number */ 107138 if( stateno>YY_REDUCE_COUNT ){ 107139 return yy_default[stateno]; 107142 assert( stateno<=YY_REDUCE_COUNT ); [all …]
|