/freebsd-10.0-release/contrib/sendmail/contrib/ |
H A D | buildvirtuser | 116 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 D | ibcs2_ioctl.c | 119 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 D | thr_stack.c | 94 * | 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 D | kuserok.c | 52 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 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...] |
H A D | test_extattr_freebsd.c | 47 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 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-10.0-release/usr.bin/stat/ |
H A D | stat.c | 204 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 D | snapinfo.c | 57 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 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-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_write_open_filename.c | 135 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 D | archive_read_open_fd.c | 67 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 D | nss_tls.h | 53 static struct name##_state st; \ 58 *p = &st; \
|
/freebsd-10.0-release/usr.sbin/cpucontrol/ |
H A D | amd.c | 78 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 D | via.c | 80 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 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-10.0-release/crypto/openssh/ |
H A D | sftp-glob.c | 110 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 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-10.0-release/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_scalbnf.S | 36 fstp %st(1)
|
/freebsd-10.0-release/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-10.0-release/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...] |
/freebsd-10.0-release/lib/libc/regex/ |
H A D | engine.c | 91 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 D | engine.c | 83 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...] |