Home
last modified time | relevance | path

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

/mirbsd/src/sbin/dhclient/
Dconflex.c64 static char tokbuf[1500]; variable
227 for (i = 0; i < sizeof(tokbuf); i++) { in read_string()
235 tokbuf[i] = c; in read_string()
241 tokbuf[i] = c; in read_string()
247 if (i == sizeof(tokbuf)) { in read_string()
251 tokbuf[i] = 0; in read_string()
252 tval = tokbuf; in read_string()
261 tokbuf[i++] = c; in read_number()
262 for (; i < sizeof(tokbuf); i++) { in read_number()
271 tokbuf[i] = c; in read_number()
[all …]
/mirbsd/src/usr.sbin/dhcpd/
Dconflex.c65 static char tokbuf[1500]; variable
228 for (i = 0; i < sizeof(tokbuf); i++) { in read_string()
236 tokbuf[i] = c; in read_string()
242 tokbuf[i] = c; in read_string()
248 if (i == sizeof(tokbuf)) { in read_string()
252 tokbuf[i] = 0; in read_string()
253 tval = tokbuf; in read_string()
262 tokbuf[i++] = c; in read_number()
263 for (; i < sizeof(tokbuf); i++) { in read_number()
272 tokbuf[i] = c; in read_number()
[all …]
/mirbsd/src/gnu/usr.bin/rcs/src/
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()