Searched refs:st (Results 126 - 150 of 829) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/stat/
H A Dstat.c208 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 Dmain.c97 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 Dtest_write_disk.c41 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 Dwalk.c195 (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 Dsnapinfo.c59 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 Dosm_vendor_mlx_rmpp_ctx.c52 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 Dstatestr.c439 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 De_remainder.S52 fstp %st
H A De_remainderf.S22 fstp %st
H A Ds_scalbn.S36 fstp %st(1)
H A Ds_scalbnf.S36 fstp %st(1)
H A Ds_scalbnl.S15 fstp %st(1)
H A De_fmod.S50 fstp %st
H A De_fmodf.S20 fstp %st
/freebsd-11-stable/lib/libc/include/
H A Dnss_tls.h53 static struct name##_state st; \
58 *p = &st; \
/freebsd-11-stable/usr.sbin/cpucontrol/
H A Dvia.c82 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 Damd.c80 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 Dregex.c32 # 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 Dpam_nologin.c65 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 Dsftp-glob.c111 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 Dgetentropy_solaris.c175 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 Dt_fchownat.c81 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 Ddatabase.c47 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 Dremote-fileio.c397 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 Dsvr4_termios.c76 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...]

Completed in 190 milliseconds

1234567891011>>