HomeSort by relevance Sort by last modified time
    Searched refs:difference (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/webkit/WebKitTools/DumpRenderTree/qt/
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/
ImageDiffCG.cpp 88 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference)
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 is passed by referenc
    [all...]
  /external/protobuf/gtest/samples/
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/
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/
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);
  /ndk/tests/device/test-gnustl-full/unit/
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);
  /ndk/tests/device/test-stlport/unit/
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);
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
jbd.h 203 int difference = (x - y); local
204 return (difference > 0);
209 int difference = (x - y); local
210 return (difference >= 0);
  /external/apache-http/src/org/apache/commons/codec/language/
RefinedSoundex.java 92 * MS T-SQL DIFFERENCE</a>
98 public int difference(String s1, String s2) throws EncoderException { method in class:RefinedSoundex
99 return SoundexUtils.difference(this, s1, s2);
Soundex.java 74 * T-SQL DIFFERENCE </a>
80 public int difference(String s1, String s2) throws EncoderException { method in class:Soundex
81 return SoundexUtils.difference(this, s1, s2);
SoundexUtils.java 78 * MS T-SQL DIFFERENCE</a>
83 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils
105 * MS T-SQL DIFFERENCE</a>
  /external/v8/src/ia32/
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/
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));
  /external/openssl/crypto/des/times/
usparc.cc 5 I believe the difference is tied up in optimisation that the compiler
  /packages/apps/Settings/src/com/android/settings/wifi/
AccessPoint.java 127 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi); local
128 if (difference != 0) {
129 return difference;
  /external/libvpx/vp8/encoder/ppc/
sad_altivec.asm 70 ;# compute difference on first row
79 ;# perform abs() of difference
91 ;# compute difference on second row
  /external/e2fsprogs/lib/ext2fs/
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/
jbd.h 1045 int difference = (x - y); local
1046 return (difference > 0);
1051 int difference = (x - y); local
1052 return (difference >= 0);
    [all...]
  /external/v8/test/mjsunit/
top-level-assignments.js 88 Calculator.prototype.difference = function() { return this.x - this.y; };
94 assertEquals(10, calc.difference());
  /external/webkit/WebCore/platform/
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;
  /frameworks/base/core/java/android/widget/
TableLayout.java 511 final int difference = newLength - length; local
514 if (difference > 0) {
520 mMaxWidths, oldMaxWidths.length, difference);
526 // difference will be negative
  /frameworks/base/media/libstagefright/codecs/aacenc/src/
qc_main.c 94 Word16 difference; local
98 difference = calcFrameLen( bitRate,
101 *paddingRest = *paddingRest - difference;
  /external/chromium/third_party/icu/source/i18n/
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/
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/
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)

Completed in 1229 milliseconds

1 2 3