top 650 lib/util.c extract_line (const char *s, const char *top, size_t *len) top 655 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) top 222 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 881 src/editor/editwidget.c GList *top = NULL; top 888 src/editor/editwidget.c top = l; top 893 src/editor/editwidget.c if (top != NULL && event->x >= x) top 895 src/editor/editwidget.c WEdit *e = EDIT (top->data); top 897 src/editor/editwidget.c if (top != g->current) top 86 src/filemanager/chattr.c int top; // The first flag displayed top 393 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); top 413 src/filemanager/chattr.c if (cb->top == 0) top 422 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) top 463 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 483 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 509 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 522 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) top 534 src/filemanager/chattr.c cb->top++; top 571 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 572 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 573 src/filemanager/chattr.c if (cb->top + i < 0) top 574 src/filemanager/chattr.c i = -cb->top; top 578 src/filemanager/chattr.c cb->top += i; top 584 src/filemanager/chattr.c cb->top += i; top 585 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 605 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; top 618 src/filemanager/chattr.c if (cb->pos == cb->top) top 623 src/filemanager/chattr.c if (cb->top == 0) top 630 src/filemanager/chattr.c cb->top--; top 654 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 667 src/filemanager/chattr.c if (cb->top < i) top 668 src/filemanager/chattr.c i = cb->top; top 672 src/filemanager/chattr.c cb->top -= i; top 678 src/filemanager/chattr.c cb->top -= i; top 679 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 699 src/filemanager/chattr.c cb->top = 0; top 784 src/filemanager/chattr.c i += cb->top; top 802 src/filemanager/chattr.c cb->pos = cb->top + i; top 1300 src/filemanager/layout.c panelswap (top); top 818 src/filemanager/panel.c nth_column = (file_index - panel->top) / panel_lines (panel); top 831 src/filemanager/panel.c ypos = file_index - panel->top; top 972 src/filemanager/panel.c n = i + panel->top; top 1280 src/filemanager/panel.c panel->top = 0; top 1295 src/filemanager/panel.c if (panel->top < 0) top 1296 src/filemanager/panel.c panel->top = 0; top 1299 src/filemanager/panel.c if (panel->top < i) top 1300 src/filemanager/panel.c panel->top = i; top 1303 src/filemanager/panel.c if (panel->top > i) top 1304 src/filemanager/panel.c panel->top = i; top 1306 src/filemanager/panel.c if (panel->top > panel->current) top 1307 src/filemanager/panel.c panel->top = panel->current; top 2034 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; top 2035 src/filemanager/panel.c if (panel->top < 0) top 2036 src/filemanager/panel.c panel->top = 0; top 2045 src/filemanager/panel.c int lines, top; top 2050 src/filemanager/panel.c top = panel->top; top 2052 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); top 2054 src/filemanager/panel.c return (panel->current - top - lines / 2); top 2078 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) top 2081 src/filemanager/panel.c panel->top += items / 2; top 2082 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2083 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2089 src/filemanager/panel.c panel->top++; top 2090 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2091 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2107 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) top 2110 src/filemanager/panel.c panel->top -= panel_items (panel) / 2; top 2111 src/filemanager/panel.c if (panel->top < 0) top 2112 src/filemanager/panel.c panel->top = 0; top 2118 src/filemanager/panel.c panel->top--; top 2119 src/filemanager/panel.c if (panel->top < 0) top 2120 src/filemanager/panel.c panel->top = 0; top 2147 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) top 2149 src/filemanager/panel.c panel->top += lines; top 2153 src/filemanager/panel.c if (panel->current - panel->top < 0) top 2155 src/filemanager/panel.c panel->top += lines; top 2161 src/filemanager/panel.c if (panel->top > panel->current) top 2162 src/filemanager/panel.c panel->top = panel->current; top 2163 src/filemanager/panel.c if (panel->top < 0) top 2164 src/filemanager/panel.c panel->top = 0; top 2205 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) top 2210 src/filemanager/panel.c if (panel->top < items) top 2211 src/filemanager/panel.c items = panel->top; top 2216 src/filemanager/panel.c panel->top -= items; top 2284 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) top 2285 src/filemanager/panel.c items = panel->dir.len - items - panel->top; top 2286 src/filemanager/panel.c if (panel->top + items < 0) top 2287 src/filemanager/panel.c items = -panel->top; top 2292 src/filemanager/panel.c panel->top += items; top 2326 src/filemanager/panel.c panel->current = panel->top; top 2339 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; top 2352 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; top 2370 src/filemanager/panel.c middle_pos = panel->top + panel_items (panel) / 2; top 2377 src/filemanager/panel.c if (panel->current != panel->top) top 2384 src/filemanager/panel.c panel->top = 0; top 2406 src/filemanager/panel.c middle_pos = panel->top + items / 2; top 2413 src/filemanager/panel.c if (panel->current != panel->top + items - 1) top 3950 src/filemanager/panel.c y += panel->top + lines * col; top 4061 src/filemanager/panel.c if (panels_options.mouse_move_pages && panel->top > 0) top 4072 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) top 4383 src/filemanager/panel.c panel->top = 0; top 4915 src/filemanager/panel.c panel->top = panel->current - panel_items (panel) / 2; top 117 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 134 src/viewer/display.c int top = view->status_area.y; top 138 src/viewer/display.c widget_gotoyx (view, top, right - 4); top 141 src/viewer/display.c widget_gotoyx (view, top, right - 1);