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

/openbsd-current/lib/libc/stdio/
H A Dfseek.c52 fpos_t target, curoff; local
84 curoff = fp->_offset;
86 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR);
87 if (curoff == (fpos_t)-1) {
93 curoff -= fp->_r;
95 curoff -= fp->_ur;
97 curoff += fp->_p - fp->_bf._base;
99 offset += curoff;
106 curoff = 0; /* XXX just to keep gcc quiet */
153 curoff
[all...]
/openbsd-current/usr.bin/vi/vi/
H A Dvs_relative.c99 size_t chlen, cno, curoff, last, len, scno; local
107 curoff = 0;
112 curoff += O_NUMBER_LENGTH;
150 curoff += chlen; \
151 if (!leftright && curoff >= sp->cols) { \
153 curoff = 0; \
156 curoff -= sp->cols; \
161 chlen = CHLEN(curoff);
168 chlen = CHLEN(curoff);
227 size_t chlen, curoff, le local
[all...]
/openbsd-current/libexec/mail.local/
H A Dmail.local.c161 off_t curoff; local
237 curoff = lseek(mbfd, 0, SEEK_END);
239 (long long)curoff);
249 (void)ftruncate(mbfd, curoff);
256 (void)ftruncate(mbfd, curoff);
/openbsd-current/sys/uvm/
H A Duvm_km.c252 voff_t curoff; local
260 for (curoff = start ; curoff < end ; curoff += PAGE_SIZE) {
261 pp = uvm_pagelookup(uobj, curoff);
265 curoff -= PAGE_SIZE; /* loop back to us */
270 slot = uao_dropswap(uobj, curoff >> PAGE_SHIFT);
H A Duvm_vnode.c607 voff_t curoff; local
635 for (curoff = start ; curoff < stop; curoff += PAGE_SIZE) {
636 if ((pp = uvm_pagelookup(uobj, curoff)) != NULL)
645 for (curoff = start; curoff < stop; curoff += PAGE_SIZE) {
646 if ((pp = uvm_pagelookup(uobj, curoff)) == NULL)
695 curoff
[all...]
H A Duvm_pager.c353 voff_t lo, hi, curoff; local
394 curoff = center->offset + incr;
395 for ( ;(forward == 0 && curoff >= lo) ||
396 (forward && curoff < hi);
397 curoff += incr) {
399 pclust = uvm_pagelookup(uobj, curoff); /* lookup page */
H A Duvm_aobj.c871 voff_t curoff; local
897 curoff = start;
899 if (curoff < stop) {
900 pg = uvm_pagelookup(uobj, curoff);
901 curoff += PAGE_SIZE;
912 curoff -= PAGE_SIZE;
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dmach-o.c387 bfd_vma curoff = seg->fileoff;
396 bfd_seek (abfd, curoff, SEEK_SET);
400 bfd_seek (abfd, curoff, SEEK_SET);
405 curoff += thisread;
1447 bfd_vma curoff = seg->fileoff; local
1456 bfd_seek (abfd, curoff, SEEK_SET);
1460 bfd_seek (abfd, curoff, SEEK_SET);
1465 curoff += thisread;
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dmach-o.c396 bfd_vma curoff = seg->fileoff; local
405 bfd_seek (abfd, curoff, SEEK_SET);
409 bfd_seek (abfd, curoff, SEEK_SET);
414 curoff += thisread;
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Ddwarfread.c2762 int curoff; local
2788 curoff = thisdie - dbbase;
2804 DBROFF (pst) = curoff;

Completed in 122 milliseconds