Home
last modified time | relevance | path

Searched refs:curoff (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfseek.c84 off_t target, curoff; local
152 if (curoff == -1L)
160 curoff -= fp->f_r;
162 curoff -= fp->f_ur;
167 offset += curoff;
234 curoff -= fp->f_r;
236 curoff -= fp->f_ur;
250 curoff -= n;
256 curoff -= n;
267 if (target >= curoff && target < curoff + (off_t) n)
[all …]
/illumos-gate/usr/src/cmd/tail/
H A Dreverse.c102 off_t curoff, size, lineend; in r_reg() local
116 curoff = size - 2; in r_reg()
118 while (curoff >= 0) { in r_reg()
119 if (curoff < map.mapoff || in r_reg()
121 if (maparound(&map, curoff) != 0) { in r_reg()
126 for (i = curoff - map.mapoff; i >= 0; i--) { in r_reg()
133 curoff = map.mapoff + i; in r_reg()
138 if (mapprint(&map, curoff + 1, lineend - curoff - 1) != 0) { in r_reg()
142 lineend = curoff + 1; in r_reg()
143 curoff--; in r_reg()
[all …]
H A Dforward.c194 off_t curoff, size; in rlines() local
207 curoff = size - 2; in rlines()
208 while (curoff >= 0) { in rlines()
209 if (curoff < map.mapoff && maparound(&map, curoff) != 0) { in rlines()
213 for (i = curoff - map.mapoff; i >= 0; i--) in rlines()
217 curoff = map.mapoff + i; in rlines()
221 curoff++; in rlines()
222 if (mapprint(&map, curoff, size - curoff) != 0) { in rlines()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_machoread.c531 Dwarf_Unsigned curoff = segp->sectionsoffset; in dwarf_macho_load_dwarf_section_details32() local
545 if ((curoff > mfp->mo_filesize) || in dwarf_macho_load_dwarf_section_details32()
552 secs->offset_of_sec_rec = curoff; in dwarf_macho_load_dwarf_section_details32()
588 secs->offset_of_sec_rec = curoff; in dwarf_macho_load_dwarf_section_details32()
602 Dwarf_Unsigned curoff = segp->sectionsoffset; in dwarf_macho_load_dwarf_section_details64() local
615 secs->offset_of_sec_rec = curoff; in dwarf_macho_load_dwarf_section_details64()
620 if ((curoff > mfp->mo_filesize) || in dwarf_macho_load_dwarf_section_details64()
657 secs->offset_of_sec_rec = curoff; in dwarf_macho_load_dwarf_section_details64()
746 mcp->offset_this_command = curoff; in dwarf_load_macho_commands()
747 curoff += mcp->cmdsize; in dwarf_load_macho_commands()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_overflow.c92 u_int32_t curoff, needed, start; local
133 for (curoff = 0, p = dbt->data; pgno != P_INVALID && needed > 0;) {
139 if (curoff + OV_LEN(h) >= start) {
142 if (start > curoff) {
143 src += start - curoff;
144 bytes -= start - curoff;
152 curoff += OV_LEN(h);
/illumos-gate/usr/src/uts/common/syscall/
H A Dlseek.c82 offset_t curoff, newoff; in lseek32_common() local
88 curoff = fp->f_offset; in lseek32_common()
100 if (reg && off > (max - curoff)) { in lseek32_common()
104 noff = (u_offset_t)(off + curoff); in lseek32_common()
194 if ((error = VOP_SEEK(vp, curoff, &newoff, NULL)) == 0) { in lseek32_common()
/illumos-gate/usr/src/cmd/du/
H A Ddu.c288 off_t curoff = 0; in descend() local
483 curoff = telldir(dirp); in descend()
501 seekdir(dirp, curoff); in descend()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c740 off_t curoff, cursize; local
853 curoff = lseek(mbfd, (off_t)0, SEEK_END);
854 (void) snprintf(biffmsg, sizeof (biffmsg), "%s@%ld\n", name, curoff);
926 (void)ftruncate(mbfd, curoff);
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c460 off_t curoff = ftello(fp); in lsu_build() local
491 (void) fseek(fp, curoff, SEEK_SET); in lsu_build()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c3612 offset_t curoff, curioff; in fprnt() local
4018 curoff = 0LL; in fprnt()
4020 if (ip->di_size <= curoff) in fprnt()
4029 curoff += fs->fs_bsize; in fprnt()
4044 if (ip->di_size <= curoff) in fprnt()
4049 curoff += curioff; in fprnt()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c2413 size_t curoff = 0; in elfcore() local
2424 phdr[i].p_offset + curoff, zeropg, len, in elfcore()
2430 curoff += len; in elfcore()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c5108 off_t curoff; local
5563 curoff = stb.st_size;
5610 curoff);