Searched refs:st (Results 201 - 225 of 649) sorted by relevance

1234567891011>>

/freebsd-9.3-release/usr.bin/csup/
H A Ddetailer.c132 struct status *st; local
161 st = status_open(coll, -1, &d->errmsg);
162 if (st == NULL)
164 error = detailer_coll(d, coll, st);
165 status_close(st, NULL);
230 detailer_coll(struct detailer *d, struct coll *coll, struct status *st) argument
320 error = detailer_dofile_co(d, coll, st, file);
361 struct stat st; local
366 error = stat(path, &st);
379 error = proto_printf(wr, "R %s %O %s\n", name, st
451 detailer_dofile_co(struct detailer *d, struct coll *coll, struct status *st, char *file) argument
[all...]
H A Dupdater.c72 struct status *st; member in struct:file_update
122 fup_new(struct coll *coll, struct status *st) argument
129 fup->st = st;
283 struct status *st; local
313 st = status_open(coll, coll->co_scantime, &errmsg);
314 if (st == NULL) {
318 fup = fup_new(coll, st);
320 status_close(st, &errmsg);
429 error = status_put(fup->st, s
879 struct status *st; local
951 struct status *st; local
1263 struct status *st; local
1541 struct status *st; local
[all...]
H A Drsyncfile.c76 struct stat st; local
80 error = stat(path, &st);
85 rf->fsize = st.st_size;
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c87 int fd, const struct stat *st)
104 if ((S_ISREG(st->st_mode) || S_ISDIR(st->st_mode))) {
116 if (st == NULL) {
145 st = &s;
147 archive_entry_copy_stat(entry, st);
160 if (st->st_flags != 0)
161 archive_entry_set_fflags(entry, st->st_flags, 0);
165 if (S_ISLNK(st->st_mode)) {
85 archive_read_disk_entry_from_file(struct archive *_a, struct archive_entry *entry, int fd, const struct stat *st) argument
H A Darchive_write_disk.c173 * If this is valid, pst points to st. Otherwise,
176 struct stat st; member in struct:archive_write_disk
269 if (a->fd >= 0 && fstat(a->fd, &a->st) == 0) {
270 a->pst = &a->st;
278 if (lstat(a->name, &a->st) == 0) {
279 a->pst = &a->st;
707 if (a->st.st_size < a->filesize) {
992 r = stat(a->name, &a->st);
998 r = lstat(a->name, &a->st);
1009 && !S_ISDIR(a->st
1775 struct stat st; local
2677 older(struct stat *st, struct archive_entry *entry) argument
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_dev_quicc.c285 uint16_t st, rb; local
301 st = quicc_read2(bas, rb);
302 quicc_write2(bas, rb, st | 0x9000);
430 uint16_t st, rb; local
435 st = quicc_read2(bas, rb);
438 quicc_write2(bas, rb, st | 0x9000);
474 uint16_t st, tb; local
479 st = quicc_read2(bas, tb);
483 quicc_write2(bas, tb, st | 0x9000);
/freebsd-9.3-release/usr.bin/du/
H A Ddu.c368 struct stat *st; local
372 st = p->fts_statp;
430 hash = ( st->st_dev ^ st->st_ino ) % number_buckets;
432 if (le->dev == st->st_dev && le->ino == st->st_ino) {
473 le->dev = st->st_dev;
474 le->ino = st->st_ino;
475 le->links = st->st_nlink - 1;
/freebsd-9.3-release/contrib/opie/libopie/
H A Dgenerator.c104 struct stat st; variable in typeref:struct:stat
106 if (stat(sun.sun_path, &st) < 0) {
120 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600)) {
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dtcpdmatch.c84 struct stat st; local
114 if (check_path(REAL_DAEMON_DIR, &st) < 0) {
116 } else if (!S_ISDIR(st.st_mode)) {
166 (void) check_path(hosts_allow_table, &st);
167 (void) check_path(hosts_deny_table, &st);
/freebsd-9.3-release/lib/libkvm/
H A Dkvm_file.c159 int mib[2], st, n, nfiles, nprocs; local
168 st = sysctl(mib, 2, NULL, &size, NULL, 0);
169 if (st == -1) {
180 st = sysctl(mib, 2, kd->argspc, &size, NULL, 0);
181 if (st != 0) {
/freebsd-9.3-release/crypto/openssh/
H A Dsftp.c938 struct sftp_statvfs st; local
945 if (do_statvfs(conn, path, &st, 1) == -1)
948 ffree = st.f_files ? (100 * (st.f_files - st.f_ffree) / st.f_files) : 0;
952 (unsigned long long)st.f_files,
953 (unsigned long long)(st.f_files - st.f_ffree),
954 (unsigned long long)st
[all...]
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dals4000.c76 bus_space_tag_t st; member in struct:sc_info
110 bus_space_write_1(sc->st, sc->sh, ALS_GCR_INDEX, index);
111 return bus_space_read_4(sc->st, sc->sh, ALS_GCR_DATA);
117 bus_space_write_1(sc->st, sc->sh, ALS_GCR_INDEX, index);
118 bus_space_write_4(sc->st, sc->sh, ALS_GCR_DATA, data);
124 return bus_space_read_1(sc->st, sc->sh, ALS_SB_MPU_IRQ);
130 bus_space_write_1(sc->st, sc->sh, ALS_SB_MPU_IRQ, data);
136 bus_space_write_1(sc->st, sc->sh, ALS_MIXER_INDEX, index);
137 return bus_space_read_1(sc->st, sc->sh, ALS_MIXER_DATA);
143 bus_space_write_1(sc->st, s
[all...]
/freebsd-9.3-release/contrib/cvs/diff/
H A Ddiff.c883 filetype (st)
884 struct stat const *st;
890 if (S_ISREG (st->st_mode))
892 if (st->st_size == 0)
900 if (S_ISDIR (st->st_mode)) return "directory";
904 if (S_ISBLK (st->st_mode)) return "block special file";
907 if (S_ISCHR (st->st_mode)) return "character special file";
910 if (S_ISFIFO (st->st_mode)) return "fifo";
915 if (S_TYPEISMQ (st)) return "message queue";
918 if (S_TYPEISSEM (st)) retur
[all...]
/freebsd-9.3-release/contrib/one-true-awk/
H A Dawkgram.y71 %type <i> do st
311 st: label
317 BREAK st { if (!inloop) SYNTAX("break illegal outside of loops");
319 | CONTINUE st { if (!inloop) SYNTAX("continue illegal outside of loops");
321 | do {inloop++;} stmt {--inloop;} WHILE '(' pattern ')' st
323 | EXIT pattern st { $$ = stat1(EXIT, $2); }
324 | EXIT st { $$ = stat1(EXIT, NIL); }
329 | NEXT st { if (infunc)
332 | NEXTFILE st { if (infunc)
335 | RETURN pattern st {
[all...]
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dsmstdio.c290 struct stat st; local
297 if (fstat(fd, &st) == 0)
298 return st.st_size;
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dos_win32.c38 SYSTEMTIME st; local
40 GetSystemTime(&st);
41 SystemTimeToFileTime(&st, &ft);
/freebsd-9.3-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c125 struct stat st; local
138 if (fstat(lockfd, &st) < 0)
140 if (st.st_nlink != 0)
/freebsd-9.3-release/sys/dev/scc/
H A Dscc_dev_quicc.c107 uint16_t rb, st; local
113 st = quicc_read2(bas, rb);
115 quicc_write2(bas, rb, st | 0x9000);
/freebsd-9.3-release/tools/regression/aio/aiop/
H A Daiop.c136 struct timeval st, et, rt; local
198 gettimeofday(&st, NULL);
216 timersub(&et, &st, &rt);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtcp.c171 struct stat st; local
173 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) {
/freebsd-9.3-release/contrib/opie/
H A Dopieftpd.c664 struct stat st; local
669 st.st_size = 0;
676 st.st_size = -1;
678 st.st_blksize = BUFSIZ;
687 (fstat(fileno(fin), &st) < 0 || (st.st_mode & S_IFMT) != S_IFREG)) {
711 dout = dataconn(name, st.st_size, "w");
715 send_data(fin, dout, st.st_blksize);
729 struct stat st; local
732 if (unique && stat(name, &st)
1178 struct stat st; local
1235 struct stat st; local
1371 struct stat st; local
1411 struct stat st; local
[all...]
/freebsd-9.3-release/contrib/sendmail/makemap/
H A Dmakemap.c94 int st; local
482 st = 1;
486 st = 0;
490 st = -1;
494 if (st < 0)
503 else if (st > 0)
/freebsd-9.3-release/usr.sbin/makefs/
H A Dcd9660.c871 newnode->fileDataLength = node->inode->st.st_size;
877 cd9660_time_915(newnode->isoDirRecord->date, node->inode->st.st_mtime);
1895 (int)inode->st.st_ino, inode->ino));
1911 to->node->inode->st.st_dev = 0;
1912 to->node->inode->st.st_ino = 0;
1913 to->node->inode->st.st_size = 0;
1914 to->node->inode->st.st_blksize = from->node->inode->st.st_blksize;
1915 to->node->inode->st.st_atime = from->node->inode->st
[all...]
/freebsd-9.3-release/usr.sbin/mount_nwfs/
H A Dmount_nwfs.c81 struct stat st; local
282 if (stat(mount_point, &st) == -1)
284 if (!S_ISDIR(st.st_mode)) {
292 mdata.uid = st.st_uid;
295 mdata.gid = st.st_gid;
298 mdata.file_mode = st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);
/freebsd-9.3-release/contrib/libarchive/tar/
H A Dbsdtar.c371 struct stat st; local
372 if (stat(bsdtar->optarg, &st) != 0)
375 bsdtar->newer_ctime_sec = st.st_ctime;
377 ARCHIVE_STAT_CTIME_NANOS(&st);
385 struct stat st; local
386 if (stat(bsdtar->optarg, &st) != 0)
389 bsdtar->newer_mtime_sec = st.st_mtime;
391 ARCHIVE_STAT_MTIME_NANOS(&st);

Completed in 228 milliseconds

1234567891011>>