top 638 lib/util.c extract_line (const char *s, const char *top, size_t *len) top 643 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) top 216 lib/util.h const char *extract_line (const char *s, const char *top, size_t *len); top 103 lib/widget/listbox.c if (l->top == 0) top 112 lib/widget/listbox.c if (l->top + w->lines == length || w->lines >= length) top 156 lib/widget/listbox.c le = g_queue_peek_nth_link (l->list, (guint) l->top); top 160 lib/widget/listbox.c pos = (le == NULL) ? 0 : l->top; top 226 lib/widget/listbox.c return MIN (l->top + y, LISTBOX_LAST (l)); top 313 lib/widget/listbox.c is_more = (l->top + w->lines >= length); top 316 lib/widget/listbox.c if ((l->top > 0) && (is_last || is_more)) top 317 lib/widget/listbox.c l->top--; top 569 lib/widget/listbox.c l->top = l->current = 0; top 634 lib/widget/listbox.c l->current = l->top = 0; top 649 lib/widget/listbox.c l->top = DOZ (length, lines); top 667 lib/widget/listbox.c if (pos == l->top) top 674 lib/widget/listbox.c l->top = l->current; top 679 lib/widget/listbox.c if (l->current - l->top >= lines) top 680 lib/widget/listbox.c l->top = l->current - lines + 1; top 687 lib/widget/listbox.c l->current = l->top = 0; top 761 lib/widget/listbox.c l->top = l->current = 0; top 805 lib/widget/listbox.c l->current = l->top = 0; top 48 lib/widget/listbox.h int top; // The first element displayed top 871 src/editor/editwidget.c GList *top = NULL; top 878 src/editor/editwidget.c top = l; top 883 src/editor/editwidget.c if (top != NULL && event->x >= x) top 885 src/editor/editwidget.c WEdit *e = EDIT (top->data); top 887 src/editor/editwidget.c if (top != g->current) top 87 src/filemanager/chattr.c int top; // The first flag displayed top 394 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); top 414 src/filemanager/chattr.c if (cb->top == 0) top 423 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) top 464 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 484 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 510 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 523 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) top 535 src/filemanager/chattr.c cb->top++; top 572 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 573 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 574 src/filemanager/chattr.c if (cb->top + i < 0) top 575 src/filemanager/chattr.c i = -cb->top; top 579 src/filemanager/chattr.c cb->top += i; top 585 src/filemanager/chattr.c cb->top += i; top 586 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 606 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; top 619 src/filemanager/chattr.c if (cb->pos == cb->top) top 624 src/filemanager/chattr.c if (cb->top == 0) top 631 src/filemanager/chattr.c cb->top--; top 655 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 668 src/filemanager/chattr.c if (cb->top < i) top 669 src/filemanager/chattr.c i = cb->top; top 673 src/filemanager/chattr.c cb->top -= i; top 679 src/filemanager/chattr.c cb->top -= i; top 680 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 700 src/filemanager/chattr.c cb->top = 0; top 785 src/filemanager/chattr.c i += cb->top; top 803 src/filemanager/chattr.c cb->pos = cb->top + i; top 1301 src/filemanager/layout.c panelswap (top); top 814 src/filemanager/panel.c nth_column = (file_index - panel->top) / panel_lines (panel); top 827 src/filemanager/panel.c ypos = file_index - panel->top; top 982 src/filemanager/panel.c n = i + panel->top; top 1286 src/filemanager/panel.c panel->top = 0; top 1301 src/filemanager/panel.c if (panel->top < 0) top 1302 src/filemanager/panel.c panel->top = 0; top 1305 src/filemanager/panel.c if (panel->top < i) top 1306 src/filemanager/panel.c panel->top = i; top 1309 src/filemanager/panel.c if (panel->top > i) top 1310 src/filemanager/panel.c panel->top = i; top 1312 src/filemanager/panel.c if (panel->top > panel->current) top 1313 src/filemanager/panel.c panel->top = panel->current; top 2040 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; top 2041 src/filemanager/panel.c if (panel->top < 0) top 2042 src/filemanager/panel.c panel->top = 0; top 2051 src/filemanager/panel.c int lines, top; top 2056 src/filemanager/panel.c top = panel->top; top 2058 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); top 2060 src/filemanager/panel.c return (panel->current - top - lines / 2); top 2084 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) top 2087 src/filemanager/panel.c panel->top += items / 2; top 2088 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2089 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2095 src/filemanager/panel.c panel->top++; top 2096 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2097 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2113 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) top 2116 src/filemanager/panel.c panel->top -= panel_items (panel) / 2; top 2117 src/filemanager/panel.c if (panel->top < 0) top 2118 src/filemanager/panel.c panel->top = 0; top 2124 src/filemanager/panel.c panel->top--; top 2125 src/filemanager/panel.c if (panel->top < 0) top 2126 src/filemanager/panel.c panel->top = 0; top 2153 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) top 2155 src/filemanager/panel.c panel->top += lines; top 2159 src/filemanager/panel.c if (panel->current - panel->top < 0) top 2161 src/filemanager/panel.c panel->top += lines; top 2167 src/filemanager/panel.c if (panel->top > panel->current) top 2168 src/filemanager/panel.c panel->top = panel->current; top 2169 src/filemanager/panel.c if (panel->top < 0) top 2170 src/filemanager/panel.c panel->top = 0; top 2211 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) top 2216 src/filemanager/panel.c if (panel->top < items) top 2217 src/filemanager/panel.c items = panel->top; top 2222 src/filemanager/panel.c panel->top -= items; top 2290 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) top 2291 src/filemanager/panel.c items = panel->dir.len - items - panel->top; top 2292 src/filemanager/panel.c if (panel->top + items < 0) top 2293 src/filemanager/panel.c items = -panel->top; top 2298 src/filemanager/panel.c panel->top += items; top 2332 src/filemanager/panel.c panel->current = panel->top; top 2345 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; top 2358 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; top 2376 src/filemanager/panel.c middle_pos = panel->top + panel_items (panel) / 2; top 2383 src/filemanager/panel.c if (panel->current != panel->top) top 2390 src/filemanager/panel.c panel->top = 0; top 2412 src/filemanager/panel.c middle_pos = panel->top + items / 2; top 2419 src/filemanager/panel.c if (panel->current != panel->top + items - 1) top 3992 src/filemanager/panel.c y += panel->top + lines * col; top 4103 src/filemanager/panel.c if (panels_options.mouse_move_pages && panel->top > 0) top 4114 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) top 4425 src/filemanager/panel.c panel->top = 0; top 4949 src/filemanager/panel.c panel->top = panel->current - panel_items (panel) / 2; top 115 src/filemanager/panel.h int top; // The file shown on the top of the panel top 67 src/vfs/cpio/cpio.c #define SEEKBACK CPIO_SEEK_CUR (super, ptr - top) top 318 src/vfs/cpio/cpio.c ssize_t top; top 321 src/vfs/cpio/cpio.c top = mc_read (arch->fd, buf, sizeof (buf)); top 322 src/vfs/cpio/cpio.c if (top > 0) top 323 src/vfs/cpio/cpio.c CPIO_POS (super) += top; top 327 src/vfs/cpio/cpio.c if (ptr + MAGIC_LENGTH >= top) top 329 src/vfs/cpio/cpio.c if (top > (ssize_t) (sizeof (buf) / 2)) top 331 src/vfs/cpio/cpio.c memmove (buf, buf + top - sizeof (buf) / 2, sizeof (buf) / 2); top 332 src/vfs/cpio/cpio.c ptr -= top - sizeof (buf) / 2; top 333 src/vfs/cpio/cpio.c top = sizeof (buf) / 2; top 335 src/vfs/cpio/cpio.c tmp = mc_read (arch->fd, buf, top); top 342 src/vfs/cpio/cpio.c top += tmp; top 132 src/viewer/display.c int top = view->status_area.y; top 136 src/viewer/display.c widget_gotoyx (view, top, right - 4); top 139 src/viewer/display.c widget_gotoyx (view, top, right - 1);