Searched refs:curoff (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/contrib/sendmail/libsm/
H A Dfseek.c84 off_t target, curoff; local
148 curoff = fp->f_lseekoff;
151 curoff = (*seekfn)(fp, (off_t) 0, SM_IO_SEEK_CUR);
152 if (curoff == -1L)
160 curoff -= fp->f_r;
162 curoff -= fp->f_ur;
165 curoff += fp->f_p - fp->f_bf.smb_base;
167 offset += curoff;
175 curoff = 0; /* XXX just to keep gcc quiet */
227 curoff
[all...]
/freebsd-10.0-release/lib/libc/stdio/
H A Dfseek.c97 fpos_t target, curoff, ret; local
122 if (_ftello(fp, &curoff))
124 if (curoff < 0) {
129 if (offset > 0 && curoff > OFF_MAX - offset) {
133 offset += curoff;
152 curoff = 0; /* XXX just to keep gcc quiet */
208 if (!havepos && _ftello(fp, &curoff))
225 curoff += fp->_r; /* kill off ungetc */
227 curoff -= n;
231 curoff
[all...]
/freebsd-10.0-release/usr.bin/tail/
H A Dreverse.c111 off_t curoff, size, lineend; local
123 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
125 curoff = size - 2;
127 while (curoff >= 0) {
128 if (curoff < map.mapoff ||
129 curoff >= map.mapoff + (off_t)map.maplen) {
130 if (maparound(&map, curoff) != 0) {
135 for (i = curoff - map.mapoff; i >= 0; i--) {
142 curoff = map.mapoff + i;
147 if (mapprint(&map, curoff
[all...]
H A Dforward.c194 off_t curoff, size; local
205 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
207 curoff = size - 2;
208 while (curoff >= 0) {
209 if (curoff < map.mapoff && maparound(&map, curoff) != 0) {
213 for (i = curoff - map.mapoff; i >= 0; i--)
217 curoff = map.mapoff + i;
221 curoff++;
222 if (mapprint(&map, curoff, siz
[all...]
/freebsd-10.0-release/contrib/nvi/vi/
H A Dvs_relative.c101 size_t chlen, cno, curoff, last = 0, len, scno; local
136 curoff = scno;
150 curoff += chlen; \
151 if (!leftright && curoff >= sp->cols) \
153 curoff = 0; \
156 curoff -= sp->cols; \
160 chlen = CHLEN(curoff);
167 chlen = CHLEN(curoff);
226 size_t chlen, curoff, len, llen, off, scno; local
268 for (curoff
[all...]
/freebsd-10.0-release/sys/kern/
H A Dkern_gzio.c219 off_t curoff; local
228 curoff = s->outoff;
235 curoff, UIO_SYSSPACE, IO_UNIT,
239 curoff += Z_BUFSIZE - resid;
243 curoff += Z_BUFSIZE;
255 s->outoff = curoff;
272 off_t curoff = s->outoff; local
288 error = vn_rdwr_inchunks(UIO_WRITE, s->file, s->outbuf, len, curoff,
293 s->outoff = curoff + len - resid;
298 curoff
338 off_t curoff = s->outoff; local
[all...]
/freebsd-10.0-release/contrib/sendmail/mail.local/
H A Dmail.local.c994 off_t curoff, cursize; local
1287 curoff = lseek(mbfd, (off_t) 0, SEEK_END);
1292 name, (LONGLONG_T) curoff);
1362 (void) ftruncate(mbfd, curoff);
/freebsd-10.0-release/contrib/gdb/gdb/
H A Ddwarfread.c2763 int curoff; local
2789 curoff = thisdie - dbbase;
2805 DBROFF (pst) = curoff;
/freebsd-10.0-release/contrib/sendmail/src/
H A Ddeliver.c5116 off_t curoff; local
5571 curoff = stb.st_size;
5618 curoff); local

Completed in 233 milliseconds