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

/openbsd-current/gnu/llvm/llvm/tools/llvm-c-test/
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)) { argument
H A Dcalc.c41 static LLVMValueRef build_from_tokens(char **tokens, int ntokens, argument
48 for (i = 0; i < ntokens; i++) {
113 static void handle_line(char **tokens, int ntokens) { argument
131 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++) {
/openbsd-current/usr.bin/yacc/
H A Dclosure.c156 first_derives = NEW2(nvars * rulesetsize, unsigned) - ntokens * rulesetsize;
160 rrow = first_derives + ntokens * rulesetsize;
162 vrow = EFF + ((i - ntokens) * varsetsize);
247 free(first_derives + ntokens * WORDSIZE(nrules));
H A Dlalr.c86 tokensetsize = WORDSIZE(ntokens);
211 goto_map = NEW2(nvars + 1, short) - ntokens;
212 temp_map = NEW2(nvars + 1, short) - ntokens;
230 for (i = ntokens; i < nsyms; i++) {
235 for (i = ntokens; i < nsyms; i++)
258 free(temp_map + ntokens);
H A Doutput.c261 free(goto_map + ntokens);
282 actionrow = NEW2(2*ntokens, short);
285 for (j = 0; j < 2 * ntokens; ++j)
297 actionrow[p->symbol + ntokens] = p->number;
311 for (j = 0; j < ntokens; ++j) {
328 for (j = 0; j < ntokens; ++j) {
329 if (actionrow[ntokens+j]) {
335 *s++ = actionrow[ntokens+j] - 2;
804 for (i = 2; i < ntokens; ++i) {
886 for (i = 2; i < ntokens;
[all...]
H A Dmain.c79 int ntokens; variable
H A Dmkpar.c134 tokensetsize = WORDSIZE(ntokens);
140 for (j = ntokens - 1; j >= 0; j--) {
H A Dverbose.c72 fprintf(verbose_file, "\n\n%d terminals, %d nonterminals\n", ntokens,
/openbsd-current/sys/dev/microcode/siop/
H A Dncr53cxxx.c48 int ntokens; variable
428 if (ntokens) {
432 fprintf (listfp, " %d tokens\n", ntokens);
433 for (i = 0; i < ntokens; ++i) {
441 if (ntokens >= 2 && tokens[0].type == 0 &&
446 if (tokenix < ntokens)
560 ntokens = tokenix = 0;
566 if (ntokens >= MAXTOKENS) {
581 tokens[ntokens].name = malloc (len);
582 strlcpy (tokens[ntokens]
[all...]
/openbsd-current/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
[all...]
/openbsd-current/gnu/gcc/libcpp/
H A Dmacro.c587 unsigned int ntokens = 0; local
595 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit)
607 if (ntokens == 0)
629 arg->first[ntokens++] = token;
633 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING)
634 ntokens--;
636 arg->count = ntokens;
637 arg->first[ntokens] = &pfile->eof;
643 buff->cur = (unsigned char *) &arg->first[ntokens
[all...]
/openbsd-current/lib/libc/asr/
H A Dasr.c573 strsplit(char *line, char **tokens, int ntokens) argument
579 ntok < ntokens && (*tp = strsep(&cp, " \t")) != NULL; )

Completed in 229 milliseconds