Home
last modified time | relevance | path

Searched refs:top_idx (Results 1 – 5 of 5) sorted by relevance

/external/linux-tools-perf/src/tools/perf/ui/
Dbrowser.c163 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()
[all …]
Dbrowser.h17 u64 index, top_idx; member
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dannotate.c305 browser->b.top_idx = browser->b.index = idx; in annotate_browser__set_top()
307 while (browser->b.top_idx != 0 && back != 0) { in annotate_browser__set_top()
313 --browser->b.top_idx; in annotate_browser__set_top()
390 off_t offset = browser->b.index - browser->b.top_idx; in annotate_browser__toggle_source()
403 browser->b.top_idx = bdl->idx - offset; in annotate_browser__toggle_source()
418 browser->b.top_idx = bdl->idx_asm - offset; in annotate_browser__toggle_source()
783 browser->b.top_idx, in annotate_browser__run()
Dmap.c64 self->b.index = self->b.top_idx = *idx; in map_browser__search()
Dhists.c372 browser->b.top_idx, in hist_browser__run()