/cts/apps/CtsVerifier/include/colorchecker/ |
vec2.h | 54 int difference = 0.f; local 55 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * 59 return difference;
|
vec3.h | 81 float difference = 0.f; local 82 difference = static_cast<float>(mRed - param.r()) * 88 return difference;
|
/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);
|
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>
|
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/chromium/chrome/browser/sync/ |
backend_migrator.cc | 66 ModelTypeSet difference; local 69 std::inserter(difference, difference.end())); 71 manager_->Configure(difference);
|
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...] |
/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/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/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/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/guava/guava/src/com/google/common/collect/ |
SortedMaps.java | 153 * Computes the difference between two sorted maps, using the comparator of 155 * natural ordering of its elements. This difference is an immutable snapshot 168 * @return the difference between the two maps 169 * @deprecated Use {@link Maps#difference(SortedMap, Map)} 171 @Deprecated public static <K, V> SortedMapDifference<K, V> difference( method in class:SortedMaps 173 return Maps.difference(left, right);
|
/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/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/chromium/chrome/browser/ui/views/ |
dropdown_bar_host.cc | 283 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() - local 285 if (difference > 0) { 287 exclude[0].x = max_x - difference; // Top left corner. 296 exclude[3].x = max_x - difference; // Bottom left corner.
|
/external/v8/src/ |
bignum.cc | 226 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; local 227 bigits_[i + offset] = difference & kBigitMask; 228 borrow = difference >> (kChunkSize - 1); 231 Chunk difference = bigits_[i + offset] - borrow; local 232 bigits_[i + offset] = difference & kBigitMask; 233 borrow = difference >> (kChunkSize - 1); 750 Chunk difference = 752 bigits_[i + exponent_diff] = difference & kBigitMask; 753 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + 758 Chunk difference = bigits_[i] - borrow [all...] |
/external/chromium/chrome/browser/sync/glue/ |
typed_url_model_associator.cc | 90 int difference = MergeUrls(typed_url, *ix, &visits, &new_url, local 92 if (difference & DIFF_NODE_CHANGED) { 100 if (difference & DIFF_TITLE_CHANGED) { 104 if (difference & DIFF_ROW_CHANGED) { 108 if (difference & DIFF_VISITS_ADDED) { 369 // No difference. 382 // No difference.
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Maps.java | 301 * Computes the difference between two maps. This difference is an immutable 314 * @return the difference between the two maps 317 public static <K, V> MapDifference<K, V> difference( method in class:Maps 321 SortedMapDifference<K, V> result = difference(sortedLeft, right); 324 return difference(left, right, Equivalences.equals()); 328 * Computes the difference between two maps. This difference is an immutable 333 * equality, the value on the 'left' is returned in the difference. 343 * @return the difference between the two map 347 public static <K, V> MapDifference<K, V> difference( method in class:Maps 534 public static <K, V> SortedMapDifference<K, V> difference( method in class:Maps [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
ConstraintRotLimit.java | 119 float difference = 0.0f;
local 121 difference = (angles[0] - limits[0][0]) * influence;
123 difference = (angles[0] - limits[0][1]) * influence;
125 angles[0] -= difference;
128 float difference = 0.0f;
local 130 difference = (angles[1] - limits[1][0]) * influence;
132 difference = (angles[1] - limits[1][1]) * influence;
134 angles[1] -= difference;
137 float difference = 0.0f;
local 139 difference = (angles[2] - limits[2][0]) * influence; [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
MapModel3D.java | 168 // Get the difference between position and the centre for calculating 173 // Use the difference from the centre to calculate the pixel x co-ordinate 176 // Use the difference in meridional parts to calculate the pixel y co-ordinate 252 // Get the difference between position and the centre 253 double xDistance = difference(xCentre, posVec.getX()); 254 double yDistance = difference(worldCentre.getZ(), posVec.getZ()); 284 * Calculates difference between two points on the map in WU. 288 * @return difference The difference between a and b in WU. 291 private double difference(double a, double b) method in class:MapModel3D [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/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...] |