/freebsd-10.1-release/contrib/libarchive/libarchive/test/ |
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.1-release/contrib/libucl/tests/ |
H A D | test_speed.c | 67 struct stat st; local 85 (void)fstat (fin, &st); 86 map = mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fin, 0); 95 ucl_parser_add_chunk (parser, map, st.st_size); 148 munmap (map, st.st_size);
|
/freebsd-10.1-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ls.c | 72 struct stat st; member in struct:fileinfo 154 struct stat *st = &file->st; local 156 file->inode = st->st_ino; 157 file->bsize = block_convert(st->st_blocks); 159 if(S_ISDIR(st->st_mode)) { 163 else if(S_ISCHR(st->st_mode)) 165 else if(S_ISBLK(st->st_mode)) 167 else if(S_ISREG(st->st_mode)) { 169 if(st [all...] |
/freebsd-10.1-release/contrib/groff/src/preproc/eqn/ |
H A D | text.cpp | 103 static void set_special_char_type(const char *ch, int st, int ft) argument 110 if (st >= 0) 111 p->spacing_type = st; 259 void char_box::handle_char_type(int st, int ft) argument 261 if (st >= 0) 262 char_table[c].spacing_type = st; 267 void special_char_box::handle_char_type(int st, int ft) argument 269 set_special_char_type(s, st, ft); 275 int st = lookup_spacing_type(type); local 277 if (st < 347 handle_char_type(int st, int ft) argument [all...] |
/freebsd-10.1-release/usr.sbin/makefs/ |
H A D | walk.c | 192 (unsigned long long)curino->st.st_dev, 193 (unsigned long long)curino->st.st_ino); 231 cur->inode->st = *stbuf; 481 dirnode->inode->st.st_gid, specnode->st_gid); 482 dirnode->inode->st.st_gid = specnode->st_gid; 486 dirnode->inode->st.st_mode & ALLPERMS, specnode->st_mode); 487 dirnode->inode->st.st_mode &= ~ALLPERMS; 488 dirnode->inode->st.st_mode |= (specnode->st_mode & ALLPERMS); 493 (long long)dirnode->inode->st.st_size, 495 dirnode->inode->st [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | roken-common.h | 297 #define SE_PROCSTATUS(st) (((st) >= 0 && (st) < 126)? st: -1) 298 #define SE_PROCSIGNAL(st) (((st) >= 128)? (st) - 128: -1) 299 #define SE_IS_ERROR(st) ((st) < 0 || (st) > [all...] |
/freebsd-10.1-release/tools/test/testfloat/sparc64/ |
H A D | systfloat.S | 57 st \src,[%sp+2231] 67 st \src,[%sp+2231] 85 st %i0,[%sp+2231] 88 st %f0,[%sp+2231] 103 st %i0,[%sp+2231] 121 st %i0,[%sp+2231] 144 st %f0,[%sp+2231] 197 st %i0,[%sp+2231] 200 st %f0,[%sp+2231] 215 st [all...] |
/freebsd-10.1-release/contrib/ntp/lib/isc/win32/ |
H A D | time.c | 258 SYSTEMTIME st; local 266 FileTimeToSystemTime(&localft, &st)) { 267 GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, "dd-MMM-yyyy", 270 TIME_FORCE24HOURFORMAT, &st, NULL, TimeBuf, 50); 273 st.wMilliseconds); 281 SYSTEMTIME st; local 288 if (FileTimeToSystemTime(&t->absolute, &st)) { 289 GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, 293 &st, "hh':'mm':'ss", TimeBuf, 50); 303 SYSTEMTIME st; local [all...] |
/freebsd-10.1-release/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 320 sfxge_lro_deliver(struct sfxge_lro_state *st, struct sfxge_lro_conn *c) argument 322 struct sfxge_softc *sc = st->sc; 329 ++st->n_bursts; 410 sfxge_lro_merge(struct sfxge_lro_state *st, struct sfxge_lro_conn *c, argument 435 ++st->n_merges; 441 sfxge_lro_deliver(st, c); 445 sfxge_lro_start(struct sfxge_lro_state *st, struct sfxge_lro_conn *c, argument 573 static void sfxge_lro_new_conn(struct sfxge_lro_state *st, uint32_t conn_hash, argument 576 unsigned bucket = conn_hash & st->conns_mask; 579 if (st 717 struct sfxge_lro_state *st = &rxq->lro; local 1023 struct sfxge_lro_state *st = &rxq->lro; local 1044 struct sfxge_lro_state *st = &rxq->lro; local [all...] |
/freebsd-10.1-release/sys/rpc/ |
H A D | svc.c | 360 SVCTHREAD *st; local 363 st = LIST_FIRST(&grp->sg_idlethreads); 364 if (st) { 365 LIST_REMOVE(st, st_ilink); 367 xprt->xp_thread = st; 368 st->st_xprt = xprt; 369 cv_signal(&st->st_cond); 1100 SVCTHREAD *st, *stpref; local 1107 st = mem_alloc(sizeof(*st)); 1348 SVCTHREAD *st; local 1398 SVCTHREAD *st; local [all...] |
/freebsd-10.1-release/contrib/tcsh/ |
H A D | tc.os.c | 291 struct sf *st; local 300 else if ((st = sfxcode((short) (p[i] & SPATH_MASK))) != NULL) 301 xprintf("%s ", st->sf_ctype); 319 else if ((st = sfnum(p[i])) != NULL) 320 xprintf("%s ", st->sf_sname); 337 struct sf *st; local 353 else if ((st = sfctype(s)) != NULL) 354 p[i] = SPATH_CPU | st->sf_ccode; 357 else if ((st = sfname(s)) != NULL) 358 p[i] = st 378 struct sf *st; local 389 struct sf *st; local 421 struct sf *st; local 1444 apperr(status_$t *st) argument 1464 status_$t st; local 1539 status_$t st; local 1562 static status_$t st; local [all...] |
H A D | sh.c | 179 struct stat st; local 186 if (stat(trypath, &st) == -1) 1547 st_save(struct saved_state *st, int unit, int hflg, Char **al, Char **av) argument 1549 st->insource = insource; 1550 st->SHIN = SHIN; 1564 st->OLDSTD = st->SHOUT = st->SHDIAG = -1;/* test later to restore these */ 1568 st->OLDSTD = OLDSTD; 1573 st 1651 struct saved_state *st; local 1709 struct saved_state st; local [all...] |
H A D | sh.exp.c | 612 struct cvxstat stb, *st = NULL; local 616 struct stat stb, *st = NULL; 726 st = lst; 733 if (!st) { 734 st = &stb; 735 if (TCSH_STAT(short2str(ep), st) == -1) { 745 i = S_ISREG(st->st_mode); 753 i = S_ISDIR(st->st_mode); 761 i = S_ISFIFO(st->st_mode); 769 i = S_ISOFL(st [all...] |
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/ |
H A D | gfs.c | 192 * st - a pointer to an uninitialized gfs_readdir_state_t structure 228 gfs_readdir_init(gfs_readdir_state_t *st, int name_max, int ureclen, argument 237 st->grd_ureclen = ureclen; 238 st->grd_oresid = uiop->uio_resid; 239 st->grd_namlen = name_max; 241 dirent_size = EDIRENT_RECLEN(st->grd_namlen); 243 dirent_size = DIRENT64_RECLEN(st->grd_namlen); 244 st->grd_dirent = kmem_zalloc(dirent_size, KM_SLEEP); 245 st->grd_parent = parent; 246 st 261 gfs_readdir_emit_int(gfs_readdir_state_t *st, uio_t *uiop, offset_t next, int *ncookies, u_long **cookies) argument 324 gfs_readdir_emit(gfs_readdir_state_t *st, uio_t *uiop, offset_t voff, ino64_t ino, const char *name, int eflags, int *ncookies, u_long **cookies) argument 356 gfs_readdir_emitn(gfs_readdir_state_t *st, uio_t *uiop, offset_t voff, ino64_t ino, unsigned long num) argument 376 gfs_readdir_pred(gfs_readdir_state_t *st, uio_t *uiop, offset_t *voffp, int *ncookies, u_long **cookies) argument 414 gfs_readdir_fini(gfs_readdir_state_t *st, int error, int *eofp, int eof) argument [all...] |
/freebsd-10.1-release/sys/compat/svr4/ |
H A D | svr4_stream.c | 282 struct stat st; local 285 error = kern_lstat(td, path, UIO_SYSSPACE, &st); 290 if ((st.st_mode & S_IFMT) != S_IFIFO) 293 if ((st.st_mode & ALLPERMS) != 0) 383 struct svr4_strm *st; local 386 st = svr4_stream_get(fp); 387 if (st == NULL) 392 pa->family = st->s_family; 501 struct svr4_strm *st = svr4_stream_get(fp); local 505 if (st 749 struct svr4_strm *st = svr4_stream_get(fp); local 877 struct svr4_strm *st = svr4_stream_get(fp); local 1034 struct svr4_strm *st = svr4_stream_get(fp); local 1188 struct svr4_strm *st = svr4_stream_get(fp); local 1249 struct svr4_strm *st = svr4_stream_get(fp); local 1477 struct svr4_strm *st; local 1654 struct svr4_strm *st; local [all...] |
/freebsd-10.1-release/usr.bin/tabs/ |
H A D | tabs.c | 82 const char *cr, *ct, *st, *ML; local 145 if ((st = tgetstr("st", &ap)) == NULL) 169 putp(st); 172 putp(st); 176 putp(st); 179 putp(st);
|
/freebsd-10.1-release/usr.bin/dc/ |
H A D | dc.c | 62 struct stat st; local 68 if (fstat(fileno(file), &st) == -1) 70 if (S_ISDIR(st.st_mode)) {
|
/freebsd-10.1-release/usr.bin/tip/libacu/ |
H A D | df.c | 87 int st = TIOCM_ST; /* secondary Transmit flag */ local 95 ioctl(f, TIOCMBIC, &st); /* clear ST for 300 baud */ 97 ioctl(f, TIOCMBIS, &st); /* set ST for 1200 baud */
|
/freebsd-10.1-release/contrib/binutils/gas/config/ |
H A D | obj-coff.c | 74 stack *st; 76 st = malloc (sizeof (* st)); 77 if (!st) 79 st->data = malloc (chunk_size); 80 if (!st->data) 82 free (st); 85 st->pointer = 0; 86 st->size = chunk_size; 87 st 73 stack *st; local 92 stack_push(stack *st, char *element) argument 106 stack_pop(stack *st) argument [all...] |
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_log.c | 111 SYSTEMTIME st; local 154 GetLocalTime(&st); 159 st.wHour, st.wMinute, st.wSecond, st.wMilliseconds, 255 struct stat st; local 272 if (fstat(fileno(p_log->out_port), &st) == 0) 273 p_log->count = st.st_size;
|
/freebsd-10.1-release/crypto/openssl/crypto/bn/asm/ |
H A D | sparcv8.S | 67 st %o4,[%o0] 78 st %o4,[%o0+4] 89 st %o4,[%o0+8] 99 st %o4,[%o0-4] 123 st %o4,[%o0] 135 st %o4,[%o0+4] 144 st %o4,[%o0+8] 178 st %g2,[%o0] 186 st %g3,[%o0+4] 193 st [all...] |
/freebsd-10.1-release/sys/dev/uart/ |
H A D | uart_dev_quicc.c | 289 uint16_t st, rb; local 302 st = quicc_read2(bas, rb); 303 quicc_write2(bas, rb, st | 0x9000); 434 uint16_t st, rb; local 439 st = quicc_read2(bas, rb); 442 quicc_write2(bas, rb, st | 0x9000); 478 uint16_t st, tb; local 483 st = quicc_read2(bas, tb); 487 quicc_write2(bas, tb, st | 0x9000); 497 uint16_t st, r local 512 uint16_t st, rb; local [all...] |
/freebsd-10.1-release/usr.sbin/fifolog/lib/ |
H A D | fifolog_reader.c | 132 off_t o, s, st; local 170 s = st = (fr->ff->logsize - o) / 2; 173 if (o + st > fr->ff->logsize + 1) { 174 s = st = s / 2; 177 e = fifolog_int_read(fr->ff, o + st); 179 s = st = s / 2; 184 if (seqs != seq + st) { 185 s = st = s / 2; 190 st++; 196 s = st [all...] |
/freebsd-10.1-release/bin/dd/ |
H A D | extern.h | 52 extern STAT st;
|
/freebsd-10.1-release/contrib/libexecinfo/ |
H A D | backtrace.c | 157 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs, argument 164 if (st) 165 symtab_find(st, addr, &dli); 183 symtab_t *st; local 187 st = symtab_create(fd, -1, STT_FUNC); 189 st = NULL; 201 x = format_address(st, &ptr, &psize, offs, fmt, trace[i]); 217 symtab_destroy(st);
|