Searched refs:sum (Results 226 - 250 of 332) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp468 int sum = 0; local
470 sum += __kmp_hwloc_count_children_by_depth(t, o->children[i], depth, f);
471 return sum; // will be 0 if no one found (as PU arity is 0)
482 int sum = 0; local
484 sum += __kmp_hwloc_count_children_by_type(t, o->children[i], type, f);
485 return sum; // will be 0 if no one found (as PU arity is 0)
2735 kmp_affin_mask_t *sum; local
2736 KMP_CPU_ALLOC_ON_STACK(sum);
2737 KMP_CPU_ZERO(sum);
2738 KMP_CPU_SET(address2os[0].second, sum);
5271 int sum = 0; local
[all...]
/freebsd-11-stable/sys/dev/videomode/
H A Dedid.c134 int sum = 0, i; local
141 sum += d[i];
142 if ((sum & 0xff) != 0)
/freebsd-11-stable/usr.sbin/etcupdate/tests/
H A Dtests_test.sh711 local contents sum
723 sum=`md5 -q $TEST/$1`
724 if [ "$sum" != "$3" ]; then
735 local sum
741 sum=`md5 -q $CONFLICTS/$1`
742 if [ "$sum" != "$2" ]; then
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp102 unsigned sum = 0; local
106 sum += StmtClassInfo[i].Counter;
108 llvm::errs() << " " << sum << " stmts/exprs total.\n";
109 sum = 0;
117 sum += StmtClassInfo[i].Counter*StmtClassInfo[i].Size;
120 llvm::errs() << "Total bytes = " << sum << "\n";
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_proxy.c1032 u_short sum = ntohs(tcp->th_sum); local
1033 sum += adjlen;
1034 tcp->th_sum = htons(sum);
1041 u_short sum = ntohs(udp->uh_sum); local
1042 sum += adjlen;
1043 udp->uh_sum = htons(sum);
/freebsd-11-stable/contrib/gdtoa/
H A Dgdtoaimp.h586 #define sum __sum_D2A macro
661 extern Bigint *sum ANSI((Bigint*, Bigint*));
/freebsd-11-stable/crypto/openssh/regress/
H A Dtest-exec.sh288 elif have_prog sum; then
289 sum
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c243 #define SDPSTATS_HIST_GET(hist, hist_len, sum) ({ \
249 sum[__j] += h[__j]; \
/freebsd-11-stable/contrib/gcc/
H A Dipa-cp.c491 cgraph_edges) and sum of all invocations of NODE (represented
496 gcov_type sum; local
499 sum = 0;
500 /* Compute sum of all counts of callers. */
502 sum += cs->count;
506 ipcp_method_set_scale (node, sum * REG_BR_PROB_BASE / node->count);
H A Dloop-unroll.c1532 sum += a[i];
1536 sum += a[i]
2027 rtx sum = ve->reg; local
2038 sum = simplify_gen_binary (PLUS, GET_MODE (ve->reg),
2039 var, sum);
2044 sum = simplify_gen_binary (MULT, GET_MODE (ve->reg),
2045 var, sum);
2048 expr = force_operand (sum, ve->reg);
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dst_parse.c1117 int sum; local
1119 for (sum = 0; (c = *w) != '\0'; sum += c, w++)
1121 return (HASH(sum));
/freebsd-11-stable/sys/dev/e1000/
H A De1000_api.h115 u16 offset, u8 *sum);
130 * length = the sum of all the length fields of the Rx descriptors that
H A De1000_api.c914 * @sum: sum of the data (not checksum)
918 * way. Also fills up the sum of the buffer in *buffer parameter.
921 u16 offset, u8 *sum)
923 return e1000_mng_host_if_write_generic(hw, buffer, length, offset, sum);
920 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
/freebsd-11-stable/sys/dev/fe/
H A Dif_fe_isa.c1004 u_char sum;
1035 sum = fe_inb(sc, 0x1e);
1037 sum ^= sc->enaddr[i];
1039 if (sum != 0)
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_jupiter.c934 u_short sum, x; local
936 sum = 0;
939 sum += getshort(x);
941 return (~sum + 1);
/freebsd-11-stable/contrib/ntp/parseutil/
H A Ddcfd.c391 register unsigned long sum = 0; local
398 sum <<= 1;
399 sum |= (buf[i] != dcfparam.zerobits[i]);
401 return sum;
621 lowmax = 0; /* weighted sum */
625 * collect weighted sum of lower bits (left of initial guess)
642 * calculate lower bit maximum (weighted sum / bit count)
655 highmax = 0; /* weighted sum of upper bits counts */
659 * collect weighted sum of lower bits (right of initial guess)
670 * determine upper maximum (weighted sum / bi
[all...]
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-control.c184 /** divide sum of timers to get average */
186 timeval_divide(struct timeval* avg, const struct timeval* sum, long long d) argument
195 avg->tv_sec = sum->tv_sec / d;
196 avg->tv_usec = sum->tv_usec / d;
198 leftover = sum->tv_sec - avg->tv_sec*d;
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v3.c1562 uint32_t sum; local
1578 sum = 0;
1587 sum += eeval;
1591 if (sum == 0 || sum == 0xffff*3) {
1778 uint32_t sum, eepMax; local
1822 sum = 0;
1827 sum ^= eeval;
1829 if (sum != 0xffff) {
1831 __func__, sum);
[all...]
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/
H A Dwesside.c186 register long sum; local
190 sum = 0;
193 sum += *ptr++;
201 sum += oddbyte;
204 sum = (sum >> 16) + (sum & 0xffff);
205 sum += (sum >> 16);
206 answer = ~sum;
[all...]
/freebsd-11-stable/contrib/gcc/config/
H A Ddarwin.c731 rtx sum; local
733 sum = gen_rtx_HIGH (Pmode, offset);
735 sum = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, sum);
737 emit_insn (gen_rtx_SET (Pmode, hi_sum_reg, sum));
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_rx.c1333 unsigned int sum, index; local
1336 sum = 0;
1338 sum += *(unsigned int *)((caddr_t)sc->rxq[index] +
1341 return (SYSCTL_OUT(req, &sum, sizeof(sum)));
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_calendar.c404 * Do a partial reduction by digit sum to keep the value in the
697 * for ARM CPUs, the sum-by-digit code in the next section is
1296 uint32_t sf32, sum, uyear; local
1302 sum = (uyear /= 4u); /* 4yr rule --> IN */
1303 sum -= (uyear /= 25u); /* 100yr rule --> OUT */
1304 sum += (uyear /= 4u); /* 400yr rule --> IN */
1306 /* Thanks to the alternation of IN/OUT/IN we can do the sum
1312 return uint32_2cpl_to_int32(sf32 ^ sum);
1859 * reduction by digit sum.
/freebsd-11-stable/sys/kern/
H A Dsched_ule.c570 * consider the maximum latency as the sum of the threads waiting to run
1621 u_int sum; local
1624 sum = ts->ts_runtime + ts->ts_slptime;
1625 if (sum < SCHED_SLP_RUN_MAX)
1632 if (sum > SCHED_SLP_RUN_MAX * 2) {
1647 if (sum > (SCHED_SLP_RUN_MAX / 5) * 6) {
1667 int sum; local
1670 sum = ts->ts_runtime + ts->ts_slptime;
1671 if (sum > SCHED_SLP_RUN_FORK) {
1672 ratio = sum / SCHED_SLP_RUN_FOR
[all...]
/freebsd-11-stable/contrib/amd/scripts/
H A Dexpn.1900 local($e,$sum);
902 $sum += $e;
904 $sum / @e;
H A Dexpn.in899 local($e,$sum);
901 $sum += $e;
903 $sum / @e;

Completed in 415 milliseconds

1234567891011>>