Home
last modified time | relevance | path

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

12

/external/linux-tools-perf/perf-3.12.0/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/perf-3.12.0/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()
Dtop.c73 if (top->evlist->nr_entries == 1) { in perf_top__header_snprintf()
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; \
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()
Dheader.c628 nre = evlist->nr_entries; in write_event_desc()
2342 .size = evlist->nr_entries * sizeof(f_attr), in perf_session__write_header()
2916 evsel = perf_evsel__new(&event->attr.attr, evlist->nr_entries); in perf_event__process_attr()
2937 symbol_conf.nr_events = evlist->nr_entries; in perf_event__process_attr()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
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()
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 …]
Dmap.c123 *idx = mb.b.nr_entries; in map__browse()
125 ++mb.b.nr_entries; in map__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()
/external/linux-tools-perf/perf-3.12.0/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/valgrind/main/include/vki/
Dvki-xen-memory.h26 unsigned int nr_entries; member
/external/linux-tools-perf/perf-3.12.0/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()
1197 if (!top.evlist->nr_entries && in cmd_top()
1203 symbol_conf.nr_events = top.evlist->nr_entries; in cmd_top()
Dbuiltin-record.c969 if (evsel_list->nr_entries == 0 && in cmd_record()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.c882 top_k = color->jp2_pclr->nr_entries - 1; in opj_jp2_apply_pclr()
936 OPJ_UINT16 nr_entries,nr_channels; in opj_jp2_read_pclr() local
955 nr_entries = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
961 …if (p_pclr_header_size < 3 + (OPJ_UINT32)nr_channels || nr_channels == 0 || nr_entries >= (OPJ_UIN… in opj_jp2_read_pclr()
964 entries = (OPJ_UINT32*) opj_malloc((size_t)nr_channels * nr_entries * sizeof(OPJ_UINT32)); in opj_jp2_read_pclr()
993 jp2_pclr->nr_entries = nr_entries; in opj_jp2_read_pclr()
1007 for(j = 0; j < nr_entries; ++j) { in opj_jp2_read_pclr()
Djp2.h127 OPJ_UINT16 nr_entries; member
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/tui/
Dutil.c66 .nr_entries = argc, in ui__popup_menu()

12