Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/original-bsd/usr.bin/cmp/
H A Dextern.h14 void c_regular __P((int, char *, off_t, off_t, int, char *, off_t, off_t));
15 void c_special __P((int, char *, off_t, int, char *, off_t));
16 void diffmsg __P((char *, char *, off_t, off_t));
/original-bsd/usr.bin/more/
H A Dinput.c30 off_t ch_tell();
39 off_t
41 off_t curr_pos; in forw_line()
43 off_t new_pos;
109 off_t
111 off_t curr_pos; in back_line()
113 off_t new_pos, begin_new_pos;
116 if (curr_pos == NULL_POSITION || curr_pos <= (off_t)0 ||
H A Dposition.c26 static off_t *table; /* The position table */
40 off_t
62 off_t pos; in add_forw_pos()
78 off_t pos; in add_back_pos()
111 table = (off_t *)malloc(tablesize * sizeof *table); in pos_clear()
114 table = (off_t *)realloc(table, tablesize * sizeof *table); in pos_clear()
127 off_t pos; in onscreen()
H A Dprim.c45 off_t pos; in eof_check()
80 off_t pos;
181 off_t pos;
229 off_t pos;
257 off_t pos;
273 off_t pos; in prepaint()
299 off_t pos; in jump_forw()
397 off_t pos; in jump_loc()
400 off_t tpos;
519 off_t pos;
[all …]
H A Dch.c60 static off_t ch_fsize;
63 static off_t last_piped_pos;
82 off_t pos, lseek(); in fch_get()
233 register off_t pos; in ch_seek()
254 off_t ch_length(); in ch_end_seek()
301 off_t
304 off_t lseek(); in ch_length()
308 return((off_t)(lseek(file, (off_t)0, L_XTND))); in ch_length()
314 off_t
388 last_piped_pos = (off_t)0;
[all …]
H A Dlinenum.c49 off_t pos; /* File position */
50 off_t gap; /* Gap between prev and next */
99 anchor.pos = (off_t)0; in clr_linenum()
128 off_t pos;
134 register off_t mingap;
230 off_t pos; in find_linenum()
235 off_t cpos, back_raw_line(), forw_raw_line();
248 if (pos == (off_t)0)
352 off_t pos, ch_length(), position();
H A Dline.c388 off_t
390 off_t curr_pos; in forw_raw_line()
394 off_t new_pos, ch_tell();
432 off_t
434 off_t curr_pos; in back_raw_line()
438 off_t new_pos, ch_tell();
440 if (curr_pos == NULL_POSITION || curr_pos <= (off_t)0 ||
466 new_pos = (off_t)0;
/original-bsd/usr.bin/ar/
H A Dmove.c41 off_t size, tsize;
89 (void)lseek(afd, (off_t)SARMAG, SEEK_SET);
92 tsize = size = lseek(tfd1, (off_t)0, SEEK_CUR);
93 (void)lseek(tfd1, (off_t)0, SEEK_SET);
96 tsize += size = lseek(tfd2, (off_t)0, SEEK_CUR);
97 (void)lseek(tfd2, (off_t)0, SEEK_SET);
101 tsize += size = lseek(tfd3, (off_t)0, SEEK_CUR);
102 (void)lseek(tfd3, (off_t)0, SEEK_SET);
H A Ddelete.c37 off_t size;
56 size = lseek(tfd, (off_t)0, SEEK_CUR);
57 (void)lseek(tfd, (off_t)0, SEEK_SET);
58 (void)lseek(afd, (off_t)SARMAG, SEEK_SET);
H A Dreplace.c44 off_t size, tsize;
134 (void)lseek(afd, (off_t)SARMAG, SEEK_SET);
138 tsize = size = lseek(tfd1, (off_t)0, SEEK_CUR);
139 (void)lseek(tfd1, (off_t)0, SEEK_SET);
144 tsize += size = lseek(tfd2, (off_t)0, SEEK_CUR);
145 (void)lseek(tfd2, (off_t)0, SEEK_SET);
/original-bsd/bin/pax/
H A Dextern.h32 int ar_fow __P((off_t, off_t *));
33 int ar_rev __P((off_t ));
53 extern off_t wrlimit;
54 extern off_t rdcnt;
55 extern off_t wrcnt;
59 int appnd_start __P((off_t));
62 int rd_skip __P((off_t));
66 int wr_skip __P((off_t));
93 off_t cpio_endrd __P((void));
100 off_t vcpio_endrd __P((void));
[all …]
H A Dbuf_subs.c201 off_t skcnt; in appnd_start()
205 off_t cnt;
398 rd_skip(off_t skcnt) in rd_skip()
402 off_t skcnt; in rd_skip()
405 off_t res;
406 off_t cnt;
407 off_t skipped = 0;
597 wr_skip(off_t skcnt) in wr_skip()
601 off_t skcnt; in wr_skip()
647 off_t *left;
[all …]
H A Dar_io.c426 off_t cpos; in ar_set_wr()
591 off_t cpos;
714 off_t cpos; in ar_rdsync()
715 off_t mpos; in ar_rdsync()
798 ar_fow(off_t sksz, off_t *skipped) in ar_fow()
802 off_t sksz; in ar_fow()
803 off_t *skipped;
806 off_t cpos;
807 off_t mpos;
868 off_t sksz; in ar_rev()
[all …]
/original-bsd/old/adb/adb.hp300/
H A Daccess.c29 off_t addr; { (void) access(WT, addr, space, value); } in put()
34 off_t addr; { return (access(RD, addr, space, 0)); } in get()
47 off_t addr; in get()
61 off_t addr; in lget()
102 off_t addr;
141 off_t addr; in vtophys()
231 off_t addr; in vtophys()
250 lseek(fcor, (off_t)steaddr, 0);
364 off_t addr; in physrw()
398 off_t a; { return(lseek(f, a, 0) != -1); } in longseek()
[all …]
/original-bsd/sys/deprecated/kdb/
H A Dkdb_access.c21 off_t addr; long value; { (void) kdbpoke((caddr_t)addr, value); } in kdbput()
26 off_t addr; { return (kdbpeek((caddr_t)addr)); }; in kdbget()
30 off_t addr; { u_int w = kdbget(addr, space); kdbchkerr(); return (w); } in kdbchkget()
34 off_t addr; { return (byte(kdbchkget(addr, space))); } in kdbbchkget()
/original-bsd/old/sdb/
H A Dfio.c28 off_t *lines; /* array of seek pointers */
43 off_t fseekpt;
56 register off_t *lp;
91 lp = cfile->lines = (off_t *)sbrk(101 * sizeof (off_t));
97 sbrk(100 * sizeof (off_t));
114 sbrk(lp + ((strlen(name)+sizeof(off_t)-1)&~(sizeof(off_t)-1)));
125 register off_t *op = &cfile->lines[fline-1]; in fgetline()
H A Drdwr.c28 off_t *lines; /* array of seek pointers */
43 off_t fseekpt;
56 register off_t *lp;
91 lp = cfile->lines = (off_t *)sbrk(101 * sizeof (off_t));
97 sbrk(100 * sizeof (off_t));
114 sbrk(lp + ((strlen(name)+sizeof(off_t)-1)&~(sizeof(off_t)-1)));
125 register off_t *op = &cfile->lines[fline-1]; in fgetline()
/original-bsd/usr.bin/ranlib/
H A Dbuild.c35 off_t pos; /* offset of defining archive file */
53 off_t size; in build()
78 size = lseek(tfd, (off_t)0, SEEK_CUR); in build()
79 (void)lseek(tfd, (off_t)0, SEEK_SET); in build()
82 (void)ftruncate(afd, lseek(afd, (off_t)0, SEEK_CUR)); in build()
107 off_t r_off, w_off;
112 r_off = lseek(rfd, (off_t)0, SEEK_CUR);
113 w_off = lseek(wfd, (off_t)0, SEEK_CUR);
125 if (lseek(rfd, r_off + N_STROFF(ebuf), SEEK_SET) == (off_t)-1)
199 off_t ransize; in symobj()
/original-bsd/lib/libc/sys/
H A Dlseek.c19 off_t
22 off_t offset;
25 extern off_t __syscall();
/original-bsd/old/adb/adb.tahoe/
H A Daccess.c28 off_t addr; { (void) access(WT, addr, space, value); } in put()
32 off_t addr; { return (access(RD, addr, space, 0)); }; in get()
36 off_t addr; { u_int w = get(addr, space); chkerr(); return(w); } in chkget()
40 off_t addr; { return (byte(chkget(addr, space))); } in bchkget()
57 off_t addr;
93 off_t addr; in vtophys()
180 off_t addr; in physrw()
211 off_t a; { return(lseek(f, a, 0) != -1); } in longseek()
/original-bsd/old/adb/adb.vax/
H A Daccess.c29 off_t addr; { (void) access(WT, addr, space, value); } in put()
33 off_t addr; { return (access(RD, addr, space, 0)); }; in get()
37 off_t addr; { u_int w = get(addr, space); chkerr(); return(w); } in chkget()
41 off_t addr; { return(chkget(addr, space) & LOBYTE); } in bchkget()
58 off_t addr;
96 off_t addr; in vtophys()
178 off_t addr; in physrw()
208 off_t a; { return(lseek(f, a, 0) != -1); } in longseek()
/original-bsd/sys/stand/
H A Dlseek.c41 off_t
44 off_t offset;
56 return ((off_t)-1);
/original-bsd/sys/tahoe/include/
H A Dkdbparam.h33 #define getprevpc(fp) kdbget((off_t)(fp)-8, DSP) /* pc of caller */
34 #define getprevframe(fp) (kdbget((off_t)(fp), DSP)&~3) /* fp of caller */
35 #define getnargs(fp) (((kdbget((off_t)(fp)-4, DSP)&0xffff)-4)/4)
40 #define getsignalpc(fp) kdbget((off_t)(fp)+44, DSP)/* pc of caller before signal */
/original-bsd/usr.bin/gcore/
H A Dmd-sparc.c38 register off_t off;
43 (void)lseek(fd, (off_t)-NBPG, SEEK_END);
47 (void)lseek(fd, (off_t)-2 * NBPG, SEEK_CUR);
65 register off_t off, s;
109 if (lseek(fd, (off_t)offsetof(struct user, u_pcb), SEEK_SET) == -1)
149 (off_t)offsetof(struct user, u_kproc.kp_eproc.e_vm),
/original-bsd/lib/libkvm/
H A Dkvm_hp300.c119 return((off_t)0);
141 if (lseek(kd->pmfd, (off_t)addr, 0) == -1 ||
149 return((off_t)0);
157 if (lseek(kd->pmfd, (off_t)(addr - lowram), 0) == -1 ||
163 return((off_t)0);
174 if (lseek(kd->pmfd, (off_t)addr, 0) == -1 ||
181 return((off_t)0);
189 if (lseek(kd->pmfd, (off_t)(addr - lowram), 0) == -1 ||

12345678910>>...13