/external/chromium_org/third_party/skia/src/views/animated/ |
SkProgressBarView.cpp | 23 void SkProgressBarView::changeProgress(int diff) 25 int newProg = fProgress + diff; 35 SkAnimator::DifferenceType diff = fAnim.draw(canvas, &paint, SkTime::GetMSecs()); local 37 if (diff == SkAnimator::kDifferent) 39 else if (diff == SkAnimator::kPartiallyDifferent)
|
/external/libvpx/libvpx/tools/ |
intersect-diffs.py | 21 import diff namespace 53 old_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[1], "r"))] 54 new_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[2], "r"))] 57 # Join the right hand side of the older diff with the left hand side of the 58 # newer diff.
|
/external/skia/src/views/animated/ |
SkProgressBarView.cpp | 23 void SkProgressBarView::changeProgress(int diff) 25 int newProg = fProgress + diff; 35 SkAnimator::DifferenceType diff = fAnim.draw(canvas, &paint, SkTime::GetMSecs()); local 37 if (diff == SkAnimator::kDifferent) 39 else if (diff == SkAnimator::kPartiallyDifferent)
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
quantize.c | 349 Word32 diff; local 364 diff = saShft - repquat[0]; 365 distSingle = (diff * diff) >> g2; 370 diff = saShft - repquat[1]; 371 distSingle = (diff * diff) >> g2; 376 diff = saShft - repquat[2]; 377 distSingle = (diff * diff) >> g2 399 Word32 diff; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
pytree_idempotency.py | 30 if not diff(fn, tree): 49 if diff(fn, tree): 69 if diff(fn, tree): 80 def diff(fn, tree): function 87 return os.system("diff -u %s @" % fn)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
pytree_idempotency.py | 30 if not diff(fn, tree): 49 if diff(fn, tree): 69 if diff(fn, tree): 80 def diff(fn, tree): function 87 return os.system("diff -u %s @" % fn)
|
/system/extras/tests/bionic/libc/common/ |
test_drand48.c | 12 double diff = a -b; local 13 if (diff < 0) diff = -diff; 25 return diff < a*1e-8;
|
/external/libvpx/libvpx/vp8/encoder/arm/neon/ |
subtract_neon.asm | 52 vst1.16 {d20}, [r5], r2 ;store diff 64 ;void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride 70 mov r6, #32 ; "diff" stride x2 71 add r5, r0, #16 ; second diff pointer 92 vst1.16 {q8}, [r0], r6 ;store diff 109 ;void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, 118 add r0, r0, #512 ; short *udiff = diff + 256; 119 mov r12, #32 ; "diff" stride x2 120 add r7, r0, #16 ; second diff pointer 149 vst1.16 {q8}, [r0], r12 ;store diff [all...] |
/external/llvm/test/Transforms/EarlyCSE/ |
basic.ll | 40 %Diff = sub i32 %V1, %V2 41 ret i32 %Diff 55 %Diff = sub i32 %V1, %V2 56 ret i32 %Diff 73 %Diff = sub i32 %V1, %V2 74 ret i32 %Diff 76 ; CHECK: ret i32 %Diff 86 %Diff = sub i32 %V1, %V2 87 ret i32 %Diff 116 %Diff = sub i32 %V1, %V [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateImageView.java | 76 int diff = mTargetDegree - mCurrentDegree; local 77 diff = diff >= 0 ? diff : 360 + diff; // make it in range [0, 359] 81 diff = diff > 180 ? diff - 360 : diff; 83 mClockwise = diff >= 0 [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateImageView.java | 76 int diff = mTargetDegree - mCurrentDegree; local 77 diff = diff >= 0 ? diff : 360 + diff; // make it in range [0, 359] 81 diff = diff > 180 ? diff - 360 : diff; 83 mClockwise = diff >= 0 [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateImageView.java | 77 int diff = mTargetDegree - mCurrentDegree; local 78 diff = diff >= 0 ? diff : 360 + diff; // make it in range [0, 359] 82 diff = diff > 180 ? diff - 360 : diff; 84 mClockwise = diff >= 0 [all...] |
/external/chromium/chrome/browser/sync/glue/ |
autofill_model_associator.cc | 514 bool diff = false; local 517 diff = MergeField(p, NAME_FIRST, s.name_first()) || diff; 518 diff = MergeField(p, NAME_LAST, s.name_last()) || diff; 519 diff = MergeField(p, NAME_MIDDLE, s.name_middle()) || diff; 520 diff = MergeField(p, ADDRESS_HOME_LINE1, s.address_home_line1()) || diff; 521 diff = MergeField(p, ADDRESS_HOME_LINE2, s.address_home_line2()) || diff [all...] |
autofill_profile_model_associator.cc | 238 bool diff = false; local 241 diff = MergeField(p, NAME_FIRST, s.name_first()) || diff; 242 diff = MergeField(p, NAME_LAST, s.name_last()) || diff; 243 diff = MergeField(p, NAME_MIDDLE, s.name_middle()) || diff; 244 diff = MergeField(p, ADDRESS_HOME_LINE1, s.address_home_line1()) || diff; 245 diff = MergeField(p, ADDRESS_HOME_LINE2, s.address_home_line2()) || diff [all...] |
/external/chromium_org/tools/git/ |
git-diff-ide.py | 7 Invokes git diff [args...] and inserts file:line in front of each line of diff 14 %prog [git diff args...] 42 """Outputs git diff extra_args with file:line inserted into relevant lines.""" 45 lines = GitShell('git diff %s' % ' '.join(extra_args)) 48 # diff --git a/file.c b/file.c 51 if (line.startswith('diff ') or
|
/external/clang/tools/clang-format/ |
clang-format-diff.py | 3 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===# 13 ClangFormat Diff Reformatter 16 This script reads input from a unified diff and reformats all the changed 20 git diff -U0 HEAD^ | clang-format-diff.py -p1 85 'Reformat changed lines in diff')
|
/external/skia/tools/skpdiff/ |
SkDiffContext.h | 27 * Sets the differs to be used in each diff. Already started diffs will not retroactively use 56 * Output the records of each diff in JSON. 60 * They also have an array named "diffs" with each element being one diff record for the two 62 * A diff record includes: 63 * "differName" : string name of the diff metric used 64 * "result" : numerical result of the diff 88 * @param stream The stream to output the diff to
|
/external/libvpx/libvpx/test/ |
fdct8x8_test.cc | 111 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local 113 EXPECT_LT(diff, max_diff) 119 << " diff: " << diff; local 141 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local 143 EXPECT_LT(diff, max_diff) 149 << " diff: " << diff; local 192 const int diff = dst[j] - src[j]; local 193 const int error = diff * diff 236 const int diff = dst[j] - src[j]; local [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
splitting_filter.c | 67 WebRtc_Word32 diff; local 74 // "diff" should be safe from wrap around since max values are 2^25 75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1]) 77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); 82 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[k], out_data[k - 1]); // = (x[n] - y_1[n-1]) 84 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); 92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1]) 94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); 97 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[k], in_data[k - 1]); // =(y_1[n] - y_2[n-1]) 99 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_data[k-1]) [all...] |
/external/clang/utils/ABITest/ |
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.ou [all...] |
/external/libvpx/libvpx/vp8/common/ppc/ |
recon_altivec.asm | 16 .macro row_of16 Diff Pred Dst Stride 20 lvx v3, 0, \Diff ;# v3 = d0..d7 23 lvx v3, r8, \Diff ;# v3 = d8..d15 24 addi \Diff, \Diff, 32 ;# next diff 56 .macro two_rows_of8 Diff Pred Dst Stride write_first_four_pels 59 lvx v3, 0, \Diff ;# v3 = d0..d7 62 lvx v3, r8, \Diff ;# v2 = d8..d15 100 addi r3, r3, 32; ;# next diff [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDiff.java | 48 final EntityDiff diff = new EntityDiff(); local 57 diff.add(builder.build()); 66 diff.add(builder.build()); 74 diff.add(builder.build()); 79 diff.add(builder.build()); 89 diff.add(builder.build()); 105 diff.add(builder.build()); 112 diff.add(builder.build()); 123 diff.add(builder.build()); 127 return diff; [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; local 56 if (diff) { 57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) 58 diff += runtime->boundary; 59 rec->sw_ready += (int)frames_to_bytes(runtime, diff); 119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; local 121 if (diff) { 122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) 123 diff += runtime->boundary; 124 rec->sw_ready -= frames_to_bytes(runtime, diff); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; local 56 if (diff) { 57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) 58 diff += runtime->boundary; 59 rec->sw_ready += (int)frames_to_bytes(runtime, diff); 119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; local 121 if (diff) { 122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) 123 diff += runtime->boundary; 124 rec->sw_ready -= frames_to_bytes(runtime, diff); [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
denoising.c | 29 * pixel adjustments vs. pixel diff value ahead of time. 31 * = (filter_coefficient * diff + 128) >> 8 39 * The adjustment vs. diff curve becomes flat very quick when diff increases. 44 * diff adjustment w/o motion correction adjustment w/ motion correction 48 * [-3, 3] diff diff 81 int diff = 0; local 85 diff = mc_running_avg_y[c] - sig[c]; 86 absdiff = abs(diff); [all...] |