/external/webrtc/src/common_audio/signal_processing/ |
D | resample_by_2_internal.c | 34 WebRtc_Word32 tmp0, tmp1, diff; in WebRtcSpl_DownBy2IntToShort() local 43 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort() 45 diff = (diff + (1 << 13)) >> 14; in WebRtcSpl_DownBy2IntToShort() 46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort() 48 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort() 50 diff = diff >> 14; in WebRtcSpl_DownBy2IntToShort() 51 if (diff < 0) in WebRtcSpl_DownBy2IntToShort() 52 diff += 1; in WebRtcSpl_DownBy2IntToShort() 53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort() 55 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort() [all …]
|
D | resample_by_2.c | 31 WebRtc_Word32 diff, in MUL_ACCUM_1() argument 34 __asm__("smlawb %r0, %r1, %r2, %r3": "=r"(result): "r"(diff), in MUL_ACCUM_1() 47 WebRtc_Word32 diff, in MUL_ACCUM_2() argument 50 __asm__("smmla %r0, %r1, %r2, %r3": "=r"(result): "r"(diff << 1), in MUL_ACCUM_2() 71 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; in WebRtcSpl_DownsampleBy2() local 86 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() 87 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2() 89 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2() 90 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2() 92 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2() [all …]
|
D | splitting_filter.c | 67 WebRtc_Word32 diff; in WebRtcSpl_AllPassQMF() local 75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1]) in WebRtcSpl_AllPassQMF() 77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); in WebRtcSpl_AllPassQMF() 82 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[k], out_data[k - 1]); // = (x[n] - y_1[n-1]) in WebRtcSpl_AllPassQMF() 84 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); in WebRtcSpl_AllPassQMF() 92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1]) in WebRtcSpl_AllPassQMF() 94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); in WebRtcSpl_AllPassQMF() 97 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[k], in_data[k - 1]); // =(y_1[n] - y_2[n-1]) in WebRtcSpl_AllPassQMF() 99 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_data[k-1]); in WebRtcSpl_AllPassQMF() 106 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[5]); // = (y_2[0] - y[-1]) in WebRtcSpl_AllPassQMF() [all …]
|
/external/icu4c/common/ |
D | ucnvbocu.c | 271 packDiff(int32_t diff) { in packDiff() argument 274 if(diff>=BOCU1_REACH_NEG_1) { in packDiff() 277 if(diff<=BOCU1_REACH_POS_1) { in packDiff() 279 return 0x01000000|(BOCU1_MIDDLE+diff); in packDiff() 282 if(diff<=BOCU1_REACH_POS_2) { in packDiff() 284 diff-=BOCU1_REACH_POS_1+1; in packDiff() 287 m=diff%BOCU1_TRAIL_COUNT; in packDiff() 288 diff/=BOCU1_TRAIL_COUNT; in packDiff() 291 result|=(BOCU1_START_POS_2+diff)<<8; in packDiff() 292 } else if(diff<=BOCU1_REACH_POS_3) { in packDiff() [all …]
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
D | diff_parser_unittest.py | 94 diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h'] 95 self.assertEquals(7, len(diff.lines)) 97 self.assertEquals((47, 47), diff.lines[0][0:2]) 98 self.assertEquals('', diff.lines[0][2]) 99 self.assertEquals((48, 48), diff.lines[1][0:2]) 100 self.assertEquals(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) 102 self.assertEquals((50, 0), diff.lines[3][0:2]) 103 self.assertEquals(' unsigned orient: 1; // EBoxOrient', diff.lines[3][2]) 107 diff = parser.files['WebCore/rendering/style/StyleRareInheritedData.cpp'] 109 self.assertEquals(7 + 7 + 9, len(diff.lines)) [all …]
|
/external/icu4c/i18n/ |
D | bocsu.cpp | 30 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument 31 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff() 32 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff() 33 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff() 34 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff() 35 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff() 36 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff() 37 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff() 38 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff() 39 diff/=SLOPE_TAIL_COUNT; in u_writeDiff() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | function-template-specialization.cpp | 3 T* next(T* ptr, const U& diff); 6 T* next(T* ptr, const U& diff) { in next() argument 7 return ptr + diff; in next() 10 void test(int *iptr, float *fptr, int diff) { in test() argument 12 iptr = next(iptr, diff); in test() 15 fptr = next(fptr, diff); in test() 19 T* next(T* ptr, const U& diff); 21 void test2(int *iptr, double *dptr, int diff) { in test2() argument 22 iptr = next(iptr, diff); in test2() 25 dptr = next(dptr, diff); in test2()
|
/external/stlport/test/unit/ |
D | setdiff_test.cpp | 63 vector<int> diff; in setsymd1() local 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setsymd1() 65 CPPUNIT_ASSERT( diff.size() == 14 ); in setsymd1() 68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); in setsymd1() 77 string diff; in setsymd2() local 79 back_inserter(diff), less<char>()); in setsymd2() 80 CPPUNIT_ASSERT( diff.size() == 22 ); in setsymd2() 83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); in setsymd2() 115 vector<int> diff; in setdiff1() local 116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setdiff1() [all …]
|
D | setunion_test.cpp | 61 vector<int> diff; in setunon1() local 62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); in setunon1() 63 CPPUNIT_ASSERT( diff.size() == 17 ); in setunon1() 65 CPPUNIT_ASSERT( diff[i] == i ); in setunon1() 74 string diff; in setunon2() local 76 back_inserter(diff), less<char>()); in setunon2() 77 CPPUNIT_ASSERT( diff.size() == 26 ); in setunon2() 79 CPPUNIT_ASSERT( diff[i] == ('A' + i) ); in setunon2()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheStatsTest.java | 64 CacheStats diff = two.minus(one); in testMinus() local 65 assertEquals(76, diff.requestCount()); in testMinus() 66 assertEquals(42, diff.hitCount()); in testMinus() 67 assertEquals(42.0/76, diff.hitRate()); in testMinus() 68 assertEquals(34, diff.missCount()); in testMinus() 69 assertEquals(34.0/76, diff.missRate()); in testMinus() 70 assertEquals(26, diff.loadSuccessCount()); in testMinus() 71 assertEquals(22, diff.loadExceptionCount()); in testMinus() 72 assertEquals(22.0/48, diff.loadExceptionRate()); in testMinus() 73 assertEquals(26 + 22, diff.loadCount()); in testMinus() [all …]
|
/external/aac/libAACenc/src/ |
D | quantize.cpp | 304 FIXP_DBL diff; in FDKaacEnc_calcSfbDist() local 320 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbDist() 322 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbDist() 323 diff = scaleValue(diff, scale); in FDKaacEnc_calcSfbDist() 324 diff = fPow2(diff); in FDKaacEnc_calcSfbDist() 327 diff = scaleValue(diff, -scale); in FDKaacEnc_calcSfbDist() 329 xfsf = xfsf + diff; in FDKaacEnc_calcSfbDist() 356 FIXP_DBL diff; in FDKaacEnc_calcSfbQuantEnergyAndDist() local 369 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbQuantEnergyAndDist() 371 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbQuantEnergyAndDist() [all …]
|
/external/libvpx/vp8/common/ |
D | recon.c | 113 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mby_c() 117 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mby_c() 121 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mby_c() 125 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mby_c() 133 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mby_c() 143 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mb_c() 145 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mb_c() 147 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mb_c() 149 RECON_INVOKE(rtcd, recon4)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mb_c() 154 RECON_INVOKE(rtcd, recon2)(b->predictor, b->diff, *(b->base_dst) + b->dst, b->dst_stride); in vp8_recon_mb_c() [all …]
|
/external/openssl/crypto/ |
D | pariscid.pl | 136 my ($diff,$lastdiff)=("%r21","%r20"); 148 ldi 0,$diff 152 add $diff,$tick,$tick 156 sub $tick,$lasttick,$diff 161 add $diff,$tick,$tick 183 ldi 0,$diff 187 add $diff,$tick,$tick 191 sub $tick,$lasttick,$diff 194 copy $diff,$lastdiff 197 add $diff,$tick,$tick [all …]
|
/external/clang/utils/ABITest/layout/ |
D | Makefile | 29 test.%.report: test.%.x.diff test.%.y.diff 42 .PRECIOUS: test.%.x.diff 43 test.%.x.diff: test.%.ref.out test.%.x.out 44 -diff $^ > $@ 45 .PRECIOUS: test.%.y.diff 46 test.%.y.diff: test.%.ref.out test.%.y.out 47 -diff $^ > $@
|
/external/chromium/chrome/browser/sync/glue/ |
D | autofill_profile_model_associator.cc | 238 bool diff = false; in OverwriteProfileWithServerData() local 241 diff = MergeField(p, NAME_FIRST, s.name_first()) || diff; in OverwriteProfileWithServerData() 242 diff = MergeField(p, NAME_LAST, s.name_last()) || diff; in OverwriteProfileWithServerData() 243 diff = MergeField(p, NAME_MIDDLE, s.name_middle()) || diff; in OverwriteProfileWithServerData() 244 diff = MergeField(p, ADDRESS_HOME_LINE1, s.address_home_line1()) || diff; in OverwriteProfileWithServerData() 245 diff = MergeField(p, ADDRESS_HOME_LINE2, s.address_home_line2()) || diff; in OverwriteProfileWithServerData() 246 diff = MergeField(p, ADDRESS_HOME_CITY, s.address_home_city()) || diff; in OverwriteProfileWithServerData() 247 diff = MergeField(p, ADDRESS_HOME_STATE, s.address_home_state()) || diff; in OverwriteProfileWithServerData() 248 diff = MergeField(p, ADDRESS_HOME_COUNTRY, s.address_home_country()) || diff; in OverwriteProfileWithServerData() 249 diff = MergeField(p, ADDRESS_HOME_ZIP, s.address_home_zip()) || diff; in OverwriteProfileWithServerData() [all …]
|
D | autofill_model_associator.cc | 514 bool diff = false; in FillProfileWithServerData() local 517 diff = MergeField(p, NAME_FIRST, s.name_first()) || diff; in FillProfileWithServerData() 518 diff = MergeField(p, NAME_LAST, s.name_last()) || diff; in FillProfileWithServerData() 519 diff = MergeField(p, NAME_MIDDLE, s.name_middle()) || diff; in FillProfileWithServerData() 520 diff = MergeField(p, ADDRESS_HOME_LINE1, s.address_home_line1()) || diff; in FillProfileWithServerData() 521 diff = MergeField(p, ADDRESS_HOME_LINE2, s.address_home_line2()) || diff; in FillProfileWithServerData() 522 diff = MergeField(p, ADDRESS_HOME_CITY, s.address_home_city()) || diff; in FillProfileWithServerData() 523 diff = MergeField(p, ADDRESS_HOME_STATE, s.address_home_state()) || diff; in FillProfileWithServerData() 524 diff = MergeField(p, ADDRESS_HOME_COUNTRY, s.address_home_country()) || diff; in FillProfileWithServerData() 525 diff = MergeField(p, ADDRESS_HOME_ZIP, s.address_home_zip()) || diff; in FillProfileWithServerData() [all …]
|
/external/libvpx/vpx_ports/ |
D | vpx_timer.h | 82 LARGE_INTEGER freq, diff; in vpx_usec_timer_elapsed() local 84 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; in vpx_usec_timer_elapsed() 86 if (QueryPerformanceFrequency(&freq) && diff.QuadPart < freq.QuadPart) in vpx_usec_timer_elapsed() 87 return (long)(diff.QuadPart * 1000000 / freq.QuadPart); in vpx_usec_timer_elapsed() 91 struct timeval diff; in vpx_usec_timer_elapsed() 93 timersub(&t->end, &t->begin, &diff); in vpx_usec_timer_elapsed() 94 return diff.tv_sec ? 1000000 : diff.tv_usec; in vpx_usec_timer_elapsed()
|
/external/linux-tools-perf/bench/ |
D | sched-pipe.c | 52 struct timeval start, stop, diff; in bench_sched_pipe() local 87 timersub(&stop, &start, &diff); in bench_sched_pipe() 101 result_usec = diff.tv_sec * 1000000; in bench_sched_pipe() 102 result_usec += diff.tv_usec; in bench_sched_pipe() 105 diff.tv_sec, in bench_sched_pipe() 106 (unsigned long) (diff.tv_usec/1000)); in bench_sched_pipe() 117 diff.tv_sec, in bench_sched_pipe() 118 (unsigned long) (diff.tv_usec / 1000)); in bench_sched_pipe()
|
/external/webkit/Tools/Scripts/webkitpy/common/ |
D | prettypatch.py | 39 def pretty_diff_file(self, diff): argument 42 assert(isinstance(diff, str)) 43 pretty_diff = self.pretty_diff(diff) 49 def pretty_diff(self, diff): argument 52 if not diff: 67 return self._executive.run_command(args, input=diff, decode_output=False)
|
/external/icu4c/test/cintltst/ |
D | bocu1tst.c | 225 int32_t prev, count, diff; member 234 packDiff(int32_t diff); 286 packDiff(int32_t diff) { in packDiff() argument 289 if(diff>=BOCU1_REACH_NEG_1) { in packDiff() 291 if(diff<=BOCU1_REACH_POS_1) { in packDiff() 293 return 0x01000000|(BOCU1_MIDDLE+diff); in packDiff() 294 } else if(diff<=BOCU1_REACH_POS_2) { in packDiff() 296 diff-=BOCU1_REACH_POS_1+1; in packDiff() 299 } else if(diff<=BOCU1_REACH_POS_3) { in packDiff() 301 diff-=BOCU1_REACH_POS_2+1; in packDiff() [all …]
|
/external/srec/srec/crec/ |
D | astar_pphash.c | 48 asr_int32_t diff = 0; in compare_parp() local 52 diff = parp1->token_index - parp2->token_index; in compare_parp() 58 diff = parp1->word - parp2->word; in compare_parp() 59 if (diff) in compare_parp() 66 diff = (int)parp1->next - (int)parp2->next; in compare_parp() 69 if (diff) in compare_parp() 70 diff = (diff < 0 ? -1 : 1); in compare_parp() 71 return diff; in compare_parp()
|
/external/clang/utils/ABITest/ |
D | Makefile.test.common | 31 test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff temps/test.%.yy.diff 47 test.%.defs-report: temps/test.%.defs.diff 65 .PRECIOUS: temps/test.%.xx.diff 66 temps/test.%.xx.diff: temps/test.%.ref.out temps/test.%.xx.out 67 $(Verb) diff $^ > $@ || true 68 .PRECIOUS: temps/test.%.xy.diff 69 temps/test.%.xy.diff: temps/test.%.ref.out temps/test.%.xy.out 70 $(Verb) diff $^ > $@ || true 71 .PRECIOUS: temps/test.%.yx.diff 72 temps/test.%.yx.diff: temps/test.%.ref.out temps/test.%.yx.out [all …]
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGBlock.cpp | 83 void RenderSVGBlock::styleWillChange(StyleDifference diff, const RenderStyle* newStyle) in styleWillChange() argument 85 if (diff == StyleDifferenceLayout) in styleWillChange() 87 RenderBlock::styleWillChange(diff, newStyle); in styleWillChange() 90 void RenderSVGBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) in styleDidChange() argument 92 RenderBlock::styleDidChange(diff, oldStyle); in styleDidChange() 93 SVGResourcesCache::clientStyleChanged(this, diff, style()); in styleDidChange()
|
/external/libvpx/vp8/encoder/arm/armv6/ |
D | vp8_subtract_armv6.asm | 60 str r0, [r6, #0] ; diff 61 str r1, [r6, #4] ; diff 63 add r6, r6, r2, lsl #1 ; update diff pointer 72 ; r0 short *diff 81 add r0, r0, #512 ; set *diff point to Cb 106 str r8, [r0], #4 ; diff (A) 108 str r9, [r0], #4 ; diff (A) 122 str r8, [r0], #4 ; diff (B) 124 str r9, [r0], #4 ; diff (B) 149 str r8, [r0], #4 ; diff (A) [all …]
|
/external/aac/libSBRenc/src/ |
D | sbrenc_freq_sca.cpp | 101 static void CalcBands(INT * diff, INT start , INT stop , INT num_bands); 102 static INT modifyBands(INT max_band, INT * diff, INT length); 103 static void cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress); 540 CalcBands(INT * diff, INT start , INT stop , INT num_bands) in CalcBands() argument 556 diff[i-1] = current-previous; in CalcBands() 564 cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress) in cumSum() argument 569 start_adress[i]=start_adress[i-1]+diff[i-1]; in cumSum() 574 modifyBands(INT max_band_previous, INT * diff, INT length) in modifyBands() argument 576 INT change=max_band_previous-diff[0]; in modifyBands() 579 if ( change > (diff[length-1] - diff[0]) / 2 ) in modifyBands() [all …]
|