Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 25 of 146) sorted by relevance

123456

/titanic_41/usr/src/lib/libcmdutils/common/
H A Dwritefile.c99 if (S_ISREG(s1p->st_mode) && s1p->st_size > SMALLFILESIZE) { in writefile()
141 if (S_ISREG(s2p->st_mode)) in writefile()
165 if (S_ISREG(s2p->st_mode)) in writefile()
185 if (S_ISREG(s2p->st_mode)) in writefile()
204 if (S_ISREG(s2p->st_mode)) in writefile()
214 if (S_ISREG(s2p->st_mode)) in writefile()
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c93 #if !defined(S_ISREG) in dwarf_init()
94 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) in dwarf_init() macro
99 if (!S_ISREG(fstat_buf.st_mode)) { in dwarf_init()
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dmakebuf.c117 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE)
122 if (!S_ISREG(st.st_mode))
/titanic_41/usr/src/lib/libast/common/features/
H A Dmode.c103 #ifdef S_ISREG in main()
104 if (!S_ISREG(X_IFREG)) idtype = 0; in main()
/titanic_41/usr/src/cmd/tail/
H A Dforward.c104 if (S_ISREG(sbp->st_mode)) { in forward()
136 if (S_ISREG(sbp->st_mode)) { in forward()
154 if (S_ISREG(sbp->st_mode)) in forward()
273 if (!S_ISREG(file->st.st_mode)) { in associate()
/titanic_41/usr/src/cmd/rpcbind/
H A Dwarmstart.c145 (!S_ISREG(sbuf_fstat.st_mode)) || in read_struct()
165 (!S_ISREG(sbuf_lstat.st_mode)) || in read_struct()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c139 !S_ISREG(statb.st_mode)) in main()
191 if(fstat(n, &statb) < 0 || !S_ISREG(statb.st_mode)) in main()
300 if(!S_ISREG(statb.st_mode) || mode != 1) in eaccess()
/titanic_41/usr/src/cmd/cat/
H A Dcat.c342 if (S_ISREG(statp->st_mode) && (lseek(fi_desc, (off_t)0, SEEK_CUR) in cat()
435 if (S_ISREG(statp->st_mode) && S_ISREG(outp->st_mode)) { in cat()
/titanic_41/usr/src/lib/libast/common/vec/
H A Dvecfile.c50 …if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1,… in vecfile()
/titanic_41/usr/src/lib/libtecla/common/
H A Dpathutil.c405 return S_ISREG(statbuf.st_mode) != 0; in _pu_path_is_file()
428 return S_ISREG(statbuf.st_mode) != 0 && in _pu_path_is_exe()
/titanic_41/usr/src/lib/libcmd/common/
H A Dcmp.c284 …n = ((flags & CMP_SILENT) && S_ISREG(s1.st_mode) && S_ISREG(s2.st_mode) && (s1.st_size - o1) != (s… in b_cmp()
H A Drm.c265 else if (!state->force && state->terminal && S_ISREG(ent->fts_statp->st_mode)) in rm()
294 if (state->clobber && S_ISREG(ent->fts_statp->st_mode) && ent->fts_statp->st_size > 0) in rm()
/titanic_41/usr/src/lib/libast/common/string/
H A Dmodex.c58 if (S_ISREG(i)) x |= X_IFREG; in modex()
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c269 if (exist && !S_ISREG(stbuf.st_mode)) { in proto()
286 !S_ISREG(stbuf.st_mode) && !S_ISFIFO(stbuf.st_mode)) { in proto()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dposix_fallocate.c48 else if (!S_ISREG(statb.st_mode)) /* not a regular file */ in fallocate_errno()
/titanic_41/usr/src/lib/libast/common/port/
H A Dastcopy.c67 if (!fstat(rfd, &st) && S_ISREG(st.st_mode) && (pos = lseek(rfd, (off_t)0, 1)) != ((off_t)-1)) in astcopy()
/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dmisc.c58 if (S_ISREG(status.st_mode) == 0) { in check_file()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dstat.h108 #define S_ISREG(m) (((m)&_IFMT) == _IFREG) macro
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioRawPipe.cc105 if (S_ISREG(st.st_mode)) { in Open()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c153 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
416 if (!S_ISREG (INODE->i_mode)) in minix_dir()
/titanic_41/usr/src/cmd/ssh/include/
H A Ddefines.h99 #ifndef S_ISREG
100 #define S_ISREG(mode) (((mode) & (_S_IFMT)) == (_S_IFREG)) macro
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c71 if (S_ISREG(statbuf.st_mode)) { in pkcs11_read_data()
/titanic_41/usr/src/cmd/mandoc/
H A Dpreconv.c262 if (S_ISREG(st.st_mode) && st.st_size >= (1U << 31)) { in read_whole_file()
267 if (S_ISREG(st.st_mode)) { in read_whole_file()
/titanic_41/usr/src/lib/libast/common/comp/
H A Deaccess.c76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtest.c326 if(stat(arg,&statb)<0 || !S_ISREG(statb.st_mode)) in test_unop()
346 return(test_stat(arg,&statb)>=0 && S_ISREG(statb.st_mode)); in test_unop()
592 if(!S_ISREG(statb.st_mode) || mode!=X_OK) in sh_access()

123456