Lines Matching refs:offset
53 lseek_obj(MY_OBJ * obj, long offset, int mode)
56 if ((fpos = (long) lseek(obj->fd, (off_t) offset, mode)) == -1) {
66 dlg_exiterr("Cannot set file position to %ld", offset);
80 lseek_set(MY_OBJ * obj, long offset)
82 long actual = lseek_obj(obj, offset, SEEK_SET);
84 if (actual != offset) {
86 offset, actual);
91 lseek_end(MY_OBJ * obj, long offset)
93 long actual = lseek_obj(obj, offset, SEEK_END);
95 if (actual > offset) {
101 lseek_cur(MY_OBJ * obj, long offset)
103 long actual = lseek_obj(obj, offset, SEEK_CUR);
105 if (actual != offset) {
106 dlg_trace_msg("Lseek returned %ld, expected %ld\n", actual, offset);
497 int offset = 0;
536 offset = dlg_count_columns(input);
560 if (dlg_edit_string(input, &offset, key, fkey, first)) {
561 dlg_show_string(widget, input, offset, searchbox_attr,
726 since it's only the last byte offset from the beginning */