top 633 lib/util.c extract_line (const char *s, const char *top) top 638 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) top 211 lib/util.h const char *extract_line (const char *s, const char *top); top 99 lib/widget/listbox.c if (l->top == 0) top 108 lib/widget/listbox.c if (l->top + w->lines == length || w->lines >= length) top 151 lib/widget/listbox.c le = g_queue_peek_nth_link (l->list, (guint) l->top); top 155 lib/widget/listbox.c pos = (le == NULL) ? 0 : l->top; top 221 lib/widget/listbox.c return MIN (l->top + y, LISTBOX_LAST (l)); top 308 lib/widget/listbox.c is_more = (l->top + w->lines >= length); top 311 lib/widget/listbox.c if ((l->top > 0) && (is_last || is_more)) top 312 lib/widget/listbox.c l->top--; top 563 lib/widget/listbox.c l->top = l->pos = 0; top 628 lib/widget/listbox.c l->pos = l->top = 0; top 643 lib/widget/listbox.c l->top = DOZ (length, lines); top 661 lib/widget/listbox.c if (pos == l->top) top 668 lib/widget/listbox.c l->top = l->pos; top 673 lib/widget/listbox.c if (l->pos - l->top >= lines) top 674 lib/widget/listbox.c l->top = l->pos - lines + 1; top 681 lib/widget/listbox.c l->pos = l->top = 0; top 755 lib/widget/listbox.c l->top = l->pos = 0; top 799 lib/widget/listbox.c l->pos = l->top = 0; top 49 lib/widget/listbox.h int top; /* The first element displayed */ top 874 src/editor/editwidget.c GList *top = NULL; top 881 src/editor/editwidget.c top = l; top 886 src/editor/editwidget.c if (top != NULL && event->x >= x) top 888 src/editor/editwidget.c WEdit *e = (WEdit *) top->data; top 890 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->lines == check_attr_mod_num || w->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 488 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 514 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 528 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->lines - 1) top 540 src/filemanager/chattr.c cb->top++; top 577 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 578 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 579 src/filemanager/chattr.c if (cb->top + i < 0) top 580 src/filemanager/chattr.c i = -cb->top; top 584 src/filemanager/chattr.c cb->top += i; top 590 src/filemanager/chattr.c cb->top += i; top 591 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 611 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->lines + 1; top 624 src/filemanager/chattr.c if (cb->pos == cb->top) top 629 src/filemanager/chattr.c if (cb->top == 0) top 636 src/filemanager/chattr.c cb->top--; top 660 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 673 src/filemanager/chattr.c if (cb->top < i) top 674 src/filemanager/chattr.c i = cb->top; top 678 src/filemanager/chattr.c cb->top -= i; top 684 src/filemanager/chattr.c cb->top -= i; top 685 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 705 src/filemanager/chattr.c cb->top = 0; top 790 src/filemanager/chattr.c i += cb->top; top 808 src/filemanager/chattr.c cb->pos = cb->top + i; top 2100 src/filemanager/panel.c int lines, top; top 2105 src/filemanager/panel.c top = panel->top_file; top 2107 src/filemanager/panel.c top += lines * ((panel->selected - top) / lines); top 2109 src/filemanager/panel.c return (panel->selected - top - lines / 2); top 65 src/vfs/cpio/cpio.c #define SEEKBACK CPIO_SEEK_CUR(super, ptr - top) top 317 src/vfs/cpio/cpio.c ssize_t top; top 320 src/vfs/cpio/cpio.c top = mc_read (arch->fd, buf, sizeof (buf)); top 321 src/vfs/cpio/cpio.c if (top > 0) top 322 src/vfs/cpio/cpio.c CPIO_POS (super) += top; top 326 src/vfs/cpio/cpio.c if (ptr + MAGIC_LENGTH >= top) top 328 src/vfs/cpio/cpio.c if (top > (ssize_t) (sizeof (buf) / 2)) top 330 src/vfs/cpio/cpio.c memmove (buf, buf + top - sizeof (buf) / 2, sizeof (buf) / 2); top 331 src/vfs/cpio/cpio.c ptr -= top - sizeof (buf) / 2; top 332 src/vfs/cpio/cpio.c top = sizeof (buf) / 2; top 334 src/vfs/cpio/cpio.c tmp = mc_read (arch->fd, buf, top); top 341 src/vfs/cpio/cpio.c top += tmp; top 577 src/viewer/ascii.c const screen_dimen top = view->data_area.top; top 677 src/viewer/ascii.c widget_gotoyx (view, top + row, left + ((off_t) col - dpy_text_column)); top 705 src/viewer/ascii.c widget_gotoyx (view, top + row, left + (i - dpy_text_column)); top 718 src/viewer/ascii.c widget_gotoyx (view, top + row, left + (i - dpy_text_column)); top 852 src/viewer/ascii.c const screen_dimen top = view->data_area.top; top 903 src/viewer/ascii.c widget_gotoyx (view, top + row, left); top 135 src/viewer/display.c const screen_dimen top = view->status_area.top; top 138 src/viewer/display.c widget_gotoyx (view, top, right - 4); top 141 src/viewer/display.c widget_gotoyx (view, top, right - 1); top 150 src/viewer/display.c const screen_dimen top = view->status_area.top; top 160 src/viewer/display.c tty_draw_hline (WIDGET (view)->y + top, WIDGET (view)->x + left, ' ', width); top 169 src/viewer/display.c widget_gotoyx (view, top, width - 32); top 187 src/viewer/display.c widget_gotoyx (view, top, left); top 269 src/viewer/display.c view_area.top = view->dpy_frame_size; top 294 src/viewer/display.c y = view_area.top; top 296 src/viewer/display.c view->status_area.top = y; top 301 src/viewer/display.c view->ruler_area.top = y; top 305 src/viewer/display.c view->data_area.top = y; top 309 src/viewer/display.c view->ruler_area.top = y; top 369 src/viewer/display.c const screen_dimen top = view->ruler_area.top; top 389 src/viewer/display.c widget_gotoyx (view, top + line_row, left + c); top 398 src/viewer/display.c widget_gotoyx (view, top + nums_row, left + c - 1); top 99 src/viewer/hex.c const screen_dimen top = view->data_area.top; top 163 src/viewer/hex.c widget_gotoyx (view, top + row, left); top 279 src/viewer/hex.c widget_gotoyx (view, top + row, left + col); top 352 src/viewer/hex.c widget_gotoyx (view, top + row, left + text_start + bytes); top 67 src/viewer/internal.h screen_dimen top, left; top 147 src/viewer/mcviewer.c if (y < view->data_area.top + view->data_area.height * 1 / 3) top 156 src/viewer/mcviewer.c else if (y < view->data_area.top + view->data_area.height * 2 / 3) top 381 src/viewer/move.c const screen_dimen top = view->data_area.top; top 386 src/viewer/move.c widget_gotoyx (view, top + view->cursor_row, left + col);