Home
last modified time | relevance | path

Searched refs:rhsp (Results 1 – 5 of 5) sorted by relevance

/external/bison/src/
Dreduce.c71 item_number *rhsp; in useful_production() local
76 for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp) in useful_production()
77 if (ISVAR (*rhsp) && !bitset_test (N0, *rhsp - ntokens)) in useful_production()
182 item_number *rhsp; in inaccessable_symbols() local
183 for (rhsp = rules[r].rhs; *rhsp >= 0; rhsp++) in inaccessable_symbols()
184 if (ISTOKEN (*rhsp) || bitset_test (N, *rhsp - ntokens)) in inaccessable_symbols()
185 bitset_set (Vp, *rhsp); in inaccessable_symbols()
261 item_number *rhsp = rules[r].rhs; in reduce_grammar_tables() local
262 for (/* Nothing. */; *rhsp >= 0; ++rhsp) in reduce_grammar_tables()
264 *rhsp = rule_number_as_item_number (r); in reduce_grammar_tables()
[all …]
Dprint.c462 item_number *rhsp; in print_grammar() local
471 for (rhsp = rules[r].rhs; *rhsp >= 0; rhsp++) in print_grammar()
472 if (item_number_as_symbol_number (*rhsp) == token_translations[i]) in print_grammar()
492 item_number *rhsp; in print_grammar() local
495 for (rhsp = rules[r].rhs; *rhsp >= 0; rhsp++) in print_grammar()
496 if (item_number_as_symbol_number (*rhsp) == i) in print_grammar()
530 item_number *rhsp; in print_grammar() local
531 for (rhsp = rules[r].rhs; *rhsp >= 0; rhsp++) in print_grammar()
532 if (item_number_as_symbol_number (*rhsp) == i) in print_grammar()
DLR0.c98 item_number *rhsp; in allocate_itemsets() local
109 for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp) in allocate_itemsets()
112 symbol_count[*rhsp]++; in allocate_itemsets()
Dgram.c116 item_number *rhsp; in rule_rhs_length() local
117 for (rhsp = r->rhs; *rhsp >= 0; ++rhsp) in rule_rhs_length()
Doutput.c220 item_number *rhsp = NULL; in prepare_rules() local
224 for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp) in prepare_rules()
225 rhs[i++] = *rhsp; in prepare_rules()