Lines Matching defs:filebuf
343 char filebuf[_GETGR_R_SIZE_MAX], *ep;
362 while (fgets(filebuf, (int)sizeof(filebuf), state->fp) != NULL) {
363 ep = strchr(filebuf, '\n');
373 if (filebuf[0] == '+') /* skip compat line */
377 if (! _gr_parse(filebuf, grp, buffer, buflen)) {
1356 char filebuf[_GETGR_R_SIZE_MAX], *ep;
1406 &cgrp, filebuf, sizeof(filebuf), &cgrpres);
1417 &cretval, &cgrp, filebuf,
1418 sizeof(filebuf), &cgrpres);
1425 &cgrp, filebuf, sizeof(filebuf), &cgrpres);
1431 &cgrp, filebuf, sizeof(filebuf), &cgrpres);
1446 if (fgets(filebuf, (int)sizeof(filebuf), state->fp) == NULL)
1449 ep = strchr(filebuf, '\n');
1459 if (filebuf[0] == '+') { /* parse compat line */
1463 switch(filebuf[1]) {
1469 ep = strchr(filebuf + 1, ':');
1473 state->name = strdup(filebuf + 1);
1484 if (! _gr_parse(filebuf, grp, buffer, buflen)) {