• Home
  • Raw
  • Download

Lines Matching refs:pos

51 				     struct list_head *pos)  in ui_browser__list_head_filter_entries()  argument
54 if (!browser->filter || !browser->filter(browser, pos)) in ui_browser__list_head_filter_entries()
55 return pos; in ui_browser__list_head_filter_entries()
56 pos = pos->next; in ui_browser__list_head_filter_entries()
57 } while (pos != browser->entries); in ui_browser__list_head_filter_entries()
64 struct list_head *pos) in ui_browser__list_head_filter_prev_entries() argument
67 if (!browser->filter || !browser->filter(browser, pos)) in ui_browser__list_head_filter_prev_entries()
68 return pos; in ui_browser__list_head_filter_prev_entries()
69 pos = pos->prev; in ui_browser__list_head_filter_prev_entries()
70 } while (pos != browser->entries); in ui_browser__list_head_filter_prev_entries()
78 struct list_head *pos; in ui_browser__list_head_seek() local
85 pos = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_seek()
88 pos = browser->top; in ui_browser__list_head_seek()
91 pos = ui_browser__list_head_filter_prev_entries(browser, head->prev); in ui_browser__list_head_seek()
97 assert(pos != NULL); in ui_browser__list_head_seek()
101 pos = ui_browser__list_head_filter_entries(browser, pos->next); in ui_browser__list_head_seek()
104 pos = ui_browser__list_head_filter_prev_entries(browser, pos->prev); in ui_browser__list_head_seek()
107 browser->top = pos; in ui_browser__list_head_seek()
455 struct list_head *pos; in ui_browser__list_head_refresh() local
462 pos = browser->top; in ui_browser__list_head_refresh()
464 list_for_each_from(pos, head) { in ui_browser__list_head_refresh()
465 if (!browser->filter || !browser->filter(browser, pos)) { in ui_browser__list_head_refresh()
467 browser->write(browser, pos, row); in ui_browser__list_head_refresh()
583 char **pos; in ui_browser__argv_refresh() local
588 pos = (char **)browser->top; in ui_browser__argv_refresh()
590 if (!browser->filter || !browser->filter(browser, *pos)) { in ui_browser__argv_refresh()
592 browser->write(browser, pos, row); in ui_browser__argv_refresh()
598 ++pos; in ui_browser__argv_refresh()