Home
last modified time | relevance | path

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

1234567891011

/freebsd/usr.sbin/fifolog/lib/
H A Dfifolog_create.c72 !S_ISREG(st.st_mode)) { in fifolog_create()
77 if(!created && S_ISREG(st.st_mode)) { in fifolog_create()
93 if (size == 0 && S_ISREG(st.st_mode)) in fifolog_create()
99 if (S_ISREG(st.st_mode) && ftruncate(fd, size) < 0) in fifolog_create()
/freebsd/crypto/openssl/fuzz/
H A Dtest-corpus.c33 #if !defined(S_ISREG)
34 #define S_ISREG(m) ((m) & S_IFREG) macro
44 if (stat(pathname, &st) < 0 || !S_ISREG(st.st_mode)) in testfile()
/freebsd/contrib/expat/xmlwf/
H A Dreadfilemap.c67 #ifndef S_ISREG
74 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
108 if (! S_ISREG(sb.st_mode)) { in filemap()
/freebsd/usr.bin/compress/
H A Dcompress.c192 if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) in compress()
194 isreg = oreg = !exists || S_ISREG(sb.st_mode); in compress()
205 if (!S_ISREG(isb.st_mode)) in compress()
282 if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) in decompress()
284 isreg = oreg = !exists || S_ISREG(sb.st_mode); in decompress()
295 if (!S_ISREG(sb.st_mode)) in decompress()
/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_init.c51 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) && in libpe_open_object()
58 if (pe->pe_cmd == PE_C_RDWR && !S_ISREG(mode)) { in libpe_open_object()
64 if (S_ISREG(mode) && pe->pe_fsize < sizeof(PE_CoffHdr)) { in libpe_open_object()
/freebsd/crypto/openssl/crypto/rand/
H A Drandfile.c57 #if !defined(S_ISREG)
58 #define S_ISREG(m) ((m) & S_IFREG) macro
120 if (S_ISREG(sb.st_mode)) in RAND_load_file()
193 if (stat(file, &sb) >= 0 && !S_ISREG(sb.st_mode)) { in RAND_write_file()
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dstat.h56 #ifndef S_ISREG
57 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_open.c146 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) && in _libelf_open_object()
161 if (!S_ISREG(mode)) in _libelf_open_object()
174 if (S_ISREG(mode)) { in _libelf_open_object()
/freebsd/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h105 #ifndef S_ISREG
107 # define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG) macro
/freebsd/contrib/openpam/lib/libpam/
H A Dopenpam_check_owner_perms.c70 if (!S_ISREG(sb.st_mode)) { in openpam_check_desc_owner_perms()
121 if (tip && !S_ISREG(sb.st_mode)) { in openpam_check_path_owner_perms()
/freebsd/crypto/openssh/
H A Dsshbuf-io.c46 if (S_ISREG(st.st_mode) && st.st_size > SSHBUF_SIZE_MAX) in sshbuf_load_fd()
64 if (S_ISREG(st.st_mode) != 0 && in sshbuf_load_fd()
/freebsd/contrib/sendmail/libsm/
H A Dmakebuf.c115 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE)
120 if (!S_ISREG(st.st_mode))
/freebsd/lib/libc/tests/stdio/
H A Dmkostemp_test.c95 if (!S_ISREG(st1.st_mode) || (st1.st_mode & 0777) != 0600 || in test_one()
102 if (!S_ISREG(st2.st_mode) || (st2.st_mode & 0777) != 0600 || in test_one()
/freebsd/usr.bin/diff/
H A Ddiffdir.c315 (S_ISREG(stb1.st_mode) ? "file" : "error")), in diffit()
318 (S_ISREG(stb2.st_mode) ? "file" : "error"))); in diffit()
353 if (!S_ISREG(stb1.st_mode) && !S_ISDIR(stb1.st_mode)) in diffit()
355 else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode)) in diffit()
/freebsd/contrib/tcsh/
H A Dtc.os.h232 # undef S_ISREG
249 # if !defined(S_ISREG) && defined(S_IFREG)
250 # define S_ISREG(a) (((a) & S_IFMT) == S_IFREG) macro
/freebsd/usr.bin/tail/
H A Dforward.c105 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) { in forward()
137 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) { in forward()
154 if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) in forward()
/freebsd/usr.bin/cmp/
H A Dcmp.c226 if (!S_ISREG(sb1.st_mode)) in main()
235 if (!S_ISREG(sb2.st_mode)) in main()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c119 if (S_ISREG(statbuf->st_mode)) in dev_stat_probe_ok()
193 if (S_ISREG(statbuf.st_mode)) { in zpool_open_func()
/freebsd/lib/libsecureboot/
H A Dvesigned.c49 if (stat(buf, &st) < 0 || !S_ISREG(st.st_mode)) in verify_signed()
/freebsd/contrib/ntp/ntpd/
H A Dntp_filegen.c220 #ifndef S_ISREG in filegen_open()
221 #define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG) in filegen_open() macro
225 if (S_ISREG(stats.st_mode)) { in filegen_open()
/freebsd/contrib/xz/src/xz/
H A Dfile_io.c57 # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) macro
687 if (reg_files_only && !S_ISREG(pair->src_st.st_mode)) { in io_open_src_real()
729 if (!S_ISREG(pair->src_st.st_mode)) { in io_open_src_real()
1009 && !S_ISREG(pair->dest_st.st_mode)) { in io_open_dest_real()
1033 if (!S_ISREG(pair->dest_st.st_mode)) in io_open_dest_real()
/freebsd/lib/libutil/
H A D_secure_path.c55 else if (!S_ISREG(sb.st_mode)) in _secure_path()
/freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/linux/
H A Dsys-stat-macros.h26 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
/freebsd/usr.bin/mkuzip/
H A Dmkuz_insize.c75 } else if (!S_ISREG(sb.st_mode)) { in mkuz_get_insize()
/freebsd/lib/libc/iconv/
H A Dcitrus_mmap.c69 if (!S_ISREG(st.st_mode)) { in _citrus_map_file()

1234567891011