Searched refs:off_t (Results 151 - 175 of 964) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libstand/
H A Dgzipfs.c41 off_t zf_dataoffset;
51 static off_t zf_seek(struct open_file *f, off_t offset, int where);
95 get_byte(struct z_file *zf, off_t *curoffp)
289 static off_t
290 zf_seek(struct open_file *f, off_t offset, int where)
293 off_t target;
H A Dsplitfs.c43 off_t tot_pos; /* Offset from the beginning of the sequence */
44 off_t file_pos; /* Offset from the beginning of the slice */
51 static off_t splitfs_seek(struct open_file *f, off_t offset, int where);
234 static off_t
235 splitfs_seek(struct open_file *f, off_t offset, int where)
239 off_t new_pos, seek_by;
/freebsd-9.3-release/usr.sbin/dumpcis/
H A Dreadcis.c47 static int ck_linktarget(int, off_t, int);
48 static struct tuple_list *read_one_tuplelist(int, int, off_t);
197 off_t offs;
200 last_tl = tlist = read_one_tuplelist(fd, MDF_ATTR, (off_t) 0);
232 ck_linktarget(fd, (off_t) 0, 0)) {
247 read_one_tuplelist(int fd, int flags, off_t offs)
322 ck_linktarget(int fd, off_t offs, int flag)
/freebsd-9.3-release/usr.bin/bsdiff/bspatch/
H A Dbspatch.c67 static off_t offtin(u_char *buf)
69 off_t y;
93 off_t oldsize, newsize;
94 off_t bzctrllen, bzdatalen;
97 off_t oldpos, newpos;
98 off_t ctrl[3];
99 off_t i, lenread, offset;
/freebsd-9.3-release/games/fortune/strfile/
H A Dstrfile.c100 off_t pos;
115 static off_t *Seekpts;
123 static void add_offset(FILE *, off_t);
145 off_t last_off, pos, *p;
324 add_offset(FILE *fp, off_t off)
326 off_t beoff;
346 off_t *lp;
438 off_t tmp;
439 off_t *sp;
/freebsd-9.3-release/include/
H A Dunistd.h48 typedef __off_t off_t; typedef
352 off_t lseek(int, off_t, int);
394 int ftruncate(int, off_t);
419 ssize_t pread(int, void *, size_t, off_t);
420 ssize_t pwrite(int, const void *, size_t, off_t);
425 int truncate(const char *, off_t);
454 int lockf(int, int, off_t);
578 off_t __syscall(quad_t, ...);
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/
H A Dstdio.c54 isc_stdio_seek(FILE *f, off_t offset, int whence) {
65 isc_stdio_tell(FILE *f, off_t *offsetp) {
66 off_t r;
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_raw.c49 const void **, size_t *, off_t *);
121 const void **buff, size_t *size, off_t *offset)
157 off_t bytes_skipped;
/freebsd-9.3-release/lib/libufs/
H A Dblock.c72 cnt = pread(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize));
127 cnt = pwrite(disk->d_fd, data, size, (off_t)(blockno * disk->d_bsize));
145 off_t ioarg[2];
/freebsd-9.3-release/sbin/clri/
H A Dclri.c81 off_t offset;
96 if (lseek(fd, (off_t)(sblock_try[i]), SEEK_SET) < 0)
151 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
/freebsd-9.3-release/sbin/hastd/
H A Dhast.h172 off_t hr_localoff;
174 off_t hr_datasize;
176 off_t hr_local_mediasize;
/freebsd-9.3-release/sys/geom/part/
H A Dg_part.h97 off_t gpe_offset; /* Byte offset. */
203 void g_part_geometry_heads(off_t, u_int, off_t *, u_int *);
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_plex.c47 static int gv_plex_offset(struct gv_plex *, off_t, off_t, off_t *, off_t *,
49 static int gv_plex_normal_request(struct gv_plex *, struct bio *, off_t,
50 off_t, caddr_t);
60 off_t bcount, boff, len;
127 gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_of
[all...]
/freebsd-9.3-release/tools/regression/file/ftruncate/
H A Dftruncate.c54 static off_t lengths[] = {0, 1, 2, 3, 4, 127, 128, 129, 511, 512, 513, 1023,
57 static int lengths_count = sizeof(lengths) / sizeof(off_t);
66 off_t len;
/freebsd-9.3-release/usr.bin/head/
H A Dhead.c61 static void head_bytes(FILE *, off_t);
71 off_t bytecnt = -1;
139 head_bytes(FILE *fp, off_t cnt)
/freebsd-9.3-release/bin/pax/
H A Dcpio.c314 arcn->sb.st_size = (off_t)asc_ul(hd->c_filesize,sizeof(hd->c_filesize),
317 arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,sizeof(hd->c_filesize),
360 off_t
363 return((off_t)(sizeof(HD_CPIO) + sizeof(TRAILER)));
603 arcn->sb.st_size = (off_t)asc_ul(hd->c_filesize,
606 arcn->sb.st_size = (off_t)asc_uqd(hd->c_filesize,
632 if (rd_skip((off_t)(VCPIO_PAD(sizeof(HD_VCPIO) + nsz))) < 0)
653 (rd_skip((off_t)(VCPIO_PAD(arcn->sb.st_size))) < 0))
669 off_t
672 return((off_t)(sizeo
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddwarf2expr.h63 unsigned char *(*get_subr) (void *baton, off_t offset, size_t *length);
/freebsd-9.3-release/contrib/libpcap/lbl/
H A Dos-sunos4.h89 int ftruncate(int, off_t);
122 off_t lseek(int, off_t, int);
186 int truncate(char *, off_t);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A Dregex_impl.h42 typedef off_t llvm_regoff_t;
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DFileManager.h62 off_t Size; // File size in bytes.
96 off_t getSize() const { return Size; }
233 const FileEntry *getVirtualFile(StringRef Filename, off_t Size,
266 static void modifyFileEntry(FileEntry *File, off_t Size,
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dtrail.h36 #include <unistd.h> /* off_t */
49 void trail_start(struct trail *trail, const char *filename, off_t offset);
/freebsd-9.3-release/contrib/tcpdump/lbl/
H A Dos-sunos4.h89 int ftruncate(int, off_t);
122 off_t lseek(int, off_t, int);
186 int truncate(char *, off_t);
/freebsd-9.3-release/lib/libc/gen/
H A Dlockf.c41 lockf(int filedes, int function, off_t size)
/freebsd-9.3-release/sbin/geom/class/journal/
H A Dgeom_journal_ufs.c68 off_t psize, fssize;
/freebsd-9.3-release/sys/boot/uboot/lib/
H A Dlibuboot.h40 off_t offset;

Completed in 239 milliseconds

1234567891011>>