Searched refs:curoff (Results 1 – 8 of 8) sorted by relevance
| /dragonfly/lib/libc/stdio/ |
| HD | fseek.c | 94 fpos_t target, curoff, ret; in _fseeko() local 119 if (_ftello(fp, &curoff)) in _fseeko() 121 if (curoff < 0) { in _fseeko() 126 if (offset > 0 && curoff > OFF_MAX - offset) { in _fseeko() 130 offset += curoff; in _fseeko() 149 curoff = 0; /* XXX just to keep gcc quiet */ in _fseeko() 205 if (!havepos && _ftello(fp, &curoff)) in _fseeko() 222 curoff += fp->pub._r; /* kill off ungetc */ in _fseeko() 224 curoff -= n; in _fseeko() 228 curoff -= n; in _fseeko() [all …]
|
| /dragonfly/usr.bin/tail/ |
| HD | reverse.c | 102 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() 120 curoff >= (intmax_t)(map.mapoff + map.maplen)) { 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() [all …]
|
| HD | forward.c | 188 off_t curoff, size; in rlines() local 201 curoff = size - 2; in rlines() 202 while (curoff >= 0) { in rlines() 203 if (curoff < map.mapoff && maparound(&map, curoff) != 0) { in rlines() 207 for (i = curoff - map.mapoff; i >= 0; i--) in rlines() 211 curoff = map.mapoff + i; in rlines() 215 curoff++; in rlines() 216 if (mapprint(&map, curoff, size - curoff) != 0) { in rlines()
|
| /dragonfly/contrib/nvi2/vi/ |
| HD | vs_relative.c | 97 size_t chlen, cno, curoff, last = 0, len, scno; in vs_columns() local 132 curoff = scno; in vs_columns() 146 curoff += chlen; \ in vs_columns() 147 if (!leftright && curoff >= sp->cols) \ in vs_columns() 149 curoff = 0; \ in vs_columns() 152 curoff -= sp->cols; \ in vs_columns() 156 chlen = CHLEN(curoff); in vs_columns() 163 chlen = CHLEN(curoff); in vs_columns() 222 size_t chlen, curoff, len, llen, off, scno; in vs_colpos() local 264 for (curoff = scno; len--;) { in vs_colpos() [all …]
|
| /dragonfly/sys/dev/drm/ |
| HD | linux_scatterlist.c | 158 int len, curlen, curoff; in sg_pcopy_from_buffer() local 168 curoff = sg->offset; in sg_pcopy_from_buffer() 175 curoff += skip; in sg_pcopy_from_buffer() 194 int len, curlen, curoff; in sg_pcopy_to_buffer() local 204 curoff = sg->offset; in sg_pcopy_to_buffer() 211 curoff += skip; in sg_pcopy_to_buffer()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | gengtype-state.c | 214 long curoff = 0; in read_a_state_token() local 226 state_bol = curoff = ftell (state_file); in read_a_state_token() 242 state_bol = curoff = ftell (state_file); in read_a_state_token() 251 curoff = ftell (state_file); in read_a_state_token() 257 tk->stok_col = curoff - state_bol; in read_a_state_token() 267 curoff = ftell (state_file); in read_a_state_token() 271 tk->stok_col = curoff - state_bol; in read_a_state_token() 280 curoff = ftell (state_file); in read_a_state_token() 284 tk->stok_col = curoff - state_bol; in read_a_state_token() 297 curoff = ftell (state_file); in read_a_state_token() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | gengtype-state.c | 345 long curoff = 0; in read_a_state_token() local 357 state_bol = curoff = ftell (state_file); in read_a_state_token() 373 state_bol = curoff = ftell (state_file); in read_a_state_token() 382 curoff = ftell (state_file); in read_a_state_token() 388 tk->stok_col = curoff - state_bol; in read_a_state_token() 398 curoff = ftell (state_file); in read_a_state_token() 402 tk->stok_col = curoff - state_bol; in read_a_state_token() 411 curoff = ftell (state_file); in read_a_state_token() 415 tk->stok_col = curoff - state_bol; in read_a_state_token() 428 curoff = ftell (state_file); in read_a_state_token() [all …]
|
| /dragonfly/sys/vfs/dirfs/ |
| HD | dirfs_vnops.c | 1229 off_t curoff; in dirfs_readdir() local 1269 curoff = startoff; in dirfs_readdir() 1273 curoff = startoff; in dirfs_readdir() 1287 curoff = lseek(dnp->dn_fd, 0, SEEK_CUR); in dirfs_readdir() 1291 uio->uio_offset = curoff; in dirfs_readdir()
|