offset 68 lib/search/regex.c mc_search__regex_str_append_if_special (GString *copy_to, const GString *regex_str, gsize *offset) offset 101 lib/search/regex.c tmp_regex_str = &(regex_str->str[*offset]); offset 118 lib/search/regex.c while ((spec_chr_len < regex_str->len - *offset) offset 126 lib/search/regex.c *offset += spec_chr_len; offset 81 lib/serialize.c const char *already_serialized_part, size_t *offset) offset 91 lib/serialize.c *offset += calculated_offset; offset 609 lib/strutil/strutil8bit.c size_t offset; offset 611 lib/strutil/strutil8bit.c offset = match - fold_text; offset 612 lib/strutil/strutil8bit.c match = text + offset; offset 639 lib/strutil/strutil8bit.c size_t offset; offset 641 lib/strutil/strutil8bit.c offset = match - fold_text; offset 642 lib/strutil/strutil8bit.c match = text + offset; offset 593 lib/strutil/strutilascii.c size_t offset; offset 595 lib/strutil/strutilascii.c offset = match - fold_text; offset 596 lib/strutil/strutilascii.c match = text + offset; offset 623 lib/strutil/strutilascii.c size_t offset; offset 625 lib/strutil/strutilascii.c offset = match - fold_text; offset 626 lib/strutil/strutilascii.c match = text + offset; offset 1156 lib/util.c load_file_position (const vfs_path_t *filename_vpath, long *line, long *column, off_t *offset, offset 1167 lib/util.c *offset = 0; offset 1203 lib/util.c *offset = 0; offset 1211 lib/util.c *offset = 0; offset 1217 lib/util.c *offset = 0; offset 1222 lib/util.c *offset = (off_t) g_ascii_strtoll (pos_tokens[2], NULL, 10); offset 1247 lib/util.c save_file_position (const vfs_path_t *filename_vpath, long line, long column, off_t offset, offset 1285 lib/util.c (uintmax_t) offset) offset 262 lib/util.h void load_file_position (const vfs_path_t *filename_vpath, long *line, long *column, off_t *offset, offset 265 lib/util.h void save_file_position (const vfs_path_t *filename_vpath, long line, long column, off_t offset, offset 612 lib/vfs/direntry.c vfs_s_lseek (void *fh, off_t offset, int whence) offset 624 lib/vfs/direntry.c retval = lseek (file->handle, offset, whence); offset 633 lib/vfs/direntry.c offset += file->pos; offset 636 lib/vfs/direntry.c offset += size; offset 641 lib/vfs/direntry.c if (offset < 0) offset 643 lib/vfs/direntry.c else if (offset < size) offset 644 lib/vfs/direntry.c file->pos = offset; offset 689 lib/vfs/interface.c mc_lseek (int fd, off_t offset, int whence) offset 702 lib/vfs/interface.c result = vfs->lseek ? vfs->lseek (fsinfo, offset, whence) : -1; offset 190 lib/vfs/vfs.h off_t (*lseek) (void *vfs_info, off_t offset, int whence); offset 313 lib/vfs/vfs.h off_t mc_lseek (int fd, off_t offset, int whence); offset 1524 src/diffviewer/ydiff.c size_t useful, offset; offset 1564 src/diffviewer/ydiff.c offset = skip - old_base; offset 1569 src/diffviewer/ydiff.c memmove (dst, cvt + offset, useful); offset 1587 src/diffviewer/ydiff.c memmove (dst, cvt + offset, dstsize); offset 1589 src/diffviewer/ydiff.c lastch = cvt[offset + dstsize]; offset 473 src/editor/edit.c off_t offset; offset 480 src/editor/edit.c load_file_position (edit->filename_vpath, &line, &column, &offset, &edit->serialized_bookmarks); offset 492 src/editor/edit.c else if (offset > 0) offset 494 src/editor/edit.c edit_cursor_move (edit, offset); offset 671 src/editor/edit.c is_blank (const edit_buffer_t *buf, off_t offset) offset 675 src/editor/edit.c s = edit_buffer_get_bol (buf, offset); offset 676 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 66 src/editor/editbuffer.h int edit_buffer_calc_percent (const edit_buffer_t *buf, off_t offset); offset 251 src/editor/editcomplete.c esm.offset = entire_file ? 0 : word_start; offset 294 src/editor/editcomplete.c esm.offset = 0; offset 358 src/editor/editcomplete.c int start_x, start_y, offset; offset 383 src/editor/editcomplete.c offset = start_x + compl_dlg_w - COLS; offset 384 src/editor/editcomplete.c if (offset > 0) offset 385 src/editor/editcomplete.c start_x -= offset; offset 386 src/editor/editcomplete.c offset = start_y + compl_dlg_h - LINES; offset 387 src/editor/editcomplete.c if (offset > 0) offset 388 src/editor/editcomplete.c start_y -= offset; offset 593 src/editor/editsearch.c esm.offset = edit->search_start; offset 732 src/editor/editsearch.c ((edit_search_status_msg_t *) sm)->offset = char_offset; offset 748 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 316 src/editor/editwidget.c const size_t offset = 2; // skip menu and buttonbar offset 317 src/editor/editwidget.c const size_t dlg_num = g_list_length (g->widgets) - offset; offset 313 src/editor/etags.c int start_x, start_y, offset; offset 336 src/editor/etags.c offset = start_y + def_dlg_h - LINES; offset 337 src/editor/etags.c if (offset > 0) offset 338 src/editor/etags.c start_y -= (offset + 1); offset 351 src/editor/etags.c offset = start_x + def_dlg_w - COLS; offset 352 src/editor/etags.c if (offset > 0) offset 353 src/editor/etags.c start_x -= offset; offset 146 src/editor/syntax.c off_t offset; offset 621 src/editor/syntax.c d += ((syntax_marker_t *) edit->syntax_marker->data)->offset; offset 628 src/editor/syntax.c s->offset = i; offset 650 src/editor/syntax.c if (byte_index >= s->offset) offset 653 src/editor/syntax.c for (i = s->offset + 1; i <= byte_index; i++) offset 1927 src/filemanager/find.c size_t offset; offset 1930 src/filemanager/find.c offset = 4; offset 1932 src/filemanager/find.c offset = strchr (filename + 4, ':') - filename + 1; offset 1934 src/filemanager/find.c panel_set_current_by_name (panel, filename + offset); offset 807 src/filemanager/panel.c int offset = 0; offset 821 src/filemanager/panel.c offset = width * nth_column; offset 824 src/filemanager/panel.c width = w->rect.cols - offset - 2; offset 837 src/filemanager/panel.c widget_gotoyx (w, ypos, offset + 1); offset 855 src/filemanager/panel.c offset = width - fln + 1; offset 860 src/filemanager/panel.c widget_gotoyx (w, ypos, offset); offset 866 src/filemanager/panel.c offset += width; offset 868 src/filemanager/panel.c offset++; offset 870 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 1490 src/vfs/extfs/extfs.c extfs_lseek (void *fh, off_t offset, int whence) offset 1494 src/vfs/extfs/extfs.c return lseek (file->handle, offset, whence); offset 2028 src/vfs/ftpfs/ftpfs.c ftpfs_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) offset 2037 src/vfs/ftpfs/ftpfs.c TYPE_BINARY, offset); offset 462 src/vfs/local/local.c local_lseek (void *data, off_t offset, int whence) offset 466 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 187 src/vfs/sftpfs/config_parser.c ((type) ((char *) config_entity + (size_t) config_variables[i].offset)) offset 384 src/vfs/sftpfs/file.c sftpfs_lseek (vfs_file_handler_t *fh, off_t offset, int whence, GError **mcerror) offset 397 src/vfs/sftpfs/file.c if (fh->pos > offset || offset == 0) offset 402 src/vfs/sftpfs/file.c fh->pos = offset; offset 405 src/vfs/sftpfs/file.c fh->pos += offset; offset 408 src/vfs/sftpfs/file.c if (fh->pos > fh->ino->st.st_size - offset) offset 413 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 1077 src/vfs/shell/shell.c shell_linear_start (struct vfs_class *me, vfs_file_handler_t *fh, off_t offset) offset 1098 src/vfs/shell/shell.c offset = shell_command_v (me, super, WANT_STRING, SHELL_SUPER (super)->scr_get, offset 1100 src/vfs/shell/shell.c (uintmax_t) offset); offset 1103 src/vfs/shell/shell.c if (offset != PRELIM) offset 149 src/vfs/tar/tar-internal.c off_t start, offset; offset 168 src/vfs/tar/tar-internal.c offset = mc_lseek (archive->fd, nrec * record_size, SEEK_CUR); offset 169 src/vfs/tar/tar-internal.c if (offset < 0) offset 170 src/vfs/tar/tar-internal.c return offset; offset 173 src/vfs/tar/tar-internal.c if ((offset % record_size) != 0) offset 181 src/vfs/tar/tar-internal.c offset /= BLOCKSIZE; offset 183 src/vfs/tar/tar-internal.c nblk = offset - start; offset 186 src/vfs/tar/tar-internal.c record_start_block = offset - blocking_factor; offset 98 src/vfs/tar/tar-internal.h char offset[12]; // 0 offset 128 src/vfs/tar/tar-internal.h char offset[12]; // 369 Multivolume archive: the offset of start of this volume offset 171 src/vfs/tar/tar-internal.h char offset[12]; // 464 Offset of multivolume contents offset 199 src/vfs/tar/tar-internal.h off_t offset; // chunk offset in file offset 371 src/vfs/tar/tar-sparse.c sp.offset = OFF_FROM_HEADER (s->offset); offset 374 src/vfs/tar/tar-sparse.c if (sp.offset < 0 || sp.numbytes < 0 || ckd_add (&size, sp.offset, sp.numbytes) offset 490 src/vfs/tar/tar-sparse.c if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0') offset 578 src/vfs/tar/tar-sparse.c sp.offset = u; offset 580 src/vfs/tar/tar-sparse.c if (!decode_num (&u, nbuf, TYPE_MAXIMUM (off_t)) || ckd_add (&size, sp.offset, u) offset 761 src/vfs/tar/tar-xheader.c s->offset = u; offset 779 src/vfs/tar/tar-xheader.c s.offset = 0; offset 790 src/vfs/tar/tar-xheader.c gboolean offset = TRUE; offset 813 src/vfs/tar/tar-xheader.c if (offset) offset 815 src/vfs/tar/tar-xheader.c e.offset = u; offset 834 src/vfs/tar/tar-xheader.c offset = !offset; offset 847 src/vfs/tar/tar-xheader.c if (!offset) offset 1089 src/vfs/tar/tar.c tar_get_sparse_chunk_idx (const GArray *sparse_map, off_t offset) offset 1100 src/vfs/tar/tar.c if (offset >= chunk->offset && offset < chunk->offset + chunk->numbytes) offset 1104 src/vfs/tar/tar.c if (offset < chunk->offset) offset 1129 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset + chunk->numbytes - fh->pos); offset 1145 src/vfs/tar/tar.c remain = MIN ((off_t) count, chunk->offset - fh->pos); offset 1158 src/vfs/tar/tar.c tar_lseek_sparse (vfs_file_handler_t *fh, off_t offset) offset 1160 src/vfs/tar/tar.c off_t saved_offset = offset; offset 1167 src/vfs/tar/tar.c chunk_idx = tar_get_sparse_chunk_idx (sm, offset); offset 1174 src/vfs/tar/tar.c offset -= chunk->offset; offset 1176 src/vfs/tar/tar.c offset += chunk->arch_offset; offset 1186 src/vfs/tar/tar.c offset = fh->ino->data_offset; offset 1192 src/vfs/tar/tar.c offset = chunk->arch_offset + chunk->numbytes; offset 1197 src/vfs/tar/tar.c offset = chunk->arch_offset + chunk->numbytes; offset 1202 src/vfs/tar/tar.c res = mc_lseek (fd, offset, SEEK_SET); offset 1204 src/vfs/tar/tar.c if (res == offset) offset 733 src/vfs/undelfs/undelfs.c undelfs_lseek (void *vfs_info, off_t offset, int whence) offset 736 src/vfs/undelfs/undelfs.c (void) offset; offset 177 src/viewer/actions_cmd.c while ((node != NULL) && (node->offset != view->hex_cursor)) offset 221 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 734 src/viewer/ascii.c eol = mcview_eol (view, state->offset); offset 882 src/viewer/ascii.c if ((view->mode_flags.wrap ? view->dpy_state_top.offset : view->dpy_start) > 0) offset 893 src/viewer/ascii.c view->dpy_end = state.offset; offset 947 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 202 src/viewer/coord_cache.c for (offset = 0; offset < filesize; offset++) offset 204 src/viewer/coord_cache.c mcview_offset_to_coord (view, &line, &column, offset); offset 206 src/viewer/coord_cache.c (uintmax_t) offset, (uintmax_t) line, (uintmax_t) column); offset 217 src/viewer/coord_cache.c mcview_coord_to_offset (view, &offset, line, column); offset 218 src/viewer/coord_cache.c if (offset >= nextline_offset) offset 222 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 145 src/viewer/dialogs.c mcview_dialog_goto (WView *view, off_t *offset) offset 205 src/viewer/dialogs.c *offset = -1; offset 224 src/viewer/dialogs.c mcview_coord_to_offset (view, offset, addr, 0); offset 225 src/viewer/dialogs.c *offset = mcview_bol (view, *offset, 0); offset 233 src/viewer/dialogs.c *offset = addr * mcview_get_filesize (view) / 100; offset 235 src/viewer/dialogs.c *offset = mcview_bol (view, *offset, 0); offset 244 src/viewer/dialogs.c *offset = mcview_bol (view, addr, 0); offset 252 src/viewer/dialogs.c *offset = addr; offset 254 src/viewer/dialogs.c if (*offset > addr) offset 255 src/viewer/dialogs.c *offset = addr; offset 259 src/viewer/dialogs.c *offset = 0; offset 89 src/viewer/hex.c : ((curr != NULL && from == curr->offset) || force_changed) ? MARK_CHANGED offset 150 src/viewer/hex.c while (curr != NULL && (curr->offset < from)) offset 209 src/viewer/hex.c if (curr != NULL && from + j == curr->offset) offset 215 src/viewer/hex.c if (curr != NULL && from + j >= curr->offset) offset 244 src/viewer/hex.c if (curr != NULL && from == curr->offset) offset 264 src/viewer/hex.c if (curr != NULL && from == curr->offset) offset 402 src/viewer/hex.c if (mc_lseek (fp, curr->offset, SEEK_SET) == -1 offset 409 src/viewer/hex.c mcview_set_byte (view, curr->offset, curr->value); offset 479 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 249 src/viewer/internal.h void mcview_set_byte (WView *view, off_t offset, byte b); offset 259 src/viewer/internal.h gboolean mcview_dialog_goto (WView *view, off_t *offset); offset 312 src/viewer/internal.h void mcview_moveto_offset (WView *view, off_t offset); offset 315 src/viewer/internal.h void mcview_offset_to_coord (WView *view, off_t *ret_line, off_t *ret_column, off_t offset); offset 370 src/viewer/internal.h mcview_already_loaded (off_t offset, off_t idx, size_t size) offset 372 src/viewer/internal.h return (offset <= idx && idx - offset < (off_t) size); offset 397 src/viewer/internal.h mcview_get_byte (WView *view, off_t offset, int *retval) offset 403 src/viewer/internal.h return mcview_get_byte_growing_buffer (view, offset, retval); offset 405 src/viewer/internal.h return mcview_get_byte_file (view, offset, retval); offset 407 src/viewer/internal.h return mcview_get_byte_string (view, offset, retval); offset 409 src/viewer/internal.h return mcview_get_byte_none (view, offset, retval); offset 432 src/viewer/internal.h mcview_count_backspaces (WView *view, off_t offset) offset 437 src/viewer/internal.h while (offset >= 2 * backspaces && mcview_get_byte (view, offset - 2 * backspaces, &c) offset 447 src/viewer/internal.h mcview_is_nroff_sequence (WView *view, off_t offset) offset 453 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 1, &c1) || c1 != '\b') offset 456 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 0, &c0) || !g_ascii_isprint (c0)) offset 459 src/viewer/internal.h if (!mcview_get_byte_indexed (view, offset, 2, &c2) || !g_ascii_isprint (c2)) offset 318 src/viewer/move.c mcview_moveto_offset (WView *view, off_t offset) offset 322 src/viewer/move.c view->hex_cursor = offset; offset 323 src/viewer/move.c view->dpy_start = offset - offset % view->bytes_per_line; offset 329 src/viewer/move.c view->dpy_start = offset; offset 342 src/viewer/move.c off_t offset; offset 344 src/viewer/move.c mcview_coord_to_offset (view, &offset, line, col); offset 345 src/viewer/move.c mcview_moveto_offset (view, offset); offset 365 src/viewer/move.c mcview_offset_to_coord (WView *view, off_t *ret_line, off_t *ret_column, off_t offset) offset 369 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 291 src/viewer/search.c vsm.offset = search_start; offset 351 src/viewer/search.c vsm.offset = 0; offset 491 src/viewer/search.c vsm->offset = char_offset; offset 495 src/viewer/search.c if (vsm->offset <= view->update_activate) offset 504 src/viewer/search.c if (vsm->offset >= view->update_activate)