/freebsd-11-stable/usr.bin/stat/ |
H A D | stat.c | 208 struct stat st; local 330 rc = fstat(STDIN_FILENO, &st); 353 rc = fhstat(&fhnd, &st); 361 if ((rc = stat(file, &st)) == -1 && 363 (rc = lstat(file, &st)) == -1) 367 rc = lstat(file, &st); 377 output(&st, file, statfmt, fn, nonl); 418 output(const struct stat *st, const char *file, argument 586 t = format1(st, 611 format1(const struct stat *st, argument [all...] |
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/ |
H A D | main.c | 97 struct stat st; local 107 if (stat(path, &st) == 0) { 108 if (S_ISREG(st.st_mode)) { 112 if (S_ISDIR(st.st_mode)) { 115 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) { 143 if (stat(path, &st) == -1 || !S_ISREG(st.st_mode)) { 145 if (stat(path, &st) == -1 || 146 !S_ISREG(st 274 struct stat st; local 302 struct stat st; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk.c | 41 struct stat st; local 51 assert(0 == stat(archive_entry_pathname(ae), &st)); 58 st.st_mode &= ~S_ISGID; 59 assertEqualInt(st.st_mode & MODE_MASK, 144 struct stat st; local 157 assert(0 == stat(archive_entry_pathname(ae), &st)); 158 failure("st.st_mode=%o archive_entry_mode(ae)=%o", 159 st.st_mode, archive_entry_mode(ae)); 161 assertEqualInt(st.st_mode, (archive_entry_mode(ae) & ~UMASK)); 163 assertEqualInt(st 171 struct stat st; local 198 struct _stat st; local [all...] |
/freebsd-11-stable/usr.sbin/makefs/ |
H A D | walk.c | 195 (unsigned long long)curino->st.st_dev, 196 (unsigned long long)curino->st.st_ino); 232 cur->inode->st = *stbuf; 234 cur->inode->st.st_atime = stampst.st_atime; 235 cur->inode->st.st_mtime = stampst.st_mtime; 236 cur->inode->st.st_ctime = stampst.st_ctime; 238 cur->inode->st.st_atimensec = stampst.st_atimensec; 239 cur->inode->st.st_mtimensec = stampst.st_mtimensec; 240 cur->inode->st.st_ctimensec = stampst.st_ctimensec; 243 cur->inode->st [all...] |
/freebsd-11-stable/usr.sbin/snapinfo/ |
H A D | snapinfo.c | 59 struct stat st; local 96 stat(resolved, &st) == -1 || /* is it stat'able */ 97 !S_ISDIR(st.st_mode)) { /* is it a directory */ 146 compare_function(const char *path, const struct stat *st, int flags, argument 150 if (flags == FTW_F && st->st_ino == inode) { 155 printf(" (inode %ju)", (uintmax_t)st->st_ino);
|
/freebsd-11-stable/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_rmpp_ctx.c | 52 ib_api_status_t st = IB_SUCCESS; local 73 st = osmv_rmpp_sar_init(&p_ctx->sar, p_arbt_mad, p_ctx->mad_sz, 75 if (st == IB_SUCCESS) { 81 return st; 119 ib_api_status_t st = IB_SUCCESS; local 126 st = osmv_rmpp_sar_get_mad_seg(&p_send_ctx->sar, seg_idx, p_buf); 127 if (st != IB_SUCCESS) { 182 return st; 188 ib_api_status_t st = IB_SUCCESS; local 200 st 345 ib_api_status_t st = IB_SUCCESS; local [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | statestr.c | 439 u_int32 st 442 return decode_bitflags(st, " ", k_st_bits, COUNTOF(k_st_bits)); 453 int st 466 getcode(CTL_SYS_LI(st), leap_codes), 467 getcode(CTL_SYS_SOURCE(st), sync_codes), 468 getevents(CTL_SYS_NEVNT(st)), 469 getcode(CTL_SYS_EVENT(st), sys_codes)); 473 pst = (u_char)CTL_PEER_STATVAL(st); 477 getevents(CTL_PEER_NEVNT(st))); 478 if (CTL_PEER_EVENT(st) ! [all...] |
/freebsd-11-stable/lib/msun/amd64/ |
H A D | e_remainder.S | 52 fstp %st
|
H A D | e_remainderf.S | 22 fstp %st
|
H A D | s_scalbn.S | 36 fstp %st(1)
|
H A D | s_scalbnf.S | 36 fstp %st(1)
|
H A D | s_scalbnl.S | 15 fstp %st(1)
|
H A D | e_fmod.S | 50 fstp %st
|
H A D | e_fmodf.S | 20 fstp %st
|
/freebsd-11-stable/lib/libc/include/ |
H A D | nss_tls.h | 53 static struct name##_state st; \ 58 *p = &st; \
|
/freebsd-11-stable/usr.sbin/cpucontrol/ |
H A D | via.c | 82 struct stat st; local 145 error = fstat(fd, &st); 150 if (st.st_size < 0 || (unsigned)st.st_size < sizeof(*fw_header)) { 158 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ, 173 if (total_size > (unsigned)st.st_size || st.st_size < 0) { 219 if (munmap(fw_image, st.st_size) != 0)
|
H A D | amd.c | 80 struct stat st; local 123 error = fstat(fd, &st); 128 if (st.st_size < 0 || (unsigned)st.st_size < sizeof(*fw_header)) { 135 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ, 148 fw_size = (st.st_size - sizeof(*fw_header)) / sizeof(uint32_t); 164 args.size = st.st_size; 180 if(munmap(fw_image, st.st_size) != 0)
|
/freebsd-11-stable/contrib/libgnuregex/ |
H A D | regex.c | 32 # define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef) 36 # define re_set_registers(bu, re, nu, st, en) \ 37 __re_set_registers (bu, re, nu, st, en)
|
/freebsd-11-stable/lib/libpam/modules/pam_nologin/ |
H A D | pam_nologin.c | 65 struct stat st; local 107 if (fstat(fd, &st) == 0) { 108 mtmp = malloc(st.st_size + 1); 110 ss = read(fd, mtmp, st.st_size);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sftp-glob.c | 111 fudge_lstat(const char *path, struct stat *st) argument 118 attrib_to_stat(a, st); 124 fudge_stat(const char *path, struct stat *st) argument 131 attrib_to_stat(a, st);
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | getentropy_solaris.c | 175 struct stat st; local 200 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode) || 201 (devfscheck && (strcmp(st.st_fstype, "devfs") != 0))) { 263 struct stat st; local 383 HX(stat(".", &st) == -1, st); 386 HX(stat("/", &st) == -1, st); 389 HX((e = fstat(0, &st)) [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fchownat.c | 81 struct stat st; local 92 ATF_REQUIRE(stat(FILE, &st) == 0); 93 ATF_REQUIRE(st.st_uid == uid); 94 ATF_REQUIRE(st.st_gid == gid); 109 struct stat st; local 119 ATF_REQUIRE(stat(BASEFILE, &st) == 0); 120 ATF_REQUIRE(st.st_uid == uid); 121 ATF_REQUIRE(st.st_gid == gid); 215 struct stat st; local 231 ATF_REQUIRE(lstat(LINK, &st) [all...] |
/freebsd-11-stable/usr.sbin/cron/cron/ |
H A D | database.c | 47 struct stat syscron_stat, st; local 54 struct stat st; member in struct:__anon5585 80 if (stat(syscrontabs[i].name, &syscrontabs[i].st) != -1) { 81 maxmtime = TMAX(syscrontabs[i].st.st_mtime, maxmtime); 88 ret = fstatat(dirfd(dir), dp->d_name, &st, 0); 89 if (ret != 0 || !S_ISREG(st.st_mode)) 91 maxmtime = TMAX(st.st_mtime, maxmtime); 95 syscrontabs[i].st.st_mtime = 0; 128 if (syscrontabs[i].st.st_mtime == 0) 139 if (fstatat(dirfd(dir), dp->d_name, &st, [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | remote-fileio.c | 397 remote_fileio_to_fio_stat (struct stat *st, struct fio_stat *fst) argument 400 remote_fileio_to_fio_uint ((long) st->st_ino, fst->fst_ino); 401 remote_fileio_to_fio_mode (st->st_mode, fst->fst_mode); 402 remote_fileio_to_fio_uint ((long) st->st_nlink, fst->fst_nlink); 403 remote_fileio_to_fio_uint ((long) st->st_uid, fst->fst_uid); 404 remote_fileio_to_fio_uint ((long) st->st_gid, fst->fst_gid); 405 remote_fileio_to_fio_uint ((long) st->st_rdev, fst->fst_rdev); 406 remote_fileio_to_fio_ulong ((LONGEST) st->st_size, fst->fst_size); 407 remote_fileio_to_fio_ulong ((LONGEST) st->st_blksize, fst->fst_blksize); 409 remote_fileio_to_fio_ulong ((LONGEST) st 568 struct stat st; local 999 struct stat st; local 1040 struct stat st; local 1102 struct stat st; local [all...] |
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_termios.c | 76 if (st->c_cc[__CONCAT3(SVR4_,a,b)] == SVR4_POSIX_VDISABLE) \ 79 bt->c_cc[__CONCAT(a,b)] = st->c_cc[__CONCAT3(SVR4_,a,b)]; \ 84 if (st->f & __CONCAT3(SVR4_,a,b)) \ 93 switch (st->f & __CONCAT3(SVR4_,a,b)) { \ 102 switch (st->f & __CONCAT3(SVR4_,a,b)) { \ 113 st->c_cc[__CONCAT3(SVR4_,a,b)] = SVR4_POSIX_VDISABLE; \ 115 st->c_cc[__CONCAT3(SVR4_,a,b)] = bt->c_cc[__CONCAT(a,b)] 119 st->f |= __CONCAT3(SVR4_,a,b); \ 121 st->f &= ~__CONCAT3(SVR4_,a,b) 124 st 491 struct svr4_termios st; local [all...] |