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

/freebsd-9.3-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-9.3-release/lib/libc/stdio/
H A Dfseek.c107 fpos_t target, curoff, ret; local
132 if (_ftello(fp, &curoff))
134 if (curoff < 0) {
139 if (offset > 0 && curoff > OFF_MAX - offset) {
143 offset += curoff;
162 curoff = 0; /* XXX just to keep gcc quiet */
218 if (!havepos && _ftello(fp, &curoff))
235 curoff += fp->_r; /* kill off ungetc */
237 curoff -= n;
241 curoff
[all...]
/freebsd-9.3-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-9.3-release/contrib/nvi/vi/
H A Dvs_relative.c110 size_t chlen, cno, curoff, last, len, scno; local
145 curoff = 0;
159 curoff += chlen; \
160 if (!leftright && curoff >= sp->cols) \
162 curoff = 0; \
165 curoff -= sp->cols; \
169 chlen = CHLEN(curoff);
176 chlen = CHLEN(curoff);
241 size_t chlen, curoff, len, llen, off, scno; local
283 for (curoff
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_gzio.c219 off_t curoff; local
229 curoff = s->outoff;
237 curoff, UIO_SYSSPACE, IO_UNIT,
242 curoff += Z_BUFSIZE - resid;
246 curoff += Z_BUFSIZE;
258 s->outoff = curoff;
275 off_t curoff = s->outoff; local
293 error = vn_rdwr_inchunks(UIO_WRITE, s->file, s->outbuf, len, curoff,
299 s->outoff = curoff + len - resid;
304 curoff
344 off_t curoff = s->outoff; local
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dir2_leaf.c765 xfs_dir2_off_t curoff; /* current overall offset */ local
780 xfs_dir2_off_t newoff; /* new curoff after new blk */
821 curoff = XFS_DIR2_DATAPTR_TO_BYTE(mp, uio->uio_offset);
826 map_off = XFS_DIR2_DB_TO_DA(mp, XFS_DIR2_BYTE_TO_DB(mp, curoff));
831 while (curoff < XFS_DIR2_LEAF_OFFSET) {
937 curoff = XFS_DIR2_DA_TO_BYTE(mp, map_off);
1024 if (curoff < newoff)
1025 curoff = newoff;
1029 else if (curoff > newoff)
1030 ASSERT(XFS_DIR2_BYTE_TO_DB(mp, curoff)
[all...]
/freebsd-9.3-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-9.3-release/contrib/gdb/gdb/
H A Ddwarfread.c2763 int curoff; local
2789 curoff = thisdie - dbbase;
2805 DBROFF (pst) = curoff;
/freebsd-9.3-release/contrib/sendmail/src/
H A Ddeliver.c5116 off_t curoff; local
5571 curoff = stb.st_size;
5618 curoff); local

Completed in 307 milliseconds