/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/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | pyr_down.hpp | 78 work_type sum; in pyrDown() local 80 sum = 0.0625f * src(src_y - 2, x); in pyrDown() 81 sum = sum + 0.25f * src(src_y - 1, x); in pyrDown() 82 sum = sum + 0.375f * src(src_y , x); in pyrDown() 83 sum = sum + 0.25f * src(src_y + 1, x); in pyrDown() 84 sum = sum + 0.0625f * src(src_y + 2, x); in pyrDown() 86 smem[2 + threadIdx.x] = sum; in pyrDown() 93 work_type sum; in pyrDown() local 95 sum = 0.0625f * src(src_y - 2, left_x); in pyrDown() 96 sum = sum + 0.25f * src(src_y - 1, left_x); in pyrDown() [all …]
|
D | pyr_up.hpp | 90 work_type sum = VecTraits<work_type>::all(0); in pyrUp() local 99 … sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 2) >> 1)]; in pyrUp() 100 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 1) >> 1)]; in pyrUp() 101 … sum = sum + (evenFlag * 0.375f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx ) >> 1)]; in pyrUp() 102 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 1) >> 1)]; in pyrUp() 103 … sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 2) >> 1)]; in pyrUp() 106 s_dstPatch[2 + threadIdx.y][threadIdx.x] = sum; in pyrUp() 110 sum = VecTraits<work_type>::all(0); in pyrUp() 114 sum = sum + (evenFlag * 0.0625f) * s_srcPatch[0][1 + ((tidx - 2) >> 1)]; in pyrUp() 115 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx - 1) >> 1)]; in pyrUp() [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/opencv3/modules/cudawarping/src/cuda/ |
D | pyr_down.cu | 69 work_t sum; in pyrDown() local 71 sum = 0.0625f * src(src_y - 2, x); in pyrDown() 72 sum = sum + 0.25f * src(src_y - 1, x); in pyrDown() 73 sum = sum + 0.375f * src(src_y , x); in pyrDown() 74 sum = sum + 0.25f * src(src_y + 1, x); in pyrDown() 75 sum = sum + 0.0625f * src(src_y + 2, x); in pyrDown() 77 smem[2 + threadIdx.x] = sum; in pyrDown() 84 work_t sum; in pyrDown() local 86 sum = 0.0625f * src(src_y - 2, left_x); in pyrDown() 87 sum = sum + 0.25f * src(src_y - 1, left_x); in pyrDown() [all …]
|
D | pyr_up.cu | 81 sum_t sum = VecTraits<sum_t>::all(0); in pyrUp() local 90 … sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 2) >> 1)]; in pyrUp() 91 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 1) >> 1)]; in pyrUp() 92 … sum = sum + (evenFlag * 0.375f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx ) >> 1)]; in pyrUp() 93 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 1) >> 1)]; in pyrUp() 94 … sum = sum + (evenFlag * 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 2) >> 1)]; in pyrUp() 97 s_dstPatch[2 + threadIdx.y][threadIdx.x] = sum; in pyrUp() 101 sum = VecTraits<sum_t>::all(0); in pyrUp() 105 sum = sum + (evenFlag * 0.0625f) * s_srcPatch[0][1 + ((tidx - 2) >> 1)]; in pyrUp() 106 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx - 1) >> 1)]; in pyrUp() [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 …]
|
/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/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/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/opencv3/modules/imgproc/src/opencl/ |
D | pyr_up.cl | 100 FT sum = 0.f; 113 sum = coef2* s_srcPatch[tidy][1 + ((tidx - 1) >> 1)]; 114 sum = mad(coef1, s_srcPatch[tidy][1 + ((tidx ) >> 1)], sum); 115 sum = mad(coef2, s_srcPatch[tidy][1 + ((tidx + 2) >> 1)], sum); 117 s_dstPatch[tidy][tidx] = sum; 122 sum = coefy2* s_dstPatch[1 + ((tidy - 1) >> 1)][tidx]; 123 sum = mad(coefy1, s_dstPatch[1 + ((tidy ) >> 1)][tidx], sum); 124 sum = mad(coefy2, s_dstPatch[1 + ((tidy + 2) >> 1)][tidx], sum); 127 storepix(convertToT(sum), dstData + y * dst_step + x * PIXSIZE); 160 FT sum; [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 …]
|