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 206 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 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 881 src/editor/editwidget.c GList *top = NULL; top 887 src/editor/editwidget.c top = l; top 892 src/editor/editwidget.c if (top != NULL && event->x >= x) top 894 src/editor/editwidget.c WEdit *e = EDIT (top->data); top 896 src/editor/editwidget.c if (top != g->current) top 86 src/filemanager/chattr.c int top; /* The first flag displayed */ top 397 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); top 417 src/filemanager/chattr.c if (cb->top == 0) top 426 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) top 467 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 487 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 513 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 526 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) top 538 src/filemanager/chattr.c cb->top++; top 575 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 576 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 577 src/filemanager/chattr.c if (cb->top + i < 0) top 578 src/filemanager/chattr.c i = -cb->top; top 582 src/filemanager/chattr.c cb->top += i; top 588 src/filemanager/chattr.c cb->top += i; top 589 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 609 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; top 622 src/filemanager/chattr.c if (cb->pos == cb->top) top 627 src/filemanager/chattr.c if (cb->top == 0) top 634 src/filemanager/chattr.c cb->top--; top 658 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 671 src/filemanager/chattr.c if (cb->top < i) top 672 src/filemanager/chattr.c i = cb->top; top 676 src/filemanager/chattr.c cb->top -= i; top 682 src/filemanager/chattr.c cb->top -= i; top 683 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 703 src/filemanager/chattr.c cb->top = 0; top 788 src/filemanager/chattr.c i += cb->top; top 806 src/filemanager/chattr.c cb->pos = cb->top + i; top 1306 src/filemanager/layout.c panelswap (top); top 959 src/filemanager/panel.c nth_column = (file_index - panel->top) / panel_lines (panel); top 972 src/filemanager/panel.c ypos = file_index - panel->top; top 1113 src/filemanager/panel.c n = i + panel->top; top 1420 src/filemanager/panel.c panel->top = 0; top 1435 src/filemanager/panel.c if (panel->top < 0) top 1436 src/filemanager/panel.c panel->top = 0; top 1439 src/filemanager/panel.c if (panel->top < i) top 1440 src/filemanager/panel.c panel->top = i; top 1443 src/filemanager/panel.c if (panel->top > i) top 1444 src/filemanager/panel.c panel->top = i; top 1446 src/filemanager/panel.c if (panel->top > panel->current) top 1447 src/filemanager/panel.c panel->top = panel->current; top 2168 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; top 2169 src/filemanager/panel.c if (panel->top < 0) top 2170 src/filemanager/panel.c panel->top = 0; top 2179 src/filemanager/panel.c int lines, top; top 2184 src/filemanager/panel.c top = panel->top; top 2186 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); top 2188 src/filemanager/panel.c return (panel->current - top - lines / 2); top 2206 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) top 2209 src/filemanager/panel.c panel->top += items / 2; top 2210 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2211 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2217 src/filemanager/panel.c panel->top++; top 2218 src/filemanager/panel.c if (panel->top > panel->dir.len - items) top 2219 src/filemanager/panel.c panel->top = panel->dir.len - items; top 2235 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) top 2238 src/filemanager/panel.c panel->top -= panel_items (panel) / 2; top 2239 src/filemanager/panel.c if (panel->top < 0) top 2240 src/filemanager/panel.c panel->top = 0; top 2246 src/filemanager/panel.c panel->top--; top 2247 src/filemanager/panel.c if (panel->top < 0) top 2248 src/filemanager/panel.c panel->top = 0; top 2275 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) top 2277 src/filemanager/panel.c panel->top += lines; top 2281 src/filemanager/panel.c if (panel->current - panel->top < 0) top 2283 src/filemanager/panel.c panel->top += lines; top 2289 src/filemanager/panel.c if (panel->top > panel->current) top 2290 src/filemanager/panel.c panel->top = panel->current; top 2291 src/filemanager/panel.c if (panel->top < 0) top 2292 src/filemanager/panel.c panel->top = 0; top 2333 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) top 2338 src/filemanager/panel.c if (panel->top < items) top 2339 src/filemanager/panel.c items = panel->top; top 2344 src/filemanager/panel.c panel->top -= items; top 2413 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) top 2414 src/filemanager/panel.c items = panel->dir.len - items - panel->top; top 2415 src/filemanager/panel.c if (panel->top + items < 0) top 2416 src/filemanager/panel.c items = -panel->top; top 2421 src/filemanager/panel.c panel->top += items; top 2455 src/filemanager/panel.c panel->current = panel->top; top 2468 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; top 2481 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; top 2499 src/filemanager/panel.c middle_pos = panel->top + panel_items (panel) / 2; top 2506 src/filemanager/panel.c if (panel->current != panel->top) top 2513 src/filemanager/panel.c panel->top = 0; top 2535 src/filemanager/panel.c middle_pos = panel->top + items / 2; top 2542 src/filemanager/panel.c if (panel->current != panel->top + items - 1) top 4072 src/filemanager/panel.c y += panel->top + lines * col; top 4183 src/filemanager/panel.c if (panels_options.mouse_move_pages && panel->top > 0) top 4194 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) top 4504 src/filemanager/panel.c panel->top = 0; top 5034 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 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);