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

/freebsd-current/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-current/contrib/nvi/vi/
H A Dvs_relative.c97 size_t chlen, cno, curoff, last = 0, len, scno; local
132 curoff = scno;
146 curoff += chlen; \
147 if (!leftright && curoff >= sp->cols) { \
149 curoff = 0; \
152 curoff -= sp->cols; \
157 chlen = CHLEN(curoff);
164 chlen = CHLEN(curoff);
223 size_t chlen, curoff, len, llen, off, scno; local
265 for (curoff
[all...]
/freebsd-current/lib/libc/stdio/
H A Dfseek.c93 fpos_t target, curoff, ret; local
118 if (_ftello(fp, &curoff))
120 if (curoff < 0) {
125 if (offset > 0 && curoff > OFF_MAX - offset) {
129 offset += curoff;
148 curoff = 0; /* XXX just to keep gcc quiet */
204 if (!havepos && _ftello(fp, &curoff))
221 curoff += fp->_r; /* kill off ungetc */
223 curoff -= n;
227 curoff
[all...]
/freebsd-current/usr.bin/tail/
H A Dreverse.c108 off_t curoff, size, lineend; local
121 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
123 curoff = size - 2;
125 while (curoff >= 0) {
126 if (curoff < map.mapoff ||
127 curoff >= map.mapoff + (off_t)map.maplen) {
128 if (maparound(&map, curoff) != 0) {
133 for (i = curoff - map.mapoff; i >= 0; i--) {
140 curoff = map.mapoff + i;
145 if (mapprint(&map, curoff
[all...]
H A Dforward.c193 off_t curoff, size; local
204 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
206 curoff = size - 2;
207 while (curoff >= 0) {
208 if (curoff < map.mapoff && maparound(&map, curoff) != 0) {
212 for (i = curoff - map.mapoff; i >= 0; i--)
216 curoff = map.mapoff + i;
220 curoff++;
221 if (mapprint(&map, curoff, siz
[all...]
/freebsd-current/contrib/sendmail/mail.local/
H A Dmail.local.c1017 off_t curoff, cursize; local
1314 curoff = lseek(mbfd, (off_t) 0, SEEK_END);
1319 name, (LONGLONG_T) curoff);
1389 (void) ftruncate(mbfd, curoff);
/freebsd-current/contrib/sendmail/src/
H A Ddeliver.c6334 off_t curoff; local
6789 curoff = stb.st_size;
6836 curoff); local

Completed in 292 milliseconds