Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dprofile-count.cc454 profile_count count2) const in combine_with_count()
459 if (*this == other || count1 == count2 in combine_with_count()
460 || (count2 == profile_count::zero () in combine_with_count()
463 if (count1 == profile_count::zero () && !(count2 == profile_count::zero ())) in combine_with_count()
465 else if (count1.nonzero_p () || count2.nonzero_p ()) in combine_with_count()
466 return *this * count1.probability_in (count1 + count2) in combine_with_count()
467 + other * count2.probability_in (count1 + count2); in combine_with_count()
H A Dvalue-prof.cc1037 gcov_type count1, gcov_type count2, gcov_type all) in gimple_mod_subtract() argument
1097 bb3->count = profile_count::from_gcov_type (all - count1 - count2); in gimple_mod_subtract()
1137 gcov_type count1, count2; in gimple_mod_subtract_transform() local
1166 count2 = histogram->hvalue.counters[1]; in gimple_mod_subtract_transform()
1174 if (flag_profile_correction && count1 + count2 > all) in gimple_mod_subtract_transform()
1175 all = count1 + count2; in gimple_mod_subtract_transform()
1177 gcc_assert (count1 + count2 <= all); in gimple_mod_subtract_transform()
1201 prob2 = profile_probability::probability_in_gcov_type (count2, all); in gimple_mod_subtract_transform()
1210 result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all); in gimple_mod_subtract_transform()
H A Dipa-fnsummary.cc4431 unsigned int i, count2, j; in inline_read_section() local
4491 count2 = streamer_read_uhwi (&ib); in inline_read_section()
4494 vec_safe_reserve_exact (info->conds, count2); in inline_read_section()
4495 for (j = 0; j < count2; j++) in inline_read_section()
4550 count2 = streamer_read_uhwi (&ib); in inline_read_section()
4552 if (info && count2) in inline_read_section()
4553 info->size_time_table.reserve_exact (count2); in inline_read_section()
4554 for (j = 0; j < count2; j++) in inline_read_section()
4567 count2 = streamer_read_uhwi (&ib); in inline_read_section()
4568 for (j = 0; j < count2; j++) in inline_read_section()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dprofile-count.c432 profile_count count2) const in combine_with_count() argument
437 if (*this == other || count1 == count2 in combine_with_count()
438 || (count2 == profile_count::zero () in combine_with_count()
441 if (count1 == profile_count::zero () && !(count2 == profile_count::zero ())) in combine_with_count()
443 else if (count1.nonzero_p () || count2.nonzero_p ()) in combine_with_count()
444 return *this * count1.probability_in (count1 + count2) in combine_with_count()
445 + other * count2.probability_in (count1 + count2); in combine_with_count()
H A Dvalue-prof.c1000 gcov_type count1, gcov_type count2, gcov_type all) in gimple_mod_subtract() argument
1060 bb3->count = profile_count::from_gcov_type (all - count1 - count2); in gimple_mod_subtract()
1100 gcov_type count1, count2; in gimple_mod_subtract_transform() local
1129 count2 = histogram->hvalue.counters[1]; in gimple_mod_subtract_transform()
1137 if (flag_profile_correction && count1 + count2 > all) in gimple_mod_subtract_transform()
1138 all = count1 + count2; in gimple_mod_subtract_transform()
1140 gcc_assert (count1 + count2 <= all); in gimple_mod_subtract_transform()
1164 prob2 = profile_probability::probability_in_gcov_type (count2, all); in gimple_mod_subtract_transform()
1173 result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all); in gimple_mod_subtract_transform()
H A Dipa-fnsummary.c4196 unsigned int i, count2, j; in inline_read_section() local
4258 count2 = streamer_read_uhwi (&ib); in inline_read_section()
4261 vec_safe_reserve_exact (info->conds, count2); in inline_read_section()
4262 for (j = 0; j < count2; j++) in inline_read_section()
4317 count2 = streamer_read_uhwi (&ib); in inline_read_section()
4319 if (info && count2) in inline_read_section()
4320 vec_safe_reserve_exact (info->size_time_table, count2); in inline_read_section()
4321 for (j = 0; j < count2; j++) in inline_read_section()
/netbsd-src/external/bsd/nvi/dist/vi/
H A Dv_z.c70 if (F_ISSET(vp, VC_C2SET) && vp->count2 != 0) { in v_z()
71 if (vp->count2 > O_VAL(sp, O_WINDOW)) in v_z()
72 vp->count2 = O_VAL(sp, O_WINDOW); in v_z()
73 if (vs_crel(sp, vp->count2)) in v_z()
H A Dvi.h24 u_long count2; /* Second count (only used by z). */ member
H A Dvi.c709 if (v_count(sp, vp, vp->character, &vp->count2)) in v_cmd()
1308 vtrace(sp, " c2: %lu", vp->count2);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drdataslab.c925 unsigned int count1, count2; in dns_rdataslab_equal() local
933 count2 = *current2++ * 256; in dns_rdataslab_equal()
934 count2 += *current2++; in dns_rdataslab_equal()
936 if (count1 != count2) { in dns_rdataslab_equal()
942 current2 += (4 * count2); in dns_rdataslab_equal()
976 unsigned int count1, count2; in dns_rdataslab_equalx() local
985 count2 = *current2++ * 256; in dns_rdataslab_equalx()
986 count2 += *current2++; in dns_rdataslab_equalx()
988 if (count1 != count2) { in dns_rdataslab_equalx()
994 current2 += (4 * count2); in dns_rdataslab_equalx()
H A Dname.c494 unsigned int l1, l2, l, count1, count2, count, nlabels; in dns_name_fullcompare() local
552 count2 = *label2++; in dns_name_fullcompare()
558 INSIST(count1 <= 63 && count2 <= 63); in dns_name_fullcompare()
560 cdiff = (int)count1 - (int)count2; in dns_name_fullcompare()
564 count = count2; in dns_name_fullcompare()
764 unsigned int l1, l2, l, count1, count2, count; in dns_name_rdatacompare() local
789 count2 = *label2++; in dns_name_rdatacompare()
792 INSIST(count1 <= 63 && count2 <= 63); in dns_name_rdatacompare()
794 if (count1 != count2) { in dns_name_rdatacompare()
795 return ((count1 < count2) ? -1 : 1); in dns_name_rdatacompare()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drdataslab.c960 unsigned int count1, count2; in dns_rdataslab_equal()
967 count2 = get_uint16(current2); in dns_rdataslab_equal()
969 if (count1 != count2) { in dns_rdataslab_equal()
975 current2 += (4 * count2); in dns_rdataslab_equalx()
1004 unsigned int count1, count2; in dns_rdataslab_equalx()
1012 count2 = get_uint16(current2);
1014 if (count1 != count2) {
1020 current2 += (4 * count2);
925 unsigned int count1, count2; dns_rdataslab_equal() local
976 unsigned int count1, count2; dns_rdataslab_equalx() local
H A Dname.c358 unsigned int l1, l2, l, count1, count2, count, nlabels; in dns_name_ishostname()
414 count2 = *label2++; in dns_name_iswildcard()
416 cdiff = (int)count1 - (int)count2; in dns_name_iswildcard()
420 count = count2; in dns_name_internalwildcard()
494 unsigned int l1, l2, l, count1, count2, count, nlabels; dns_name_fullcompare() local
764 unsigned int l1, l2, l, count1, count2, count; dns_name_rdatacompare() local
/netbsd-src/tests/lib/libpthread/
H A Dt_mutex.c155 int count, count2; in ATF_TC_BODY() local
164 count = count2 = 10000000; in ATF_TC_BODY()
167 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex2_threadfunc, &count2)); in ATF_TC_BODY()
212 int count, count2; in ATF_TC_BODY() local
219 count = count2 = 10000000; in ATF_TC_BODY()
222 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex3_threadfunc, &count2)); in ATF_TC_BODY()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A Dregcomp.c441 int count2; in p_ere_exp() local
582 count2 = p_count(p); in p_ere_exp()
583 REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
585 count2 = INFINITY; in p_ere_exp()
587 count2 = count; in p_ere_exp()
588 repeat(p, pos, count, count2); in p_ere_exp()
665 int count2; in p_simp_re() local
753 count2 = p_count(p); in p_simp_re()
754 REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
756 count2 = INFINITY; in p_simp_re()
[all …]
/netbsd-src/external/bsd/nvi/dist/regex/
H A Dregcomp.c362 int count2; in p_ere_exp() local
475 count2 = p_count(p); in p_ere_exp()
476 (void)REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
478 count2 = INFINITY; in p_ere_exp()
480 count2 = count; in p_ere_exp()
481 repeat(p, pos, count, count2, 0); in p_ere_exp()
571 int count2; in p_simp_re() local
666 count2 = p_count(p); in p_simp_re()
667 (void)REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
669 count2 = INFINITY; in p_simp_re()
[all …]
/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_listener.c79 int count1 = 2, count2 = 1; in regress_pick_a_port() local
101 listener2 = evconnlistener_new_bind(base, acceptcb, &count2, in regress_pick_a_port()
134 tt_int_op(count2, ==, 0); in regress_pick_a_port()
/netbsd-src/sys/external/bsd/drm2/dist/drm/savage/
H A Dsavage_state.c215 unsigned int count2 = 0; in savage_dispatch_state() local
230 count2 = count - (SAVAGE_SCEND_S3D + 1 - start); in savage_dispatch_state()
247 count2 = count - in savage_dispatch_state()
260 bci_size = count + (count + 254) / 255 + count2 + (count2 + 254) / 255; in savage_dispatch_state()
281 count = count2; in savage_dispatch_state()
282 count2 = 0; in savage_dispatch_state()
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dsavage_state.c201 unsigned int count2 = 0; in savage_dispatch_state() local
216 count2 = count - (SAVAGE_SCEND_S3D + 1 - start); in savage_dispatch_state()
233 count2 = count - in savage_dispatch_state()
246 bci_size = count + (count + 254) / 255 + count2 + (count2 + 254) / 255; in savage_dispatch_state()
267 count = count2; in savage_dispatch_state()
268 count2 = 0; in savage_dispatch_state()
/netbsd-src/lib/libc/regex/
H A Dregcomp.c447 int count2; in p_ere_exp() local
661 count2 = p_count(p); in p_ere_exp()
662 (void)REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
664 count2 = INFINITY; in p_ere_exp()
666 count2 = count; in p_ere_exp()
667 repeat(p, pos, count, count2); in p_ere_exp()
889 int count2; in p_simp_re() local
1056 count2 = p_count(p); in p_simp_re()
1057 (void)REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
1059 count2 in p_simp_re()
[all...]
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Ddname.c236 int count1 = 0, count2 = 0; in dname_pkt_compare() local
256 if(count2++ > MAX_COMPRESS_PTRS) in dname_pkt_compare()
/netbsd-src/external/bsd/nvi/dist/docs/vi.ref/
H A Dspell.ok131 count2
/netbsd-src/sys/arch/acorn32/podulebus/
H A Dsbic.c316 int count2; in sbic_save_ptrs() local
318 SBIC_TC_GET(regs, count2); in sbic_save_ptrs()
319 if (count2 != count) in sbic_save_ptrs()
321 count, count2); in sbic_save_ptrs()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-stmt.cc5455 tree count1, tree count2, in gfc_trans_where_assign() argument
5617 index = count2; in gfc_trans_where_assign()
5631 gfc_array_index_type, count2, in gfc_trans_where_assign()
5633 gfc_add_modify (&body, count2, tmp); in gfc_trans_where_assign()
5676 tree count1, count2; in gfc_trans_where_2() local
5837 count2 = gfc_create_var (gfc_array_index_type, "count2"); in gfc_trans_where_2()
5839 gfc_add_modify (block, count2, gfc_index_zero_node); in gfc_trans_where_2()
5843 count1, count2, in gfc_trans_where_2()
5855 count2 = gfc_create_var (gfc_array_index_type, "count2"); in gfc_trans_where_2()
5857 gfc_add_modify (block, count2, gfc_index_zero_node); in gfc_trans_where_2()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-stmt.c5419 tree count1, tree count2, in gfc_trans_where_assign() argument
5581 index = count2; in gfc_trans_where_assign()
5595 gfc_array_index_type, count2, in gfc_trans_where_assign()
5597 gfc_add_modify (&body, count2, tmp); in gfc_trans_where_assign()
5640 tree count1, count2; in gfc_trans_where_2() local
5801 count2 = gfc_create_var (gfc_array_index_type, "count2"); in gfc_trans_where_2()
5803 gfc_add_modify (block, count2, gfc_index_zero_node); in gfc_trans_where_2()
5807 count1, count2, in gfc_trans_where_2()
5819 count2 = gfc_create_var (gfc_array_index_type, "count2"); in gfc_trans_where_2()
5821 gfc_add_modify (block, count2, gfc_index_zero_node); in gfc_trans_where_2()
[all …]

12