Home
last modified time | relevance | path

Searched refs:nr_entries (Results 1 – 25 of 31) sorted by relevance

12

/external/linux-tools-perf/src/tools/perf/ui/
Dbrowser.c80 if (browser->nr_entries == 0) in ui_browser__list_head_seek()
286 if (browser->nr_entries > 1) { in ui_browser__scrollbar_set()
288 (browser->nr_entries - 1)); in ui_browser__scrollbar_set()
336 void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries) in ui_browser__update_nr_entries() argument
338 off_t offset = nr_entries - browser->nr_entries; in ui_browser__update_nr_entries()
340 browser->nr_entries = nr_entries; in ui_browser__update_nr_entries()
391 if (browser->index == browser->nr_entries - 1) in ui_browser__run()
410 if (browser->top_idx + browser->height > browser->nr_entries - 1) in ui_browser__run()
414 if (browser->index + offset > browser->nr_entries - 1) in ui_browser__run()
415 offset = browser->nr_entries - 1 - browser->index; in ui_browser__run()
[all …]
Dbrowser.h28 u32 nr_entries; member
51 void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries);
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dhists.c46 browser->b.nr_entries = browser->hists->nr_entries; in hist_browser__reset()
201 browser->hists->nr_entries -= he->nr_rows; in hist_browser__toggle_fold()
207 browser->hists->nr_entries += he->nr_rows; in hist_browser__toggle_fold()
208 browser->b.nr_entries = browser->hists->nr_entries; in hist_browser__toggle_fold()
287 hists->nr_entries = 0; in hists__set_folding()
292 hists->nr_entries += 1 + he->nr_rows; in hists__set_folding()
299 browser->b.nr_entries = browser->hists->nr_entries; in hist_browser__set_folding()
323 browser->b.nr_entries = browser->hists->nr_entries; in hist_browser__run()
325 browser->b.nr_entries = browser->nr_pcnt_entries; in hist_browser__run()
339 u64 nr_entries; in hist_browser__run() local
[all …]
Dscripts.c113 int ret = -1, nr_entries = 0; in script_browse() local
168 if (nr_entries++ >= MAX_LINES - 1) in script_browse()
180 script.nr_lines = nr_entries; in script_browse()
181 script.b.nr_entries = nr_entries; in script_browse()
Dannotate.c45 int nr_entries; member
400 browser->b.nr_entries = browser->nr_entries; in annotate_browser__toggle_source()
415 browser->b.nr_entries = browser->nr_asm_entries; in annotate_browser__toggle_source()
428 browser->b.nr_entries = browser->nr_asm_entries; in annotate_browser__init_asm_mode()
780 seq++, browser->b.nr_entries, in annotate_browser__run()
931 bpos->idx = browser.nr_entries++; in symbol__tui_annotate()
953 browser.b.nr_entries = browser.nr_entries; in symbol__tui_annotate()
Dmap.c123 *idx = mb.b.nr_entries; in map__browse()
125 ++mb.b.nr_entries; in map__browse()
/external/linux-tools-perf/src/tools/perf/util/
Drblist.h23 unsigned int nr_entries; member
39 return rblist->nr_entries == 0; in rblist__empty()
44 return rblist->nr_entries; in rblist__nr_entries()
Drblist.c39 ++rblist->nr_entries; in rblist__add_node()
47 --rblist->nr_entries; in rblist__remove_node()
77 rblist->nr_entries = 0; in rblist__init()
Devlist.c86 evlist->nr_entries = 0; in perf_evlist__purge()
107 if (!evlist->nr_entries++) in perf_evlist__add()
113 int nr_entries) in perf_evlist__splice_list_tail() argument
115 bool set_id_pos = !evlist->nr_entries; in perf_evlist__splice_list_tail()
118 evlist->nr_entries += nr_entries; in perf_evlist__splice_list_tail()
139 if (evlist->nr_entries) { in perf_evlist__set_leader()
140 evlist->nr_groups = evlist->nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader()
180 evsel = perf_evsel__new(attrs + i, evlist->nr_entries + i); in perf_evlist__add_attrs()
241 evsel = perf_evsel__newtp(sys, name, evlist->nr_entries); in perf_evlist__add_newtp()
328 int nfds = nr_cpus * nr_threads * evlist->nr_entries; in perf_evlist__alloc_pollfd()
[all …]
Dhist.c267 --hists->nr_entries; in hists__decay_entries()
328 ++hists->nr_entries; in hists__inc_nr_entries()
734 hists->nr_entries = 0; in hists__output_resort()
754 ++hists->nr_entries; in hists__remove_entry_filter()
756 hists->nr_entries += h->nr_rows; in hists__remove_entry_filter()
781 hists->nr_entries = hists->stats.total_period = 0; in hists__filter_by_dso()
814 hists->nr_entries = hists->stats.total_period = 0; in hists__filter_by_thread()
845 hists->nr_entries = hists->stats.total_period = 0; in hists__filter_by_symbol()
Devlist.h30 int nr_entries; member
154 int nr_entries);
Drecord.c94 if (evlist->nr_entries > 1) { in perf_evlist__config()
Dsymbol-elf.c165 #define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \ argument
167 idx < nr_entries; \
170 #define elf_section__for_each_rela(reldata, pos, pos_mem, idx, nr_entries) \ argument
172 idx < nr_entries; \
Dtop.c73 if (top->evlist->nr_entries == 1) { in perf_top__header_snprintf()
Dpython.c801 evsel->idx = evlist->nr_entries; in pyrf_evlist__add()
804 return Py_BuildValue("i", evlist->nr_entries); in pyrf_evlist__add()
907 return pevlist->evlist.nr_entries; in pyrf_evlist__length()
915 if (i >= pevlist->evlist.nr_entries) in pyrf_evlist__item()
Dhist.h72 u64 nr_entries; member
Dparse-events.c923 .idx = evlist->nr_entries, in parse_events()
929 int entries = data.idx - evlist->nr_entries; in parse_events()
962 if (evlist->nr_entries > 0) in parse_filter()
/external/linux-tools-perf/src/tools/perf/tests/
Dparse-events.c17 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_tracepoint()
30 TEST_ASSERT_VAL("wrong number of entries", evlist->nr_entries > 1); in test__checkevent_tracepoint_multi()
48 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_raw()
58 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_numeric()
68 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_symbolic_name()
79 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_symbolic_name_config()
96 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_symbolic_alias()
107 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_genhw()
117 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_breakpoint()
131 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->nr_entries); in test__checkevent_breakpoint_x()
[all …]
/external/fio/
Dgettime.c468 unsigned long nr_entries; member
507 for (i = 0; i < t->nr_entries; i++, c++) { in clock_thread_fn()
561 unsigned long nr_entries, tentries, failed = 0; in fio_monotonic_clocktest() local
572 nr_entries = CLOCK_ENTRIES_DEBUG; in fio_monotonic_clocktest()
574 nr_entries = CLOCK_ENTRIES_TEST; in fio_monotonic_clocktest()
585 tentries = nr_entries * nr_cpus; in fio_monotonic_clocktest()
597 t->nr_entries = nr_entries; in fio_monotonic_clocktest()
598 t->entries = &entries[i * nr_entries]; in fio_monotonic_clocktest()
/external/libdrm/intel/tests/
Dgen7-3d.batch-ref.txt26 0x12300064: 0x040002c0: 16KB start, size=1 64B rows, nr_entries=704, total size 45056B
28 0x1230006c: 0x04000000: 16KB start, size=1 64B rows, nr_entries=0, total size 0B
30 0x12300074: 0x04000000: 16KB start, size=1 64B rows, nr_entries=0, total size 0B
32 0x1230007c: 0x04000000: 16KB start, size=1 64B rows, nr_entries=0, total size 0B
/external/valgrind/include/vki/
Dvki-xen-memory.h27 unsigned int nr_entries; member
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-top.c392 if (top->evlist->nr_entries > 1) in perf_top__print_mapped_keys()
427 return top->evlist->nr_entries > 1 ? 1 : 0; in perf_top__key_mapped()
482 if (top->evlist->nr_entries > 1) { in perf_top__handle_keypress()
493 if (counter >= top->evlist->nr_entries) { in perf_top__handle_keypress()
1193 if (!top.evlist->nr_entries && in cmd_top()
1199 symbol_conf.nr_events = top.evlist->nr_entries; in cmd_top()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.c971 top_k = color->jp2_pclr->nr_entries - 1; in opj_jp2_apply_pclr()
1025 OPJ_UINT16 nr_entries,nr_channels; in opj_jp2_read_pclr() local
1044 nr_entries = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
1045 if ((nr_entries == 0U) || (nr_entries > 1024U)) { in opj_jp2_read_pclr()
1046 opj_event_msg(p_manager, EVT_ERROR, "Invalid PCLR box. Reports %d entries\n", (int)nr_entries); in opj_jp2_read_pclr()
1061 entries = (OPJ_UINT32*) opj_malloc((size_t)nr_channels * nr_entries * sizeof(OPJ_UINT32)); in opj_jp2_read_pclr()
1090 jp2_pclr->nr_entries = nr_entries; in opj_jp2_read_pclr()
1104 for(j = 0; j < nr_entries; ++j) { in opj_jp2_read_pclr()
Djp2.h127 OPJ_UINT16 nr_entries; member
/external/linux-tools-perf/src/tools/perf/ui/tui/
Dutil.c66 .nr_entries = argc, in ui__popup_menu()

12