/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-resampler-x86-sse2.c | 34 __m128i sum, t; in inner_product_gint16_full_1_sse2() local 36 sum = _mm_setzero_si128 (); in inner_product_gint16_full_1_sse2() 40 sum = in inner_product_gint16_full_1_sse2() 41 _mm_add_epi32 (sum, _mm_madd_epi16 (t, in inner_product_gint16_full_1_sse2() 45 sum = in inner_product_gint16_full_1_sse2() 46 _mm_add_epi32 (sum, _mm_madd_epi16 (t, in inner_product_gint16_full_1_sse2() 49 sum = _mm_add_epi32 (sum, _mm_shuffle_epi32 (sum, _MM_SHUFFLE (2, 3, 2, 3))); in inner_product_gint16_full_1_sse2() 50 sum = _mm_add_epi32 (sum, _mm_shuffle_epi32 (sum, _MM_SHUFFLE (1, 1, 1, 1))); in inner_product_gint16_full_1_sse2() 52 sum = _mm_add_epi32 (sum, _mm_set1_epi32 (1 << (PRECISION_S16 - 1))); in inner_product_gint16_full_1_sse2() 53 sum = _mm_srai_epi32 (sum, PRECISION_S16); in inner_product_gint16_full_1_sse2() [all …]
|
D | audio-resampler-x86-sse41.c | 43 __m128i sum, ta, tb; in inner_product_gint32_full_1_sse41() local 46 sum = _mm_setzero_si128 (); in inner_product_gint32_full_1_sse41() 52 sum = in inner_product_gint32_full_1_sse41() 53 _mm_add_epi64 (sum, _mm_mul_epi32 (_mm_unpacklo_epi32 (ta, ta), in inner_product_gint32_full_1_sse41() 55 sum = in inner_product_gint32_full_1_sse41() 56 _mm_add_epi64 (sum, _mm_mul_epi32 (_mm_unpackhi_epi32 (ta, ta), in inner_product_gint32_full_1_sse41() 62 sum = in inner_product_gint32_full_1_sse41() 63 _mm_add_epi64 (sum, _mm_mul_epi32 (_mm_unpacklo_epi32 (ta, ta), in inner_product_gint32_full_1_sse41() 65 sum = in inner_product_gint32_full_1_sse41() 66 _mm_add_epi64 (sum, _mm_mul_epi32 (_mm_unpackhi_epi32 (ta, ta), in inner_product_gint32_full_1_sse41() [all …]
|
D | audio-resampler-x86-sse.c | 34 __m128 sum = _mm_setzero_ps (); in inner_product_gfloat_full_1_sse() local 37 sum = in inner_product_gfloat_full_1_sse() 38 _mm_add_ps (sum, _mm_mul_ps (_mm_loadu_ps (a + i + 0), in inner_product_gfloat_full_1_sse() 40 sum = in inner_product_gfloat_full_1_sse() 41 _mm_add_ps (sum, _mm_mul_ps (_mm_loadu_ps (a + i + 4), in inner_product_gfloat_full_1_sse() 44 sum = _mm_add_ps (sum, _mm_movehl_ps (sum, sum)); in inner_product_gfloat_full_1_sse() 45 sum = _mm_add_ss (sum, _mm_shuffle_ps (sum, sum, 0x55)); in inner_product_gfloat_full_1_sse() 46 _mm_store_ss (o, sum); in inner_product_gfloat_full_1_sse() 54 __m128 sum[2], t; in inner_product_gfloat_linear_1_sse() local 59 sum[0] = sum[1] = _mm_setzero_ps (); in inner_product_gfloat_linear_1_sse() [all …]
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_dmix_generic.c | 52 volatile signed int *sum, size_t dst_step, in mix_areas_16() argument 59 old_sample = *sum; in mix_areas_16() 62 ARCH_ADD(sum, sample); in mix_areas_16() 64 old_sample = *sum; in mix_areas_16() 72 } while (IS_CONCURRENT && *sum != old_sample); in mix_areas_16() 77 sum = (signed int *) ((char *)sum + sum_step); in mix_areas_16() 83 volatile signed int *sum, size_t dst_step, in mix_areas_32() argument 90 old_sample = *sum; in mix_areas_32() 93 ARCH_ADD(sum, sample); in mix_areas_32() 95 old_sample = *sum; in mix_areas_32() [all …]
|
/third_party/libxml2/ |
D | xmlwriter.c | 523 int sum; in xmlTextWriterStartDocument() local 561 sum = 0; in xmlTextWriterStartDocument() 565 sum += count; in xmlTextWriterStartDocument() 569 sum += count; in xmlTextWriterStartDocument() 576 sum += count; in xmlTextWriterStartDocument() 580 sum += count; in xmlTextWriterStartDocument() 585 sum += count; in xmlTextWriterStartDocument() 589 sum += count; in xmlTextWriterStartDocument() 595 sum += count; in xmlTextWriterStartDocument() 599 sum += count; in xmlTextWriterStartDocument() [all …]
|
/third_party/FreeBSD/sys/arm/arm/ |
D | in_cksum.c | 51 q_util.q = sum; \ 52 sum = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \ 56 q_util.q = sum; \ 58 sum = l_util.s[0] + l_util.s[1]; \ 59 ADDCARRY(sum); \ 78 u_int64_t sum; in _do_cksum() local 81 sum = do_cksum(buf, len); in _do_cksum() 83 return (sum); in _do_cksum() 89 u_int64_t sum = 0; in in_cksum() local 94 sum = _do_cksum(buf, len) << 8; in in_cksum() [all …]
|
/third_party/optimized-routines/networking/ |
D | chksum_common.h | 85 uint64_t sum = 0; in slurp_small() local 88 sum += load32(cptr); in slurp_small() 94 sum += load16(cptr); in slurp_small() 99 sum += (uint8_t) *cptr; in slurp_small() 101 return sum; in slurp_small() 112 fold_and_swap(uint64_t sum, bool swap) in fold_and_swap() argument 115 sum = (sum & 0xffffffff) + (sum >> 32); in fold_and_swap() 116 sum = (sum & 0xffffffff) + (sum >> 32); in fold_and_swap() 117 Assert(sum == (uint32_t) sum); in fold_and_swap() 120 sum = (sum & 0xffff) + (sum >> 16); in fold_and_swap() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | ParseRawPrimitivesBenchmark.cs | 113 int sum = 0; in ParseRawVarint32_CodedInputStream() 116 sum += cis.ReadInt32(); in ParseRawVarint32_CodedInputStream() 118 return sum; in ParseRawVarint32_CodedInputStream() 130 int sum = 0; in ParseRawVarint32_ParseContext() 133 sum += ctx.ReadInt32(); in ParseRawVarint32_ParseContext() 135 return sum; in ParseRawVarint32_ParseContext() 152 long sum = 0; in ParseRawVarint64_CodedInputStream() 155 sum += cis.ReadInt64(); in ParseRawVarint64_CodedInputStream() 157 return sum; in ParseRawVarint64_CodedInputStream() 174 long sum = 0; in ParseRawVarint64_ParseContext() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_conv_fast_q31.c | 76 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_conv_fast_q31() local 150 sum = 0; in arm_conv_fast_q31() 160 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() 164 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() 168 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() 172 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() 186 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() 194 *pOut++ = sum << 1; in arm_conv_fast_q31() 379 sum = 0; in arm_conv_fast_q31() 389 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31() [all …]
|
D | arm_correlate_fast_q31.c | 78 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_correlate_fast_q31() local 174 sum = 0; in arm_correlate_fast_q31() 184 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() 188 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() 192 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() 196 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() 211 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() 219 *pOut = sum << 1; in arm_correlate_fast_q31() 413 sum = 0; in arm_correlate_fast_q31() 423 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31() [all …]
|
D | arm_conv_partial_fast_q31.c | 72 q31_t sum; /* Accumulators */ in arm_conv_partial_fast_q31() local 169 sum = 0; in arm_conv_partial_fast_q31() 179 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() 183 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() 187 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() 191 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() 211 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() 219 *pOut++ = sum << 1; in arm_conv_partial_fast_q31() 416 sum = 0; in arm_conv_partial_fast_q31() 426 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31() [all …]
|
D | arm_conv_fast_q15.c | 73 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_conv_fast_q15() local 154 sum = 0; in arm_conv_fast_q15() 163 sum = __SMLAD(*px++, *py--, sum); in arm_conv_fast_q15() 170 *pOut++ = (q15_t) (sum >> 15); in arm_conv_fast_q15() 192 sum = 0; in arm_conv_fast_q15() 203 sum = __SMLADX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_fast_q15() 205 sum = __SMLADX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_fast_q15() 222 sum = __SMLAD(*px++, *py--, sum); in arm_conv_fast_q15() 229 *pOut++ = (q15_t) (sum >> 15); in arm_conv_fast_q15() 454 sum = 0; in arm_conv_fast_q15() [all …]
|
D | arm_conv_partial_q15.c | 74 q63_t sum, acc0, acc1, acc2, acc3; /* Accumulator */ in arm_conv_partial_q15() local 174 sum = 0; in arm_conv_partial_q15() 183 sum = __SMLALD(*px++, *py--, sum); in arm_conv_partial_q15() 190 *pOut++ = (q15_t) (__SSAT((sum >> 15), 16)); in arm_conv_partial_q15() 212 sum = 0; in arm_conv_partial_q15() 223 sum = __SMLALDX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_partial_q15() 225 sum = __SMLALDX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_partial_q15() 242 sum = __SMLALD(*px++, *py--, sum); in arm_conv_partial_q15() 249 *pOut++ = (q15_t) (__SSAT((sum >> 15), 16)); in arm_conv_partial_q15() 482 sum = 0; in arm_conv_partial_q15() [all …]
|
D | arm_conv_partial_fast_q15.c | 68 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulator */ in arm_conv_partial_fast_q15() local 168 sum = 0; in arm_conv_partial_fast_q15() 177 sum = __SMLAD(*px++, *py--, sum); in arm_conv_partial_fast_q15() 184 *pOut++ = (q15_t) (sum >> 15); in arm_conv_partial_fast_q15() 206 sum = 0; in arm_conv_partial_fast_q15() 217 sum = __SMLADX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_partial_fast_q15() 219 sum = __SMLADX(read_q15x2_ia ((q15_t **) &px), read_q15x2_da ((q15_t **) &py), sum); in arm_conv_partial_fast_q15() 236 sum = __SMLAD(*px++, *py--, sum); in arm_conv_partial_fast_q15() 243 *pOut++ = (q15_t) (sum >> 15); in arm_conv_partial_fast_q15() 476 sum = 0; in arm_conv_partial_fast_q15() [all …]
|
D | arm_conv_partial_q31.c | 75 q63_t sum; /* Accumulator */ in arm_conv_partial_q31() local 172 sum = 0; in arm_conv_partial_q31() 182 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() 185 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() 188 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() 191 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() 210 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() 217 *pOut++ = (q31_t) (sum >> 31); in arm_conv_partial_q31() 395 sum = 0; in arm_conv_partial_q31() 405 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31() [all …]
|
D | arm_conv_partial_f32.c | 96 float32_t sum; /* Accumulator */ in arm_conv_partial_f32() local 193 sum = 0.0f; in arm_conv_partial_f32() 203 sum += *px++ * *py--; in arm_conv_partial_f32() 206 sum += *px++ * *py--; in arm_conv_partial_f32() 209 sum += *px++ * *py--; in arm_conv_partial_f32() 212 sum += *px++ * *py--; in arm_conv_partial_f32() 231 sum += *px++ * *py--; in arm_conv_partial_f32() 238 *pOut++ = sum; in arm_conv_partial_f32() 435 sum = 0.0f; in arm_conv_partial_f32() 445 sum += *px++ * *py--; in arm_conv_partial_f32() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | mix.c | 135 int32_t sum; in pa_mix2_ch1_s16ne() local 137 sum = pa_mult_s16_volume(*ptr0++, cv0); in pa_mix2_ch1_s16ne() 138 sum += pa_mult_s16_volume(*ptr1++, cv1); in pa_mix2_ch1_s16ne() 140 sum = PA_CLAMP_UNLIKELY(sum, -0x8000, 0x7FFF); in pa_mix2_ch1_s16ne() 141 *data++ = sum; in pa_mix2_ch1_s16ne() 153 int32_t sum; in pa_mix2_ch2_s16ne() local 155 sum = pa_mult_s16_volume(*ptr0++, streams[0].linear[0].i); in pa_mix2_ch2_s16ne() 156 sum += pa_mult_s16_volume(*ptr1++, streams[1].linear[0].i); in pa_mix2_ch2_s16ne() 158 sum = PA_CLAMP_UNLIKELY(sum, -0x8000, 0x7FFF); in pa_mix2_ch2_s16ne() 159 *data++ = sum; in pa_mix2_ch2_s16ne() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | mpegvideoencdsp_msa.c | 26 uint32_t sum = 0; in sum_u8src_16width_msa() local 39 sum = HADD_UH_U32(in0); in sum_u8src_16width_msa() 40 sum += HADD_UH_U32(in1); in sum_u8src_16width_msa() 41 sum += HADD_UH_U32(in2); in sum_u8src_16width_msa() 42 sum += HADD_UH_U32(in3); in sum_u8src_16width_msa() 43 sum += HADD_UH_U32(in4); in sum_u8src_16width_msa() 44 sum += HADD_UH_U32(in5); in sum_u8src_16width_msa() 45 sum += HADD_UH_U32(in6); in sum_u8src_16width_msa() 46 sum += HADD_UH_U32(in7); in sum_u8src_16width_msa() 47 sum += HADD_UH_U32(in8); in sum_u8src_16width_msa() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/ |
D | arm_dot_prod_q15.c | 68 q63_t sum = 0LL; in arm_dot_prod_q15() local 80 sum = vmlaldavaq(sum, vecA, vecB); in arm_dot_prod_q15() 100 sum = vmlaldavaq_p(sum, vecA, vecB, p0); in arm_dot_prod_q15() 103 *result = sum; in arm_dot_prod_q15() 114 q63_t sum = 0; /* Temporary return variable */ in arm_dot_prod_q15() local 127 sum = __SMLALD(read_q15x2_ia ((q15_t **) &pSrcA), read_q15x2_ia ((q15_t **) &pSrcB), sum); in arm_dot_prod_q15() 128 sum = __SMLALD(read_q15x2_ia ((q15_t **) &pSrcA), read_q15x2_ia ((q15_t **) &pSrcB), sum); in arm_dot_prod_q15() 130 sum += (q63_t)((q31_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q15() 131 sum += (q63_t)((q31_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q15() 132 sum += (q63_t)((q31_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q15() [all …]
|
D | arm_dot_prod_q7.c | 69 q31_t sum = 0; in arm_dot_prod_q7() local 81 sum = vmladavaq(sum, vecA, vecB); in arm_dot_prod_q7() 101 sum = vmladavaq_p(sum, vecA, vecB, p0); in arm_dot_prod_q7() 104 *result = sum; in arm_dot_prod_q7() 114 q31_t sum = 0; /* Temporary return variable */ in arm_dot_prod_q7() local 146 sum = __SMLAD(inA1, inB1, sum); in arm_dot_prod_q7() 147 sum = __SMLAD(inA2, inB2, sum); in arm_dot_prod_q7() 149 sum += (q31_t) ((q15_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q7() 150 sum += (q31_t) ((q15_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q7() 151 sum += (q31_t) ((q15_t) *pSrcA++ * *pSrcB++); in arm_dot_prod_q7() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/ |
D | arm_power_q15.c | 65 q63_t sum = 0LL; in arm_power_q15() local 76 sum = vmlaldavaq(sum, vecSrc, vecSrc); in arm_power_q15() 92 sum += ((q31_t) in * in); in arm_power_q15() 98 *pResult = sum; in arm_power_q15() 107 q63_t sum = 0; /* Temporary result storage */ in arm_power_q15() local 126 sum = __SMLALD(in32, in32, sum); in arm_power_q15() 129 sum = __SMLALD(in32, in32, sum); in arm_power_q15() 132 sum += ((q31_t) in * in); in arm_power_q15() 135 sum += ((q31_t) in * in); in arm_power_q15() 138 sum += ((q31_t) in * in); in arm_power_q15() [all …]
|
D | arm_power_q7.c | 64 q31_t sum = 0LL; in arm_power_q7() local 75 sum = vmladavaq(sum, vecSrc, vecSrc); in arm_power_q7() 91 sum += ((q15_t) in * in); in arm_power_q7() 97 *pResult = sum; in arm_power_q7() 106 q31_t sum = 0; /* Temporary result storage */ in arm_power_q7() local 131 sum = __SMLAD(in1, in1, sum); in arm_power_q7() 132 sum = __SMLAD(in2, in2, sum); in arm_power_q7() 135 sum += ((q15_t) in * in); in arm_power_q7() 138 sum += ((q15_t) in * in); in arm_power_q7() 141 sum += ((q15_t) in * in); in arm_power_q7() [all …]
|
D | arm_var_q15.c | 67 q63_t sum = 0LL; in arm_var_q15() local 85 sum = vaddvaq_s16(sum, vecSrc); in arm_var_q15() 106 sum += in; in arm_var_q15() 117 squareOfMean = arm_div_q63_to_q31((q63_t)sum * sum, (q31_t)(blockSize * (blockSize - 1U))); in arm_var_q15() 129 q31_t sum = 0; /* Accumulator */ in arm_var_q15() local 159 sum += ((in32 << 16U) >> 16U); in arm_var_q15() 160 sum += (in32 >> 16U); in arm_var_q15() 164 sum += ((in32 << 16U) >> 16U); in arm_var_q15() 165 sum += (in32 >> 16U); in arm_var_q15() 169 sum += in; in arm_var_q15() [all …]
|
/third_party/glslang/Test/ |
D | cppNest.vert | 5 float sum = 0.0; 12 sum += 1.0; 16 sum += 20.0; 21 sum += 300.0; 29 sum += 4000.0; 33 sum += 50000.0; 37 sum += 0.1; 40 sum += 0.2; 44 sum += 0.01; 47 sum += 0.02; [all …]
|
/third_party/alsa-lib/test/ |
D | mixtest.c | 90 volatile s32 *sum, in mix_areas_srv() argument 94 sum_step /= sizeof(*sum); in mix_areas_srv() 96 atomic_add(sum, *src); in mix_areas_srv() 98 sum += sum_step; in mix_areas_srv() 103 s16 *dst, const s32 *sum, in saturate() argument 107 sum_step /= sizeof(*sum); in saturate() 109 s32 sample = *sum; in saturate() 117 sum += sum_step; in saturate() 123 volatile s32 *sum, in mix_areas0() argument 130 sum_step /= sizeof(*sum); in mix_areas0() [all …]
|