Lines Matching refs:buf
239 char *buf; local
302 buf = malloc(bufsize);
303 if ( buf == NULL )
308 line = buf;
309 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
312 switch ( test1(buf) )
315 convert1(buf, out, 1, convert_varargs);
320 f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
322 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
328 convert1(buf, out, 0, convert_varargs);
339 fputs(buf, out);
340 strcpy(buf, more);
341 line = buf;
346 if ( line != buf + (bufsize - 1) ) /* overflow check */
350 wl: fputs(buf, out);
353 line = buf;
355 if ( line != buf )
356 fputs(buf, out);
357 free(buf);
474 test1(buf) in test1() argument
475 char *buf; in test1()
476 { char *p = buf;
483 bend = skipspace(ppdirbackward(buf + strlen(buf) - 1, buf), -1);
513 unsigned len = endfn - buf;
516 { if ( strlen(kp) == len && !strncmp(kp, buf, len) )
546 for (p = skipspace(buf, 1); *p; p = skipspace(p + 1, 1))
556 convert1(buf, out, header, convert_varargs) in convert1() argument
557 char *buf; in convert1()
576 for ( endfn = buf; *(endfn++) != '('; )
583 fputs(buf, out);
653 if (p > buf && p[-1] == '*')
707 p = buf;