Searched defs:difference (Results 1 - 25 of 45) sorted by relevance

12

/external/apache-http/src/org/apache/commons/codec/language/
H A DSoundexUtils.java83 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils
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);
/external/chromium/chrome/browser/sync/
H A Dbackend_migrator.cc66 ModelTypeSet difference; local
69 std::inserter(difference, difference.end()));
71 manager_->Configure(difference);
H A Dbackend_migrator_unittest.cc92 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/chromium/testing/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/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/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/srtp/crypto/replay/
H A Drdbx.c77 * 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
[all...]
/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/v8/test/mjsunit/
H A Dtop-level-assignments.js88 Calculator.prototype.difference = function() { return this.x - this.y; };
94 assertEquals(10, calc.difference());
/external/webkit/Tools/DumpRenderTree/qt/
H A DImageDiff.cpp116 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/guava/guava/src/com/google/common/collect/
H A DSortedMaps.java153 * 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);
H A DSets.java587 final Set<? extends E> set2minus1 = difference(set2, set1);
668 * Returns an unmodifiable <b>view</b> of the difference of two sets. The
678 public static <E> SetView<E> difference( method in class:Sets
701 * Returns an unmodifiable <b>view</b> of the symmetric difference of two
718 return difference(union(set1, set2), intersection(set1, set2));
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
H A DMapModel3D.java168 // 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(doubl method in class:MapModel3D
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dtyped_url_model_associator.cc90 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/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc283 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/llvm/lib/Support/
H A DConstantRange.cpp254 ConstantRange ConstantRange::difference(const ConstantRange &CR) const { function in class:ConstantRange
/external/v8/src/
H A Dbignum.cc226 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
[all...]
/external/webkit/Tools/DumpRenderTree/cg/
H A DImageDiffCG.cpp92 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference) argument
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 i
[all...]
/external/webkit/Tools/DumpRenderTree/gtk/
H A DImageDiff.cpp41 { "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
167 float difference = calculateDifference(baselineImage, actualImage, &differenceImage); local
[all...]
/external/webkit/Tools/DumpRenderTree/win/
H A DImageDiffCairo.cpp107 static cairo_surface_t* createDifferenceImage(cairo_surface_t* baselineImage, cairo_surface_t* actualImage, float& difference) argument
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 <
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSets.java575 final Set<? extends E> set2minus1 = difference(set2, set1);
656 * Returns an unmodifiable <b>view</b> of the difference of two sets. The
666 public static <E> SetView<E> difference( method in class:Sets
689 * Returns an unmodifiable <b>view</b> of the symmetric difference of two
706 return difference(union(set1, set2), intersection(set1, set2));
/external/icu4c/i18n/
H A Dnfrs.cpp497 int64_t difference = util64_fromDouble(uprv_maxMantissa()); local
520 if (tempDifference < difference) {
521 difference = tempDifference;
523 if (difference == 0) {
/external/aac/libAACenc/src/
H A Dqc_main.cpp215 INT difference; local
219 difference = FDKaacEnc_calcFrameLen( bitRate,
223 *paddingRest-=difference;
534 * In hyperframing mode the difference between grantedDynBits and usedDynBits of all sub frames

Completed in 700 milliseconds

12