current 107 lib/hook.c hook_t *current, *next; current 109 lib/hook.c for (current = *hook_list; current != NULL; current = next) current 111 lib/hook.c next = current->next; current 112 lib/hook.c if (current->hook_fn == hook_fn) current 113 lib/hook.c g_free (current); current 115 lib/hook.c add_hook (&new_list, current->hook_fn, current->hook_data); current 585 lib/strutil.h gboolean str_is_char_escaped (const char *start, const char *current); current 250 lib/strutil/strescape.c str_is_char_escaped (const char *start, const char *current) current 254 lib/strutil/strescape.c if (start == NULL || current == NULL || current <= start) current 257 lib/strutil/strescape.c current--; current 258 lib/strutil/strescape.c while (current >= start && *current == '\\') current 261 lib/strutil/strescape.c current--; current 78 lib/widget/button.c if (parm == '\n' && WIDGET (g->current->data) == w) current 230 lib/widget/dialog.c if (g->current == NULL) current 231 lib/widget/dialog.c g->current = g->widgets; current 509 lib/widget/dialog.c while (g->current != NULL && !widget_is_focusable (g->current->data)) current 554 lib/widget/dialog.c send_message (h, GROUP (h)->current == NULL ? NULL : WIDGET (GROUP (h)->current->data), current 82 lib/widget/gauge.c int done = g->current; current 131 lib/widget/gauge.c gauge_new (int y, int x, int cols, gboolean shown, int max, int current) current 145 lib/widget/gauge.c g->current = current; current 154 lib/widget/gauge.c gauge_set_value (WGauge *g, int max, int current) current 156 lib/widget/gauge.c if (g->current == current && g->max == max) current 161 lib/widget/gauge.c g->current = current; current 22 lib/widget/gauge.h int current; current 30 lib/widget/gauge.h WGauge *gauge_new (int y, int x, int cols, gboolean shown, int max, int current); current 31 lib/widget/gauge.h void gauge_set_value (WGauge * g, int max, int current); current 115 lib/widget/group.c if (g->widgets != NULL && g->current != NULL) current 117 lib/widget/group.c GList *l = g->current; current 123 lib/widget/group.c while (!widget_is_focusable (l->data) && l != g->current); current 159 lib/widget/group.c if (g->current == NULL) current 160 lib/widget/group.c g->current = g->widgets; current 162 lib/widget/group.c p = group_get_next_or_prev_of (g->current, !reverse); current 359 lib/widget/group.c GList *p = g->current; current 375 lib/widget/group.c while (p != g->current); current 438 lib/widget/group.c if (g->current == NULL) current 439 lib/widget/group.c g->current = g->widgets; current 507 lib/widget/group.c handled = send_message (g->current->data, NULL, MSG_KEY, key, NULL); current 511 lib/widget/group.c handled = send_message (g, g->current->data, MSG_UNHANDLED_KEY, key, NULL); current 521 lib/widget/group.c GList *current; current 529 lib/widget/group.c if (g->current == NULL) current 530 lib/widget/group.c g->current = g->widgets; current 532 lib/widget/group.c w = WIDGET (g->current->data); current 558 lib/widget/group.c current = group_get_widget_next_of (g->current); current 561 lib/widget/group.c while (g->current != current && handled == MSG_NOT_HANDLED) current 563 lib/widget/group.c w = WIDGET (current->data); current 569 lib/widget/group.c current = group_get_widget_next_of (current); current 574 lib/widget/group.c w = WIDGET (current->data); current 692 lib/widget/group.c if (g->current != NULL) current 693 lib/widget/group.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, enable); current 812 lib/widget/group.c g->current = new_current; current 837 lib/widget/group.c if (d == g->current) current 842 lib/widget/group.c g->current = NULL; current 866 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, TRUE); current 879 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, FALSE); current 31 lib/widget/group.h GList *current; /* Currently active widget */ current 83 lib/widget/group.h g->current != NULL ? g->current->data : NULL); current 113 lib/widget/group.h if (g->current != NULL) current 114 lib/widget/group.h widget_select (WIDGET (g->current->data)); current 122 lib/widget/group.h return WIDGET (g->current->data)->id; current 188 lib/widget/history.c history_descriptor_init (history_descriptor_t *hd, int y, int x, GList *history, int current) current 193 lib/widget/history.c hd->current = current; current 252 lib/widget/history.c if (hd->current < 0 || (size_t) hd->current >= count) current 255 lib/widget/history.c listbox_set_current (hd->listbox, count - 1 - (size_t) hd->current); current 260 lib/widget/history.c if (hd->current > 0) current 261 lib/widget/history.c listbox_set_current (hd->listbox, hd->current); current 28 lib/widget/history.h int current; /**< initially selected item in the history */ current 45 lib/widget/history.h int current); current 109 lib/widget/input.c if (g_list_next (in->history.current) == NULL) current 111 lib/widget/input.c else if (g_list_previous (in->history.current) == NULL) current 169 lib/widget/input.c in->history.current = in->history.list; current 252 lib/widget/input.c in->history.current = in->history.list; current 598 lib/widget/input.c prev = g_list_previous (in->history.current); current 602 lib/widget/input.c in->history.current = prev; current 625 lib/widget/input.c next = g_list_next (in->history.current); current 629 lib/widget/input.c in->history.current = in->history.list; current 634 lib/widget/input.c in->history.current = next; current 817 lib/widget/input.c in->history.current = in->history.list; current 989 lib/widget/input.c in->history.current = NULL; current 70 lib/widget/input.h GList *current; /* current history item */ current 1032 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); current 1039 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); current 1042 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); current 1086 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); current 1097 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); current 1148 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); current 134 lib/widget/listbox-window.c val = l->list->current; current 161 lib/widget/listbox-window.c e = listbox_get_nth_entry (l->list, l->list->current); current 119 lib/widget/listbox.c line = 1 + ((l->current * (w->lines - 2)) / length); current 167 lib/widget/listbox.c if (pos == l->current && sel_line == -1) current 236 lib/widget/listbox.c if ((guint) l->current + 1 < g_queue_get_length (l->list)) current 237 lib/widget/listbox.c listbox_set_current (l, l->current + 1); current 248 lib/widget/listbox.c listbox_set_current (l, MIN (l->current + n, LISTBOX_LAST (l))); current 258 lib/widget/listbox.c if (l->current > 0) current 259 lib/widget/listbox.c listbox_set_current (l, l->current - 1); current 270 lib/widget/listbox.c listbox_set_current (l, MAX (l->current - n, 0)); current 312 lib/widget/listbox.c is_last = (l->current + 1 >= length); current 383 lib/widget/listbox.c g_queue_insert_before (l->list, g_queue_peek_nth_link (l->list, (guint) l->current), e); current 387 lib/widget/listbox.c g_queue_insert_after (l->list, g_queue_peek_nth_link (l->list, (guint) l->current), e); current 511 lib/widget/listbox.c old_current = l->current; current 544 lib/widget/listbox.c if (l->current != old_current) current 567 lib/widget/listbox.c l->top = l->current = 0; current 632 lib/widget/listbox.c l->current = l->top = 0; current 646 lib/widget/listbox.c l->current = DOZ (length, 1); current 670 lib/widget/listbox.c l->current = dest; current 672 lib/widget/listbox.c l->top = l->current; current 677 lib/widget/listbox.c if (l->current - l->top >= lines) current 678 lib/widget/listbox.c l->top = l->current - lines + 1; current 685 lib/widget/listbox.c l->current = l->top = 0; current 706 lib/widget/listbox.c e = listbox_get_nth_entry (l, l->current); current 749 lib/widget/listbox.c GList *current; current 752 lib/widget/listbox.c current = g_queue_peek_nth_link (l->list, (guint) l->current); current 753 lib/widget/listbox.c listbox_entry_free (current->data); current 754 lib/widget/listbox.c g_queue_delete_link (l->list, current); current 759 lib/widget/listbox.c l->top = l->current = 0; current 760 lib/widget/listbox.c else if (l->current >= length) current 761 lib/widget/listbox.c l->current = length - 1; current 803 lib/widget/listbox.c l->current = l->top = 0; current 49 lib/widget/listbox.h int current; /* The current element displayed */ current 72 lib/widget/menu.c unsigned int current; /* pointer to current menu entry */ current 127 lib/widget/menu.c const menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 185 lib/widget/menu.c const menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 201 lib/widget/menu.c menubar_paint_idx (menubar, i, i == menu->current ? MENU_SELECTED_COLOR : MENU_ENTRY_COLOR); current 207 lib/widget/menu.c menubar_set_color (const WMenuBar *menubar, gboolean current, gboolean hotkey) current 211 lib/widget/menu.c else if (current) current 234 lib/widget/menu.c gboolean is_selected = (menubar->current == (gsize) g_list_position (menubar->menu, i)); current 259 lib/widget/menu.c MENU (g_list_nth_data (menubar->menu, menubar->current))->start_x); current 277 lib/widget/menu.c GROUP (g)->current = widget_find (g, widget_find_by_id (g, menubar->previous_widget)); current 284 lib/widget/menu.c GROUP (g)->current = widget_find (g, WIDGET (menubar)); current 293 lib/widget/menu.c if (menubar->current == 0) current 294 lib/widget/menu.c menubar->current = g_list_length (menubar->menu) - 1; current 296 lib/widget/menu.c menubar->current--; current 306 lib/widget/menu.c menubar->current = (menubar->current + 1) % g_list_length (menubar->menu); current 345 lib/widget/menu.c menubar->current = selected; current 354 lib/widget/menu.c const menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 355 lib/widget/menu.c const menu_entry_t *entry = MENUENTRY (g_list_nth_data (menu->entries, menu->current)); current 361 lib/widget/menu.c mc_global.widget.is_right = (menubar->current != 0); current 373 lib/widget/menu.c menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 377 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_ENTRY_COLOR); current 381 lib/widget/menu.c menu->current = (menu->current + 1) % len; current 382 lib/widget/menu.c entry = MENUENTRY (g_list_nth_data (menu->entries, menu->current)); current 386 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_SELECTED_COLOR); current 394 lib/widget/menu.c menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 398 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_ENTRY_COLOR); current 402 lib/widget/menu.c if (menu->current == 0) current 403 lib/widget/menu.c menu->current = len - 1; current 405 lib/widget/menu.c menu->current--; current 406 lib/widget/menu.c entry = MENUENTRY (g_list_nth_data (menu->entries, menu->current)); current 410 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_SELECTED_COLOR); current 420 lib/widget/menu.c menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 422 lib/widget/menu.c if (menu->current == 0) current 425 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_ENTRY_COLOR); current 427 lib/widget/menu.c menu->current = 0; current 433 lib/widget/menu.c entry = MENUENTRY (g_list_nth_data (menu->entries, menu->current)); current 436 lib/widget/menu.c menu->current++; current 441 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_SELECTED_COLOR); current 445 lib/widget/menu.c menubar->current = 0; current 457 lib/widget/menu.c menu_t *menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 461 lib/widget/menu.c if (menu->current == len - 1) current 464 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_ENTRY_COLOR); current 466 lib/widget/menu.c menu->current = len; current 470 lib/widget/menu.c menu->current--; current 471 lib/widget/menu.c entry = MENUENTRY (g_list_nth_data (menu->entries, menu->current)); current 475 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_SELECTED_COLOR); current 479 lib/widget/menu.c menubar->current = g_list_length (menubar->menu) - 1; current 513 lib/widget/menu.c menu = g_list_nth_data (menubar->menu, menubar->current); current 522 lib/widget/menu.c menu->current = g_list_position (menu->entries, i); current 541 lib/widget/menu.c event_data.node = MENU (g_list_nth_data (menubar->menu, menubar->current))->help_node; current 576 lib/widget/menu.c menubar_drop (menubar, menubar->current); current 589 lib/widget/menu.c menubar_drop (menubar, menubar->current); current 739 lib/widget/menu.c menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 762 lib/widget/menu.c menu = MENU (g_list_nth_data (menubar->menu, menubar->current)); current 767 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_ENTRY_COLOR); current 768 lib/widget/menu.c menu->current = y; current 769 lib/widget/menu.c menubar_paint_idx (menubar, menu->current, MENU_SELECTED_COLOR); current 931 lib/widget/menu.c menu->current = 0; current 987 lib/widget/menu.c menubar->current = 0; current 1089 lib/widget/menu.c menubar->current = (guint) which; current 35 lib/widget/menu.h guint current; /* Current menu on the top bar */ current 119 lib/widget/widget-common.c if (WIDGET (g->current->data) != w) current 121 lib/widget/widget-common.c widget_do_focus (WIDGET (g->current->data), FALSE); current 123 lib/widget/widget-common.c if (g->current == NULL || !widget_get_state (WIDGET (g->current->data), WST_FOCUSED)) current 126 lib/widget/widget-common.c g->current = widget_find (WIDGET (g), w); current 520 lib/widget/widget-common.c if (w != owner->current->data) current 562 lib/widget/widget-common.c if (g->current == NULL) current 563 lib/widget/widget-common.c g->current = g->widgets; current 566 lib/widget/widget-common.c if (old_w == g->current->data) current 567 lib/widget/widget-common.c holder = g->current; current 826 lib/widget/widget-common.c if (w == GROUP (owner)->current->data) current 141 src/editor/edit-impl.h off_t edit_move_forward3 (const WEdit * edit, off_t current, long cols, off_t upto); current 1533 src/editor/edit.c off_t current = edit->buffer.curs1; current 1536 src/editor/edit.c edit_cursor_move (edit, current - edit->buffer.curs1 + 1); current 1995 src/editor/edit.c off_t current; current 1999 src/editor/edit.c current = edit->buffer.curs1; current 2013 src/editor/edit.c ins_len = edit->buffer.curs1 - current; current 2087 src/editor/edit.c edit_set_markers (edit, edit->buffer.curs1, current, 0, 0); current 2096 src/editor/edit.c ins_len = edit->buffer.curs1 - current; current 2819 src/editor/edit.c edit_move_forward3 (const WEdit *edit, off_t current, long cols, off_t upto) current 2832 src/editor/edit.c for (col = 0, p = current; p < q; p++) current 351 src/editor/editbuffer.c edit_buffer_get_bol (const edit_buffer_t *buf, off_t current) current 353 src/editor/editbuffer.c if (current <= 0) current 356 src/editor/editbuffer.c for (; edit_buffer_get_byte (buf, current - 1) != '\n'; current--) current 359 src/editor/editbuffer.c return current; current 373 src/editor/editbuffer.c edit_buffer_get_eol (const edit_buffer_t *buf, off_t current) current 375 src/editor/editbuffer.c if (current >= buf->size) current 378 src/editor/editbuffer.c for (; edit_buffer_get_byte (buf, current) != '\n'; current++) current 381 src/editor/editbuffer.c return current; current 640 src/editor/editbuffer.c edit_buffer_get_forward_offset (const edit_buffer_t *buf, off_t current, long lines, off_t upto) current 643 src/editor/editbuffer.c return (off_t) edit_buffer_count_lines (buf, current, upto); current 651 src/editor/editbuffer.c next = edit_buffer_get_eol (buf, current) + 1; current 654 src/editor/editbuffer.c current = next; current 657 src/editor/editbuffer.c return current; current 672 src/editor/editbuffer.c edit_buffer_get_backward_offset (const edit_buffer_t *buf, off_t current, long lines) current 675 src/editor/editbuffer.c current = edit_buffer_get_bol (buf, current); current 677 src/editor/editbuffer.c while (lines-- != 0 && current != 0) current 678 src/editor/editbuffer.c current = edit_buffer_get_bol (buf, current - 1); current 680 src/editor/editbuffer.c return current; current 47 src/editor/editbuffer.h off_t edit_buffer_get_bol (const edit_buffer_t * buf, off_t current); current 48 src/editor/editbuffer.h off_t edit_buffer_get_eol (const edit_buffer_t * buf, off_t current); current 59 src/editor/editbuffer.h off_t edit_buffer_get_forward_offset (const edit_buffer_t * buf, off_t current, long lines, current 61 src/editor/editbuffer.h off_t edit_buffer_get_backward_offset (const edit_buffer_t * buf, off_t current, long lines); current 1268 src/editor/editcmd.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) current 1269 src/editor/editcmd.c edit = EDIT (g->current->data); current 1289 src/editor/editcmd.c off_t start_mark, end_mark, current = edit->buffer.curs1; current 1329 src/editor/editcmd.c else if (start_mark < current && end_mark > current) current 1341 src/editor/editcmd.c off_t current; current 1395 src/editor/editcmd.c current = edit_move_forward3 (edit, b1, x, 0); current 1396 src/editor/editcmd.c edit_cursor_move (edit, current - edit->buffer.curs1); current 1411 src/editor/editcmd.c current = edit->buffer.curs1; current 1420 src/editor/editcmd.c x = current > edit->buffer.curs1 ? end_mark - start_mark : 0; current 1421 src/editor/editcmd.c edit_cursor_move (edit, current - edit->buffer.curs1 - x); current 345 src/editor/editwidget.c selected = listbox_run_with_data (listbox, g->current->data); current 424 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data)) && current 425 src/editor/editwidget.c edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) current 438 src/editor/editwidget.c Widget *w = WIDGET (g->current->data); current 472 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) current 473 src/editor/editwidget.c edit_handle_move_resize (EDIT (g->current->data), command); current 789 src/editor/editwidget.c result = send_message (g->current->data, NULL, MSG_ACTION, parm, NULL); current 796 src/editor/editwidget.c Widget *we = WIDGET (g->current->data); current 847 src/editor/editwidget.c return send_message (g->current->data, NULL, MSG_IDLE, 0, NULL); current 896 src/editor/editwidget.c if (top != g->current) current 1294 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) current 1295 src/editor/editwidget.c return EDIT (g->current->data); current 321 src/filemanager/achown.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, TRUE); current 586 src/filemanager/achown.c b_current = chl_list->current; current 593 src/filemanager/achown.c if (b_current != chl_list->current) current 547 src/filemanager/chattr.c l = g_list_next (GROUP (cb)->current); current 643 src/filemanager/chattr.c l = g_list_previous (GROUP (cb)->current); current 905 src/filemanager/chattr.c cbg->current = cbg->widgets; current 445 src/filemanager/filegui.c g->current != NULL ? g->current->data : NULL) current 452 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, g->current->data) current 537 src/filemanager/find.c if (GROUP (h)->current->data == in_name) current 539 src/filemanager/find.c else if (GROUP (h)->current->data == in_with) current 272 src/filemanager/hotlist.c struct hotlist *current; current 274 src/filemanager/hotlist.c for (current = current_group->head; current != NULL; current = current->next) current 275 src/filemanager/hotlist.c switch (current->type) current 281 src/filemanager/hotlist.c lbl = g_strconcat ("->", current->label, (char *) NULL); current 282 src/filemanager/hotlist.c listbox_add_item_take (list, LISTBOX_APPEND_AT_END, 0, lbl, current, FALSE); current 287 src/filemanager/hotlist.c listbox_add_item (list, LISTBOX_APPEND_AT_END, 0, current->label, current, FALSE); current 299 src/filemanager/hotlist.c struct hotlist *current = current_group->head; current 301 src/filemanager/hotlist.c if (current == entry) current 305 src/filemanager/hotlist.c while (current != NULL && current->next != entry) current 306 src/filemanager/hotlist.c current = current->next; current 307 src/filemanager/hotlist.c if (current != NULL) current 308 src/filemanager/hotlist.c current->next = entry->next; current 912 src/filemanager/hotlist.c struct hotlist *current = NULL; current 921 src/filemanager/hotlist.c listbox_get_current (l_hotlist, NULL, (void **) ¤t); current 924 src/filemanager/hotlist.c if ((current != NULL) && (current->type == HL_TYPE_DOTDOT)) current 948 src/filemanager/hotlist.c new->next = current->next; current 949 src/filemanager/hotlist.c current->next = new; current 951 src/filemanager/hotlist.c else if (pos == LISTBOX_APPEND_BEFORE && current == current_group->head) current 954 src/filemanager/hotlist.c new->next = current; current 961 src/filemanager/hotlist.c while (p->next != current) current 964 src/filemanager/hotlist.c new->next = current; current 988 src/filemanager/hotlist.c listbox_set_current (l_hotlist, l_hotlist->current); current 1117 src/filemanager/hotlist.c struct hotlist *current = grp->head; current 1119 src/filemanager/hotlist.c while (current != NULL) current 1121 src/filemanager/hotlist.c struct hotlist *next = current->next; current 1123 src/filemanager/hotlist.c if (current->type == HL_TYPE_GROUP) current 1124 src/filemanager/hotlist.c remove_group (current); current 1126 src/filemanager/hotlist.c g_free (current->label); current 1127 src/filemanager/hotlist.c g_free (current->directory); current 1128 src/filemanager/hotlist.c g_free (current); current 1130 src/filemanager/hotlist.c current = next; current 1198 src/filemanager/hotlist.c struct hotlist *current = 0; current 1221 src/filemanager/hotlist.c for (current = grp->head; current; current = current->next) current 1222 src/filemanager/hotlist.c load_group (current); current 1523 src/filemanager/hotlist.c struct hotlist *current; current 1533 src/filemanager/hotlist.c for (current = grp->head; current != NULL; current = current->next) current 1534 src/filemanager/hotlist.c switch (current->type) current 1539 src/filemanager/hotlist.c for (s = current->label; *s != '\0'; s++) current 1547 src/filemanager/hotlist.c hot_save_group (current); current 1555 src/filemanager/hotlist.c for (s = current->label; *s != '\0'; s++) current 1562 src/filemanager/hotlist.c for (s = current->directory; *s != '\0'; s++) current 1571 src/filemanager/hotlist.c fprintf (hotlist_file, "#%s\n", current->label); current 1307 src/filemanager/layout.c panelswap (current); current 1030 src/filemanager/panel.c (void) format_file (panel, panel->current, width, FATTR_STATUS, TRUE, &fln); current 1118 src/filemanager/panel.c if (panel->current == n && panel->active) current 1416 src/filemanager/panel.c if (panel->dir.len <= items || panel->current < 0) current 1427 src/filemanager/panel.c panel->current = CLAMP (panel->current, 0, panel->dir.len - 1); current 1438 src/filemanager/panel.c i = panel->current - items + 1; current 1446 src/filemanager/panel.c if (panel->top > panel->current) current 1447 src/filemanager/panel.c panel->top = panel->current; current 1477 src/filemanager/panel.c panel->dir_history.current = panel->dir_history.list; current 2108 src/filemanager/panel.c repaint_file (panel, panel->current, current 2164 src/filemanager/panel.c if (i != panel->current) current 2167 src/filemanager/panel.c panel->current = i; current 2168 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; current 2186 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); current 2188 src/filemanager/panel.c return (panel->current - top - lines / 2); current 2198 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current + 1 == panel->dir.len) current 2202 src/filemanager/panel.c panel->current++; current 2206 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) current 2229 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) current 2233 src/filemanager/panel.c panel->current--; current 2235 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) current 2262 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) current 2265 src/filemanager/panel.c new_pos = panel->current + lines; current 2273 src/filemanager/panel.c panel->current = new_pos; current 2275 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) current 2281 src/filemanager/panel.c if (panel->current - panel->top < 0) current 2289 src/filemanager/panel.c if (panel->top > panel->current) current 2290 src/filemanager/panel.c panel->top = panel->current; current 2333 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) current 2341 src/filemanager/panel.c panel->current = 0; current 2343 src/filemanager/panel.c panel->current -= items; current 2408 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) current 2418 src/filemanager/panel.c panel->current = panel->dir.len - 1; current 2420 src/filemanager/panel.c panel->current += items; current 2451 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) current 2455 src/filemanager/panel.c panel->current = panel->top; current 2464 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) current 2468 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; current 2477 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) current 2481 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; current 2490 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) current 2501 src/filemanager/panel.c if (panel->current > middle_pos) current 2506 src/filemanager/panel.c if (panel->current != panel->top) current 2514 src/filemanager/panel.c panel->current = 0; current 2525 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) current 2537 src/filemanager/panel.c if (panel->current < middle_pos) current 2542 src/filemanager/panel.c if (panel->current != panel->top + items - 1) current 2549 src/filemanager/panel.c panel->current = panel->dir.len - 1; current 2565 src/filemanager/panel.c do_file_mark (panel, panel->current, fe->f.marked ? 0 : 1); current 2616 src/filemanager/panel.c lines = MIN (lines, panel->dir.len - panel->current - 1); current 2619 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); current 2622 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); current 2644 src/filemanager/panel.c lines = MIN (lines, panel->current + 1); current 2647 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); current 2650 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); current 2886 src/filemanager/panel.c curr = panel->current; current 2888 src/filemanager/panel.c for (i = panel->current; !wrapped || i != panel->current; i++) current 2908 src/filemanager/panel.c panel->current = curr; current 2933 src/filemanager/panel.c if (panel->current == panel->dir.len - 1) current 2934 src/filemanager/panel.c panel->current = 0; current 3528 src/filemanager/panel.c next = g_list_next (panel->dir_history.current); current 3536 src/filemanager/panel.c panel->dir_history.current = next; current 3555 src/filemanager/panel.c prev = g_list_previous (panel->dir_history.current); current 3563 src/filemanager/panel.c panel->dir_history.current = prev; current 3579 src/filemanager/panel.c pos = g_list_position (panel->dir_history.current, panel->dir_history.list); current 3607 src/filemanager/panel.c panel->dir_history.current = panel->dir_history.list; current 3613 src/filemanager/panel.c prev = g_list_previous (panel->dir_history.current); current 3617 src/filemanager/panel.c panel->dir_history.current = prev; current 3985 src/filemanager/panel.c pcurr = panel->current; current 3986 src/filemanager/panel.c curr1 = MIN (previous_current, panel->current); current 3987 src/filemanager/panel.c curr2 = MAX (previous_current, panel->current); current 3991 src/filemanager/panel.c panel->current = curr1; current 3995 src/filemanager/panel.c panel->current = pcurr; current 4137 src/filemanager/panel.c previous_current = panel->current; current 4155 src/filemanager/panel.c if (my_index != panel->current) current 4158 src/filemanager/panel.c panel->current = my_index; current 4445 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current >= panel->dir.len) current 4448 src/filemanager/panel.c fe = &(panel->dir.list[panel->current]); current 4492 src/filemanager/panel.c if (panel->current >= panel->dir.len) current 4505 src/filemanager/panel.c panel->current = 0; current 4753 src/filemanager/panel.c else if (panel->current >= panel->dir.len) current 5024 src/filemanager/panel.c panel->current = -1; current 5029 src/filemanager/panel.c panel->current = i - 1; current 5034 src/filemanager/panel.c panel->top = panel->current - panel_items (panel) / 2; current 118 src/filemanager/panel.h int current; /* Index to the currently selected file */ current 130 src/filemanager/panel.h GList *current; /* Pointer to the current history item */ current 124 src/filemanager/panelize.c if (l_panelize->current != last_listitem) current 128 src/filemanager/panelize.c last_listitem = l_panelize->current; current 555 src/filemanager/panelize.c panelize_entry_t *current = (panelize_entry_t *) l->data; current 557 src/filemanager/panelize.c if (strcmp (current->label, _("Other command")) != 0) current 559 src/filemanager/panelize.c panelize_section, current->label, current->command); current 268 src/filemanager/tree.c tree_entry *current; current 296 src/filemanager/tree.c current = tree->selected_ptr; current 300 src/filemanager/tree.c current = back_ptr (current, &tree->topdiff); current 305 src/filemanager/tree.c while (current->prev != NULL && i < tree->topdiff) current 307 src/filemanager/tree.c current = current->prev; current 309 src/filemanager/tree.c if (current->sublevel < tree->selected_ptr->sublevel) current 311 src/filemanager/tree.c if (vfs_path_equal (current->name, tree->selected_ptr->name)) current 314 src/filemanager/tree.c else if (current->sublevel == tree->selected_ptr->sublevel) current 318 src/filemanager/tree.c cname = vfs_path_as_str (current->name); current 321 src/filemanager/tree.c if (vfs_path_equal_len (current->name, tree->selected_ptr->name, j)) current 324 src/filemanager/tree.c else if (current->sublevel == tree->selected_ptr->sublevel + 1) current 327 src/filemanager/tree.c if (j > 1 && vfs_path_equal_len (current->name, tree->selected_ptr->name, j)) current 345 src/filemanager/tree.c if (current == NULL) current 352 src/filemanager/tree.c selected = widget_get_state (w, WST_FOCUSED) && current == tree->selected_ptr; current 357 src/filemanager/tree.c int idx = current == tree->selected_ptr ? DLG_COLOR_FOCUS : DLG_COLOR_NORMAL; current 362 src/filemanager/tree.c tree->tree_shown[i] = current; current 363 src/filemanager/tree.c if (current->sublevel == topsublevel) current 366 src/filemanager/tree.c (vfs_path_as_str (current->name), current 374 src/filemanager/tree.c for (j = 0; j < current->sublevel - topsublevel - 1; j++) current 379 src/filemanager/tree.c if ((current->submask & (1 << (j + topsublevel + 1))) != 0) current 387 src/filemanager/tree.c if (current->next == NULL || (current->next->submask & (1 << current->sublevel)) == 0) current 397 src/filemanager/tree.c (current->subname, tree_cols - x - 3 * j, J_LEFT_FIT)); current 401 src/filemanager/tree.c current = current->next; current 403 src/filemanager/tree.c for (; current != NULL; current = current->next) current 405 src/filemanager/tree.c if (current->sublevel < tree->selected_ptr->sublevel) current 407 src/filemanager/tree.c if (vfs_path_equal_len (current->name, tree->selected_ptr->name, current 408 src/filemanager/tree.c vfs_path_len (current->name))) current 411 src/filemanager/tree.c else if (current->sublevel == tree->selected_ptr->sublevel) current 415 src/filemanager/tree.c cname = vfs_path_as_str (current->name); current 418 src/filemanager/tree.c if (vfs_path_equal_len (current->name, tree->selected_ptr->name, j)) current 421 src/filemanager/tree.c else if (current->sublevel == tree->selected_ptr->sublevel + 1 current 424 src/filemanager/tree.c if (vfs_path_equal_len (current->name, tree->selected_ptr->name, current 454 src/filemanager/tree.c tree_entry *current; current 457 src/filemanager/tree.c current = tree->selected_ptr; current 458 src/filemanager/tree.c while (j < i && current->prev != NULL current 459 src/filemanager/tree.c && current->prev->sublevel >= tree->selected_ptr->sublevel) current 461 src/filemanager/tree.c current = current->prev; current 462 src/filemanager/tree.c if (current->sublevel == tree->selected_ptr->sublevel) current 464 src/filemanager/tree.c tree->selected_ptr = current; current 484 src/filemanager/tree.c tree_entry *current; current 487 src/filemanager/tree.c current = tree->selected_ptr; current 488 src/filemanager/tree.c while (j < i && current->next != NULL current 489 src/filemanager/tree.c && current->next->sublevel >= tree->selected_ptr->sublevel) current 491 src/filemanager/tree.c current = current->next; current 492 src/filemanager/tree.c if (current->sublevel == tree->selected_ptr->sublevel) current 494 src/filemanager/tree.c tree->selected_ptr = current; current 510 src/filemanager/tree.c tree_entry *current; current 517 src/filemanager/tree.c current = tree->selected_ptr->next; current 519 src/filemanager/tree.c if (current != NULL && current->sublevel > tree->selected_ptr->sublevel) current 522 src/filemanager/tree.c tree->selected_ptr = current; current 530 src/filemanager/tree.c current = tree->selected_ptr->next; current 531 src/filemanager/tree.c if (current != NULL && current->sublevel > tree->selected_ptr->sublevel) current 533 src/filemanager/tree.c tree->selected_ptr = current; current 545 src/filemanager/tree.c tree_entry *current; current 553 src/filemanager/tree.c for (current = tree->selected_ptr->prev; current 554 src/filemanager/tree.c current != NULL && current->sublevel >= tree->selected_ptr->sublevel; current 555 src/filemanager/tree.c current = current->prev) current 558 src/filemanager/tree.c if (current == NULL) current 559 src/filemanager/tree.c current = tree->store->tree_first; current 560 src/filemanager/tree.c tree->selected_ptr = current; current 627 src/filemanager/tree.c tree_entry *current = tree->selected_ptr; current 631 src/filemanager/tree.c while (!found && (!wrapped || current != tree->selected_ptr)) current 632 src/filemanager/tree.c if (strncmp (current->subname, text->str, text->len) == 0) current 634 src/filemanager/tree.c tree->selected_ptr = current; current 639 src/filemanager/tree.c current = current->next; current 640 src/filemanager/tree.c if (current == NULL) current 642 src/filemanager/tree.c current = tree->store->tree_first; current 1306 src/filemanager/tree.c tree_entry *current; current 1308 src/filemanager/tree.c current = tree_store_whereis (dir); current 1309 src/filemanager/tree.c if (current != NULL) current 1311 src/filemanager/tree.c tree->selected_ptr = current; current 334 src/filemanager/treestore.c tree_entry *current; current 343 src/filemanager/treestore.c for (current = ts.tree_first; current != NULL; current = current->next) current 344 src/filemanager/treestore.c if (vfs_file_is_local (current->name)) current 349 src/filemanager/treestore.c if (current->prev != NULL current 350 src/filemanager/treestore.c && (common = str_common (current->prev->name, current->name)) > 2) current 354 src/filemanager/treestore.c encoded = encode (current->name, common); current 355 src/filemanager/treestore.c i = fprintf (file, "%d:%d %s\n", current->scanned ? 1 : 0, common, encoded); current 362 src/filemanager/treestore.c encoded = encode (current->name, 0); current 363 src/filemanager/treestore.c i = fprintf (file, "%d:%s\n", current->scanned ? 1 : 0, encoded); current 387 src/filemanager/treestore.c tree_entry *current; current 396 src/filemanager/treestore.c for (current = ts.tree_first; current 397 src/filemanager/treestore.c current != NULL && (flag = pathcmp (current->name, name)) < 0; current = current->next) current 398 src/filemanager/treestore.c old = current; current 401 src/filemanager/treestore.c return current; /* Already in the list */ current 405 src/filemanager/treestore.c if (current == NULL) current 466 src/filemanager/treestore.c for (current = new->prev; current 467 src/filemanager/treestore.c current != NULL && current->sublevel > new->sublevel; current = current->prev) current 468 src/filemanager/treestore.c current->submask |= 1 << new->sublevel; current 494 src/filemanager/treestore.c tree_entry *current = entry->prev; current 504 src/filemanager/treestore.c for (; current != NULL && current->sublevel > entry->sublevel; current = current->prev) current 506 src/filemanager/treestore.c submask |= 1 << current->sublevel; current 507 src/filemanager/treestore.c submask &= (2 << current->sublevel) - 1; current 508 src/filemanager/treestore.c current->submask = submask; current 604 src/filemanager/treestore.c tree_entry *current; current 607 src/filemanager/treestore.c for (current = ts.tree_first; current 608 src/filemanager/treestore.c current != NULL && (flag = pathcmp (current->name, name)) < 0; current = current->next) current 611 src/filemanager/treestore.c return flag == 0 ? current : NULL; current 689 src/filemanager/treestore.c tree_entry *current, *base; current 711 src/filemanager/treestore.c current = base->next; current 712 src/filemanager/treestore.c while (current != NULL && vfs_path_equal_len (current->name, base->name, len)) current 718 src/filemanager/treestore.c cname = vfs_path_as_str (current->name); current 723 src/filemanager/treestore.c old = current; current 724 src/filemanager/treestore.c current = current->next; current 738 src/filemanager/treestore.c tree_entry *current, *base; current 759 src/filemanager/treestore.c for (current = ts.check_start; current 760 src/filemanager/treestore.c current != NULL && (flag = pathcmp (current->name, name)) < 0; current = current->next) current 766 src/filemanager/treestore.c current = tree_store_add_entry (name); current 773 src/filemanager/treestore.c base = current; current 780 src/filemanager/treestore.c for (current = base->next; current 781 src/filemanager/treestore.c current != NULL && vfs_path_equal_len (current->name, base->name, len); current 782 src/filemanager/treestore.c current = current->next) current 786 src/filemanager/treestore.c cname = vfs_path_as_str (current->name); current 791 src/filemanager/treestore.c current->mark = FALSE; current 802 src/filemanager/treestore.c tree_entry *current, *retval; current 812 src/filemanager/treestore.c current = tree_store_whereis (vpath); current 813 src/filemanager/treestore.c if (current == NULL) current 820 src/filemanager/treestore.c current = tree_store_add_entry (vpath); current 823 src/filemanager/treestore.c return current; current 828 src/filemanager/treestore.c retval = current; current 831 src/filemanager/treestore.c ts.check_start = current->next; current 834 src/filemanager/treestore.c for (current = ts.check_start; current 835 src/filemanager/treestore.c current != NULL && vfs_path_equal_len (current->name, ts.check_name, len); current 836 src/filemanager/treestore.c current = current->next) current 841 src/filemanager/treestore.c cname = vfs_path_as_str (current->name); current 846 src/filemanager/treestore.c current->mark = TRUE; current 858 src/filemanager/treestore.c tree_entry *current; current 870 src/filemanager/treestore.c current = ts.check_start; current 871 src/filemanager/treestore.c while (current != NULL && vfs_path_equal_len (current->name, ts.check_name, len)) current 877 src/filemanager/treestore.c cname = vfs_path_as_str (current->name); current 882 src/filemanager/treestore.c old = current; current 883 src/filemanager/treestore.c current = current->next; current 143 src/learn.c if (learnkeys[i].button == WIDGET (GROUP (learn_dlg)->current->data)) current 102 src/vfs/undelfs/undelfs.c off_t current; /* used to determine current position in itereate */ current 525 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count < p->current) current 530 src/vfs/undelfs/undelfs.c if (p->pos > p->current + param_fs->blocksize) current 532 src/vfs/undelfs/undelfs.c p->current += param_fs->blocksize; current 537 src/vfs/undelfs/undelfs.c if (p->pos >= p->current) current 541 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count <= p->current + param_fs->blocksize) current 550 src/vfs/undelfs/undelfs.c copy_count = param_fs->blocksize - (p->pos - p->current); current 552 src/vfs/undelfs/undelfs.c memcpy (p->dest_buffer, p->buf + (p->pos - p->current), copy_count); current 557 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count < p->current + param_fs->blocksize) current 559 src/vfs/undelfs/undelfs.c copy_count = (p->pos + p->count) - p->current; current 569 src/vfs/undelfs/undelfs.c p->current += param_fs->blocksize; current 586 src/vfs/undelfs/undelfs.c p->current = 0; current 243 src/viewer/actions_cmd.c view->dir_idx = ¤t_panel->current; current 248 src/viewer/coord_cache.c coord_cache_entry_t current, next, entry; current 267 src/viewer/coord_cache.c memset (¤t, 0, sizeof (current)); current 268 src/viewer/coord_cache.c mcview_ccache_add_entry (cache, ¤t); current 287 src/viewer/coord_cache.c current = *coord_cache_index (cache, i); current 291 src/viewer/coord_cache.c limit = current.cc_offset + VIEW_COORD_CACHE_GRANUL; current 293 src/viewer/coord_cache.c entry = current; current 295 src/viewer/coord_cache.c for (; current.cc_offset < limit; current = next) current 299 src/viewer/coord_cache.c if (!mcview_get_byte (view, current.cc_offset, &c)) current 302 src/viewer/coord_cache.c if (!cmp_func (¤t, coord) && current 307 src/viewer/coord_cache.c next.cc_offset = current.cc_offset + 1; current 308 src/viewer/coord_cache.c next.cc_line = current.cc_line; current 309 src/viewer/coord_cache.c next.cc_column = current.cc_column + 1; current 310 src/viewer/coord_cache.c next.cc_nroff_column = current.cc_nroff_column + 1; current 317 src/viewer/coord_cache.c mcview_get_byte_indexed (view, current.cc_offset, 1, &nextc); current 325 src/viewer/coord_cache.c next.cc_column = current.cc_column; current 326 src/viewer/coord_cache.c next.cc_nroff_column = current.cc_nroff_column; current 330 src/viewer/coord_cache.c next.cc_line = current.cc_line + 1; current 336 src/viewer/coord_cache.c next.cc_nroff_column = current.cc_nroff_column - 1; current 339 src/viewer/coord_cache.c next.cc_column = mcview_offset_rounddown (current.cc_column, 8) + 8; current 340 src/viewer/coord_cache.c next.cc_nroff_column = mcview_offset_rounddown (current.cc_nroff_column, 8) + 8; current 344 src/viewer/coord_cache.c next.cc_line = current.cc_line + 1; current 357 src/viewer/coord_cache.c nroff_state = mcview_is_nroff_sequence (view, current.cc_offset) current 386 src/viewer/coord_cache.c coord->cc_offset = current.cc_offset; current 389 src/viewer/coord_cache.c coord->cc_line = current.cc_line; current 390 src/viewer/coord_cache.c coord->cc_column = current.cc_column; current 391 src/viewer/coord_cache.c coord->cc_nroff_column = current.cc_nroff_column; current 297 src/viewer/internal.h off_t mcview_bol (WView * view, off_t current, off_t limit); current 298 src/viewer/internal.h off_t mcview_eol (WView * view, off_t current); current 314 src/viewer/lib.c mcview_bol (WView *view, off_t current, off_t limit) current 319 src/viewer/lib.c if (current <= 0) current 321 src/viewer/lib.c if (current > filesize) current 323 src/viewer/lib.c if (!mcview_get_byte (view, current, &c)) current 324 src/viewer/lib.c return current; current 327 src/viewer/lib.c if (!mcview_get_byte (view, current - 1, &c)) current 328 src/viewer/lib.c return current; current 330 src/viewer/lib.c current--; current 332 src/viewer/lib.c while (current > 0 && current > limit) current 334 src/viewer/lib.c if (!mcview_get_byte (view, current - 1, &c)) current 338 src/viewer/lib.c current--; current 340 src/viewer/lib.c return current; current 349 src/viewer/lib.c mcview_eol (WView *view, off_t current) current 353 src/viewer/lib.c if (current < 0) current 358 src/viewer/lib.c if (!mcview_get_byte (view, current, &c)) current 362 src/viewer/lib.c current++; current 369 src/viewer/lib.c current++; current 372 src/viewer/lib.c return current; current 79 tests/src/filemanager/exec_get_export_variables_ext.c current_panel->current = 0;