Lines Matching refs:namebuf
478 char namebuf[FILENAME_MAX]; /* output file name */
1633 dp->namebuf[0] = 0;
1642 if (dsize <= (sizeof dp->namebuf)-2) /* Allow for name + '/' + '\0' */
1651 memcpy(dp->namebuf, dir, dsize);
1652 if (dsize > 0 && dp->namebuf[dsize-1] != '/')
1653 dp->namebuf[dsize++] = '/';
1662 if (dsize+isize < (sizeof dp->namebuf)) /* dsize + infile + '\0' */
1664 memcpy(dp->namebuf+dsize, infile, isize+1);
1666 if (isdir(dp, dp->namebuf))
1668 dp->namebuf);
1673 dp->namebuf[dsize] = 0; /* allowed for: -2 at start */
1675 dp->namebuf, infile);
2204 destname = dp->namebuf;
2225 char *tmpname, tmpbuf[(sizeof dp->namebuf) + 4];