Searched refs:st (Results 101 - 125 of 666) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/sendmail/contrib/
H A Dbuildvirtuser116 my $st;
118 $st = stat($old);
119 return if (!defined($st));
120 chmod($st->mode, $new) || warn "Could not chmod($st->mode, $new): $!\n";
121 chown($st->uid, $st->gid, $new) || warn "Could not chmod($st->uid, $st->gid, $new): $!\n";
142 my $st
[all...]
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dibcs2_ioctl.c119 stios2btios(st, bt)
120 struct ibcs2_termios *st;
125 l = st->c_iflag; r = 0;
141 l = st->c_oflag; r = 0;
147 l = st->c_cflag; r = 0;
164 l = st->c_lflag; r = 0;
176 st->c_cc[IBCS2_VINTR] ? st->c_cc[IBCS2_VINTR] : _POSIX_VDISABLE;
178 st->c_cc[IBCS2_VQUIT] ? st
358 struct ibcs2_termio st; local
389 struct ibcs2_termio st; local
[all...]
/freebsd-10.0-release/lib/libthr/thread/
H A Dthr_stack.c94 * | Red Zone | red zone for 1st thread
97 * | stack 1 - _thr_stack_default | top of 1st thread stack
103 * +-----------------------------------+ <-- start of 1st thread stack
169 struct stack *st; local
177 LIST_FOREACH(st, &mstackq, qe)
178 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize,
180 LIST_FOREACH(st, &dstackq, qe)
181 mprotect((char *)st
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dkuserok.c52 struct stat st; local
62 if (fstat(fileno(f), &st) != 0) {
66 if (S_ISDIR(st.st_mode)) {
70 if (st.st_uid != pwd->pw_uid && st.st_uid != 0) {
74 if ((st.st_mode & (S_IWGRP | S_IWOTH)) != 0) {
119 struct stat st; local
123 if(lstat(dirname, &st) < 0)
126 if (!S_ISDIR(st.st_mode))
129 if (st
[all...]
/freebsd-10.0-release/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...]
H A Dtest_extattr_freebsd.c47 struct stat st;
131 assertEqualInt(0, stat("test0", &st));
132 assertEqualInt(st.st_mtime, 123456);
142 assertEqualInt(0, stat("test1", &st));
143 assertEqualInt(st.st_mtime, 12345678);
/freebsd-10.0-release/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-10.0-release/usr.bin/stat/
H A Dstat.c204 struct stat st; local
321 rc = fstat(STDIN_FILENO, &st);
330 if ((rc = stat(file, &st)) == -1 &&
332 (rc = lstat(file, &st)) == -1)
336 rc = lstat(file, &st);
346 output(&st, file, statfmt, fn, nonl);
387 output(const struct stat *st, const char *file, argument
555 t = format1(st,
580 format1(const struct stat *st, argument
609 small = (sizeof(st
[all...]
/freebsd-10.0-release/usr.sbin/snapinfo/
H A Dsnapinfo.c57 struct stat st; local
94 stat(resolved, &st) == -1 || /* is it stat'able */
95 !S_ISDIR(st.st_mode)) { /* is it a directory */
144 compare_function(const char *path, const struct stat *st, int flags, argument
148 if (flags == FTW_F && st->st_ino == inode) {
153 printf(" (inode %ju)", (uintmax_t)st->st_ino);
/freebsd-10.0-release/contrib/ofed/management/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-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c135 struct stat st; local
188 if (fstat(mine->fd, &st) != 0) {
200 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) ||
201 S_ISFIFO(st.st_mode))
214 if (S_ISREG(st.st_mode))
215 archive_write_set_skip_file(a, st.st_dev, st.st_ino);
H A Darchive_read_open_fd.c67 struct stat st; local
72 if (fstat(fd, &st) != 0) {
95 if (S_ISREG(st.st_mode)) {
96 archive_read_extract_set_skip_file(a, st.st_dev, st.st_ino);
/freebsd-10.0-release/lib/libc/include/
H A Dnss_tls.h53 static struct name##_state st; \
58 *p = &st; \
/freebsd-10.0-release/usr.sbin/cpucontrol/
H A Damd.c78 struct stat st; local
121 error = fstat(fd, &st);
126 if (st.st_size < 0 || (unsigned)st.st_size < sizeof(*fw_header)) {
133 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ,
146 fw_size = (st.st_size - sizeof(*fw_header)) / sizeof(uint32_t);
162 args.size = st.st_size;
178 if(munmap(fw_image, st.st_size) != 0)
H A Dvia.c80 struct stat st; local
143 error = fstat(fd, &st);
148 if (st.st_size < 0 || (unsigned)st.st_size < sizeof(*fw_header)) {
156 fw_image = (uint32_t *)mmap(NULL, st.st_size, PROT_READ,
171 if (total_size > (unsigned)st.st_size || st.st_size < 0) {
217 if (munmap(fw_image, st.st_size) != 0)
/freebsd-10.0-release/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-10.0-release/crypto/openssh/
H A Dsftp-glob.c110 fudge_lstat(const char *path, struct stat *st) argument
117 attrib_to_stat(a, st);
123 fudge_stat(const char *path, struct stat *st) argument
130 attrib_to_stat(a, st);
/freebsd-10.0-release/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-10.0-release/lib/msun/amd64/
H A De_remainder.S52 fstp %st
H A De_remainderf.S22 fstp %st
H A Ds_scalbnf.S36 fstp %st(1)
/freebsd-10.0-release/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-10.0-release/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...]
/freebsd-10.0-release/lib/libc/regex/
H A Dengine.c91 states st; /* current states */ member in struct:match
120 static void print(struct match *m, const char *caption, states st, int ch, FILE *d);
239 SETUP(m->st);
250 SP("mloop", m->st, *start);
779 states st = m->st; local
790 CLEAR(st);
791 SET1(st, startst);
792 SP("fast", st, *p);
793 st
885 states st = m->st; local
1109 print(struct match *m, const char *caption, states st, int ch, FILE *d) argument
[all...]
/freebsd-10.0-release/contrib/nvi/regex/
H A Dengine.c83 states st; /* current states */ member in struct:match
108 static void print __P((struct match *m, char *caption, states st, int ch, FILE *d));
187 SETUP(m->st);
712 register states st = m->st; local
722 CLEAR(st);
723 SET1(st, startst);
724 st = step(m->g, startst, stopst, st, NOTHING, OUT, st);
803 register states st = m->st; local
[all...]

Completed in 257 milliseconds

1234567891011>>