/external/v8/test/webkit/ |
D | dfg-put-scoped-var-backward-flow-expected.txt | 29 PASS sum([2147483646, 2147483644]) is 4294967290 30 PASS sum([2147483646, 2147483644]) is 4294967290 31 PASS sum([2147483646, 2147483644]) is 4294967290 32 PASS sum([2147483646, 2147483644]) is 4294967290 33 PASS sum([2147483646, 2147483644]) is 4294967290 34 PASS sum([2147483646, 2147483644]) is 4294967290 35 PASS sum([2147483646, 2147483644]) is 4294967290 36 PASS sum([2147483646, 2147483644]) is 4294967290 37 PASS sum([2147483646, 2147483644]) is 4294967290 38 PASS sum([2147483646, 2147483644]) is 4294967290 [all …]
|
/external/flac/libFLAC/ |
D | lpc.c | 273 FLAC__int32 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients() local 286 sum = 0; in FLAC__lpc_compute_residual_from_qlp_coefficients() 289 sum += qlp_coeff[j] * (*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients() 294 *(residual++) = *(data++) - (sum >> lp_quantization); in FLAC__lpc_compute_residual_from_qlp_coefficients() 309 FLAC__int32 sum; 324 sum = 0; 325 sum += qlp_coeff[11] * data[i-12]; 326 sum += qlp_coeff[10] * data[i-11]; 327 sum += qlp_coeff[9] * data[i-10]; 328 sum += qlp_coeff[8] * data[i-9]; [all …]
|
/external/clang/test/CodeGen/ |
D | arm64-abi-vector.c | 22 double sum = fixed; in varargs_vec_3c() local 25 sum = sum + c3.x + c3.y; in varargs_vec_3c() 27 return sum; in varargs_vec_3c() 42 double sum = fixed; in varargs_vec_4c() local 45 sum = sum + c4.x + c4.y; in varargs_vec_4c() 47 return sum; in varargs_vec_4c() 62 double sum = fixed; in varargs_vec_5c() local 65 sum = sum + c5.x + c5.y; in varargs_vec_5c() 67 return sum; in varargs_vec_5c() 84 double sum = fixed; in varargs_vec_9c() 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 | 38 int sum = 0; in test_ldrex() local 39 sum += __builtin_arm_ldrex(addr); in test_ldrex() 48 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex() 60 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex() 68 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex() 74 sum += __builtin_arm_ldrex(addr64); in test_ldrex() 80 sum += __builtin_arm_ldrex(addrfloat); in test_ldrex() 90 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex() 103 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex() 110 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex() [all …]
|
/external/libopus/celt/ |
D | pitch.h | 60 static OPUS_INLINE void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4],… in xcorr_kernel() 74 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel() 75 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel() 76 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel() 77 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel() 80 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel() 81 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel() 82 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel() 83 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel() 86 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel() [all …]
|
D | celt_lpc.c | 116 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT); in celt_fir() local 119 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir() 121 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir() 126 opus_val32 sum[4]={0,0,0,0}; in celt_fir() local 127 xcorr_kernel(rnum, x+i, sum, ord); in celt_fir() 128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); in celt_fir() 129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); in celt_fir() 130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); in celt_fir() 131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); in celt_fir() 135 opus_val32 sum = 0; in celt_fir() local [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/v8/test/mjsunit/es6/ |
D | spread-call.js | 37 function sum() { function 38 var sum = arguments[0]; 40 sum += arguments[i]; 42 return sum; 45 assertEquals(void 0, sum(..."")); 46 assertEquals(void 0, sum(...[])); 47 assertEquals(void 0, sum(...new Set)); 48 assertEquals(void 0, sum(...(function*() { })())); 50 assertEquals("test", sum(..."test")); 51 assertEquals(10, sum(...[1, 2, 3, 4])); [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/tcpdump/ |
D | in_cksum.c | 55 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);} 61 register int sum = 0; in in_cksum() local 88 sum += s_util.s; in in_cksum() 98 sum <<= 8; in in_cksum() 109 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum() 110 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in_cksum() 111 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in in_cksum() 112 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in in_cksum() 117 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum() 125 sum += *w++; in in_cksum() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | fwd_txfm_sse2.c | 51 __m128i u0, u1, sum; in vpx_fdct8x8_1_sse2() local 61 sum = _mm_add_epi16(u0, u1); in vpx_fdct8x8_1_sse2() 65 sum = _mm_add_epi16(sum, in0); in vpx_fdct8x8_1_sse2() 68 sum = _mm_add_epi16(sum, in2); in vpx_fdct8x8_1_sse2() 70 in0 = _mm_unpacklo_epi16(u0, sum); in vpx_fdct8x8_1_sse2() 71 in1 = _mm_unpackhi_epi16(u0, sum); in vpx_fdct8x8_1_sse2() 75 sum = _mm_add_epi32(in0, in1); in vpx_fdct8x8_1_sse2() 76 in0 = _mm_unpacklo_epi32(sum, u0); in vpx_fdct8x8_1_sse2() 77 in1 = _mm_unpackhi_epi32(sum, u0); in vpx_fdct8x8_1_sse2() 79 sum = _mm_add_epi32(in0, in1); in vpx_fdct8x8_1_sse2() [all …]
|
D | variance_avx2.c | 14 unsigned int *sse, int *sum); 18 unsigned int *sse, int *sum); 22 int w, int h, unsigned int *sse, int *sum, in variance_avx2() argument 27 *sum = 0; in variance_avx2() 36 *sum += sum0; in variance_avx2() 45 int sum; in vpx_variance16x16_avx2() local 47 sse, &sum, vpx_get16x16var_avx2, 16); in vpx_variance16x16_avx2() 48 return *sse - (((unsigned int)sum * sum) >> 8); in vpx_variance16x16_avx2() 54 int sum; in vpx_mse16x16_avx2() local 55 vpx_get16x16var_avx2(src, src_stride, ref, ref_stride, sse, &sum); in vpx_mse16x16_avx2() [all …]
|
D | variance_sse2.c | 20 unsigned int *sse, int *sum); 43 unsigned int *sse, int *sum) { in get4x4var_sse2() argument 57 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in get4x4var_sse2() 69 unsigned int *sse, int *sum) { in vpx_get8x8var_sse2() argument 98 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in vpx_get8x8var_sse2() 108 unsigned int *sse, int *sum) { in vpx_get16x16var_sse2() argument 138 *sum = (int16_t)_mm_extract_epi16(vsum, 0) + in vpx_get16x16var_sse2() 150 int w, int h, unsigned int *sse, int *sum, in variance_sse2() argument 155 *sum = 0; in variance_sse2() 164 *sum += sum0; in variance_sse2() [all …]
|
/external/libxml2/ |
D | xmlwriter.c | 529 int sum; in xmlTextWriterStartDocument() local 567 sum = 0; in xmlTextWriterStartDocument() 571 sum += count; in xmlTextWriterStartDocument() 575 sum += count; in xmlTextWriterStartDocument() 582 sum += count; in xmlTextWriterStartDocument() 586 sum += count; in xmlTextWriterStartDocument() 591 sum += count; in xmlTextWriterStartDocument() 595 sum += count; in xmlTextWriterStartDocument() 601 sum += count; in xmlTextWriterStartDocument() 605 sum += count; in xmlTextWriterStartDocument() [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/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/opencv/cv/src/ |
D | cvsumpixels.cpp | 48 sumtype* sum, int sumstep, \ 60 memset( sum, 0, (size.width+1)*sizeof(sum[0])); \ 61 sumstep /= sizeof(sum[0]); \ 62 sum += sumstep + 1; \ 81 sum += sumstep ) \ 83 sum[-1] = 0; \ 88 sum[x] = sum[x - sumstep] + s; \ 95 sum += sumstep, sqsum += sqsumstep ) \ 97 sum[-1] = 0; \ 107 t = sum[x - sumstep] + s; \ [all …]
|
/external/libopus/celt/arm/ |
D | celt_pitch_xcorr_arm.s | 43 ; Compute sum[k]=sum(x[j]*y[j+k],j=0...len-1), k=0...3 49 ; q0 = opus_val32 sum[4] 51 ; q0 = opus_val32 sum[4] 283 SMLABB r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_0,y_0) 285 SMLABT r7, r12, r10, r7 ; sum[1] = MAC16_16(sum[1],x_0,y_1) 287 SMLABB r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_0,y_2) 288 SMLABT r9, r12, r11, r9 ; sum[3] = MAC16_16(sum[3],x_0,y_3) 289 SMLATT r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_1,y_1) 291 SMLATB r7, r12, r11, r7 ; sum[1] = MAC16_16(sum[1],x_1,y_2) 292 SMLATT r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_1,y_3) [all …]
|
/external/v8/test/mjsunit/ |
D | lea-add.js | 31 var sum = 0; 33 sum = (i + sum) | 0; 35 return sum; 39 var sum = 0; 41 sum = (i + sum) | 0; 43 return sum; 47 var sum = 0; 49 sum += (i + -0x7fffffff) | 0; 51 return sum; 55 var sum = 0; [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/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()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_resize.c | 240 int x, x1, x2, sum, k, int_pel, sub_pel; in interpolate() local 267 sum = 0; in interpolate() 270 sum += filter[k] * input[(pk < 0 ? 0 : in interpolate() 273 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 282 sum = 0; in interpolate() 284 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k < 0 ? in interpolate() 287 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 295 sum = 0; in interpolate() 297 sum += filter[k] * input[int_pel - INTERP_TAPS / 2 + 1 + k]; in interpolate() 298 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() [all …]
|