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

123

/external/apache-http/src/org/apache/commons/codec/language/
H A DSoundexUtils.java88 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils
H A DRefinedSoundex.java103 public int difference(String s1, String s2) throws EncoderException { method in class:RefinedSoundex
104 return SoundexUtils.difference(this, s1, s2);
H A DSoundex.java85 public int difference(String s1, String s2) throws EncoderException { method in class:Soundex
86 return SoundexUtils.difference(this, s1, s2);
/external/chromium_org/base/
H A Dstl_util_unittest.cc81 std::set<int> difference; local
82 difference.insert(1);
83 difference.insert(2);
84 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2));
88 std::set<int> difference; local
89 difference.insert(5);
90 difference.insert(6);
91 difference.insert(7);
92 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1));
96 std::vector<int> difference; local
103 std::vector<int> difference; local
[all...]
H A Dstl_util.h211 // Returns a new ResultType containing the difference of two sorted containers.
216 ResultType difference; local
219 std::inserter(difference, difference.end()));
220 return difference;
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dstl_util_unittest.cc88 std::set<int> difference; local
89 difference.insert(1);
90 difference.insert(2);
91 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2));
95 std::set<int> difference; local
96 difference.insert(5);
97 difference.insert(6);
98 difference.insert(7);
99 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1));
103 std::vector<int> difference; local
110 std::vector<int> difference; local
[all...]
/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/third_party/libsrtp/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 difference = s - local_seq - seq_num_max;
151 difference = s - local_seq;
156 difference = s - local_seq + seq_num_max;
159 difference = s - local_seq;
172 return difference;
315 * index to which s corresponds, and returns the difference betwee
[all...]
/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/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/ceres-solver/internal/ceres/
H A Dcanonical_views_clustering.cc120 const double difference = local
122 if (difference > best_difference) {
123 best_difference = difference;
159 // Computes the difference in the quality score if 'candidate' were
165 double difference = local
179 difference += new_similarity - old_similarity;
184 difference -= options_.size_penalty_weight;
188 difference -= options_.similarity_penalty_weight *
192 return difference;
/external/chromium_org/chrome/browser/sync/
H A Dbackend_migrator_unittest.cc126 syncer::ModelTypeSet to_migrate, difference; local
128 difference.Put(syncer::AUTOFILL);
129 difference.Put(syncer::BOOKMARKS);
144 SendConfigureDone(DataTypeManager::OK, difference);
157 syncer::ModelTypeSet to_migrate, difference; local
159 difference.Put(syncer::AUTOFILL);
160 difference.Put(syncer::BOOKMARKS);
172 SendConfigureDone(DataTypeManager::OK, difference);
246 syncer::ModelTypeSet difference; local
248 difference
271 syncer::ModelTypeSet to_migrate, difference; local
[all...]
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_label.cc46 const int difference = std::max<int>(0, 13 - gfx::FontList().GetFontSize()); local
47 const int addToTop = difference / 2;
48 const int addToBottom = difference - addToTop;
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dreset_profile_settings_handler.cc123 int difference = setting_snapshot_->FindDifferentFields(current_snapshot); local
124 if (difference) {
127 difference);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfilesystem_test.cc400 double difference = byte_count[i] - expected_count; local
401 chi_squared += difference * difference / expected_count;
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dstl_util.h216 // Returns a new ResultType containing the difference of two sorted containers.
221 ResultType difference; local
224 std::inserter(difference, difference.end()));
225 return difference;
/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/chromium_org/ash/touch/
H A Dtouch_uma.cc223 base::TimeDelta difference = event.time_stamp() - last_touch_down_time_; local
224 if (difference > base::TimeDelta::FromMilliseconds(250)) {
/external/chromium_org/base/time/
H A Dtime_unittest.cc707 TimeDelta difference = delta - delta_thread; local
708 EXPECT_GE(difference.InMicroseconds(), 9000);
/external/chromium_org/chrome/browser/extensions/
H A Dpermissions_updater_unittest.cc77 std::set<URLPattern> difference = base::STLSetUnion<std::set<URLPattern> >( local
82 for (std::set<URLPattern>::const_iterator iter = difference.begin();
83 iter != difference.end();
/external/chromium_org/chrome/browser/history/
H A Dvisit_filter.cc175 base::TimeDelta difference; local
177 difference = time_of_day2 - time_of_day1;
179 difference = time_of_day1 - time_of_day2;
181 // If the difference is more than 12 hours, we'll get closer by 'wrapping'
183 if (difference > base::TimeDelta::FromHours(12))
184 difference = base::TimeDelta::FromHours(24) - difference;
186 return difference;
/external/chromium_org/chrome/browser/profile_resetter/
H A Dautomatic_profile_resetter_delegate.cc386 int difference = local
388 if (difference) {
391 SerializeSettingsReport(*old_settings_snapshot, difference);
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_vpx.cc160 webrtc::DesktopRegion difference = updated_region_; local
161 difference.Subtract(desktop_shape_);
162 updated_region_.Subtract(difference);
163 transparent_region_.AddRegion(difference);
346 webrtc::DesktopRegion difference = *new_desktop_shape; local
347 difference.Subtract(desktop_shape_);
348 updated_region_.AddRegion(difference);

Completed in 3357 milliseconds

123