offset 68 lib/search/regex.c mc_search__regex_str_append_if_special (GString *copy_to, const GString *regex_str, gsize *offset) offset 89 lib/search/regex.c tmp_regex_str = &(regex_str->str[*offset]); offset 106 lib/search/regex.c while ((spec_chr_len < regex_str->len - *offset) offset 114 lib/search/regex.c *offset += spec_chr_len; offset 82 lib/serialize.c const char *already_serialized_part, size_t *offset) offset 92 lib/serialize.c *offset += calculated_offset; offset 614 lib/strutil/strutil8bit.c size_t offset; offset 616 lib/strutil/strutil8bit.c offset = match - fold_text; offset 617 lib/strutil/strutil8bit.c match = text + offset; offset 644 lib/strutil/strutil8bit.c size_t offset; offset 646 lib/strutil/strutil8bit.c offset = match - fold_text; offset 647 lib/strutil/strutil8bit.c match = text + offset; offset 595 lib/strutil/strutilascii.c size_t offset; offset 597 lib/strutil/strutilascii.c offset = match - fold_text; offset 598 lib/strutil/strutilascii.c match = text + offset; offset 625 lib/strutil/strutilascii.c size_t offset; offset 627 lib/strutil/strutilascii.c offset = match - fold_text; offset 628 lib/strutil/strutilascii.c match = text + offset; offset 1149 lib/util.c load_file_position (const vfs_path_t *filename_vpath, long *line, long *column, off_t *offset, offset 1160 lib/util.c *offset = 0; offset 1196 lib/util.c *offset = 0; offset 1204 lib/util.c *offset = 0; offset 1210 lib/util.c *offset = 0; offset 1215 lib/util.c *offset = (off_t) g_ascii_strtoll (pos_tokens[2], NULL, 10); offset 1240 lib/util.c save_file_position (const vfs_path_t *filename_vpath, long line, long column, off_t offset, offset 1279 lib/util.c (uintmax_t) offset) < 0) offset 247 lib/util.h off_t * offset, GArray ** bookmarks); offset 249 lib/util.h void save_file_position (const vfs_path_t * filename_vpath, long line, long column, off_t offset, offset 615 lib/vfs/direntry.c vfs_s_lseek (void *fh, off_t offset, int whence) offset 627 lib/vfs/direntry.c retval = lseek (file->handle, offset, whence); offset 636 lib/vfs/direntry.c offset += file->pos; offset 639 lib/vfs/direntry.c offset += size; offset 644 lib/vfs/direntry.c if (offset < 0) offset 646 lib/vfs/direntry.c else if (offset < size) offset 647 lib/vfs/direntry.c file->pos = offset; offset 700 lib/vfs/interface.c mc_lseek (int fd, off_t offset, int whence) offset 713 lib/vfs/interface.c result = vfs->lseek ? vfs->lseek (fsinfo, offset, whence) : -1; offset 191 lib/vfs/vfs.h off_t (*lseek) (void *vfs_info, off_t offset, int whence); offset 317 lib/vfs/vfs.h off_t mc_lseek (int fd, off_t offset, int whence); offset 1526 src/diffviewer/ydiff.c size_t useful, offset; offset 1566 src/diffviewer/ydiff.c offset = skip - old_base; offset 1571 src/diffviewer/ydiff.c memmove (dst, cvt + offset, useful); offset 1589 src/diffviewer/ydiff.c memmove (dst, cvt + offset, dstsize); offset 1591 src/diffviewer/ydiff.c lastch = cvt[offset + dstsize]; offset 486 src/editor/edit.c off_t offset; offset 493 src/editor/edit.c load_file_position (edit->filename_vpath, &line, &column, &offset, &edit->serialized_bookmarks); offset 505 src/editor/edit.c else if (offset > 0) offset 507 src/editor/edit.c edit_cursor_move (edit, offset); offset 684 src/editor/edit.c is_blank (const edit_buffer_t *buf, off_t offset) offset 688 src/editor/edit.c s = edit_buffer_get_bol (buf, offset); offset 689 src/editor/edit.c f = edit_buffer_get_eol (buf, offset); offset 883 src/editor/editbuffer.c edit_buffer_calc_percent (const edit_buffer_t *buf, off_t offset) offset 889 src/editor/editbuffer.c else if (offset >= buf->size) offset 891 src/editor/editbuffer.c else if (offset > (INT_MAX / 100)) offset 892 src/editor/editbuffer.c percent = offset / (buf->size / 100); offset 894 src/editor/editbuffer.c percent = offset * 100 / buf->size; offset 67 src/editor/editbuffer.h int edit_buffer_calc_percent (const edit_buffer_t * buf, off_t offset); offset 252 src/editor/editcomplete.c esm.offset = entire_file ? 0 : word_start; offset 296 src/editor/editcomplete.c esm.offset = 0; offset 360 src/editor/editcomplete.c int start_x, start_y, offset; offset 384 src/editor/editcomplete.c offset = start_x + compl_dlg_w - COLS; offset 385 src/editor/editcomplete.c if (offset > 0) offset 386 src/editor/editcomplete.c start_x -= offset; offset 387 src/editor/editcomplete.c offset = start_y + compl_dlg_h - LINES; offset 388 src/editor/editcomplete.c if (offset > 0) offset 389 src/editor/editcomplete.c start_y -= offset; offset 599 src/editor/editsearch.c esm.offset = edit->search_start; offset 735 src/editor/editsearch.c ((edit_search_status_msg_t *) sm)->offset = (off_t) char_offset; offset 751 src/editor/editsearch.c edit_buffer_calc_percent (&esm->edit->buffer, esm->offset)); offset 896 src/editor/editsearch.c esm.offset = edit->search_start; offset 16 src/editor/editsearch.h off_t offset; offset 313 src/editor/editwidget.c const size_t offset = 2; /* skip menu and buttonbar */ offset 314 src/editor/editwidget.c const size_t dlg_num = g_list_length (g->widgets) - offset; offset 318 src/editor/etags.c int start_x, start_y, offset; offset 340 src/editor/etags.c offset = start_y + def_dlg_h - LINES; offset 341 src/editor/etags.c if (offset > 0) offset 342 src/editor/etags.c start_y -= (offset + 1); offset 355 src/editor/etags.c offset = start_x + def_dlg_w - COLS; offset 356 src/editor/etags.c if (offset > 0) offset 357 src/editor/etags.c start_x -= offset; offset 128 src/editor/syntax.c off_t offset; offset 602 src/editor/syntax.c d += ((syntax_marker_t *) edit->syntax_marker->data)->offset; offset 609 src/editor/syntax.c s->offset = i; offset 631 src/editor/syntax.c if (byte_index >= s->offset) offset 634 src/editor/syntax.c for (i = s->offset + 1; i <= byte_index; i++) offset 1937 src/filemanager/find.c size_t offset; offset 1940 src/filemanager/find.c offset = 4; offset 1942 src/filemanager/find.c offset = strchr (filename + 4, ':') - filename + 1; offset 1944 src/filemanager/find.c panel_set_current_by_name (panel, filename + offset); offset 948 src/filemanager/panel.c int offset = 0; offset 962 src/filemanager/panel.c offset = width * nth_column; offset 965 src/filemanager/panel.c width = w->rect.cols - offset - 2; offset 978 src/filemanager/panel.c widget_gotoyx (w, ypos, offset + 1); offset 996 src/filemanager/panel.c offset = width - fln + 1; offset 1001 src/filemanager/panel.c widget_gotoyx (w, ypos, offset); offset 1007 src/filemanager/panel.c offset += width; offset 1009 src/filemanager/panel.c offset++; offset 1011 src/filemanager/panel.c widget_gotoyx (w, ypos, offset); offset 323 src/filemanager/treestore.c encode (const vfs_path_t *vpath, size_t offset) offset 325 src/filemanager/treestore.c return str_escape (vfs_path_as_str (vpath) + offset, -1, "\n\\", FALSE); offset 1506 src/vfs/extfs/extfs.c extfs_lseek (void *fh, off_t offset, int whence) offset 1510 src/vfs/extfs/extfs.c return lseek (file->handle, offset, whence); offset 2029 src/vfs/ftpfs/ftpfs.c ftpfs_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) offset 2039 src/vfs/ftpfs/ftpfs.c offset); offset 454 src/vfs/local/local.c local_lseek (void *data, off_t offset, int whence) offset 458 src/vfs/local/local.c return lseek (fd, offset, whence); offset 29 src/vfs/local/local.h extern off_t local_lseek (void *data, off_t offset, int whence); offset 81 src/vfs/sftpfs/config_parser.c size_t offset; offset 154 src/vfs/sftpfs/config_parser.c ((type) ((char *) config_entity + (size_t) config_variables[i].offset)) offset 383 src/vfs/sftpfs/file.c sftpfs_lseek (vfs_file_handler_t *fh, off_t offset, int whence, GError **mcerror) offset 396 src/vfs/sftpfs/file.c if (fh->pos > offset || offset == 0) offset 401 src/vfs/sftpfs/file.c fh->pos = offset; offset 404 src/vfs/sftpfs/file.c fh->pos += offset; offset 407 src/vfs/sftpfs/file.c if (fh->pos > fh->ino->st.st_size - offset) offset 412 src/vfs/sftpfs/file.c fh->pos = fh->ino->st.st_size - offset; offset 110 src/vfs/sftpfs/internal.h off_t sftpfs_lseek (vfs_file_handler_t * fh, off_t offset, int whence, GError ** mcerror); offset 577 src/vfs/sftpfs/sftpfs.c sftpfs_cb_lseek (void *data, off_t offset, int whence) offset 583 src/vfs/sftpfs/sftpfs.c ret_offset = sftpfs_lseek (fh, offset, whence, &mcerror); offset 1094 src/vfs/shell/shell.c shell_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) offset 1115 src/vfs/shell/shell.c offset = offset 1118 src/vfs/shell/shell.c (uintmax_t) offset); offset 1121 src/vfs/shell/shell.c if (offset != PRELIM) offset 160 src/vfs/tar/tar-internal.c off_t start, offset; offset 179 src/vfs/tar/tar-internal.c offset = mc_lseek (archive->fd, nrec * record_size, SEEK_CUR); offset 180 src/vfs/tar/tar-internal.c if (offset < 0) offset 181 src/vfs/tar/tar-internal.c return offset; offset 184 src/vfs/tar/tar-internal.c if ((offset % record_size) != 0) offset 192 src/vfs/tar/tar-internal.c offset /= BLOCKSIZE; offset 194 src/vfs/tar/tar-internal.c nblk = offset - start; offset 197 src/vfs/tar/tar-internal.c record_start_block = offset - blocking_factor; offset 101 src/vfs/tar/tar-internal.h char offset[12]; /* 0 */ offset 131 src/vfs/tar/tar-internal.h char offset[12]; /* 369 Multivolume archive: the offset of start of this volume */ offset 174 src/vfs/tar/tar-internal.h char offset[12]; /* 464 Offset of multivolume contents */ offset 204 src/vfs/tar/tar-internal.h off_t offset; /* chunk offset in file */ offset 378 src/vfs/tar/tar-sparse.c sp.offset = OFF_FROM_HEADER (s->offset); offset 381 src/vfs/tar/tar-sparse.c if (sp.offset < 0 || sp.numbytes < 0 || ckd_add (&size, sp.offset, sp.numbytes) offset 497 src/vfs/tar/tar-sparse.c if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0') offset 585 src/vfs/tar/tar-sparse.c sp.offset = u; offset 587 src/vfs/tar/tar-sparse.c if (!decode_num (&u, nbuf, TYPE_MAXIMUM (off_t)) || ckd_add (&size, sp.offset, u) offset 764 src/vfs/tar/tar-xheader.c s->offset = u; offset 782 src/vfs/tar/tar-xheader.c s.offset = 0; offset 793 src/vfs/tar/tar-xheader.c gboolean offset = TRUE; offset 816 src/vfs/tar/tar-xheader.c if (offset) offset 818 src/vfs/tar/tar-xheader.c e.offset = u; offset 837 src/vfs/tar/tar-xheader.c offset = !offset; offset 850 src/vfs/tar/tar-xheader.c if (!offset) offset 1104 src/vfs/tar/tar.c tar_get_sparse_chunk_idx (const GArray *sparse_map, off_t offset) offset 1115 src/vfs/tar/tar.c if (offset >= chunk->offset && offset < chunk->offset + chunk->numbytes) offset 1119 src/vfs/tar/tar.c if (offset < chunk->offset) offset 1144 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset + chunk->numbytes - fh->pos); offset 1160 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset - fh->pos); offset 1173 src/vfs/tar/tar.c tar_lseek_sparse (vfs_file_handler_t *fh, off_t offset) offset 1175 src/vfs/tar/tar.c off_t saved_offset = offset; offset 1182 src/vfs/tar/tar.c chunk_idx = tar_get_sparse_chunk_idx (sm, offset); offset 1189 src/vfs/tar/tar.c offset -= chunk->offset; offset 1191 src/vfs/tar/tar.c offset += chunk->arch_offset; offset 1201 src/vfs/tar/tar.c offset = fh->ino->data_offset; offset 1207 src/vfs/tar/tar.c offset = chunk->arch_offset + chunk->numbytes; offset 1212 src/vfs/tar/tar.c offset = chunk->arch_offset + chunk->numbytes; offset 1217 src/vfs/tar/tar.c res = mc_lseek (fd, offset, SEEK_SET); offset 1219 src/vfs/tar/tar.c if (res == offset) offset 734 src/vfs/undelfs/undelfs.c undelfs_lseek (void *vfs_info, off_t offset, int whence) offset 737 src/vfs/undelfs/undelfs.c (void) offset; offset 211 src/viewer/actions_cmd.c while ((node != NULL) && (node->offset != view->hex_cursor)) offset 255 src/viewer/actions_cmd.c node->offset = view->hex_cursor; offset 349 src/viewer/ascii.c if (view->force_max >= 0 && state->offset >= view->force_max) offset 357 src/viewer/ascii.c if (!mcview_get_utf (view, state->offset, c, &char_length)) offset 360 src/viewer/ascii.c if (view->force_max >= 0 && state->offset + char_length > view->force_max) offset 363 src/viewer/ascii.c state->offset += char_length; offset 367 src/viewer/ascii.c if (!mcview_get_byte (view, state->offset, c)) offset 369 src/viewer/ascii.c state->offset++; offset 595 src/viewer/ascii.c eol = mcview_eol (view, state->offset); offset 596 src/viewer/ascii.c retval = (eol > state->offset) ? 1 : 0; offset 618 src/viewer/ascii.c if (view->search_start <= state->offset && state->offset < view->search_end) offset 624 src/viewer/ascii.c mcview_state_machine_init (state, state->offset); offset 733 src/viewer/ascii.c eol = mcview_eol (view, state->offset); offset 881 src/viewer/ascii.c if ((view->mode_flags.wrap ? view->dpy_state_top.offset : view->dpy_start) > 0) offset 892 src/viewer/ascii.c view->dpy_end = state.offset; offset 946 src/viewer/ascii.c view->dpy_start = view->dpy_state_top.offset; offset 1044 src/viewer/ascii.c mcview_state_machine_init (mcview_state_machine_t *state, off_t offset) offset 1047 src/viewer/ascii.c state->offset = offset; offset 173 src/viewer/coord_cache.c off_t offset, line, column, nextline_offset, filesize; offset 204 src/viewer/coord_cache.c for (offset = 0; offset < filesize; offset++) offset 206 src/viewer/coord_cache.c mcview_offset_to_coord (view, &line, &column, offset); offset 209 src/viewer/coord_cache.c (uintmax_t) offset, (uintmax_t) line, (uintmax_t) column); offset 220 src/viewer/coord_cache.c mcview_coord_to_offset (view, &offset, line, column); offset 221 src/viewer/coord_cache.c if (offset >= nextline_offset) offset 226 src/viewer/coord_cache.c (uintmax_t) line, (uintmax_t) column, (uintmax_t) offset); offset 270 src/viewer/datasource.c mcview_set_byte (WView *view, off_t offset, byte b) offset 273 src/viewer/datasource.c (void) offset; offset 275 src/viewer/datasource.c g_assert (offset < mcview_get_filesize (view)); offset 141 src/viewer/dialogs.c mcview_dialog_goto (WView *view, off_t *offset) offset 199 src/viewer/dialogs.c *offset = -1; offset 218 src/viewer/dialogs.c mcview_coord_to_offset (view, offset, addr, 0); offset 219 src/viewer/dialogs.c *offset = mcview_bol (view, *offset, 0); offset 227 src/viewer/dialogs.c *offset = addr * mcview_get_filesize (view) / 100; offset 229 src/viewer/dialogs.c *offset = mcview_bol (view, *offset, 0); offset 238 src/viewer/dialogs.c *offset = mcview_bol (view, addr, 0); offset 246 src/viewer/dialogs.c *offset = addr; offset 248 src/viewer/dialogs.c if (*offset > addr) offset 249 src/viewer/dialogs.c *offset = addr; offset 253 src/viewer/dialogs.c *offset = 0; offset 89 src/viewer/hex.c : ((curr != NULL && from == curr->offset) || force_changed) ? MARK_CHANGED offset 149 src/viewer/hex.c while (curr != NULL && (curr->offset < from)) offset 208 src/viewer/hex.c if (curr != NULL && from + j == curr->offset) offset 214 src/viewer/hex.c if (curr != NULL && from + j >= curr->offset) offset 243 src/viewer/hex.c if (curr != NULL && from == curr->offset) offset 263 src/viewer/hex.c if (curr != NULL && from == curr->offset) offset 398 src/viewer/hex.c if (mc_lseek (fp, curr->offset, SEEK_SET) == -1 offset 405 src/viewer/hex.c mcview_set_byte (view, curr->offset, curr->value); offset 474 src/viewer/hex.c while (*chnode != NULL && (*chnode)->offset < node->offset) offset 59 src/viewer/internal.h off_t offset; offset 81 src/viewer/internal.h off_t offset; /* The file offset at which this is the state. */ offset 246 src/viewer/internal.h void mcview_set_byte (WView * view, off_t offset, byte b); offset 256 src/viewer/internal.h gboolean mcview_dialog_goto (WView * view, off_t * offset); offset 309 src/viewer/internal.h void mcview_moveto_offset (WView * view, off_t offset); offset 312 src/viewer/internal.h void mcview_offset_to_coord (WView * view, off_t * ret_line, off_t * ret_column, off_t offset); offset 367 src/viewer/internal.h mcview_already_loaded (off_t offset, off_t idx, size_t size) offset 369 src/viewer/internal.h return (offset <= idx && idx - offset < (off_t) size); offset 394 src/viewer/internal.h mcview_get_byte (WView *view, off_t offset, int *retval) offset 400 src/viewer/internal.h return mcview_get_byte_growing_buffer (view, offset, retval); offset 402 src/viewer/internal.h return mcview_get_byte_file (view, offset, retval); offset 404 src/viewer/internal.h return mcview_get_byte_string (view, offset, retval); offset 406 src/viewer/internal.h return mcview_get_byte_none (view, offset, retval); offset 429 src/viewer/internal.h mcview_count_backspaces (WView *view, off_t offset) offset 434 src/viewer/internal.h while (offset >= 2 * backspaces && mcview_get_byte (view, offset - 2 * backspaces, &c) offset 444 src/viewer/internal.h mcview_is_nroff_sequence (WView *view, off_t offset) offset 450 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 1, &c1) || c1 != '\b') offset 453 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 0, &c0) || !g_ascii_isprint (c0)) offset 456 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 2, &c2) || !g_ascii_isprint (c2)) offset 315 src/viewer/move.c mcview_moveto_offset (WView *view, off_t offset) offset 319 src/viewer/move.c view->hex_cursor = offset; offset 320 src/viewer/move.c view->dpy_start = offset - offset % view->bytes_per_line; offset 326 src/viewer/move.c view->dpy_start = offset; offset 339 src/viewer/move.c off_t offset; offset 341 src/viewer/move.c mcview_coord_to_offset (view, &offset, line, col); offset 342 src/viewer/move.c mcview_moveto_offset (view, offset); offset 362 src/viewer/move.c mcview_offset_to_coord (WView *view, off_t *ret_line, off_t *ret_column, off_t offset) offset 366 src/viewer/move.c coord.cc_offset = offset; offset 69 src/viewer/search.c off_t offset; offset 92 src/viewer/search.c percent = mcview_calc_percent (vsm->view, vsm->offset); offset 319 src/viewer/search.c vsm->offset = (off_t) char_offset; offset 323 src/viewer/search.c if (vsm->offset <= view->update_activate) offset 332 src/viewer/search.c if (vsm->offset >= view->update_activate) offset 402 src/viewer/search.c vsm.offset = search_start; offset 462 src/viewer/search.c vsm.offset = 0;