/external/flac/libFLAC/ |
D | lpc.c | 272 FLAC__int32 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients() local 285 sum = 0; in FLAC__lpc_compute_residual_from_qlp_coefficients() 288 sum += qlp_coeff[j] * (*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients() 293 *(residual++) = *(data++) - (sum >> lp_quantization); in FLAC__lpc_compute_residual_from_qlp_coefficients() 308 FLAC__int32 sum; 323 sum = 0; 324 sum += qlp_coeff[11] * data[i-12]; 325 sum += qlp_coeff[10] * data[i-11]; 326 sum += qlp_coeff[9] * data[i-10]; 327 sum += qlp_coeff[8] * data[i-9]; [all …]
|
/external/clang/test/CodeGen/ |
D | arm64-abi-vector.c | 25 double sum = fixed; in varargs_vec_2c() local 28 sum = sum + c3.x + c3.y; in varargs_vec_2c() 30 return sum; in varargs_vec_2c() 44 double sum = fixed; in varargs_vec_3c() local 47 sum = sum + c3.x + c3.y; in varargs_vec_3c() 49 return sum; in varargs_vec_3c() 64 double sum = fixed; in varargs_vec_4c() local 67 sum = sum + c4.x + c4.y; in varargs_vec_4c() 69 return sum; in varargs_vec_4c() 84 double sum = fixed; in varargs_vec_5c() local [all …]
|
D | arm-abi-vector.c | 41 double sum = fixed; in varargs_vec_2i() local 44 sum = sum + c3.x + c3.y; in varargs_vec_2i() 46 return sum; in varargs_vec_2i() 73 double sum = fixed; in varargs_vec_3c() local 76 sum = sum + c3.x + c3.y; in varargs_vec_3c() 78 return sum; in varargs_vec_3c() 116 double sum = fixed; in varargs_vec_5c() local 119 sum = sum + c5.x + c5.y; in varargs_vec_5c() 121 return sum; in varargs_vec_5c() 159 double sum = fixed; in varargs_vec_9c() local [all …]
|
D | builtins-arm-exclusive.c | 12 int sum = 0; in test_ldrex() local 13 sum += __builtin_arm_ldrex(addr); in test_ldrex() 20 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex() 29 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex() 37 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex() 45 sum += __builtin_arm_ldrex(addr64); in test_ldrex() 51 sum += __builtin_arm_ldrex(addrfloat); in test_ldrex() 61 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex() 78 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex() 89 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex() [all …]
|
/external/speex/libspeexdsp/ |
D | resample_sse.h | 44 __m128 sum = _mm_setzero_ps(); in inner_product_single() local 47 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i), _mm_loadu_ps(b+i))); in inner_product_single() 48 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4), _mm_loadu_ps(b+i+4))); in inner_product_single() 50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in inner_product_single() 51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_product_single() 52 _mm_store_ss(&ret, sum); in inner_product_single() 60 __m128 sum = _mm_setzero_ps(); in interpolate_product_single() local 64 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i), _mm_loadu_ps(b+i*oversample))); in interpolate_product_single() 65 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i+1), _mm_loadu_ps(b+(i+1)*oversample))); in interpolate_product_single() 67 sum = _mm_mul_ps(f, sum); in interpolate_product_single() [all …]
|
/external/libopus/celt/ |
D | pitch.h | 65 static OPUS_INLINE void xcorr_kernel_c(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4… in xcorr_kernel_c() 79 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel_c() 80 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel_c() 81 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel_c() 82 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel_c() 85 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel_c() 86 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel_c() 87 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel_c() 88 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel_c() 91 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel_c() [all …]
|
D | celt_lpc.c | 108 opus_val32 sum[4]; in celt_fir_c() local 109 sum[0] = SHL32(EXTEND32(x[i ]), SIG_SHIFT); in celt_fir_c() 110 sum[1] = SHL32(EXTEND32(x[i+1]), SIG_SHIFT); in celt_fir_c() 111 sum[2] = SHL32(EXTEND32(x[i+2]), SIG_SHIFT); in celt_fir_c() 112 sum[3] = SHL32(EXTEND32(x[i+3]), SIG_SHIFT); in celt_fir_c() 113 xcorr_kernel(rnum, x+i-ord, sum, ord, arch); in celt_fir_c() 114 y[i ] = ROUND16(sum[0], SIG_SHIFT); in celt_fir_c() 115 y[i+1] = ROUND16(sum[1], SIG_SHIFT); in celt_fir_c() 116 y[i+2] = ROUND16(sum[2], SIG_SHIFT); in celt_fir_c() 117 y[i+3] = ROUND16(sum[3], SIG_SHIFT); in celt_fir_c() [all …]
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | sad4d_neon.c | 75 static INLINE void sad_512_pel_final_neon(const uint16x8_t *sum /*[4]*/, in sad_512_pel_final_neon() argument 77 const uint16x4_t a0 = vadd_u16(vget_low_u16(sum[0]), vget_high_u16(sum[0])); in sad_512_pel_final_neon() 78 const uint16x4_t a1 = vadd_u16(vget_low_u16(sum[1]), vget_high_u16(sum[1])); in sad_512_pel_final_neon() 79 const uint16x4_t a2 = vadd_u16(vget_low_u16(sum[2]), vget_high_u16(sum[2])); in sad_512_pel_final_neon() 80 const uint16x4_t a3 = vadd_u16(vget_low_u16(sum[3]), vget_high_u16(sum[3])); in sad_512_pel_final_neon() 88 static INLINE void sad_1024_pel_final_neon(const uint16x8_t *sum /*[4]*/, in sad_1024_pel_final_neon() argument 90 const uint16x4_t a0 = vpadd_u16(vget_low_u16(sum[0]), vget_high_u16(sum[0])); in sad_1024_pel_final_neon() 91 const uint16x4_t a1 = vpadd_u16(vget_low_u16(sum[1]), vget_high_u16(sum[1])); in sad_1024_pel_final_neon() 92 const uint16x4_t a2 = vpadd_u16(vget_low_u16(sum[2]), vget_high_u16(sum[2])); in sad_1024_pel_final_neon() 93 const uint16x4_t a3 = vpadd_u16(vget_low_u16(sum[3]), vget_high_u16(sum[3])); in sad_1024_pel_final_neon() [all …]
|
D | vpx_convolve8_neon.h | 84 int16x4_t sum; in convolve8_4() local 86 sum = vmul_lane_s16(s0, filters_lo, 0); in convolve8_4() 87 sum = vmla_lane_s16(sum, s1, filters_lo, 1); in convolve8_4() 88 sum = vmla_lane_s16(sum, s2, filters_lo, 2); in convolve8_4() 89 sum = vmla_lane_s16(sum, s5, filters_hi, 1); in convolve8_4() 90 sum = vmla_lane_s16(sum, s6, filters_hi, 2); in convolve8_4() 91 sum = vmla_lane_s16(sum, s7, filters_hi, 3); in convolve8_4() 92 sum = vqadd_s16(sum, vmul_s16(s3, filter3)); in convolve8_4() 93 sum = vqadd_s16(sum, vmul_s16(s4, filter4)); in convolve8_4() 94 return sum; in convolve8_4() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_mix_ops.c | 43 int32_t sum; in cras_mix_add_clip_s16_le() local 47 sum = dst[i] + src[i]; in cras_mix_add_clip_s16_le() 48 if (sum > INT16_MAX) in cras_mix_add_clip_s16_le() 49 sum = INT16_MAX; in cras_mix_add_clip_s16_le() 50 else if (sum < INT16_MIN) in cras_mix_add_clip_s16_le() 51 sum = INT16_MIN; in cras_mix_add_clip_s16_le() 52 dst[i] = sum; in cras_mix_add_clip_s16_le() 63 int32_t sum; in scale_add_clip_s16_le() local 70 sum = dst[i] + (int16_t)(src[i] * vol); in scale_add_clip_s16_le() 71 if (sum > INT16_MAX) in scale_add_clip_s16_le() [all …]
|
/external/tcpdump/ |
D | in_cksum.c | 54 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);} 60 register int sum = 0; in in_cksum() local 87 sum += s_util.s; in in_cksum() 97 sum <<= 8; in in_cksum() 108 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum() 109 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in_cksum() 110 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in in_cksum() 111 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in in_cksum() 116 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum() 124 sum += *w++; in in_cksum() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | fwd_txfm_sse2.c | 52 __m128i u0, u1, sum; in vpx_fdct8x8_1_sse2() local 62 sum = _mm_add_epi16(u0, u1); in vpx_fdct8x8_1_sse2() 66 sum = _mm_add_epi16(sum, in0); in vpx_fdct8x8_1_sse2() 69 sum = _mm_add_epi16(sum, in2); in vpx_fdct8x8_1_sse2() 71 in0 = _mm_unpacklo_epi16(u0, sum); in vpx_fdct8x8_1_sse2() 72 in1 = _mm_unpackhi_epi16(u0, sum); in vpx_fdct8x8_1_sse2() 76 sum = _mm_add_epi32(in0, in1); in vpx_fdct8x8_1_sse2() 77 in0 = _mm_unpacklo_epi32(sum, u0); in vpx_fdct8x8_1_sse2() 78 in1 = _mm_unpackhi_epi32(sum, u0); in vpx_fdct8x8_1_sse2() 80 sum = _mm_add_epi32(in0, in1); in vpx_fdct8x8_1_sse2() [all …]
|
D | variance_sse2.c | 48 __m128i *const sum) { in variance_kernel_sse2() argument 51 *sum = _mm_add_epi16(*sum, diff); in variance_kernel_sse2() 58 int *const sum) { in variance_final_128_pel_sse2() argument 64 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in variance_final_128_pel_sse2() 70 int *const sum) { in variance_final_256_pel_sse2() argument 75 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in variance_final_256_pel_sse2() 76 *sum += (int16_t)_mm_extract_epi16(vsum, 1); in variance_final_256_pel_sse2() 82 int *const sum) { in variance_final_512_pel_sse2() argument 88 *sum = add32x4_sse2(vsum); in variance_final_512_pel_sse2() 91 static INLINE __m128i sum_to_32bit_sse2(const __m128i sum) { in sum_to_32bit_sse2() argument [all …]
|
/external/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 …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | sse_sse4.c | 22 int64_t sum; in summary_all_sse4() local 27 xx_storel_64(&sum, sum_1x64); in summary_all_sse4() 28 return sum; in summary_all_sse4() 38 static INLINE void sse_w16_sse4_1(__m128i *sum, const uint8_t *a, in sse_w16_sse4_1() argument 48 *sum = _mm_add_epi32(*sum, _mm_madd_epi16(v_d00_w, v_d00_w)); in sse_w16_sse4_1() 49 *sum = _mm_add_epi32(*sum, _mm_madd_epi16(v_d01_w, v_d01_w)); in sse_w16_sse4_1() 54 __m128i *sum) { in aom_sse4x2_sse4_1() argument 62 *sum = _mm_add_epi32(*sum, _mm_madd_epi16(v_d_w, v_d_w)); in aom_sse4x2_sse4_1() 65 __m128i *sum) { in aom_sse8_sse4_1() argument 71 *sum = _mm_add_epi32(*sum, _mm_madd_epi16(v_d_w, v_d_w)); in aom_sse8_sse4_1() [all …]
|
D | sse_avx2.c | 20 static INLINE void sse_w32_avx2(__m256i *sum, const uint8_t *a, in sse_w32_avx2() argument 31 *sum = _mm256_add_epi32(*sum, _mm256_madd_epi16(v_d00_w, v_d00_w)); in sse_w32_avx2() 32 *sum = _mm256_add_epi32(*sum, _mm256_madd_epi16(v_d01_w, v_d01_w)); in sse_w32_avx2() 36 int64_t sum; in summary_all_avx2() local 44 xx_storel_64(&sum, sum_1x64); in summary_all_avx2() 45 return sum; in summary_all_avx2() 48 static INLINE void summary_32_avx2(const __m256i *sum32, __m256i *sum) { in summary_32_avx2() argument 54 *sum = _mm256_add_epi64(*sum, sum_4x64); in summary_32_avx2() 58 int64_t sum; in summary_4x64_avx2() local 63 xx_storel_64(&sum, sum_1x64); in summary_4x64_avx2() [all …]
|
D | sad_impl_avx2.c | 19 __m256i sum = _mm256_setzero_si256(); in sad32x32() local 29 sum = _mm256_add_epi32(sum, _mm256_add_epi32(s1, s2)); in sad32x32() 34 sum = _mm256_add_epi32(sum, _mm256_srli_si256(sum, 8)); in sad32x32() 35 sum_i128 = _mm_add_epi32(_mm256_extracti128_si256(sum, 1), in sad32x32() 36 _mm256_castsi256_si128(sum)); in sad32x32() 43 uint32_t sum = sad32x32(src_ptr, src_stride, ref_ptr, ref_stride); in sad64x32() local 46 sum += sad32x32(src_ptr, src_stride, ref_ptr, ref_stride); in sad64x32() 47 return sum; in sad64x32() 52 uint32_t sum = sad64x32(src_ptr, src_stride, ref_ptr, ref_stride); in sad64x64() local 55 sum += sad64x32(src_ptr, src_stride, ref_ptr, ref_stride); in sad64x64() [all …]
|
/external/libaom/libaom/av1/common/arm/ |
D | convolve_neon.h | 71 int16x8_t sum; in wiener_convolve8_horiz_8x8() local 84 sum = vmulq_n_s16(s0, filter_x[0]); in wiener_convolve8_horiz_8x8() 85 sum = vmlaq_n_s16(sum, s1, filter_x[1]); in wiener_convolve8_horiz_8x8() 86 sum = vmlaq_n_s16(sum, s2, filter_x[2]); in wiener_convolve8_horiz_8x8() 89 sum_0 = vmovl_s16(vget_low_s16(sum)); in wiener_convolve8_horiz_8x8() 90 sum_1 = vmovl_s16(vget_high_s16(sum)); in wiener_convolve8_horiz_8x8() 124 int16x4_t sum, temp0, temp1, temp2; in wiener_convolve8_horiz_4x8() local 137 sum = vmul_n_s16(temp0, filter_x[0]); in wiener_convolve8_horiz_4x8() 138 sum = vmla_n_s16(sum, temp1, filter_x[1]); in wiener_convolve8_horiz_4x8() 139 sum = vmla_n_s16(sum, temp2, filter_x[2]); in wiener_convolve8_horiz_4x8() [all …]
|
/external/clang/test/Sema/ |
D | builtins-arm64-exclusive.c | 8 int sum = 0; in test_ldrex() local 9 sum += __builtin_arm_ldrex(addr); in test_ldrex() 10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex() 11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex() 12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex() 13 sum += __builtin_arm_ldrex((__int128 *)addr); in test_ldrex() 14 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex() 15 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex() 16 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex() 17 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex() [all …]
|
D | builtins-arm-exclusive.c | 8 int sum = 0; in test_ldrex() local 9 sum += __builtin_arm_ldrex(addr); in test_ldrex() 10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex() 11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex() 12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex() 13 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex() 14 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex() 15 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex() 16 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex() 17 sum += __builtin_arm_ldrex((volatile char *)addr); in test_ldrex() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | IteratorBenchmark.java | 53 int sum = 0; in arrayIndexed() local 56 sum += array[index].hashCode(); in arrayIndexed() 59 return sum; in arrayIndexed() 63 int sum = 0; in arrayIndexedLength() local 66 sum += array[index].hashCode(); in arrayIndexedLength() 69 return sum; in arrayIndexedLength() 73 int sum = 0; in arrayFor() local 76 sum += value.hashCode(); in arrayFor() 79 return sum; in arrayFor() 83 int sum = 0; in arrayListIndexed() local [all …]
|
/external/libopus/celt/arm/ |
D | celt_pitch_xcorr_arm_gnu.s | 46 @ Compute sum[k]=sum(x[j]*y[j+k],j=0...len-1), k=0...3 53 @ q0 = opus_val32 sum[4] 55 @ q0 = opus_val32 sum[4] 290 SMLABB r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_0,y_0) 292 SMLABT r7, r12, r10, r7 @ sum[1] = MAC16_16(sum[1],x_0,y_1) 294 SMLABB r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_0,y_2) 295 SMLABT r9, r12, r11, r9 @ sum[3] = MAC16_16(sum[3],x_0,y_3) 296 SMLATT r6, r12, r10, r6 @ sum[0] = MAC16_16(sum[0],x_1,y_1) 298 SMLATB r7, r12, r11, r7 @ sum[1] = MAC16_16(sum[1],x_1,y_2) 299 SMLATT r8, r12, r11, r8 @ sum[2] = MAC16_16(sum[2],x_1,y_3) [all …]
|
/external/u-boot/net/ |
D | checksum.c | 15 int sum, oddbyte; in compute_ip_checksum() local 18 sum = 0; in compute_ip_checksum() 20 sum += *ptr++; in compute_ip_checksum() 27 sum += oddbyte; in compute_ip_checksum() 29 sum = (sum >> 16) + (sum & 0xffff); in compute_ip_checksum() 30 sum += (sum >> 16); in compute_ip_checksum() 31 sum = ~sum & 0xffff; in compute_ip_checksum() 33 return sum; in compute_ip_checksum() 36 unsigned add_ip_checksums(unsigned offset, unsigned sum, unsigned new) in add_ip_checksums() argument 40 sum = ~sum & 0xffff; in add_ip_checksums() [all …]
|
/external/libcups/cups/ |
D | md5passwd.c | 37 unsigned char sum[16]; /* Sum data */ in httpMD5() local 46 cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); in httpMD5() 52 return ((char *)cupsHashString(sum, sizeof(sum), md5, 33)); in httpMD5() 70 unsigned char sum[16]; /* Sum data */ in httpMD5Final() local 80 cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); in httpMD5Final() 81 cupsHashString(sum, sizeof(sum), a2, sizeof(a2)); in httpMD5Final() 90 cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); in httpMD5Final() 92 return ((char *)cupsHashString(sum, sizeof(sum), md5, 33)); in httpMD5Final() 103 httpMD5String(const unsigned char *sum, /* I - MD5 sum data */ in httpMD5String() argument 107 return ((char *)cupsHashString(sum, 16, md5, 33)); in httpMD5String()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_resize.c | 164 int x, x1, x2, sum, k, int_pel, sub_pel; in interpolate() local 191 sum = 0; in interpolate() 194 sum += filter[k] * in interpolate() 197 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 206 sum = 0; in interpolate() 208 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k < 0 in interpolate() 211 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 219 sum = 0; in interpolate() 221 sum += filter[k] * input[int_pel - INTERP_TAPS / 2 + 1 + k]; in interpolate() 222 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() [all …]
|