Lines Matching defs:curoff
102 off_t curoff, size, lineend;
114 * size == 0 is dealt with above, and size == 1 sets curoff to -1.
116 curoff = size - 2;
118 while (curoff >= 0) {
119 if (curoff < map.mapoff ||
120 curoff >= map.mapoff + (off_t)map.maplen) {
121 if (maparound(&map, curoff) != 0) {
126 for (i = curoff - map.mapoff; i >= 0; i--) {
133 curoff = map.mapoff + i;
138 if (mapprint(&map, curoff + 1, lineend - curoff - 1) != 0) {
142 lineend = curoff + 1;
143 curoff--;
150 curoff = 0;
154 if (curoff < 0 && mapprint(&map, 0, lineend) != 0) {