/external/webkit/Tools/DumpRenderTree/win/ |
D | ImageDiffCairo.cpp | 107 …ateDifferenceImage(cairo_surface_t* baselineImage, cairo_surface_t* actualImage, float& difference) in createDifferenceImage() argument 147 difference = 100.0f * sum / (height * width); in createDifferenceImage() 149 difference = 0; in createDifferenceImage() 151 if (!difference) { in createDifferenceImage() 221 float difference = 100.0; in main() local 226 …diffImage = createDifferenceImage(actualImage, baselineImage, difference); // difference is passed… in main() 227 if (difference <= tolerance) in main() 228 difference = 0; in main() 230 difference = roundf(difference * 100.0) / 100.0; in main() 231 difference = max<float>(difference, 0.01); // round to 2 decimal places in main() [all …]
|
/external/webkit/Tools/DumpRenderTree/cg/ |
D | ImageDiffCG.cpp | 92 …tr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference) in createDifferenceImage() argument 140 difference = 100.0f * sum / (height * width); in createDifferenceImage() 142 difference = 0.0f; in createDifferenceImage() 146 if (difference > 0.0f) { in createDifferenceImage() 219 float difference = 100.0f; in main() local 222 …fImage = createDifferenceImage(actualImage.get(), baselineImage.get(), difference); // difference … in main() 223 if (difference <= tolerance) in main() 224 difference = 0.0f; in main() 226 difference = roundf(difference * 100.0f) / 100.0f; in main() 227 difference = max(difference, 0.01f); // round to 2 decimal places in main() [all …]
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
D | ImageDiff.cpp | 135 float difference = 0; in calculateDifference() local 137 difference = 100.0f * sum / (height * width); in calculateDifference() 138 if (difference <= tolerance) in calculateDifference() 139 difference = 0; in calculateDifference() 141 difference = roundf(difference * 100.0f) / 100.0f; in calculateDifference() 142 difference = max(difference, 0.01f); // round to 2 decimal places in calculateDifference() 147 return difference; in calculateDifference() 167 float difference = calculateDifference(baselineImage, actualImage, &differenceImage); in printImageDifferences() local 168 if (difference > 0.0f) { in printImageDifferences() 173 printf("diff: %01.2f%% failed\n", difference); in printImageDifferences() [all …]
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
D | ConstraintRotLimit.java | 119 float difference = 0.0f; in rotLimit() local 121 difference = (angles[0] - limits[0][0]) * influence; in rotLimit() 123 difference = (angles[0] - limits[0][1]) * influence; in rotLimit() 125 angles[0] -= difference; in rotLimit() 128 float difference = 0.0f; in rotLimit() local 130 difference = (angles[1] - limits[1][0]) * influence; in rotLimit() 132 difference = (angles[1] - limits[1][1]) * influence; in rotLimit() 134 angles[1] -= difference; in rotLimit() 137 float difference = 0.0f; in rotLimit() local 139 difference = (angles[2] - limits[2][0]) * influence; in rotLimit() [all …]
|
/external/webkit/Tools/DumpRenderTree/qt/ |
D | ImageDiff.cpp | 116 qreal difference = 0; in main() local 118 difference = 100 * sum / static_cast<qreal>(w * h); in main() 119 if (difference <= tolerance) { in main() 120 difference = 0; in main() 122 difference = qRound(difference * 100) / 100; in main() 123 difference = qMax(difference, qreal(0.01)); in main() 127 fprintf(stdout, "diff: %01.2f%% passed\n", difference); in main() 140 fprintf(stdout, "diff: %01.2f%% failed\n", difference); in main()
|
/external/libvpx/libvpx/vp8/encoder/arm/armv6/ |
D | vp8_mse16x16_armv6.asm | 44 usub8 r8, r5, r6 ; calculate difference 46 sel r7, r8, lr ; select bytes with positive difference 47 usub8 r9, r6, r5 ; calculate difference with reversed operands 49 sel r8, r9, lr ; select bytes with negative difference 67 usub8 r8, r5, r6 ; calculate difference 68 sel r7, r8, lr ; select bytes with positive difference 69 usub8 r9, r6, r5 ; calculate difference with reversed operands 70 sel r8, r9, lr ; select bytes with negative difference 86 usub8 r8, r5, r6 ; calculate difference 87 sel r7, r8, lr ; select bytes with positive difference [all …]
|
/external/libvpx/libvpx/vp8/common/arm/armv6/ |
D | vp8_variance16x16_armv6.asm | 43 usub8 r6, r4, r5 ; calculate difference 45 sel r7, r6, lr ; select bytes with positive difference 46 usub8 r9, r5, r4 ; calculate difference with reversed operands 48 sel r6, r9, lr ; select bytes with negative difference 68 usub8 r6, r4, r5 ; calculate difference 69 sel r7, r6, lr ; select bytes with positive difference 70 usub8 r9, r5, r4 ; calculate difference with reversed operands 71 sel r6, r9, lr ; select bytes with negative difference 92 usub8 r6, r4, r5 ; calculate difference 93 sel r7, r6, lr ; select bytes with positive difference [all …]
|
D | vp8_variance_halfpixvar16x16_v_armv6.asm | 49 usub8 r6, r4, r5 ; calculate difference 51 sel r7, r6, lr ; select bytes with positive difference 52 usub8 r6, r5, r4 ; calculate difference with reversed operands 54 sel r6, r6, lr ; select bytes with negative difference 81 usub8 r6, r4, r5 ; calculate difference 82 sel r7, r6, lr ; select bytes with positive difference 83 usub8 r6, r5, r4 ; calculate difference with reversed operands 84 sel r6, r6, lr ; select bytes with negative difference 112 usub8 r6, r4, r5 ; calculate difference 113 sel r7, r6, lr ; select bytes with positive difference [all …]
|
D | vp8_variance_halfpixvar16x16_h_armv6.asm | 48 usub8 r6, r4, r5 ; calculate difference 50 sel r7, r6, lr ; select bytes with positive difference 51 usub8 r6, r5, r4 ; calculate difference with reversed operands 53 sel r6, r6, lr ; select bytes with negative difference 80 usub8 r6, r4, r5 ; calculate difference 81 sel r7, r6, lr ; select bytes with positive difference 82 usub8 r6, r5, r4 ; calculate difference with reversed operands 83 sel r6, r6, lr ; select bytes with negative difference 111 usub8 r6, r4, r5 ; calculate difference 112 sel r7, r6, lr ; select bytes with positive difference [all …]
|
D | vp8_variance_halfpixvar16x16_hv_armv6.asm | 59 usub8 r6, r4, r5 ; calculate difference 61 sel r7, r6, lr ; select bytes with positive difference 62 usub8 r6, r5, r4 ; calculate difference with reversed operands 64 sel r6, r6, lr ; select bytes with negative difference 102 usub8 r6, r4, r5 ; calculate difference 103 sel r7, r6, lr ; select bytes with positive difference 104 usub8 r6, r5, r4 ; calculate difference with reversed operands 105 sel r6, r6, lr ; select bytes with negative difference 144 usub8 r6, r4, r5 ; calculate difference 145 sel r7, r6, lr ; select bytes with positive difference [all …]
|
D | vp8_variance8x8_armv6.asm | 41 usub8 r8, r6, r7 ; calculate difference 43 sel r10, r8, lr ; select bytes with positive difference 44 usub8 r9, r7, r6 ; calculate difference with reversed operands 46 sel r8, r9, lr ; select bytes with negative difference 66 usub8 r8, r6, r7 ; calculate difference 68 sel r10, r8, lr ; select bytes with positive difference 69 usub8 r9, r7, r6 ; calculate difference with reversed operands 71 sel r8, r9, lr ; select bytes with negative difference
|
/external/ceres-solver/internal/ceres/ |
D | canonical_views_clustering.cc | 115 const double difference = in ComputeClustering() local 117 if (difference > best_difference) { in ComputeClustering() 118 best_difference = difference; in ComputeClustering() 160 double difference = in ComputeClusteringQualityDifference() local 174 difference += new_similarity - old_similarity; in ComputeClusteringQualityDifference() 179 difference -= options_.size_penalty_weight; in ComputeClusteringQualityDifference() 183 difference -= options_.similarity_penalty_weight * in ComputeClusteringQualityDifference() 187 return difference; in ComputeClusteringQualityDifference()
|
/external/stlport/test/unit/ |
D | adj_test.cpp | 88 int difference[5]; in adjdiff0() local 89 adjacent_difference(numbers, numbers + 5, (int*)difference); in adjdiff0() 90 CPPUNIT_ASSERT(difference[0]==1); in adjdiff0() 91 CPPUNIT_ASSERT(difference[1]==1); in adjdiff0() 92 CPPUNIT_ASSERT(difference[2]==2); in adjdiff0() 93 CPPUNIT_ASSERT(difference[3]==4); in adjdiff0() 94 CPPUNIT_ASSERT(difference[4]==8); in adjdiff0()
|
/external/chromium/chrome/browser/sync/ |
D | backend_migrator_unittest.cc | 92 syncable::ModelTypeSet to_migrate, difference; in TEST_F() local 94 difference.insert(syncable::AUTOFILL); in TEST_F() 95 difference.insert(syncable::BOOKMARKS); in TEST_F() 104 SendConfigureDone(DataTypeManager::OK, difference); in TEST_F() 176 syncable::ModelTypeSet difference; in TEST_F() local 178 difference.insert(syncable::AUTOFILL); in TEST_F() 179 difference.insert(syncable::BOOKMARKS); in TEST_F() 183 EXPECT_CALL(*manager(), Configure(difference)); in TEST_F() 190 EXPECT_CALL(*manager(), Configure(difference)); in TEST_F() 200 syncable::ModelTypeSet to_migrate, difference; in TEST_F() local [all …]
|
D | backend_migrator.cc | 66 ModelTypeSet difference; in MigrateTypes() local 69 std::inserter(difference, difference.end())); in MigrateTypes() 71 manager_->Configure(difference); in MigrateTypes()
|
/external/srtp/crypto/replay/ |
D | rdbx.c | 143 int difference; in index_guess() local 157 difference = s - local_seq - seq_num_max; in index_guess() 160 difference = s - local_seq; in index_guess() 165 difference = seq_num_max - local_seq + s; in index_guess() 167 difference = s - local_seq; in index_guess() 181 return difference; in index_guess()
|
/external/chromium/testing/gtest/samples/ |
D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 92 EXPECT_TRUE(difference <= 0) in OnTestEnd() 93 << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/gtest/samples/ |
D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 92 EXPECT_TRUE(difference <= 0) in OnTestEnd() 93 << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/libvpx/libvpx/third_party/googletest/src/samples/ |
D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 92 EXPECT_TRUE(difference <= 0) in OnTestEnd() 93 << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/protobuf/gtest/samples/ |
D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 92 EXPECT_TRUE(difference <= 0) in OnTestEnd() 93 << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/webkit/Tools/Scripts/ |
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, …
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SetOperationsTest.java | 187 return Sets.difference( in suite() 198 return Sets.difference(Sets.newHashSet("a"), Sets.newHashSet("a")); in suite() 210 return Sets.difference(set, other); in suite() 224 return Sets.difference(set, other); in suite() 234 return Sets.difference( in suite() 245 return Sets.difference( in suite() 302 Set<String> goodFriends = Sets.difference(friends, enemies); in testDifference() 306 = Sets.difference(friends, enemies).immutableCopy(); in testDifference() 308 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
|
D | MapsTest.java | 338 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY); in testMapDifferenceEmptyEmpty() 348 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, SINGLETON); in testMapDifferenceEmptySingleton() 358 MapDifference<Integer, Integer> diff = Maps.difference(SINGLETON, EMPTY); in testMapDifferenceSingletonEmpty() 373 MapDifference<Integer, String> diff1 = Maps.difference(left, right); in testMapDifferenceTypical() 385 MapDifference<Integer, String> diff2 = Maps.difference(right, left); in testMapDifferenceTypical() 405 MapDifference<Integer, String> original = Maps.difference(left, right); in testMapDifferenceEquals() 406 MapDifference<Integer, String> same = Maps.difference(left, right); in testMapDifferenceEquals() 407 MapDifference<Integer, String> reverse = Maps.difference(right, left); in testMapDifferenceEquals() 408 MapDifference<Integer, String> diff2 = Maps.difference(left, right2); in testMapDifferenceEquals() 432 MapDifference<Integer, String> diff1 = Maps.difference(left, right, in testMapDifferencePredicateTypical() [all …]
|
/external/v8/src/ |
D | bignum.cc | 226 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum() local 227 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 228 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 231 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum() local 232 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 233 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 750 Chunk difference = in SubtractTimes() local 752 bigits_[i + exponent_diff] = difference & kBigitMask; in SubtractTimes() 753 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes() 758 Chunk difference = bigits_[i] - borrow; in SubtractTimes() local [all …]
|
/external/srtp/googlepatches/ |
D | google-11-srtp-replay-fix.patch | 22 - difference = seq_num_max - s + local_seq; 23 + // The return value is the relative difference from local_seq to s. 27 + // will end up positive difference and rdbx_check would pass. Hence after 32 + difference = s - local_seq - seq_num_max; 35 difference = s - local_seq;
|