top 641 lib/util.c extract_line (const char *s, const char *top) top 646 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) top 196 lib/util.h const char *extract_line (const char *s, const char *top); 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 567 lib/widget/listbox.c l->top = l->current = 0; top 632 lib/widget/listbox.c l->current = l->top = 0; top 647 lib/widget/listbox.c l->top = DOZ (length, lines); top 665 lib/widget/listbox.c if (pos == l->top) top 672 lib/widget/listbox.c l->top = l->current; top 677 lib/widget/listbox.c if (l->current - l->top >= lines) top 678 lib/widget/listbox.c l->top = l->current - lines + 1; top 685 lib/widget/listbox.c l->current = l->top = 0; top 759 lib/widget/listbox.c l->top = l->current = 0; top 803 lib/widget/listbox.c l->current = l->top = 0; top 48 lib/widget/listbox.h int top; /* The first element displayed */ top 882 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 400 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); top 420 src/filemanager/chattr.c if (cb->top == 0) top 429 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) top 470 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 491 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 517 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 531 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) top 543 src/filemanager/chattr.c cb->top++; top 580 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 581 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 582 src/filemanager/chattr.c if (cb->top + i < 0) top 583 src/filemanager/chattr.c i = -cb->top; top 587 src/filemanager/chattr.c cb->top += i; top 593 src/filemanager/chattr.c cb->top += i; top 594 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 614 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; top 627 src/filemanager/chattr.c if (cb->pos == cb->top) top 632 src/filemanager/chattr.c if (cb->top == 0) top 639 src/filemanager/chattr.c cb->top--; top 663 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 676 src/filemanager/chattr.c if (cb->top < i) top 677 src/filemanager/chattr.c i = cb->top; top 681 src/filemanager/chattr.c cb->top -= i; top 687 src/filemanager/chattr.c cb->top -= i; top 688 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 708 src/filemanager/chattr.c cb->top = 0; top 793 src/filemanager/chattr.c i += cb->top; top 811 src/filemanager/chattr.c cb->pos = cb->top + i; top 1302 src/filemanager/layout.c panelswap (top); top 957 src/filemanager/panel.c nth_column = (file_index - panel->top) / panel_lines (panel); top 970 src/filemanager/panel.c ypos = file_index - panel->top; top 1108 src/filemanager/panel.c n = i + panel->top; top 1422 src/filemanager/panel.c panel->top = 0; top 1434 src/filemanager/panel.c if (panel->top < 0) top 1435 src/filemanager/panel.c panel->top = 0; top 1438 src/filemanager/panel.c if (panel->top < i) top 1439 src/filemanager/panel.c panel->top = i; top 1442 src/filemanager/panel.c if (panel->top > i) top 1443 src/filemanager/panel.c panel->top = i; top 1445 src/filemanager/panel.c if (panel->top > panel->current) top 1446 src/filemanager/panel.c panel->top = panel->current; top 2163 src/filemanager/panel.c int lines, top; top 2168 src/filemanager/panel.c top = panel->top; top 2170 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); top 2172 src/filemanager/panel.c return (panel->current - top - lines / 2); top 2190 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) top 2193 src/filemanager/panel.c panel->top += items / 2; top 2194 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2195 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2201 src/filemanager/panel.c panel->top++; top 2202 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2203 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2219 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) top 2222 src/filemanager/panel.c panel->top -= panel_items (panel) / 2; top 2223 src/filemanager/panel.c if (panel->top < 0) top 2224 src/filemanager/panel.c panel->top = 0; top 2230 src/filemanager/panel.c panel->top--; top 2231 src/filemanager/panel.c if (panel->top < 0) top 2232 src/filemanager/panel.c panel->top = 0; top 2256 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) top 2258 src/filemanager/panel.c panel->top += lines; top 2262 src/filemanager/panel.c if (panel->current - panel->top < 0) top 2264 src/filemanager/panel.c panel->top += lines; top 2270 src/filemanager/panel.c if (panel->top > panel->current) top 2271 src/filemanager/panel.c panel->top = panel->current; top 2272 src/filemanager/panel.c if (panel->top < 0) top 2273 src/filemanager/panel.c panel->top = 0; top 2314 src/filemanager/panel.c if (panel->current == 0 && panel->top == 0) top 2319 src/filemanager/panel.c if (panel->top < items) top 2320 src/filemanager/panel.c items = panel->top; top 2325 src/filemanager/panel.c panel->top -= items; top 2389 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) top 2390 src/filemanager/panel.c items = panel->dir.len - items - panel->top; top 2391 src/filemanager/panel.c if (panel->top + items < 0) top 2392 src/filemanager/panel.c items = -panel->top; top 2397 src/filemanager/panel.c panel->top += items; top 2428 src/filemanager/panel.c panel->current = panel->top; top 2438 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; top 2448 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; top 2466 src/filemanager/panel.c middle_pos = panel->top + panel_items (panel) / 2; top 2473 src/filemanager/panel.c if (panel->current != panel->top) top 2480 src/filemanager/panel.c panel->top = 0; top 2502 src/filemanager/panel.c middle_pos = panel->top + items / 2; top 2509 src/filemanager/panel.c if (panel->current != panel->top + items - 1) top 3995 src/filemanager/panel.c y += panel->top + lines * col; top 4106 src/filemanager/panel.c if (panels_options.mouse_move_pages && panel->top > 0) top 4117 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) top 4233 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; top 4234 src/filemanager/panel.c if (panel->top < 0) top 4235 src/filemanager/panel.c panel->top = 0; top 4415 src/filemanager/panel.c panel->top = 0; top 4897 src/filemanager/panel.c panel->top = panel->current - panel_items (panel) / 2; top 118 src/filemanager/panel.h int top; /* The file shown on the top of the panel */ top 65 src/vfs/cpio/cpio.c #define SEEKBACK CPIO_SEEK_CUR(super, ptr - top) top 316 src/vfs/cpio/cpio.c ssize_t top; top 319 src/vfs/cpio/cpio.c top = mc_read (arch->fd, buf, sizeof (buf)); top 320 src/vfs/cpio/cpio.c if (top > 0) top 321 src/vfs/cpio/cpio.c CPIO_POS (super) += top; top 325 src/vfs/cpio/cpio.c if (ptr + MAGIC_LENGTH >= top) top 327 src/vfs/cpio/cpio.c if (top > (ssize_t) (sizeof (buf) / 2)) top 329 src/vfs/cpio/cpio.c memmove (buf, buf + top - sizeof (buf) / 2, sizeof (buf) / 2); top 330 src/vfs/cpio/cpio.c ptr -= top - sizeof (buf) / 2; top 331 src/vfs/cpio/cpio.c top = sizeof (buf) / 2; top 333 src/vfs/cpio/cpio.c tmp = mc_read (arch->fd, buf, top); top 340 src/vfs/cpio/cpio.c top += tmp; top 138 src/viewer/display.c int top = view->status_area.y; top 142 src/viewer/display.c widget_gotoyx (view, top, right - 4); top 145 src/viewer/display.c widget_gotoyx (view, top, right - 1);