| /cts/tests/app/src/android/app/cts/ |
| AspectRatioTests.java | 223 float diff = Math.abs(a - b); local 224 return diff < 0.01f;
|
| /development/cmds/monkey/src/com/android/commands/monkey/ |
| MonkeyGetAppFrameRateEvent.java | 145 long diff = sEndTime - sStartTime; local 146 sDuration = (float) (diff / 1000.0);
|
| MonkeyGetFrameRateEvent.java | 132 long diff = mEndTime - mStartTime; local 133 mDuration = (float)(diff/1000.0);
|
| /development/tools/etc1tool/ |
| etc1tool.cpp | 378 int diff = *pSrc++ - *pDest; local 379 diff *= diff; 380 diff <<= 3; 381 if (diff < 0) { 382 diff = 0; 383 } else if (diff > 255) { 384 diff = 255; 386 *pDest++ = (png_byte) diff;
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
| rcvs.py | 21 # - cvs diff -rREVA -rREVB
156 def diff(self, opts = []):
member in class:MyFile 178 print 'diff %s -r%s %s' % (flags, rev, fn)
179 sts = os.system('diff %s %s %s' % (flags, tf.name, fn))
293 def diff(self, files, opts):
member in class:RCVS 295 e.diff(opts)
432 """diff [difflags] [file] ..."""
433 self.cvs.diff(files, opts)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
| test_parser.py | 175 if diff(filepath, new, encoding):
217 def diff(fn, result, encoding):
function 225 return os.system('diff -u "%s" @' % fn)
|
| /external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
| NodeSorter.java | 178 double diff; local 182 diff = 0.0; 184 diff = -1; 187 diff = 1; 189 diff = n1Num - n2Num; 192 result = (int) ((diff < 0.0) 194 : (diff > 0.0) ? (k.m_descending ? -1 : 1) : 0);
|
| /external/autotest/client/tests/hackbench/src/ |
| hackbench.c | 317 struct timeval start, stop, diff; local 379 timersub(&stop, &start, &diff); 380 printf("Time: %lu.%03lu\n", diff.tv_sec, diff.tv_usec/1000);
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
| SICBlockCipher.java | 185 long diff = 1L << (8 * i); local 186 while (rem >= diff) 189 rem -= diff; 207 long diff = 1L << (8 * i); local 208 while (rem > diff) 211 rem -= diff;
|
| /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
| httparchive.py | 416 def diff(self, request): member in class:HttpArchive 417 """Diff the given request to the closest matching request in the archive. 422 If a close match is found, return a textual diff between the requests. [all...] |
| /external/clang/lib/Edit/ |
| EditedSource.cpp | 228 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); local 230 TopFA->RemoveLen += diff; 250 unsigned diff = E.getOffset() - TopEnd.getOffset(); local 252 TopFA->RemoveLen += diff;
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_mman.cc | 49 uptr diff = RoundUp(p, kPageSize) - p; local 50 if (diff != 0) { 51 p += diff; 52 size -= diff; 54 diff = p + size - RoundDown(p + size, kPageSize); 55 if (diff != 0) 56 size -= diff;
|
| /external/deqp/framework/common/ |
| tcuImageCompare.cpp | 124 const UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); local 125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 143 const UVec4 diff = abs(refPix - deviatedCmpPix).cast<deUint32>(); local 144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 166 const UVec4 diff = abs(cmpPix - deviatedRefPix).cast<deUint32>(); local 167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); 305 IVec4 diff = abs(a - b); local 306 int sum = diff.x() + diff.y() + diff.z() + diff.w() 509 const UVec4 diff = computeFlushRelaxedULPDiff(refPix, cmpPix); local 596 Vec4 diff = abs(refPix - cmpPix); local 680 const Vec4 diff = abs(reference - cmpPix); local 765 UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); local [all...] |
| /external/deqp/modules/gles2/functional/ |
| es2fColorClearTest.cpp | 257 RGBA diff = computeAbsDiffMasked(refRGBA, resRGBA, colMask); local 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); 263 maxDiff = max(maxDiff, diff); 274 m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLog::EndMessage;
|
| /external/deqp/modules/gles3/functional/ |
| es3fColorClearTest.cpp | 257 RGBA diff = computeAbsDiffMasked(refRGBA, resRGBA, colMask); local 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); 263 maxDiff = max(maxDiff, diff); 274 m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLog::EndMessage;
|
| /external/emma/core/java12/com/vladium/emma/report/ |
| IItemAttribute.java | 186 final double diff = nil * dig - nig * dil; local 188 return diff > 0.0 ? +1 : (diff < 0.0 ? -1 : 0);
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| StringRange.java | 44 int diff = o1[i] - o2[i]; 45 if (diff != 0) { 46 return diff; 150 int diff = min - that.min; local 151 if (diff != 0) { 152 return diff; 226 int diff = ranges.length - other.ranges.length; local 227 if (diff != 0) { 228 return diff; 231 diff = ranges[i].compareTo(other.ranges[i]) [all...] |
| UResource.java | 263 int diff = charAt(i) - cs.charAt(i); local 264 if (diff != 0) { 265 return diff;
|
| /external/icu/icu4c/source/common/ |
| bytestriebuilder.cpp | 125 int32_t diff=uprv_memcmp(thisString.data(), otherString.data(), commonLength); local 126 return diff!=0 ? diff : lengthDiff;
|
| /external/icu/icu4c/source/i18n/ |
| scriptset.cpp | 300 int32_t diff = s0->countMembers() - s1->countMembers(); local 301 if (diff != 0) return diff; 304 while ((diff = i0-i1) == 0 && i0 > 0) { 308 return (int8_t)diff;
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| StringRange.java | 40 int diff = o1[i] - o2[i]; 41 if (diff != 0) { 42 return diff; 146 int diff = min - that.min; local 147 if (diff != 0) { 148 return diff; 222 int diff = ranges.length - other.ranges.length; local 223 if (diff != 0) { 224 return diff; 227 diff = ranges[i].compareTo(other.ranges[i]) [all...] |
| UResource.java | 261 int diff = charAt(i) - cs.charAt(i); local 262 if (diff != 0) { 263 return diff;
|
| /external/iputils/ |
| ping_common.h | 234 __u16 diff = (__u16)ntransmitted - acked; local 235 return (diff<=0x7FFF) ? diff : ntransmitted-nreceived-nerrors; 240 __u16 diff = (__u16)ntransmitted - seq; local 241 if (diff <= 0x7FFF) { 242 if ((int)diff+1 > pipesize) 243 pipesize = (int)diff+1;
|
| tracepath.c | 199 int diff = (tv.tv_sec-rettv->tv_sec)*1000000+(tv.tv_usec-rettv->tv_usec); local 200 printf("%3d.%03dms ", diff/1000, diff%1000);
|
| /external/jdiff/src/jdiff/ |
| Diff.java | 12 class Diff { 48 DiffMyers diff = new DiffMyers(oldDocWords, newDocWords); local 49 DiffMyers.change script = diff.diff_2(false); 343 if (!Diff.noDocDiffs) { 344 diffFile.println(" <TD BGCOLOR=\"#EEEEFF\" CLASS=\"NavBarCell1\"> <A HREF=\"" + Diff.diffFileName + "index" + HTMLReportGenerator.reportFileExt + "\"><FONT CLASS=\"NavBarFont1\"><B>Text Changes</B></FONT></A> </TD>"); 475 if (!Diff.noDocDiffs) { 516 String link = "<a href=\"" + Diff.diffFileName + diffOutput.pkgName_ + HTMLReportGenerator.reportFileExt + "#" + diffOutput.id_ + "\">"; 586 * Emit the HTML footer and close the diff file. [all...] |