top 635 lib/util.c extract_line (const char *s, const char *top) top 640 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); 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 152 lib/widget/listbox.c le = g_queue_peek_nth_link (l->list, (guint) l->top); top 156 lib/widget/listbox.c pos = (le == NULL) ? 0 : l->top; top 222 lib/widget/listbox.c return MIN (l->top + y, LISTBOX_LAST (l)); top 309 lib/widget/listbox.c is_more = (l->top + w->lines >= length); top 312 lib/widget/listbox.c if ((l->top > 0) && (is_last || is_more)) top 313 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 879 src/editor/editwidget.c GList *top = NULL; top 886 src/editor/editwidget.c top = l; top 891 src/editor/editwidget.c if (top != NULL && event->x >= x) top 893 src/editor/editwidget.c WEdit *e = (WEdit *) top->data; top 895 src/editor/editwidget.c if (top != g->current) top 86 src/filemanager/chattr.c int top; /* The first flag displayed */ top 398 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); top 418 src/filemanager/chattr.c if (cb->top == 0) top 427 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) top 468 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 489 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 515 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) top 529 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) top 541 src/filemanager/chattr.c cb->top++; top 578 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) top 579 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; top 580 src/filemanager/chattr.c if (cb->top + i < 0) top 581 src/filemanager/chattr.c i = -cb->top; top 585 src/filemanager/chattr.c cb->top += i; top 591 src/filemanager/chattr.c cb->top += i; top 592 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 612 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; top 625 src/filemanager/chattr.c if (cb->pos == cb->top) top 630 src/filemanager/chattr.c if (cb->top == 0) top 637 src/filemanager/chattr.c cb->top--; top 661 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) top 674 src/filemanager/chattr.c if (cb->top < i) top 675 src/filemanager/chattr.c i = cb->top; top 679 src/filemanager/chattr.c cb->top -= i; top 685 src/filemanager/chattr.c cb->top -= i; top 686 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); top 706 src/filemanager/chattr.c cb->top = 0; top 791 src/filemanager/chattr.c i += cb->top; top 809 src/filemanager/chattr.c cb->pos = cb->top + i; top 2105 src/filemanager/panel.c int lines, top; top 2110 src/filemanager/panel.c top = panel->top_file; top 2112 src/filemanager/panel.c top += lines * ((panel->selected - top) / lines); top 2114 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 135 src/viewer/display.c int top = view->status_area.y; top 139 src/viewer/display.c widget_gotoyx (view, top, right - 4); top 142 src/viewer/display.c widget_gotoyx (view, top, right - 1);