| /external/pdfium/core/fxge/ge/ |
| cfx_pathdata.cpp | 48 CFX_PointF diff = end_pos - start_pos; local 49 FX_FLOAT ll = FXSYS_sqrt2(diff.x, diff.y); 50 FX_FLOAT mx = end_pos.x + hw * diff.x / ll; 51 FX_FLOAT my = end_pos.y + hw * diff.y / ll; 52 FX_FLOAT dx1 = hw * diff.y / ll; 53 FX_FLOAT dy1 = hw * diff.x / ll;
|
| /external/pdfium/third_party/freetype/src/cff/ |
| cf2blues.c | 286 CF2_Fixed flatFamilyEdge, diff; local 304 diff = cf2_fixedAbs( flatEdge - flatFamilyEdge ); 306 if ( diff < minDiff && diff < csUnitsPerPixel ) 309 minDiff = diff; 311 if ( diff == 0 ) 322 diff = cf2_fixedAbs( flatEdge - flatFamilyEdge ); 324 if ( diff < minDiff && diff < csUnitsPerPixel ) 345 diff = cf2_fixedAbs( flatEdge - flatFamilyEdge ) [all...] |
| /external/pdfium/third_party/freetype/src/truetype/ |
| ttpload.c | 134 FT_Long diff = (FT_Long)entry->Offset - pos; local 137 if ( diff > 0 && diff < dist ) 138 dist = diff;
|
| /external/selinux/prebuilts/bin/ |
| sediff.py | 30 parser.add_argument("POLICY1", help="Path to the first SELinux policy to diff.", nargs=1) 31 parser.add_argument("POLICY2", help="Path to the second SELinux policy to diff.", nargs=1) 132 diff = setools.PolicyDifference(p1, p2) variable 135 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties))) 137 if diff.modified_properties and not args.stats: 138 for name, added, removed in sorted(diff.modified_properties, key=lambda x: x.property): 144 if diff.added_commons or diff.removed_commons or diff.modified_commons or args.common: 146 len(diff.added_commons), len(diff.removed_commons), len(diff.modified_commons)) [all...] |
| /external/skia/gm/ |
| SkAnimTimer.h | 121 double diff = ::fabs(value - half); local 122 return SkDoubleToScalar(ends + (1.0 - diff / half) * (mid - ends));
|
| /external/skia/tests/ |
| PackedConfigsTextureTest.cpp | 26 uint8_t diff = 0; local 28 diff = control - test; 30 diff = test - control; 32 REPORTER_ASSERT(reporter, diff < TOL);
|
| /external/slf4j/integration/src/test/java/org/slf4j/ |
| VersionMismatchAssertionTest.java | 36 int diff = 1024 + new Random().nextInt(10000); field in class:VersionMismatchAssertionTest 54 String msg = "hello world " + diff;
|
| /external/syslinux/core/lwip/src/core/ |
| timers.c | 360 u32_t diff; local 369 diff = LWIP_U32_DIFF(now, timeouts_last_time); 374 if (tmptimeout->time <= diff) { 378 diff -= tmptimeout->time;
|
| /external/toybox/toys/pending/ |
| last.c | 75 double diff = difftime(tm1, tm0); local 77 diff = (diff > 0) ? (tm1 - tm0) : 0; 81 days = (mins = diff/60)/(24*60);
|
| /external/valgrind/none/tests/arm64/ |
| memory.c | 303 UInt diff = 0xFF & (UInt)(block1[i] - block2[i]); local 304 if (diff == 0) 307 printf("%02x ", diff); [all...] |
| /external/vboot_reference/utility/ |
| bmpblk_font.c | 172 size_t imgsize, filesize, diff; local 193 diff = filesize - imgsize; 212 if (diff && 1 != fwrite("\0\0\0\0\0\0\0\0", diff, 1, ofp)) {
|
| /external/webrtc/webrtc/common_audio/signal_processing/ |
| resample_by_2.c | 28 // Return: state + ((diff * tbl_value) >> 16) 31 int32_t diff, 34 __asm __volatile ("smlawb %0, %1, %2, %3": "=r"(result): "r"(diff), 40 // Return: Return: state + (((diff << 1) * tbl_value) >> 32) 47 int32_t diff, 50 __asm __volatile ("smmla %0, %1, %2, %3": "=r"(result): "r"(diff << 1), 72 int32_t tmp1, tmp2, diff, in32, out32; local 87 diff = in32 - state1; 88 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); 90 diff = tmp1 - state2 130 int32_t tmp1, tmp2, diff, in32, out32; local [all...] |
| /frameworks/base/core/java/com/android/server/ |
| ResettableTimeout.java | 104 long diff; local 106 diff = mOffAt - SystemClock.uptimeMillis(); 107 if (diff <= 0) { 115 sleep(diff);
|
| /frameworks/base/media/mca/filterfw/native/core/ |
| geometry.cpp | 41 Point diff = p1 - p0; local 42 return diff.Length();
|
| /frameworks/base/media/mca/filterpacks/native/base/ |
| geometry.cpp | 42 Point diff = p1 - p0; local 43 return diff.Length();
|
| /frameworks/base/packages/SystemUI/scripts/ |
| new_merge.py | 27 DIFF_TOOLS=["meld", "kdiff3", "xdiff", "diffmerge.sh", "diff"] 76 print "Running diff for: %s" %(file) 77 diff(sourceFile, destFile) 81 diff(sourceFile, destFile) 96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout 150 def diff(file1, file2): function
|
| /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
| CountedDataInputStream.java | 77 long diff = target - cur; local 78 assert(diff >= 0); 79 skipOrThrow(diff);
|
| /frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
| Utils.java | 112 int diff = Time.THURSDAY - firstDayOfWeek; local 113 if (diff < 0) { 114 diff += 7; 116 int refDay = Time.EPOCH_JULIAN_DAY - diff;
|
| /frameworks/support/core-ui/java/android/support/v4/widget/ |
| ContentLoadingProgressBar.java | 97 long diff = System.currentTimeMillis() - mStartTime; local 98 if (diff >= MIN_SHOW_TIME || mStartTime == -1) { 108 postDelayed(mDelayedHide, MIN_SHOW_TIME - diff);
|
| /libcore/ojluni/src/test/java/time/tck/java/time/ |
| TCKOffsetDateTime.java | 244 long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); local 245 if (diff >= 100000000) { 249 diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); 251 assertTrue(diff < 100000000); // less than 0.1 secs [all...] |
| TCKOffsetTime.java | 213 long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); local 214 assertTrue(diff < 100000000); // less than 0.1 secs [all...] |
| /packages/apps/Camera2/src/com/android/camera/exif/ |
| CountedDataInputStream.java | 77 long diff = target - cur; local 78 assert(diff >= 0); 79 skipOrThrow(diff);
|
| /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
| CountedDataInputStream.java | 77 long diff = target - cur; local 78 assert(diff >= 0); 79 skipOrThrow(diff);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
| IngestObjectInfo.java | 61 long diff = getDateCreated() - another.getDateCreated(); local 62 if (diff < 0) { 64 } else if (diff == 0) {
|
| /packages/apps/UnifiedEmail/src/com/android/mail/ |
| MinTimeProgressDialog.java | 74 long diff = System.currentTimeMillis() - mStartTime; local 75 if (diff >= mMinShowTime || mStartTime == -1) { 82 mHandler.postDelayed(mDelayedDismiss, mMinShowTime - diff);
|