Lines Matching refs:buf
48 char buf[SMB_AUTOHOME_BUFSIZ];
82 char buf[NSS_LINELEN_PASSWD];
96 if (getpwuid_r(uid, &pw, buf, sizeof (buf)) == NULL) {
330 if (fgets(si->buf, SMB_AUTOHOME_BUFSIZ, si->fp) == 0)
335 if ((bp = strpbrk(si->buf, "#\r\n")) != 0)
338 (void) trim_whitespace(si->buf);
339 bp = strcanon(si->buf, " \t");
342 (void) smb_autohome_keysub(name, si->buf, SMB_AUTOHOME_BUFSIZ);
357 bp = si->buf;
395 smb_autohome_keysub(const char *name, char *buf, int buflen)
402 (void) strlcpy(key, buf, SMB_AUTOHOME_KEYSIZ);
418 (void) strsubst(buf, '?', *key);
420 while ((ampersand = strchr(buf, '&')) != NULL) {
424 bufsize = buflen - (ampersand - buf);
430 return (buf);
463 char buf[MAXPATHLEN];
472 if (strlcpy(buf, si->shr_container, MAXPATHLEN) == 0)
483 for (bp = buf, i = 0; i < argc; ++i) {