Searched refs:difference (Results 1 - 25 of 41) sorted by relevance

12

/external/webkit/WebKitTools/DumpRenderTree/qt/
H A DImageDiff.cpp115 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 DImageDiffCG.cpp88 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 Dsample10_unittest.cc87 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 Dcompare-timing-files63 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 Dadj_test.cpp88 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 DRefinedSoundex.java98 public int difference(String s1, String s2) throws EncoderException { method in class:RefinedSoundex
99 return SoundexUtils.difference(this, s1, s2);
H A DSoundex.java80 public int difference(String s1, String s2) throws EncoderException { method in class:Soundex
81 return SoundexUtils.difference(this, s1, s2);
H A DSoundexUtils.java83 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils
/external/v8/src/ia32/
H A Djump-target-ia32.cc203 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 Djump-target-x64.cc203 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 Dvirtual-frame-x64.cc555 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 Dtop-level-assignments.js88 Calculator.prototype.difference = function() { return this.x - this.y; };
94 assertEquals(10, calc.difference());
/external/openssl/crypto/des/times/
H A Dusparc.cc5 I believe the difference is tied up in optimisation that the compiler
/external/libvpx/vp8/encoder/ppc/
H A Dsad_altivec.asm70 ;# compute difference on first row
79 ;# perform abs() of difference
91 ;# compute difference on second row
/external/e2fsprogs/lib/ext2fs/
H A Dkernel-jbd.h805 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 Djbd.h1045 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 DTimer.cpp112 // 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 Dnfrs.cpp498 int64_t difference = util64_fromDouble(uprv_maxMantissa()); local
521 if (tempDifference < difference) {
522 difference = tempDifference;
524 if (difference == 0) {
/external/icu4c/i18n/
H A Dnfrs.cpp498 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 DDateMath.cpp364 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 Dtparm.c460 * We'll have to assume that the caller knows the difference, since
/external/srec/srec/ca/
H A Dcnfd_scr.c46 #error allocate difference in simapi.h
/external/webkit/WebCore/rendering/
H A DRenderBox.cpp2034 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 DSets.java556 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 Dicu_dat_generator.py126 for missing in locales.difference(whats):

Completed in 997 milliseconds

12