/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/libspeex/ |
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 …]
|
D | ltp_sse.h | 42 __m128 sum = _mm_setzero_ps(); in inner_prod() local 45 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+0), _mm_loadu_ps(b+0))); in inner_prod() 46 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+4), _mm_loadu_ps(b+4))); in inner_prod() 50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in inner_prod() 51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_prod() 52 _mm_store_ss(&ret, sum); in inner_prod() 76 __m128 sum, *xx, *yy; in pitch_xcorr() local 77 sum = _mm_setzero_ps(); in pitch_xcorr() 82 sum = _mm_add_ps(sum, _mm_mul_ps(xx[0], yy[0])); in pitch_xcorr() 83 sum = _mm_add_ps(sum, _mm_mul_ps(xx[1], yy[1])); in pitch_xcorr() [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/valgrind/none/tests/s390x/ |
D | cksm.c | 12 uint32_t sum; member 19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_insn() argument 33 : "+d" (sum), "+d" (reg2), "+d" (reg3) : : "cc", "memory"); in cksm_by_insn() 52 result.sum = sum; in cksm_by_insn() 60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_hand() argument 70 v64 = sum; in cksm_by_hand() 74 sum = sum + buff[n] + 1; in cksm_by_hand() 76 sum = sum + buff[n]; in cksm_by_hand() 100 v64 = sum; in cksm_by_hand() 104 sum = sum + final + 1; in cksm_by_hand() [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 | 20 unsigned int *sse, int *sum); 44 unsigned int *sse, int *sum) { in get4x4var_sse2() argument 58 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in get4x4var_sse2() 69 int ref_stride, unsigned int *sse, int *sum) { in vpx_get8x8var_sse2() argument 98 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in vpx_get8x8var_sse2() 108 int *sum) { in vpx_get16x16var_sse2() argument 138 *sum = in vpx_get16x16var_sse2() 149 int h, unsigned int *sse, int *sum, in variance_sse2() argument 154 *sum = 0; in variance_sse2() 163 *sum += sum0; in variance_sse2() [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/clang/test/Sema/ |
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 …]
|
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 …]
|
/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/libvpx/libvpx/vpx_dsp/arm/ |
D | vpx_convolve8_neon.h | 81 int16x4_t sum; in convolve8_4() local 83 sum = vmul_lane_s16(s0, filters_lo, 0); in convolve8_4() 84 sum = vmla_lane_s16(sum, s1, filters_lo, 1); in convolve8_4() 85 sum = vmla_lane_s16(sum, s2, filters_lo, 2); in convolve8_4() 86 sum = vmla_lane_s16(sum, s5, filters_hi, 1); in convolve8_4() 87 sum = vmla_lane_s16(sum, s6, filters_hi, 2); in convolve8_4() 88 sum = vmla_lane_s16(sum, s7, filters_hi, 3); in convolve8_4() 89 sum = vqadd_s16(sum, vmul_s16(s3, filter3)); in convolve8_4() 90 sum = vqadd_s16(sum, vmul_s16(s4, filter4)); in convolve8_4() 91 return sum; in convolve8_4() [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/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 …]
|
/external/eigen/test/ |
D | mapstaticmethods.cpp | 32 PlainObjectType::Map(const_ptr).sum(); in run() 33 PlainObjectType::MapAligned(const_ptr).sum(); in run() 37 PlainObjectType::Map(const_ptr, InnerStride<>(i)).sum(); in run() 38 PlainObjectType::MapAligned(const_ptr, InnerStride<>(i)).sum(); in run() 42 PlainObjectType::Map(const_ptr, InnerStride<4>()).sum(); in run() 43 PlainObjectType::MapAligned(const_ptr, InnerStride<5>()).sum(); in run() 47 PlainObjectType::Map(const_ptr, OuterStride<>(i)).sum(); in run() 48 PlainObjectType::MapAligned(const_ptr, OuterStride<>(i)).sum(); in run() 52 PlainObjectType::Map(const_ptr, OuterStride<4>()).sum(); in run() 53 PlainObjectType::MapAligned(const_ptr, OuterStride<5>()).sum(); in run() [all …]
|
/external/syslinux/core/lwip/src/core/ipv4/ |
D | inet_chksum.c | 139 u32_t sum = 0; in lwip_standard_chksum() local 151 sum += *ps++; in lwip_standard_chksum() 161 sum += t; in lwip_standard_chksum() 165 sum = FOLD_U32T(sum); in lwip_standard_chksum() 166 sum = FOLD_U32T(sum); in lwip_standard_chksum() 170 sum = SWAP_BYTES_IN_WORD(sum); in lwip_standard_chksum() 173 return (u16_t)sum; in lwip_standard_chksum() 196 u32_t sum = 0, tmp; in lwip_standard_chksum() local 208 sum += *ps++; in lwip_standard_chksum() 215 tmp = sum + *pl++; /* ping */ in lwip_standard_chksum() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_basic_ops40.h | 47 WORD40 sum; in add32_shr40() local 49 sum = (WORD40)a + (WORD40)b; in add32_shr40() 50 sum = sum >> 1; in add32_shr40() 52 return ((WORD32)sum); in add32_shr40() 56 WORD40 sum; in sub32_shr40() local 58 sum = (WORD40)a - (WORD40)b; in sub32_shr40() 59 sum = sum >> 1; in sub32_shr40() 61 return ((WORD32)sum); in sub32_shr40() 228 WORD40 sum = 0; in mac3216_arr40() local 231 sum += (WORD40)(ixheaacd_mult32x16in32(x[i], y[i])); in mac3216_arr40() [all …]
|
/external/valgrind/callgrind/tests/ |
D | clreq.c | 7 int some_work(int sum) in some_work() argument 11 for(i=0;i<10;i++) sum += i; /* some dummy work */ in some_work() 13 return sum; in some_work() 18 int sum = some_work(0); in some_callgrind_clreqs() local 22 sum += some_work(sum); in some_callgrind_clreqs() 26 sum += some_work(sum); in some_callgrind_clreqs() 30 return some_work(sum); in some_callgrind_clreqs() 35 int sum = some_callgrind_clreqs(); in more_callgrind_clreqs() local 39 sum += some_callgrind_clreqs(); in more_callgrind_clreqs() 43 return sum; in more_callgrind_clreqs()
|