Home
last modified time | relevance | path

Searched refs:Compare (Results 1 – 25 of 166) sorted by relevance

1234567

/external/llvm/include/llvm/ADT/
DPriorityQueue.h27 class Compare = std::less<typename Sequence::value_type> >
28 class PriorityQueue : public std::priority_queue<T, Sequence, Compare> {
30 explicit PriorityQueue(const Compare &compare = Compare(),
32 : std::priority_queue<T, Sequence, Compare>(compare, sequence)
37 const Compare &compare = Compare(),
39 : std::priority_queue<T, Sequence, Compare>(begin, end, compare, sequence)
/external/v8/src/
Dheap-profiler.h134 static int Compare(const JSObjectsCluster& a, const JSObjectsCluster& b) { in Compare() function
141 static int Compare(const JSObjectsCluster* a, const JSObjectsCluster* b) { in Compare() function
142 return Compare(*a, *b); in Compare()
180 static int Compare(const Key& a, const Key& b) { in Compare() function
181 return Key::Compare(a, b); in Compare()
223 static int Compare(const Key& a, const Key& b) { in Compare() function
224 return Key::Compare(a, b); in Compare()
256 static int Compare(const ClusterBackRefs& a, const ClusterBackRefs& b);
257 void SortRefs() { refs.Sort(JSObjectsCluster::Compare); } in SortRefs()
271 static int Compare(const Key& a, const Key& b) { in Compare() function
[all …]
Dsplay-tree-inl.h54 int cmp = Config::Compare(key, root_->key_); in Insert()
88 return Config::Compare(key, root_->key_) == 0; in FindInternal()
113 int cmp = Config::Compare(root_->key_, key); in FindGreatestLessThan()
137 int cmp = Config::Compare(root_->key_, key); in FindLeastGreaterThan()
183 int cmp = Config::Compare(new_key, root_->key_); in Move()
240 int cmp = Config::Compare(key, current->key_); in Splay()
244 if (Config::Compare(key, current->left_->key_) < 0) { in Splay()
260 if (Config::Compare(key, current->right_->key_) > 0) { in Splay()
Dbignum.h71 static int Compare(const Bignum& a, const Bignum& b);
73 return Compare(a, b) == 0; in Equal()
76 return Compare(a, b) <= 0; in LessEqual()
79 return Compare(a, b) < 0; in Less()
/external/clang/test/SemaTemplate/
Dissue150.cpp77 template<class T, template<class> class Compare, class Default,
86 template<class _T, template<class> class Compare = PR9016::less,
87 class = typename interval_type_default<_T,Compare>::type,
95 template<class _T, template<class> class Compare = PR9016::less,
96 class = typename interval_type_default<_T,Compare>::type,
/external/zlib/contrib/ada/
Dmtest.adb57 procedure Compare (Item : in Stream_Element_Array); subprogspec
63 procedure Compare (Item : in Stream_Element_Array) is subprogram
71 end Compare;
73 procedure Compare_Write is new ZLib.Write (Write => Compare);
/external/v8/test/cctest/
Dtest-bignum.cc1063 TEST(Compare) { in TEST() argument
1068 CHECK_EQ(0, Bignum::Compare(bignum1, bignum2)); in TEST()
1075 CHECK_EQ(-1, Bignum::Compare(bignum1, bignum2)); in TEST()
1076 CHECK_EQ(+1, Bignum::Compare(bignum2, bignum1)); in TEST()
1086 CHECK_EQ(0, Bignum::Compare(bignum1, bignum2)); in TEST()
1090 CHECK_EQ(-1, Bignum::Compare(bignum1, bignum2)); in TEST()
1091 CHECK_EQ(+1, Bignum::Compare(bignum2, bignum1)); in TEST()
1097 CHECK_EQ(0, Bignum::Compare(bignum1, bignum2)); in TEST()
1103 CHECK_EQ(-1, Bignum::Compare(bignum1, bignum2)); in TEST()
1104 CHECK_EQ(+1, Bignum::Compare(bignum2, bignum1)); in TEST()
[all …]
/external/chromium/chrome/browser/autofill/
Dpersonal_data_manager_unittest.cc126 EXPECT_EQ(0, profile0.Compare(*results1.at(0))); in TEST_F()
127 EXPECT_EQ(0, profile1.Compare(*results1.at(1))); in TEST_F()
141 EXPECT_EQ(0, profile0.Compare(*results2.at(0))); in TEST_F()
142 EXPECT_EQ(0, profile2.Compare(*results2.at(1))); in TEST_F()
160 EXPECT_EQ(0, profile0.Compare(*results3.at(0))); in TEST_F()
161 EXPECT_EQ(0, profile2.Compare(*results3.at(1))); in TEST_F()
194 EXPECT_EQ(0, creditcard0.Compare(*results1.at(0))); in TEST_F()
195 EXPECT_EQ(0, creditcard1.Compare(*results1.at(1))); in TEST_F()
270 EXPECT_EQ(0, profile0.Compare(*results1.at(0))); in TEST_F()
271 EXPECT_EQ(0, profile1.Compare(*results1.at(1))); in TEST_F()
[all …]
Dautofill_profile_unittest.cc586 EXPECT_EQ(0, expected_a.Compare(*a)); in TEST()
587 EXPECT_EQ(0, expected_b.Compare(*b)); in TEST()
618 TEST(AutofillProfileTest, Compare) { in TEST() argument
622 EXPECT_EQ(0, a.Compare(b)); in TEST()
627 EXPECT_EQ(0, a.Compare(b)); in TEST()
634 EXPECT_GT(0, a.Compare(b)); in TEST()
635 EXPECT_LT(0, b.Compare(a)); in TEST()
667 EXPECT_EQ(0, p.Compare(p2)); in TEST()
676 EXPECT_EQ(0, p.Compare(p2)); in TEST()
711 EXPECT_EQ(0, p.Compare(p2)); in TEST()
[all …]
Dautofill-inl.h17 return form_group->Compare(form_group_) == 0; in operator()
21 return form_group.Compare(form_group_) == 0; in operator()
/external/chromium/chrome/browser/chromeos/
Dlanguage_preferences_unittest.cc20 bool Compare(T a, T b) { in Compare() function
24 bool Compare<const char*>(const char* a, const char* b) { in Compare() function
42 if (Compare(pref.default_pref_value, in CheckDefaultValueOfMultipleChoicePrefs()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dheap.h46 template <class T, class Compare>
51 Heap(Compare comp) : comp_(comp), size_(0) { } in Heap()
182 Compare comp_;
/external/chromium/third_party/libjingle/overrides/talk/xmllite/
Dqname.h25 int Compare(const QName & other) const;
28 bool operator<(const QName & other) const { return Compare(other) < 0; }
/external/easymock/src/org/easymock/internal/matchers/
DCompare.java24 public class Compare<T> implements IArgumentMatcher, Serializable { class
34 public Compare(T expected, Comparator<? super T> comparator, LogicalOperator result) { in Compare() method in Compare
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-string.h246 int Compare(const String& rhs) const;
250 bool operator==(const char* a_c_str) const { return Compare(a_c_str) == 0; }
254 bool operator<(const String& rhs) const { return Compare(rhs) < 0; }
/external/protobuf/gtest/include/gtest/internal/
Dgtest-string.h246 int Compare(const String& rhs) const;
250 bool operator==(const char* c_str) const { return Compare(c_str) == 0; }
254 bool operator<(const String& rhs) const { return Compare(rhs) < 0; }
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-string.h246 int Compare(const String& rhs) const;
250 bool operator==(const char* a_c_str) const { return Compare(a_c_str) == 0; }
254 bool operator<(const String& rhs) const { return Compare(rhs) < 0; }
/external/chromium/third_party/libjingle/source/talk/xmpp/
Djid.h93 bool operator<(const Jid & other) const { return Compare(other) < 0; };
94 bool operator>(const Jid & other) const { return Compare(other) > 0; };
96 int Compare(const Jid & other) const;
/external/chromium/base/i18n/
Dfile_util_icu.cc90 int Compare(const string16& a, const string16& b) { in Compare() function in __anon827a15910111::LocaleAwareComparator
182 return LocaleAwareComparator::GetInstance()->Compare(a.value().c_str(), in LocaleAwareCompareFilenames()
192 return LocaleAwareComparator::GetInstance()->Compare( in LocaleAwareCompareFilenames()
/external/chromium/third_party/libjingle/source/talk/xmllite/
Dqname.h56 int Compare(const QName & other) const;
59 bool operator<(const QName & other) const { return Compare(other) < 0; }
/external/chromium/base/win/
Dscoped_variant_unittest.cc103 EXPECT_EQ(0, var_bstr.Compare(var_bstr2)); in TEST()
105 EXPECT_NE(0, var_bstr.Compare(var_bstr2)); in TEST()
107 EXPECT_EQ(0, var_bstr.Compare(var_bstr2)); in TEST()
110 EXPECT_EQ(0, var_bstr.Compare(var_bstr2)); in TEST()
/external/clang/include/clang/Serialization/
DContinuousRangeMap.h47 struct Compare { struct
78 iterator I = std::upper_bound(Rep.begin(), Rep.end(), K, Compare()); in find() argument
/external/gtest/include/gtest/internal/
Dgtest-string.h250 int Compare(const String& rhs) const;
260 bool operator<(const String& rhs) const { return Compare(rhs) < 0; }
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.h651 static AssertionResult Compare(const char* expected_expression, in Compare() function
665 static AssertionResult Compare(const char* expected_expression, in Compare() function
684 static AssertionResult Compare(const char* expected_expression, in Compare() function
695 static AssertionResult Compare(const char* expected_expression, in Compare() function
1002 EqHelper<GTEST_IS_NULL_LITERAL(expected)>::Compare, \
1017 EqHelper<GTEST_IS_NULL_LITERAL(expected)>::Compare, \
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
D15.4.4.5-1.js195 var c = Compare( lo, hi );
204 function Compare( x, y ) { class

1234567