/external/webkit/Tools/DumpRenderTree/qt/ |
ImageDiff.cpp | 116 qreal difference = 0; local 118 difference = 100 * sum / static_cast<qreal>(w * h); 119 if (difference <= tolerance) { 120 difference = 0; 122 difference = qRound(difference * 100) / 100; 123 difference = qMax(difference, qreal(0.01)); 127 fprintf(stdout, "diff: %01.2f%% passed\n", difference); 140 fprintf(stdout, "diff: %01.2f%% failed\n", difference); [all...] |
/external/webkit/Tools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 92 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference) 138 // 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 140 difference = 100.0f * sum / (height * width); 142 difference = 0.0f; 145 // Generate a normalized diff image if there is any difference 146 if (difference > 0.0f) { 219 float difference = 100.0f; local 222 diffImage = createDifferenceImage(actualImage.get(), baselineImage.get(), difference); // difference is passed by referenc [all...] |
/external/webkit/Tools/DumpRenderTree/win/ |
ImageDiffCairo.cpp | 107 static cairo_surface_t* createDifferenceImage(cairo_surface_t* baselineImage, cairo_surface_t* actualImage, float& difference) 145 // 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 147 difference = 100.0f * sum / (height * width); 149 difference = 0; 151 if (!difference) { 221 float difference = 100.0; local 226 diffImage = createDifferenceImage(actualImage, baselineImage, difference); // difference is passed by reference 227 if (difference <= tolerance [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
ImageDiff.cpp | 41 { "tolerance", 0, 0, G_OPTION_ARG_DOUBLE, &tolerance, "Percentage difference between images before considering them different", "T" }, 132 // Compute the difference as a percentage combining both the number of 133 // different pixels and their difference amount i.e. the average distance 135 float difference = 0; local 137 difference = 100.0f * sum / (height * width); 138 if (difference <= tolerance) 139 difference = 0; 141 difference = roundf(difference * 100.0f) / 100.0f; 142 difference = max(difference, 0.01f); // round to 2 decimal place 167 float difference = calculateDifference(baselineImage, actualImage, &differenceImage); local [all...] |
/external/chromium/testing/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/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/Tools/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);
|
find-mismatched-layout-test-results | 78 missing_pngs = checksum_files.difference(png_files) 84 missing_checksums = png_files.difference(checksum_files)
|
/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);
|
/external/srtp/crypto/replay/ |
rdbx.c | 77 * returns the difference of the guess and the local value. The local 79 * index_advance(&guess, delta), where delta is the difference. 117 * and returns the difference between *guess and *local 143 int difference; local 148 // The return value is the relative difference from local_seq to s. 152 // will end up positive difference and rdbx_check would pass. Hence after 157 difference = s - local_seq - seq_num_max; 160 difference = s - local_seq; 165 difference = seq_num_max - local_seq + s; 167 difference = s - local_seq [all...] |
/external/chromium/chrome/browser/sync/ |
backend_migrator_unittest.cc | 92 syncable::ModelTypeSet to_migrate, difference; local 94 difference.insert(syncable::AUTOFILL); 95 difference.insert(syncable::BOOKMARKS); 104 SendConfigureDone(DataTypeManager::OK, difference); 176 syncable::ModelTypeSet difference; local 178 difference.insert(syncable::AUTOFILL); 179 difference.insert(syncable::BOOKMARKS); 183 EXPECT_CALL(*manager(), Configure(difference)); 190 EXPECT_CALL(*manager(), Configure(difference)); 200 syncable::ModelTypeSet to_migrate, difference; local [all...] |
backend_migrator.cc | 66 ModelTypeSet difference; local 69 std::inserter(difference, difference.end())); 71 manager_->Configure(difference);
|
/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);
|
/external/libvpx/vp8/encoder/arm/armv6/ |
vp8_mse16x16_armv6.asm | 41 usub8 r8, r5, r6 ; calculate difference 42 sel r7, r8, lr ; select bytes with positive difference 43 usub8 r9, r6, r5 ; calculate difference with reversed operands 44 sel r8, r9, lr ; select bytes with negative difference 62 usub8 r8, r5, r6 ; calculate difference 63 sel r7, r8, lr ; select bytes with positive difference 64 usub8 r9, r6, r5 ; calculate difference with reversed operands 65 sel r8, r9, lr ; select bytes with negative difference 81 usub8 r8, r5, r6 ; calculate difference 82 sel r7, r8, lr ; select bytes with positive difference [all...] |
vp8_variance16x16_armv6.asm | 39 usub8 r6, r4, r5 ; calculate difference 40 sel r7, r6, lr ; select bytes with positive difference 41 usub8 r9, r5, r4 ; calculate difference with reversed operands 42 sel r6, r9, lr ; select bytes with negative difference 62 usub8 r6, r4, r5 ; calculate difference 63 sel r7, r6, lr ; select bytes with positive difference 64 usub8 r9, r5, r4 ; calculate difference with reversed operands 65 sel r6, r9, lr ; select bytes with negative difference 86 usub8 r6, r4, r5 ; calculate difference 87 sel r7, r6, lr ; select bytes with positive difference [all...] |
vp8_variance_halfpixvar16x16_h_armv6.asm | 44 usub8 r6, r4, r5 ; calculate difference 45 sel r7, r6, lr ; select bytes with positive difference 46 usub8 r6, r5, r4 ; calculate difference with reversed operands 47 sel r6, r6, lr ; select bytes with negative difference 74 usub8 r6, r4, r5 ; calculate difference 75 sel r7, r6, lr ; select bytes with positive difference 76 usub8 r6, r5, r4 ; calculate difference with reversed operands 77 sel r6, r6, lr ; select bytes with negative difference 105 usub8 r6, r4, r5 ; calculate difference 106 sel r7, r6, lr ; select bytes with positive difference [all...] |
vp8_variance_halfpixvar16x16_v_armv6.asm | 45 usub8 r6, r4, r5 ; calculate difference 46 sel r7, r6, lr ; select bytes with positive difference 47 usub8 r6, r5, r4 ; calculate difference with reversed operands 48 sel r6, r6, lr ; select bytes with negative difference 75 usub8 r6, r4, r5 ; calculate difference 76 sel r7, r6, lr ; select bytes with positive difference 77 usub8 r6, r5, r4 ; calculate difference with reversed operands 78 sel r6, r6, lr ; select bytes with negative difference 106 usub8 r6, r4, r5 ; calculate difference 107 sel r7, r6, lr ; select bytes with positive difference [all...] |
vp8_variance8x8_armv6.asm | 37 usub8 r8, r6, r7 ; calculate difference 38 sel r10, r8, lr ; select bytes with positive difference 39 usub8 r9, r7, r6 ; calculate difference with reversed operands 40 sel r8, r9, lr ; select bytes with negative difference 60 usub8 r8, r6, r7 ; calculate difference 62 sel r10, r8, lr ; select bytes with positive difference 63 usub8 r9, r7, r6 ; calculate difference with reversed operands 65 sel r8, r9, lr ; select bytes with negative difference
|
vp8_variance_halfpixvar16x16_hv_armv6.asm | 55 usub8 r6, r4, r5 ; calculate difference 56 sel r7, r6, lr ; select bytes with positive difference 57 usub8 r6, r5, r4 ; calculate difference with reversed operands 58 sel r6, r6, lr ; select bytes with negative difference 96 usub8 r6, r4, r5 ; calculate difference 97 sel r7, r6, lr ; select bytes with positive difference 98 usub8 r6, r5, r4 ; calculate difference with reversed operands 99 sel r6, r6, lr ; select bytes with negative difference 138 usub8 r6, r4, r5 ; calculate difference 139 sel r7, r6, lr ; select bytes with positive difference [all...] |
/external/srtp/crypto/include/ |
rdbx.h | 79 * index to which s corresponds, and returns the difference between 97 rdbx_check(const rdbx_t *rdbx, int difference); 168 * difference between *guess and *local
|
/external/llvm/include/llvm/Support/ |
TimeValue.h | 186 /// @returns The difference of the two operands as a new TimeValue 240 /// Posix, correcting for the difference in Posix zero time. 255 /// Win32 platforms, correcting for the difference in Win32 zero time. 374 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ ); 375 difference.normalize (); 376 return difference;
|