Searched refs:ntokens (Results 1 - 25 of 27) sorted by relevance

12

/external/bison/src/
H A Dclosure.c46 #define FDERIVES(Var) fderives[(Var) - ntokens]
47 #define FIRSTS(Var) firsts[(Var) - ntokens]
78 for (i = ntokens; i < nsyms; i++)
85 symbols[j + ntokens]->tag);
99 for (i = ntokens; i < nsyms; i++)
120 | symbol 5, so the bit [8 - ntokens] in first[5 - ntokens] (= FIRST |
131 for (i = ntokens; i < nsyms; i++)
132 for (j = 0; derives[i - ntokens][j]; ++j)
134 item_number sym = derives[i - ntokens][
[all...]
H A Dderives.c47 for (i = ntokens; i < nsyms; i++)
51 for (rp = derives[i - ntokens]; *rp; ++rp)
83 p->next = dset[lhs - ntokens];
85 dset[lhs - ntokens] = p;
94 for (i = ntokens; i < nsyms; i++)
96 rule_list *p = dset[i - ntokens];
97 derives[i - ntokens] = q;
H A Dnullable.c49 for (i = ntokens; i < nsyms; i++)
51 nullable[i - ntokens] ? "yes" : "no");
96 p->next = rsets[*rp - ntokens];
98 rsets[*rp - ntokens] = p;
108 && ! nullable[rules_ruleno->lhs->number - ntokens])
110 nullable[rules_ruleno->lhs->number - ntokens] = true;
117 for (p = rsets[*s1++ - ntokens]; p; p = p->next)
121 if (r->useful && ! nullable[r->lhs->number - ntokens])
123 nullable[r->lhs->number - ntokens] = true;
H A Dreduce.c76 if (ISVAR (*rhsp) && !bitset_test (N0, *rhsp - ntokens))
121 bitset_set (Np, rules[r].lhs->number - ntokens);
167 if (bitset_test (N, accept->number - ntokens))
183 if (ISTOKEN (*rhsp) || bitset_test (N, *rhsp - ntokens))
213 for (i = ntokens; i < nsyms; i++)
295 n = ntokens;
296 for (i = ntokens; i < nsyms; i++)
298 nontermmap[i - ntokens] = n++;
299 for (i = ntokens; i < nsyms; i++)
302 nontermmap[i - ntokens]
[all...]
H A Dlalr.c93 goto_map[TRANSITION_SYMBOL (sp, i) - ntokens]++;
100 for (i = ntokens; i < nsyms; i++)
102 temp_map[i - ntokens] = k;
103 k += goto_map[i - ntokens];
106 for (i = ntokens; i < nsyms; i++)
107 goto_map[i - ntokens] = temp_map[i - ntokens];
109 goto_map[nsyms - ntokens] = ngotos;
110 temp_map[nsyms - ntokens] = ngotos;
122 goto_number k = temp_map[TRANSITION_SYMBOL (sp, i) - ntokens]
[all...]
H A Dgram.h27 variables (nonterminals). NSYMS is the total number, ntokens +
33 This token is counted in ntokens. The true number of token values
108 # define ISTOKEN(i) ((i) < ntokens)
109 # define ISVAR(i) ((i) >= ntokens)
112 extern int ntokens;
H A Dtables.c56 return state_number_as_int (nstates) + sym - ntokens;
191 for (j = 0; j < ntokens; j += 1)
250 for (i = 0; i < ntokens; i++)
333 for (j = 0; j < ntokens; j++)
353 for (j = 0; j < ntokens; j++)
366 for (i = 0; i < ntokens; i++)
393 for (i = 0; i < ntokens; i++)
407 for (i = 0; i < ntokens; i++)
440 actrow = xnmalloc (ntokens, sizeof *actrow);
441 conflrow = xnmalloc (ntokens, sizeo
[all...]
H A Doutput.c153 MUSCLE_INSERT_INT ("tokens_number", ntokens);
202 int *values = xnmalloc (ntokens, sizeof *values);
203 for (i = 0; i < ntokens; ++i)
206 values[0], 1, ntokens);
350 for (i = 0; i < ntokens; ++i)
445 yydefgoto[0], 1, nsyms - ntokens);
H A Dgraphviz.c90 *no_reduce_set = bitset_create (ntokens, BITSET_FIXED);
191 for (i = 0; i < ntokens; i++)
H A Dgram.c42 int ntokens = 1; variable
246 "ntokens = %d, nvars = %d, nsyms = %d, nrules = %d, nritems = %d\n\n",
247 ntokens, nvars, nsyms, nrules, nritems);
255 for (i = ntokens; i < nsyms; i++)
H A Dconflicts.c270 for (i = 0; i < ntokens; i++)
390 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors);
393 shift_set = bitset_create (ntokens, BITSET_FIXED);
394 lookahead_set = bitset_create (ntokens, BITSET_FIXED);
469 for (i = 0; i < ntokens; i++)
H A DAnnotationList.c157 bitset shift_tokens = bitset_create (ntokens, BITSET_FIXED);
168 bitset conflicted_tokens = bitset_create (ntokens, BITSET_FIXED);
169 bitset conflicted_tokens_rule = bitset_create (ntokens, BITSET_FIXED);
170 bitset tokens = bitset_create (ntokens, BITSET_FIXED);
344 lookaheads[i] = bitset_create (ntokens, BITSET_FIXED);
429 all_lookaheads = bitsetv_create (s->nitems, ntokens, BITSET_FIXED);
H A Dsymtab.c339 sym->number = ntokens++;
377 --ntokens;
504 this->number += ntokens;
832 for (i = 0; i < ntokens; ++i)
853 for (i = 0; i < ntokens; ++i)
897 ntokens -= 1;
H A Dprint-xml.c268 for (i = 0; i < ntokens; i++)
298 for (i = 0; i < ntokens; i++)
412 for (i = ntokens; i < nsyms + nuseless_nonterminals; i++)
520 no_reduce_set = bitset_create (ntokens, BITSET_FIXED);
H A Dprint.c268 for (i = 0; i < ntokens; i++)
297 for (i = 0; i < ntokens; i++)
439 for (i = ntokens; i < nsyms; i++)
524 no_reduce_set = bitset_create (ntokens, BITSET_FIXED);
H A Dielr.c58 && nullable [item_number_as_symbol_number (ritem[i]) - ntokens])
113 - ntokens];
240 * \c ntokens columns.
252 *always_followsp = bitsetv_create (ngotos, ntokens, BITSET_FIXED);
267 if (nullable[sym - ntokens])
393 bitset_create (ntokens, BITSET_FIXED);
605 * \c t, and the number of columns is \c ::ntokens.
671 * \c ::ntokens.
807 bitset_create (ntokens, BITSET_FIXED);
931 bitset_create (ntokens, BITSET_FIXE
[all...]
/external/llvm/tools/llvm-c-test/
H A Dllvm-c-test.h24 void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens));
H A Dhelpers.c21 void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens)) { argument
H A Dcalc.c41 static LLVMValueRef build_from_tokens(char **tokens, int ntokens, argument
48 for (i = 0; i < ntokens; i++) {
112 static void handle_line(char **tokens, int ntokens) { argument
130 res = build_from_tokens(tokens + 1, ntokens - 1, builder, param);
H A Ddisassemble.c65 static void handle_line(char **tokens, int ntokens) { argument
76 for (i = 2; i < ntokens; i++) {
/external/iputils/
H A Dping_common.c485 long ntokens; local
489 ntokens = (tv.tv_sec - cur_time.tv_sec)*1000 +
494 if (ntokens < MININTERVAL && in_flight() >= preload)
495 return MININTERVAL-ntokens;
497 ntokens += tokens;
498 if (ntokens > interval*preload)
499 ntokens = interval*preload;
500 if (ntokens < interval)
501 return interval - ntokens;
504 tokens = ntokens
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 443 milliseconds

12