Home
last modified time | relevance | path

Searched refs:tokbuf (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/mpl/dhcp/dist/keama/
H A Dconflex.c479 if (ofs >= (sizeof(cfile->tokbuf) - 1)) { in read_whitespace()
488 cfile->tokbuf[ofs++] = c; in read_whitespace()
503 cfile->tokbuf[ofs] = '\0'; in read_whitespace()
505 cfile->tval = cfile->tokbuf; in read_whitespace()
518 for (i = 0; i < sizeof(cfile->tokbuf); i++) { in read_string()
526 cfile->tokbuf[i] = '\t'; in read_string()
529 cfile->tokbuf[i] = '\r'; in read_string()
532 cfile->tokbuf[i] = '\n'; in read_string()
535 cfile->tokbuf[i] = '\b'; in read_string()
551 cfile->tokbuf[i] = c; in read_string()
[all …]
H A Dkeama.h101 char tokbuf[1500]; member
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dconflex.c486 if (ofs >= (sizeof(cfile->tokbuf) - 1)) { in read_whitespace()
496 cfile->tokbuf[ofs++] = c; in read_whitespace()
511 cfile->tokbuf[ofs] = '\0'; in read_whitespace()
513 cfile->tval = cfile->tokbuf; in read_whitespace()
526 for (i = 0; i < sizeof cfile -> tokbuf; i++) {
536 cfile -> tokbuf [i] = '\t';
539 cfile -> tokbuf [i] = '\r';
542 cfile -> tokbuf [i] = '\n';
545 cfile -> tokbuf [i] = '\b';
561 cfile -> tokbuf [i] = c;
[all …]
H A Dparse.c1552 char tokbuf [128]; local
1691 tokbuf[tokix++] = 'D';
1728 if (strlen (val) + tokix + 2 > sizeof (tokbuf))
1730 tokbuf [tokix++] = 'E';
1731 strcpy (&tokbuf [tokix], val);
1757 if (tokix == sizeof tokbuf) {
1765 tokbuf [tokix++] = type;
1770 if (tokix == sizeof tokbuf) {
1778 tokbuf[tokix++] = 'a';
1817 memcpy(s, tokbuf, tokix);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
H A Dhelpers.c22 char *tokbuf[MAX_TOKENS]; in llvm_tokenize_stdin() local
31 tokbuf[c] = strtok(c ? NULL : line, " \n"); in llvm_tokenize_stdin()
32 if (!tokbuf[c]) in llvm_tokenize_stdin()
37 cb(tokbuf, c); in llvm_tokenize_stdin()
/netbsd-src/external/gpl2/rcs/dist/src/
H A Drcslex.c200 static struct buf tokbuf; /* token buffer */ variable
289 bufrealloc(&tokbuf, 2); in Lexinit()
347 sp = tokbuf.string; in nextlex()
348 limit = sp + tokbuf.size; in nextlex()
362 sp = bufenlarge(&tokbuf, &limit); in nextlex()
374 lookup(tokbuf.string); in nextlex()
378 NextString = fstr_save(tokbuf.string); in nextlex()
/netbsd-src/external/bsd/ipf/dist/FWTK/
H A Dfwtkp651 tokac = enargv(buf, tokav, 56, tokbuf, sizeof(tokbuf));
714 char tokbuf[BSIZ];
H A Dfwtk_transparent.diff899 char tokbuf[BSIZ];
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Ddhcpd.h326 char tokbuf [1500]; member