Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 25 of 141) sorted by relevance

123456

/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_logsumexp_f32.c72 float32_t accum=0.0f; in arm_logsumexp_f32() local
103 accum = vecAddAcrossF32Mve(vSum); in arm_logsumexp_f32()
109 accum += expf(tmp - maxVal); in arm_logsumexp_f32()
114 accum = maxVal + log(accum); in arm_logsumexp_f32()
116 return (accum); in arm_logsumexp_f32()
135 float32_t accum; in arm_logsumexp_f32() local
197 accum = 0; in arm_logsumexp_f32()
214 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_logsumexp_f32()
220 accum += expf(tmp - maxVal); in arm_logsumexp_f32()
225 accum = maxVal + logf(accum); in arm_logsumexp_f32()
[all …]
Darm_entropy_f32.c55 float32_t accum=0.0f,p; in arm_entropy_f32() local
78 accum = vecAddAcrossF32Mve(vSum); in arm_entropy_f32()
85 accum += p * logf(p); in arm_entropy_f32()
91 return (-accum); in arm_entropy_f32()
103 float32_t accum, p; in arm_entropy_f32() local
111 accum = 0.0f; in arm_entropy_f32()
128 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_entropy_f32()
135 accum += p * logf(p); in arm_entropy_f32()
141 return(-accum); in arm_entropy_f32()
149 float32_t accum, p; in arm_entropy_f32() local
[all …]
Darm_kullback_leibler_f32.c61 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local
66 accum = 0.0f; in arm_kullback_leibler_f32()
88 accum = vecAddAcrossF32Mve(vSum); in arm_kullback_leibler_f32()
95 accum += pA * logf(pB / pA); in arm_kullback_leibler_f32()
101 return(-accum); in arm_kullback_leibler_f32()
113 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local
122 accum = 0.0f; in arm_kullback_leibler_f32()
145 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_kullback_leibler_f32()
152 accum += pA * logf(pB/pA); in arm_kullback_leibler_f32()
158 return(-accum); in arm_kullback_leibler_f32()
[all …]
Darm_entropy_f64.c49 float64_t accum, p; in arm_entropy_f64() local
54 accum = 0.0f; in arm_entropy_f64()
60 accum += p * log(p); in arm_entropy_f64()
66 return(-accum); in arm_entropy_f64()
Darm_kullback_leibler_f64.c50 float64_t accum, pA,pB; in arm_kullback_leibler_f64() local
56 accum = 0.0f; in arm_kullback_leibler_f64()
63 accum += pA * log(pB / pA); in arm_kullback_leibler_f64()
68 return(-accum); in arm_kullback_leibler_f64()
/third_party/mingw-w64/mingw-w64-crt/misc/
Dstrtoimax.c39 register uintmax_t accum; /* accumulates converted value */ local
87 accum = n;
90 if ( accum > (uintmax_t)(INTMAX_MAX / base + 2) ) /* major wrap-around */
93 accum = base * accum + n;
100 if ( accum > (uintmax_t)INTMAX_MAX + 1 )
104 if ( accum > (uintmax_t)INTMAX_MAX )
113 return (intmax_t)(minus ? -accum : accum);
Dwcstoimax.c41 register uintmax_t accum; /* accumulates converted value */ local
94 accum = n;
97 if ( accum > (uintmax_t)(INTMAX_MAX / base + 2) ) /* major wrap-around */
100 accum = base * accum + n;
107 if ( accum > (uintmax_t)INTMAX_MAX + 1 )
111 if ( accum > (uintmax_t)INTMAX_MAX )
120 return (intmax_t)(minus ? -accum : accum);
Dstrtoumax.c39 register uintmax_t accum; /* accumulates converted value */ local
92 accum = n;
95 if ( accum > UINTMAX_MAX / base + 1 /* major wrap-around */
96 || (next = base * accum + n) < accum /* minor wrap-around */
100 accum = next;
111 return minus ? -accum : accum; /* (yes!) */
Dwcstoumax.c41 register uintmax_t accum; /* accumulates converted value */ local
95 accum = n;
98 if ( accum > UINTMAX_MAX / base + 1 /* major wrap-around */
99 || (next = base * accum + n) < accum /* minor wrap-around */
103 accum = next;
114 return minus ? -accum : accum; /* (yes!) */
/third_party/boost/boost/random/detail/
Dinteger_log2.hpp40 BOOST_RANDOM_DETAIL_CONSTEXPR static int apply(T t, int accum) in apply()
43 return integer_log2_impl<Shift / 2>::apply(t >> update, accum + update); in apply()
47 BOOST_RANDOM_DETAIL_CONSTEXPR static int apply2(T t, int accum, int update)
49 return integer_log2_impl<Shift / 2>::apply(t >> update, accum + update);
53 BOOST_RANDOM_DETAIL_CONSTEXPR static int apply(T t, int accum)
55 return apply2(t, accum, ((t >> Shift) != 0) * Shift);
64 BOOST_RANDOM_DETAIL_CONSTEXPR static int apply(T t, int accum) in apply()
66 return int(t >> 1) + accum; in apply()
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_barycenter_f32.c61 float32_t accum, w; in arm_barycenter_f32() local
66 accum = 0.0f; in arm_barycenter_f32()
92 accum += w1 + w2 + w3 + w4; in arm_barycenter_f32()
143 accum += w; in arm_barycenter_f32()
171 accum = 1.0f / accum; in arm_barycenter_f32()
179 tmp = vmulq(tmp, accum); in arm_barycenter_f32()
188 *pOut = *pOut * accum; in arm_barycenter_f32()
203 float32_t accum, w,w1,w2,w3,w4; in arm_barycenter_f32() local
210 accum = 0.0f; in arm_barycenter_f32()
250 accum += w1 + w2 + w3 + w4; in arm_barycenter_f32()
[all …]
/third_party/ffmpeg/libavcodec/
Dmlpdsp.c41 int64_t accum = 0; in mlp_filter_channel() local
45 accum += (int64_t) firbuf[order] * fircoeff[order]; in mlp_filter_channel()
47 accum += (int64_t) iirbuf[order] * iircoeff[order]; in mlp_filter_channel()
49 accum = accum >> filter_shift; in mlp_filter_channel()
50 result = (accum + residual) & mask; in mlp_filter_channel()
53 *--iirbuf = result - accum; in mlp_filter_channel()
75 int64_t accum = 0; in ff_mlp_rematrix_channel() local
78 accum += (int64_t) samples[src_ch] * coeffs[src_ch]; in ff_mlp_rematrix_channel()
82 accum += noise_buffer[index] * (1 << (matrix_noise_shift + 7)); in ff_mlp_rematrix_channel()
86 samples[dest_ch] = ((accum >> 14) & mask) + *bypassed_lsbs; in ff_mlp_rematrix_channel()
/third_party/openssl/crypto/ec/curve448/
Dscalar.c49 const c448_word_t accum[C448_SCALAR_LIMBS], in sc_subx()
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul() local
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
91 mand = accum[0] * MONTGOMERY_FACTOR; in sc_montmul()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
[all …]
/third_party/node/test/parallel/
Dtest-repl-uncaught-exception.js10 let accum = '';
13 output.write = (data) => accum += data.replace('\r', '');
25 assert.strictEqual(accum, expected);
27 assert(expected.test(accum), accum);
31 accum = '';
34 assert.strictEqual(accum.replace(/\u001b\[[0-9]+m/g, ''), '2\n');
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_cityblock_distance_f32.c96 float32_t accum=0.0f, tmpA, tmpB; in arm_cityblock_distance_f32() local
118 accum = vget_lane_f32(accumV2,0); in arm_cityblock_distance_f32()
126 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
130 return(accum); in arm_cityblock_distance_f32()
136 float32_t accum,tmpA, tmpB; in arm_cityblock_distance_f32() local
138 accum = 0.0f; in arm_cityblock_distance_f32()
143 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
148 return(accum); in arm_cityblock_distance_f32()
Darm_canberra_distance_f32.c60 float32_t accum = 0.0f; in arm_canberra_distance_f32() local
122 accum = vecAddAcrossF32Mve(accumV); in arm_canberra_distance_f32()
124 return (accum); in arm_canberra_distance_f32()
134 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local
174 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_canberra_distance_f32()
187 accum += (diff / sum); in arm_canberra_distance_f32()
191 return(accum); in arm_canberra_distance_f32()
197 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local
208 accum += (diff / sum); in arm_canberra_distance_f32()
212 return(accum); in arm_canberra_distance_f32()
Darm_euclidean_distance_f32.c98 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local
117 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_euclidean_distance_f32()
123 accum += SQ(tmp); in arm_euclidean_distance_f32()
126 arm_sqrt_f32(accum,&tmp); in arm_euclidean_distance_f32()
133 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local
138 accum += SQ(tmp); in arm_euclidean_distance_f32()
141 arm_sqrt_f32(accum,&tmp); in arm_euclidean_distance_f32()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_dot_prod_f32.c134 f32x4_t accum = vdupq_n_f32(0); in arm_dot_prod_f32() local
148 accum = vmlaq_f32(accum, vec1, vec2); in arm_dot_prod_f32()
162 sum = vpadds_f32(vpadd_f32(vget_low_f32(accum), vget_high_f32(accum))); in arm_dot_prod_f32()
164 tmp = vpadd_f32(vget_low_f32(accum), vget_high_f32(accum)); in arm_dot_prod_f32()
/third_party/skia/bench/
DMathBench.cpp354 float accum = 0; in onDraw() local
360 accum += fast_floor(data[i]); in onDraw()
362 this->process(accum); in onDraw()
367 accum += sk_float_floor(data[i]); in onDraw()
369 this->process(accum); in onDraw()
415 int accum = 0; in onDraw() local
420 accum += SkCLZ_portable(fData[i]); in onDraw()
422 this->process(accum); in onDraw()
427 accum += SkCLZ(fData[i]); in onDraw()
429 this->process(accum); in onDraw()
[all …]
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dreduce.js34 ReductionPromiseArray.prototype._gotAccum = function(accum) { argument
37 accum !== INTERNAL) {
38 this._eachValues.push(accum);
95 accum: null, property
136 function gotAccum(accum) { argument
137 this.accum = accum;
138 this.array._gotAccum(accum);
158 this.accum, value, this.index, this.length);
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C() local
45 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
48 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
49 if (accum < 0) { in WebPRescalerImportRowExpand_C()
54 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
57 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
72 int accum = 0; in WebPRescalerImportRowShrink_C() local
75 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
76 while (accum > 0) { in WebPRescalerImportRowShrink_C()
77 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C() local
46 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
49 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
50 if (accum < 0) { in WebPRescalerImportRowExpand_C()
55 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
58 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
73 int accum = 0; in WebPRescalerImportRowShrink_C() local
76 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
77 while (accum > 0) { in WebPRescalerImportRowShrink_C()
78 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_mult_f32.c539 float32x2_t accum = vdup_n_f32(0); in arm_mat_mult_f32() local
667 accum = vpadd_f32(vget_low_f32(acc0), vget_high_f32(acc0)); in arm_mat_mult_f32()
668 sum0 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
670 accum = vpadd_f32(vget_low_f32(acc1), vget_high_f32(acc1)); in arm_mat_mult_f32()
671 sum1 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
673 accum = vpadd_f32(vget_low_f32(acc2), vget_high_f32(acc2)); in arm_mat_mult_f32()
674 sum2 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
676 accum = vpadd_f32(vget_low_f32(acc3), vget_high_f32(acc3)); in arm_mat_mult_f32()
677 sum3 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
679 accum = vpadd_f32(vget_low_f32(acc4), vget_high_f32(acc4)); in arm_mat_mult_f32()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dmlpdsp.asm64 sar accumq, 14 ; accum >>= 14
65 and accumd, maskd ; accum &= mask
66 add accumd, blsbsd ; accum += *bypassed_lsbs
67 mov [samplesq + dest_chq], accumd ; samples[dest_ch] = accum
81 add accumq, noiseq ; accum += noise_buffer[index]
83 sar accumq, 14 ; accum >>= 14
84 and accumd, maskd ; accum &= mask
85 add accumd, noised ; accum += *bypassed_lsbs
86 mov [samplesq + dest_chq], accumd ; samples[dest_ch] = accum
100 accum, mask, cnt
[all …]
/third_party/flutter/skia/bench/
DMathBench.cpp354 float accum = 0; in onDraw() local
360 accum += fast_floor(data[i]); in onDraw()
362 this->process(accum); in onDraw()
367 accum += sk_float_floor(data[i]); in onDraw()
369 this->process(accum); in onDraw()
415 int accum = 0; in onDraw() local
420 accum += SkCLZ_portable(fData[i]); in onDraw()
422 this->process(accum); in onDraw()
427 accum += SkCLZ(fData[i]); in onDraw()
429 this->process(accum); in onDraw()
[all …]

123456