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

123

/external/chromium_org/base/
H A Dstl_util_unittest.cc51 std::set<int> difference; local
52 difference.insert(1);
53 difference.insert(2);
54 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2));
58 std::set<int> difference; local
59 difference.insert(5);
60 difference.insert(6);
61 difference.insert(7);
62 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1));
66 std::vector<int> difference; local
73 std::vector<int> difference; local
[all...]
H A Dstl_util.h208 // Returns a new ResultType containing the difference of two sorted containers.
213 ResultType difference; local
216 std::inserter(difference, difference.end()));
217 return difference;
/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/chromium_org/chrome/browser/ui/views/
H A Davatar_label.cc45 int difference = (font.GetFontSize() < 13) ? 13 - font.GetFontSize() : 0; local
46 int addToTop = difference / 2;
47 int addToBottom = difference - addToTop;
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dreset_profile_settings_handler.cc96 int difference = setting_snapshot_->FindDifferentFields(current_snapshot); local
97 if (difference) {
100 difference);
/external/chromium_org/testing/gtest/samples/
H A Dsample10_unittest.cc87 int difference = Water::allocated() - initially_allocated_; local
92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
/external/chromium_org/v8/test/mjsunit/
H A Dtop-level-assignments.js88 Calculator.prototype.difference = function() { return this.x - this.y; };
94 assertEquals(10, calc.difference());
/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/libvpx/libvpx/third_party/googletest/src/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/ceres-solver/internal/ceres/
H A Dcanonical_views_clustering.cc117 const double difference = local
119 if (difference > best_difference) {
120 best_difference = difference;
156 // Computes the difference in the quality score if 'candidate' were
162 double difference = local
176 difference += new_similarity - old_similarity;
181 difference -= options_.size_penalty_weight;
185 difference -= options_.similarity_penalty_weight *
189 return difference;
/external/chromium_org/chrome/browser/sync/
H A Dbackend_migrator_unittest.cc127 syncer::ModelTypeSet to_migrate, difference; local
129 difference.Put(syncer::AUTOFILL);
130 difference.Put(syncer::BOOKMARKS);
145 SendConfigureDone(DataTypeManager::OK, difference);
158 syncer::ModelTypeSet to_migrate, difference; local
160 difference.Put(syncer::AUTOFILL);
161 difference.Put(syncer::BOOKMARKS);
173 SendConfigureDone(DataTypeManager::OK, difference);
247 syncer::ModelTypeSet difference; local
249 difference
272 syncer::ModelTypeSet to_migrate, difference; local
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
H A Dmount_test.cc297 double difference = byte_count[i] - expected_count; local
298 chi_squared += difference * difference / expected_count;
/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);
/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.

Completed in 860 milliseconds

123