/external/webkit/WebKitTools/DumpRenderTree/qt/ |
H A D | ImageDiff.cpp | 115 qreal difference = 0; local 117 difference = 100 * sum / static_cast<qreal>(w * h); 118 if (difference <= tolerance) { 119 difference = 0; 121 difference = round(difference * 100) / 100; 122 difference = qMax(difference, qreal(0.01)); 126 fprintf(stdout, "diff: %01.2f%% passed\n", difference); 136 fprintf(stdout, "diff: %01.2f%% failed\n", difference); [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
H A D | ImageDiffCG.cpp | 88 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference) argument 134 // Compute the difference as a percentage combining both the number of different pixels and their difference amount i.e. the average distance over the entire image 136 difference = 100.0f * sum / (height * width); 138 difference = 0.0f; 141 // Generate a normalized diff image if there is any difference 142 if (difference > 0.0f) { 215 float difference = 100.0f; local 218 diffImage = createDifferenceImage(actualImage.get(), baselineImage.get(), difference); // difference i [all...] |
/external/protobuf/gtest/samples/ |
H A D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_TRUE(difference <= 0) 93 << "Leaked " << difference << " unit(s) of Water!";
|
/external/webkit/WebKitTools/Scripts/ |
H A D | compare-timing-files | 63 my $difference = abs($newAverage - $oldAverage); 64 my $differencePercent = $difference / $oldAverage * 100; 65 printf("\nperformance %s of %.2f%% (%.1f / %.1f)\n", $gainOrLoss, $differencePercent, $difference, $oldAverage);
|
/external/stlport/test/unit/ |
H A D | adj_test.cpp | 88 int difference[5]; local 89 adjacent_difference(numbers, numbers + 5, (int*)difference); 90 CPPUNIT_ASSERT(difference[0]==1); 91 CPPUNIT_ASSERT(difference[1]==1); 92 CPPUNIT_ASSERT(difference[2]==2); 93 CPPUNIT_ASSERT(difference[3]==4); 94 CPPUNIT_ASSERT(difference[4]==8);
|
/external/apache-http/src/org/apache/commons/codec/language/ |
H A D | RefinedSoundex.java | 98 public int difference(String s1, String s2) throws EncoderException { method in class:RefinedSoundex 99 return SoundexUtils.difference(this, s1, s2);
|
H A D | Soundex.java | 80 public int difference(String s1, String s2) throws EncoderException { method in class:Soundex 81 return SoundexUtils.difference(this, s1, s2);
|
H A D | SoundexUtils.java | 83 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils
|
/external/v8/src/ia32/ |
H A D | jump-target-ia32.cc | 203 int difference = frame->stack_pointer_ - (frame->element_count() - 1); local 204 if (difference > 0) { 205 frame->stack_pointer_ -= difference; 206 __ add(Operand(esp), Immediate(difference * kPointerSize)); 234 int difference = frame->stack_pointer_ - (frame->element_count() - 1); local 235 if (difference > 0) { 236 frame->stack_pointer_ -= difference; 237 __ add(Operand(esp), Immediate(difference * kPointerSize));
|
/external/v8/src/x64/ |
H A D | jump-target-x64.cc | 203 int difference = frame->stack_pointer_ - (frame->element_count() - 1); local 204 if (difference > 0) { 205 frame->stack_pointer_ -= difference; 206 __ addq(rsp, Immediate(difference * kPointerSize)); 234 int difference = frame->stack_pointer_ - (frame->element_count() - 1); local 235 if (difference > 0) { 236 frame->stack_pointer_ -= difference; 237 __ addq(rsp, Immediate(difference * kPointerSize));
|
H A D | virtual-frame-x64.cc | 555 int difference = expected->stack_pointer_ - stack_pointer_; 557 __ subq(rsp, Immediate(difference * kPointerSize)); 566 int difference = stack_pointer_ - expected->stack_pointer_; 568 __ addq(rsp, Immediate(difference * kPointerSize));
|
/external/v8/test/mjsunit/ |
H A D | top-level-assignments.js | 88 Calculator.prototype.difference = function() { return this.x - this.y; }; 94 assertEquals(10, calc.difference());
|
/external/openssl/crypto/des/times/ |
H A D | usparc.cc | 5 I believe the difference is tied up in optimisation that the compiler
|
/external/libvpx/vp8/encoder/ppc/ |
H A D | sad_altivec.asm | 70 ;# compute difference on first row 79 ;# perform abs() of difference 91 ;# compute difference on second row
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | kernel-jbd.h | 805 int difference = (x - y); local 806 return (difference > 0); 811 int difference = (x - y); local 812 return (difference >= 0);
|
/external/kernel-headers/original/linux/ |
H A D | jbd.h | 1045 int difference = (x - y); local 1046 return (difference > 0); 1051 int difference = (x - y); local 1052 return (difference >= 0);
|
/external/webkit/WebCore/platform/ |
H A D | Timer.cpp | 112 // We need to look at the difference of the insertion orders instead of comparing the two 114 unsigned difference = a.timer()->m_heapInsertionOrder - b.timer()->m_heapInsertionOrder; 115 return difference < UINT_MAX / 2;
|
/external/chromium/third_party/icu/source/i18n/ |
H A D | nfrs.cpp | 498 int64_t difference = util64_fromDouble(uprv_maxMantissa()); local 521 if (tempDifference < difference) { 522 difference = tempDifference; 524 if (difference == 0) {
|
/external/icu4c/i18n/ |
H A D | nfrs.cpp | 498 int64_t difference = util64_fromDouble(uprv_maxMantissa()); local 521 if (tempDifference < difference) { 522 difference = tempDifference; 524 if (difference == 0) {
|
/external/webkit/JavaScriptCore/wtf/ |
H A D | DateMath.cpp | 364 int difference; local 366 difference = minYear - year; 368 difference = maxYear - year; 372 int quotient = difference / 28; 390 // Get the difference between this time zone and UTC on the 1st of January of this year. 925 * Get the difference in milliseconds between this time zone and UTC (GMT)
|
/external/grub/stage2/ |
H A D | tparm.c | 460 * We'll have to assume that the caller knows the difference, since
|
/external/srec/srec/ca/ |
H A D | cnfd_scr.c | 46 #error allocate difference in simapi.h
|
/external/webkit/WebCore/rendering/ |
H A D | RenderBox.cpp | 2034 marginLeftValue = availableSpace / 2; // split the difference 2319 marginTopValue = availableSpace / 2; // split the difference 2486 int difference = availableSpace - (leftValue + rightValue); local 2487 if (difference > 0) { 2488 m_marginLeft = difference / 2; // split the difference 2489 m_marginRight = difference - m_marginLeft; // account for odd valued differences 2494 m_marginRight = difference; // will be negative 2496 m_marginLeft = difference; // will be negative 2645 int difference local [all...] |
/external/guava/src/com/google/common/collect/ |
H A D | Sets.java | 556 final Set<? extends E> set2minus1 = difference(set2, set1); 640 * Returns an unmodifiable <b>view</b> of the difference of two sets. The 650 public static <E> SetView<E> difference( method in class:Sets
|
/external/icu4c/stubdata/ |
H A D | icu_dat_generator.py | 126 for missing in locales.difference(whats):
|