Home
last modified time | relevance | path

Searched refs:ntokens (Results 1 – 16 of 16) sorted by relevance

/openbsd/sys/dev/microcode/siop/
H A Dncr53cxxx.c48 int ntokens; variable
428 if (ntokens) { in main()
446 if (tokenix < ntokens) in main()
560 ntokens = tokenix = 0; in parse()
588 ++ntokens; in parse()
755 while (i < ntokens) { in expression()
912 if (i + 1 < ntokens) { in f_list()
934 while (i < ntokens) { in f_define()
1172 if (i >= ntokens) { in transfer()
1217 if (i < ntokens) { in transfer()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-c-test/
H A Dcalc.c41 static LLVMValueRef build_from_tokens(char **tokens, int ntokens, in build_from_tokens() argument
48 for (i = 0; i < ntokens; i++) { in build_from_tokens()
113 static void handle_line(char **tokens, int ntokens) { in handle_line() argument
131 res = build_from_tokens(tokens + 1, ntokens - 1, builder, param); in handle_line()
H A Ddisassemble.c65 static void handle_line(char **tokens, int ntokens) { in handle_line() argument
76 for (i = 2; i < ntokens; i++) { in handle_line()
H A Dllvm-c-test.h24 void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens));
H A Dhelpers.c20 void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens)) { in llvm_tokenize_stdin() argument
/openbsd/usr.bin/yacc/
H A Dclosure.c156 first_derives = NEW2(nvars * rulesetsize, unsigned) - ntokens * rulesetsize; in set_first_derives()
160 rrow = first_derives + ntokens * rulesetsize; in set_first_derives()
162 vrow = EFF + ((i - ntokens) * varsetsize); in set_first_derives()
247 free(first_derives + ntokens * WORDSIZE(nrules)); in finalize_closure()
H A Doutput.c261 free(goto_map + ntokens); in output_actions()
282 actionrow = NEW2(2*ntokens, short); in token_actions()
285 for (j = 0; j < 2 * ntokens; ++j) in token_actions()
297 actionrow[p->symbol + ntokens] = p->number; in token_actions()
311 for (j = 0; j < ntokens; ++j) { in token_actions()
328 for (j = 0; j < ntokens; ++j) { in token_actions()
329 if (actionrow[ntokens+j]) { in token_actions()
335 *s++ = actionrow[ntokens+j] - 2; in token_actions()
804 for (i = 2; i < ntokens; ++i) { in output_defines()
886 for (i = 2; i < ntokens; ++i) in output_debug()
[all …]
H A Dlalr.c86 tokensetsize = WORDSIZE(ntokens); in lalr()
211 goto_map = NEW2(nvars + 1, short) - ntokens; in set_goto_map()
212 temp_map = NEW2(nvars + 1, short) - ntokens; in set_goto_map()
230 for (i = ntokens; i < nsyms; i++) { in set_goto_map()
235 for (i = ntokens; i < nsyms; i++) in set_goto_map()
258 free(temp_map + ntokens); in set_goto_map()
H A Dreader.c1633 ntokens = 1; in pack_symbols()
1637 ++ntokens; in pack_symbols()
1639 start_symbol = ntokens; in pack_symbols()
1640 nvars = nsyms - ntokens; in pack_symbols()
1670 assert(i == ntokens && j == nsyms); in pack_symbols()
1672 for (i = 1; i < ntokens; ++i) in pack_symbols()
1692 for (i = 1; i < ntokens; ++i) { in pack_symbols()
1706 for (i = 2; i < ntokens; ++i) { in pack_symbols()
1722 for (i = 1; i < ntokens; ++i) { in pack_symbols()
H A Dmkpar.c134 tokensetsize = WORDSIZE(ntokens); in add_reductions()
140 for (j = ntokens - 1; j >= 0; j--) { in add_reductions()
H A Dmain.c79 int ntokens; variable
H A Ddefs.h246 extern int ntokens;
H A Dverbose.c72 fprintf(verbose_file, "\n\n%d terminals, %d nonterminals\n", ntokens, in verbose()
/openbsd/gnu/gcc/libcpp/
H A Dmacro.c587 unsigned int ntokens = 0; in collect_args() local
595 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit) in collect_args()
607 if (ntokens == 0) in collect_args()
629 arg->first[ntokens++] = token; in collect_args()
633 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING) in collect_args()
634 ntokens--; in collect_args()
636 arg->count = ntokens; in collect_args()
637 arg->first[ntokens] = &pfile->eof; in collect_args()
643 buff->cur = (unsigned char *) &arg->first[ntokens + 1]; in collect_args()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dcppmacro.c597 unsigned int ntokens = 0; local
605 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit)
617 if (ntokens == 0)
639 arg->first[ntokens++] = token;
643 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING)
644 ntokens--;
646 arg->count = ntokens;
647 arg->first[ntokens] = &pfile->eof;
653 buff->cur = (unsigned char *) &arg->first[ntokens + 1];
/openbsd/lib/libc/asr/
H A Dasr.c573 strsplit(char *line, char **tokens, int ntokens) in strsplit() argument
579 ntok < ntokens && (*tp = strsep(&cp, " \t")) != NULL; ) in strsplit()