• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:top_idx

163 	return browser->top_idx + row == browser->index;  in ui_browser__is_current_entry()
229 browser->index = browser->top_idx = 0; in ui_browser__reset_index()
343 if (browser->top_idx < (u64)-offset) in ui_browser__update_nr_entries()
344 offset = -browser->top_idx; in ui_browser__update_nr_entries()
347 browser->top_idx += offset; in ui_browser__update_nr_entries()
351 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries()
394 if (browser->index == browser->top_idx + browser->height) { in ui_browser__run()
395 ++browser->top_idx; in ui_browser__run()
403 if (browser->index < browser->top_idx) { in ui_browser__run()
404 --browser->top_idx; in ui_browser__run()
410 if (browser->top_idx + browser->height > browser->nr_entries - 1) in ui_browser__run()
417 browser->top_idx += offset; in ui_browser__run()
421 if (browser->top_idx == 0) in ui_browser__run()
424 if (browser->top_idx < browser->height) in ui_browser__run()
425 offset = browser->top_idx; in ui_browser__run()
430 browser->top_idx -= offset; in ui_browser__run()
442 browser->top_idx = browser->index - offset; in ui_browser__run()
569 browser->top = browser->top + browser->top_idx + offset; in ui_browser__argv_seek()
581 unsigned int row = 0, idx = browser->top_idx; in ui_browser__argv_refresh()
628 if (start < browser->top_idx + browser->height) { in __ui_browser__line_arrow_up()
629 row = start - browser->top_idx; in __ui_browser__line_arrow_up()
640 if (end > browser->top_idx) in __ui_browser__line_arrow_up()
641 end_row = end - browser->top_idx; in __ui_browser__line_arrow_up()
649 if (end >= browser->top_idx) { in __ui_browser__line_arrow_up()
668 if (start >= browser->top_idx) { in __ui_browser__line_arrow_down()
669 row = start - browser->top_idx; in __ui_browser__line_arrow_down()
680 if (end >= browser->top_idx + browser->height) in __ui_browser__line_arrow_down()
683 end_row = end - browser->top_idx;; in __ui_browser__line_arrow_down()
689 if (end < browser->top_idx + browser->height) { in __ui_browser__line_arrow_down()