/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.c | 61 bsd_stat2ibcs_stat(st, st4) 62 struct stat *st; 66 st4->st_dev = (ibcs2_dev_t)st->st_dev; 67 st4->st_ino = (ibcs2_ino_t)st->st_ino; 68 st4->st_mode = (ibcs2_mode_t)st->st_mode; 69 st4->st_nlink= (ibcs2_nlink_t)st->st_nlink; 70 st4->st_uid = (ibcs2_uid_t)st->st_uid; 71 st4->st_gid = (ibcs2_gid_t)st->st_gid; 72 st4->st_rdev = (ibcs2_dev_t)st->st_rdev; 73 if (st 148 struct stat st; local 169 struct stat st; local 191 struct stat st; local [all...] |
/freebsd-11-stable/contrib/libexecinfo/ |
H A D | symtab.c | 87 symtab_t *st; local 100 st = calloc(1, sizeof(*st)); 101 if (st == NULL) { 124 st->symbols = s; 146 st->nsymbols = s - st->symbols; 147 if (st->nsymbols == 0) { 151 qsort(st->symbols, st 164 symtab_find(const symtab_t *st, const void *p, Dl_info *dli) argument [all...] |
/freebsd-11-stable/sys/contrib/ncsw/inc/ |
H A D | debug_ext.h | 186 #define DUMP_VAR(st, phrase) \ 188 void *addr = (void *)&((st)->phrase); \ 190 dumpVarSize = sizeof((st)->phrase); \ 201 default: DUMP_Print("Bad size %d (" #st "->" #phrase ")\r\n", dumpVarSize); \ 219 #define DUMP_ARR(st, phrase) \ 222 dumpArrSize = ARRAY_SIZE((st)->phrase); \ 223 dumpVarSize = sizeof((st)->phrase[0]); \ 229 &((st)->phrase[dumpArrIdx]), GET_UINT8((st)->phrase[dumpArrIdx]), "", dumpSubStr, dumpArrIdx); \ 234 &((st) [all...] |
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | open.c | 34 struct stat st; local 36 if (lstat(file, &st)) { 48 if (lstat(file, &st)) 52 if (!S_ISREG(st.st_mode))
|
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_mtime_otrunc.c | 49 struct stat st; local 51 if (rump_sys_stat(LOCKFILE, &st) != 0) 52 st.st_mtime = 0; 58 return st.st_mtime;
|
/freebsd-11-stable/lib/msun/i387/ |
H A D | s_logb.S | 42 fstp %st
|
H A D | s_logbf.S | 14 fstp %st
|
H A D | s_scalbn.S | 43 fstp %st(1)
|
H A D | s_significand.S | 42 fstp %st(1)
|
H A D | s_significandf.S | 14 fstp %st(1)
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_open_fd.c | 83 struct stat st; local 87 if (fstat(mine->fd, &st) != 0) { 95 if (S_ISREG(st.st_mode)) 96 archive_write_set_skip_file(a, st.st_dev, st.st_ino); 106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || 107 S_ISFIFO(st.st_mode) || (mine->fd == 1))
|
/freebsd-11-stable/contrib/gcc/ |
H A D | scan-types.sh | 16 cat >st-dummy.c <<!EOF! 33 if ${CPP} st-dummy.c >TMP ; then true 35 echo "scan-types: could not invoke ${CPP} on st-dummy.c" 1>&2 ; exit 1 37 tr ' ' ' ' <TMP >st-dummy.out 44 # Search st-dummy.out for a typedef for $TYPE, and write it out 47 ${SED} -n -e "s|.*typedef *\(.*\) X*$TYPE *;.*|\1|w TMP" <st-dummy.out>/dev/null 60 ${SED} -n -e "s|.*typedef[ ][ ]*\(.*[^a-zA-Z0-9_]\)${VALUE}[ ]*;.*|\1|w TMP" <st-dummy.out>/dev/null 106 extern $tmp read();" >st-dummy.c 107 ${CC} -c st-dummy.c >/dev/null 2>&1 || tmp=int 114 cat >st [all...] |
/freebsd-11-stable/contrib/libucl/src/ |
H A D | ucl_sexp.c | 64 struct ucl_stack *st; local 98 st = calloc (1, sizeof (*st)); 100 if (st == NULL) { 106 st->obj = ucl_object_typed_new (UCL_ARRAY); 108 if (st->obj == NULL) { 111 free (st); 117 parser->stack = st; 120 parser->top_obj = st->obj; 125 LL_PREPEND (parser->stack, st); [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | auth-rhosts.c | 64 struct stat st; local 69 if (fstat(fd, &st) == -1) { 73 if (!S_ISREG(st.st_mode)) { 194 struct stat st; local 214 if (stat(buf, &st) >= 0) 225 stat(_PATH_RHOSTS_EQUIV, &st) < 0 && 226 stat(_PATH_SSH_HOSTS_EQUIV, &st) < 0) { 256 if (stat(pw->pw_dir, &st) < 0) { 264 ((st.st_uid != 0 && st [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_memset.c | 190 struct stat st; local 192 st.st_dev = 0; 193 st.st_ino = 1; 194 st.st_mode = 2; 195 st.st_nlink = 3; 196 st.st_uid = 4; 197 st.st_gid = 5; 198 st.st_rdev = 6; 199 st.st_size = 7; 200 st [all...] |
/freebsd-11-stable/sbin/sconfig/ |
H A D | sconfig.c | 307 struct serial_statistics st; local 311 if (ioctl (fd, SERIAL_GETSTAT, &st) < 0) { 330 sarr [0] = st.rintr; 331 sarr [1] = st.ibytes; 332 sarr [2] = st.ipkts; 333 sarr [3] = st.ierrs; 334 sarr [4] = st.tintr; 335 sarr [5] = st.obytes; 336 sarr [6] = st.opkts; 337 sarr [7] = st 419 struct e1_statistics st; local 538 struct e3_statistics st; local [all...] |
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | fs.c | 546 atf_fs_stat_init(atf_fs_stat_t *st, const atf_fs_path_t *p) argument 551 if (lstat(pstr, &st->m_sb) == -1) { 555 int type = st->m_sb.st_mode & S_IFMT; 558 case S_IFBLK: st->m_type = atf_fs_stat_blk_type; break; 559 case S_IFCHR: st->m_type = atf_fs_stat_chr_type; break; 560 case S_IFDIR: st->m_type = atf_fs_stat_dir_type; break; 561 case S_IFIFO: st->m_type = atf_fs_stat_fifo_type; break; 562 case S_IFLNK: st->m_type = atf_fs_stat_lnk_type; break; 563 case S_IFREG: st->m_type = atf_fs_stat_reg_type; break; 564 case S_IFSOCK: st 593 atf_fs_stat_get_device(const atf_fs_stat_t *st) argument 599 atf_fs_stat_get_inode(const atf_fs_stat_t *st) argument 605 atf_fs_stat_get_mode(const atf_fs_stat_t *st) argument 611 atf_fs_stat_get_size(const atf_fs_stat_t *st) argument 617 atf_fs_stat_get_type(const atf_fs_stat_t *st) argument 623 atf_fs_stat_is_owner_readable(const atf_fs_stat_t *st) argument 629 atf_fs_stat_is_owner_writable(const atf_fs_stat_t *st) argument 635 atf_fs_stat_is_owner_executable(const atf_fs_stat_t *st) argument 641 atf_fs_stat_is_group_readable(const atf_fs_stat_t *st) argument 647 atf_fs_stat_is_group_writable(const atf_fs_stat_t *st) argument 653 atf_fs_stat_is_group_executable(const atf_fs_stat_t *st) argument 659 atf_fs_stat_is_other_readable(const atf_fs_stat_t *st) argument 665 atf_fs_stat_is_other_writable(const atf_fs_stat_t *st) argument 671 atf_fs_stat_is_other_executable(const atf_fs_stat_t *st) argument 694 struct stat st; local [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | makebuf.c | 92 struct stat st; local 94 if (fp->_file < 0 || _fstat(fp->_file, &st) < 0) { 101 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR; 102 if (st.st_blksize <= 0) { 112 *bufsize = st.st_blksize; 113 fp->_blksize = st.st_blksize; 114 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_secure.c | 42 struct stat st; 171 assertEqualInt(0, lstat("link_to_dir3", &st)); 172 assert(S_ISLNK(st.st_mode)); 193 assertEqualInt(0, lstat("link_to_dir4", &st)); 194 assert(S_ISDIR(st.st_mode)); 221 assertEqualInt(0, lstat("link_to_dir5", &st)); 222 assert(S_ISDIR(st.st_mode)); 251 assert(0 == lstat("dir", &st)); 252 failure("dir: st.st_mode=%o", st [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 81 states st; /* current states */ 177 SETUP(m->st); 686 states st = m->st; 696 CLEAR(st); 697 SET1(st, startst); 698 st = step(m->g, startst, stopst, st, NOTHING, st); 699 ASSIGN(fresh, st); [all...] |
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | if_pfsync.c | 464 struct pf_state *st = NULL; local 507 if ((st = uma_zalloc(V_pf_state_z, M_NOWAIT | M_ZERO)) == NULL) 533 if (pfsync_alloc_scrub_memory(&sp->src, &st->src) || 534 pfsync_alloc_scrub_memory(&sp->dst, &st->dst)) 554 bcopy(&sp->rt_addr, &st->rt_addr, sizeof(st->rt_addr)); 555 st->creation = time_uptime - ntohl(sp->creation); 556 st->expire = time_uptime; 565 st->expire -= timeout - ntohl(sp->expire); 568 st 818 struct pf_state *st; local 852 pfsync_upd_tcp(struct pf_state *st, struct pfsync_state_peer *src, struct pfsync_state_peer *dst) argument 890 struct pf_state *st; local 976 struct pf_state *st; local 1066 struct pf_state *st; local 1104 struct pf_state *st; local 1135 struct pf_state *st; local 1492 pfsync_out_state(struct pf_state *st, void *buf) argument 1500 pfsync_out_iack(struct pf_state *st, void *buf) argument 1509 pfsync_out_upd_c(struct pf_state *st, void *buf) argument 1522 pfsync_out_del(struct pf_state *st, void *buf) argument 1534 struct pf_state *st, *next; local 1574 struct pf_state *st, *st_next; local 1714 pfsync_insert_state(struct pf_state *st) argument 1742 pfsync_defer(struct pf_state *st, struct mbuf *m) argument 1790 struct pf_state *st = pd->pd_st; local 1815 struct pf_state *st = pd->pd_st; local 1837 pfsync_undefer_state(struct pf_state *st, int drop) argument 1860 pfsync_get_bucket(struct pfsync_softc *sc, struct pf_state *st) argument 1867 pfsync_update_state(struct pf_state *st) argument 1963 pfsync_update_state_req(struct pf_state *st) argument 2010 pfsync_delete_state(struct pf_state *st) argument 2074 pfsync_q_ins(struct pf_state *st, int q, bool ref) argument 2104 pfsync_q_del(struct pf_state *st, bool unref, struct pfsync_bucket *b) argument [all...] |
/freebsd-11-stable/contrib/file/src/ |
H A D | is_json.c | 173 size_t *st, size_t lvl) 181 if (!json_parse(&uc, ue, st, lvl + 1)) 191 st[JSON_ARRAYN]++; 207 size_t *st, size_t lvl) 235 if (!json_parse(&uc, ue, st, lvl + 1)) { 330 size_t *st, size_t lvl) 345 if (lvl > 1 && (st[JSON_OBJECT] || st[JSON_ARRAYN])) 356 rv = json_parse_array(&uc, ue, st, lvl + 1); 360 rv = json_parse_object(&uc, ue, st, lv 172 json_parse_array(const unsigned char **ucp, const unsigned char *ue, size_t *st, size_t lvl) argument 206 json_parse_object(const unsigned char **ucp, const unsigned char *ue, size_t *st, size_t lvl) argument 329 json_parse(const unsigned char **ucp, const unsigned char *ue, size_t *st, size_t lvl) argument 398 size_t st[JSON_MAX]; local 448 struct stat st; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | env.c | 194 tOptState st; local 209 st.pOD = pOpts->pOptDesc; 215 for (;ct-- > 0; st.pOD++) { 221 if ( ((st.pOD->fOptState & OPTST_NO_INIT) != 0) 222 || (st.pOD->optEquivIndex != NO_EQUIVALENT) ) 229 nln = strlen(st.pOD->pz_NAME) + 1; 234 memcpy(pzFlagName, st.pOD->pz_NAME, nln); 235 do_env_opt(&st, zEnvName, pOpts, type); 245 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; 247 if (st [all...] |
/freebsd-11-stable/usr.sbin/mpsutil/ |
H A D | mps_flash.c | 124 struct stat st; local 151 if (stat(argv[2], &st) == -1) { 164 mem = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 177 munmap(mem, st.st_size); 183 munmap(mem, st.st_size); 192 munmap(mem, st.st_size); 197 if ((st.st_size % 512) != 0) { 199 munmap(mem, st.st_size); 211 munmap(mem, st.st_size); 221 munmap(mem, st [all...] |
/freebsd-11-stable/crypto/openssh/regress/ |
H A D | check-perm.c | 39 struct stat st; local 61 if (stat(component, &st) != 0) 64 if (st.st_uid != 0 || (st.st_mode & 022) != 0) 68 if (!S_ISDIR(st.st_mode)) 100 struct stat st; local 129 if (stat(buf, &st) < 0 || 130 (!platform_sys_dir_uid(st.st_uid) && st.st_uid != uid) || 131 (st 166 struct stat st; local [all...] |