Lines Matching refs:curpos
115 off_t curpos;
167 curpos = lseek(fd, 0, SEEK_CUR) - 1;
168 if (curpos == -1) {
193 error = (int)lseek(fd, curpos, SEEK_SET);
194 if (error == (curpos - 1)) {
252 curpos = lseek(fd, 0, SEEK_CUR) - 1;
253 if (curpos == -1) {
366 n = (uint32_t)(charpos - curpos);
371 error = (int)lseek(fd, curpos, SEEK_SET);
372 if (error == (curpos - 1)) {