Home
last modified time | relevance | path

Searched refs:count2 (Results 1 – 17 of 17) sorted by relevance

/dragonfly/contrib/gcc-8.0/gcc/
H A Dprofile-count.c356 profile_count count2) const in combine_with_count() argument
361 if (*this == other || count1 == count2 in combine_with_count()
362 || (count2 == profile_count::zero () in combine_with_count()
365 if (count1 == profile_count::zero () && !(count2 == profile_count::zero ())) in combine_with_count()
367 else if (count1.nonzero_p () || count2.nonzero_p ()) in combine_with_count()
368 return *this * count1.probability_in (count1 + count2) in combine_with_count()
369 + other * count2.probability_in (count1 + count2); in combine_with_count()
H A Dvalue-prof.c996 gcov_type count1, gcov_type count2, gcov_type all) in gimple_mod_subtract() argument
1056 bb3->count = profile_count::from_gcov_type (all - count1 - count2); in gimple_mod_subtract()
1096 gcov_type count1, count2; in gimple_mod_subtract_transform() local
1125 count2 = histogram->hvalue.counters[1]; in gimple_mod_subtract_transform()
1134 if (flag_profile_correction && count1 + count2 > all) in gimple_mod_subtract_transform()
1135 all = count1 + count2; in gimple_mod_subtract_transform()
1137 gcc_assert (count1 + count2 <= all); in gimple_mod_subtract_transform()
1163 prob2 = profile_probability::probability_in_gcov_type (count2, all); in gimple_mod_subtract_transform()
1172 result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all); in gimple_mod_subtract_transform()
H A Dipa-fnsummary.c3262 unsigned int i, count2, j; in inline_read_section() local
3297 count2 = streamer_read_uhwi (&ib); in inline_read_section()
3299 for (j = 0; j < count2; j++) in inline_read_section()
3313 count2 = streamer_read_uhwi (&ib); in inline_read_section()
3315 for (j = 0; j < count2; j++) in inline_read_section()
H A Dprofile-count.h570 profile_count count2) const; in class()
/dragonfly/test/sysperf/
H A Dmbwtest.c34 long long count2; in main() local
70 count2 = count1 * us1 / us2; in main()
76 us1 = bandwidth_test(buf, count2 / bytes2 + 20, bytes2, NULL); in main()
79 us2 = bandwidth_test(buf, count2 / bytes2 + 20, bytes2, NULL); in main()
83 count3 = count2 * us1 / us2; in main()
119 bandwidth_test(buf, count2 / bytes2 + 20, bytes2, in main()
/dragonfly/contrib/nvi2/vi/
H A Dv_z.c60 if (F_ISSET(vp, VC_C2SET) && vp->count2 != 0) { in v_z()
61 if (vp->count2 > O_VAL(sp, O_WINDOW)) in v_z()
62 vp->count2 = O_VAL(sp, O_WINDOW); in v_z()
63 if (vs_crel(sp, vp->count2)) in v_z()
H A Dvi.h21 u_long count2; /* Second count (only used by z). */ member
H A Dvi.c667 if (v_count(sp, vp->character, &vp->count2)) in v_cmd()
1237 TRACE(sp, " c2: %lu", vp->count2); in v_comlog()
/dragonfly/contrib/nvi2/regex/
H A Dregcomp.c342 int count2; in p_ere_exp() local
455 count2 = p_count(p); in p_ere_exp()
456 (void)REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
458 count2 = INFINITY; in p_ere_exp()
460 count2 = count; in p_ere_exp()
461 repeat(p, pos, count, count2, 0); in p_ere_exp()
547 int count2; in p_simp_re() local
642 count2 = p_count(p); in p_simp_re()
645 count2 = INFINITY; in p_simp_re()
647 count2 = count; in p_simp_re()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dvalue-prof.c873 gcov_type count1, gcov_type count2, gcov_type all) in gimple_mod_subtract() argument
932 bb3->count = all - count1 - count2; in gimple_mod_subtract()
952 e23->count = all - count1 - count2; in gimple_mod_subtract()
957 e24->count = count2; in gimple_mod_subtract()
961 e34->count = all - count1 - count2; in gimple_mod_subtract()
978 gcov_type count1, count2; in gimple_mod_subtract_transform() local
1008 count2 = histogram->hvalue.counters[1]; in gimple_mod_subtract_transform()
1017 if (flag_profile_correction && count1 + count2 > all) in gimple_mod_subtract_transform()
1018 all = count1 + count2; in gimple_mod_subtract_transform()
1020 gcc_assert (count1 + count2 <= all); in gimple_mod_subtract_transform()
[all …]
H A Dipa-inline-analysis.c3032 unsigned int i, count2, j; in inline_read_section() local
3064 count2 = streamer_read_uhwi (&ib); in inline_read_section()
3066 for (j = 0; j < count2; j++) in inline_read_section()
3074 count2 = streamer_read_uhwi (&ib); in inline_read_section()
3076 for (j = 0; j < count2; j++) in inline_read_section()
/dragonfly/sys/kern/
H A Dlwkt_token.c947 long count1, count2; in lwkt_token_swap() local
960 count2 = ref2->tr_count; in lwkt_token_swap()
964 ref1->tr_count = count2; in lwkt_token_swap()
/dragonfly/sys/vm/
H A Dvm_page.c2173 int count1, count2; in _vm_page_list_find2_wide() local
2192 count2 = 0; in _vm_page_list_find2_wide()
2267 if (count2 >= 8) in _vm_page_list_find2_wide()
2274 ++count2; in _vm_page_list_find2_wide()
/dragonfly/contrib/binutils-2.27/bfd/
H A Delflink.c7434 size_t count1, count2, i; in bfd_elf_match_symbols_in_sections() local
7523 count2 = 0; in bfd_elf_match_symbols_in_sections()
7533 count2 = ssymbuf2[mid].count; in bfd_elf_match_symbols_in_sections()
7539 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
7545 = (struct elf_symbol *) bfd_malloc (count2 * sizeof (*symtable2)); in bfd_elf_match_symbols_in_sections()
7560 for (ssym = ssymbuf2->ssym, ssymend = ssym + count2; in bfd_elf_match_symbols_in_sections()
7599 count2 = 0; in bfd_elf_match_symbols_in_sections()
7602 symtable2[count2++].u.isym = isym; in bfd_elf_match_symbols_in_sections()
7604 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
7612 for (i = 0; i < count2; i++) in bfd_elf_match_symbols_in_sections()
/dragonfly/contrib/gdb-7/bfd/
H A Delflink.c7250 bfd_size_type count1, count2, i; in bfd_elf_match_symbols_in_sections() local
7339 count2 = 0; in bfd_elf_match_symbols_in_sections()
7349 count2 = ssymbuf2[mid].count; in bfd_elf_match_symbols_in_sections()
7355 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
7361 bfd_malloc (count2 * sizeof (struct elf_symbol)); in bfd_elf_match_symbols_in_sections()
7376 for (ssym = ssymbuf2->ssym, ssymend = ssym + count2; in bfd_elf_match_symbols_in_sections()
7415 count2 = 0; in bfd_elf_match_symbols_in_sections()
7418 symtable2[count2++].u.isym = isym; in bfd_elf_match_symbols_in_sections()
7420 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
7428 for (i = 0; i < count2; i++) in bfd_elf_match_symbols_in_sections()
/dragonfly/contrib/binutils-2.34/bfd/
H A Delflink.c8008 size_t count1, count2, i; in bfd_elf_match_symbols_in_sections() local
8101 count2 = 0; in bfd_elf_match_symbols_in_sections()
8111 count2 = ssymbuf2[mid].count; in bfd_elf_match_symbols_in_sections()
8117 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
8123 = (struct elf_symbol *) bfd_malloc (count2 * sizeof (*symtable2)); in bfd_elf_match_symbols_in_sections()
8138 for (ssym = ssymbuf2->ssym, ssymend = ssym + count2; in bfd_elf_match_symbols_in_sections()
8177 count2 = 0; in bfd_elf_match_symbols_in_sections()
8180 symtable2[count2++].u.isym = isym; in bfd_elf_match_symbols_in_sections()
8182 if (count1 == 0 || count2 == 0 || count1 != count2) in bfd_elf_match_symbols_in_sections()
8190 for (i = 0; i < count2; i++) in bfd_elf_match_symbols_in_sections()
/dragonfly/sys/dev/drm/i915/
H A Dintel_pm.c7455 u32 count1, count2, count3, m = 0, c = 0; in __i915_chipset_val() local
7472 count2 = I915_READ(DDREC); in __i915_chipset_val()
7475 total_count = count1 + count2 + count3; in __i915_chipset_val()