Lines Matching refs:sb
764 struct stat sb; in glob2() local
786 if (g_lstat(pathbuf, &sb, pglob)) in glob2()
792 (S_ISDIR(sb.st_mode) || in glob2()
793 (S_ISLNK(sb.st_mode) && in glob2()
794 (g_stat(pathbuf, &sb, pglob) == 0) && in glob2()
795 S_ISDIR(sb.st_mode)))) { in glob2()
804 return (globextend(pathbuf, pglob, limitp, &sb)); in glob2()
965 struct stat *sb) in globextend() argument
1039 if (sb == NULL) in globextend()
1047 sb, sizeof (*sb)); in globextend()
1233 g_lstat(wcat_t *fn, struct stat *sb, glob_t *pglob) in g_lstat() argument
1240 return ((*pglob->gl_lstat)(buf, sb)); in g_lstat()
1241 return (lstat(buf, sb)); in g_lstat()
1245 g_stat(wcat_t *fn, struct stat *sb, glob_t *pglob) in g_stat() argument
1252 return ((*pglob->gl_stat)(buf, sb)); in g_stat()
1253 return (stat(buf, sb)); in g_stat()