Home
last modified time | relevance | path

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

12345678910>>...15

/external/libcxx/test/containers/unord/unord.multiset/
Dswap_member.pass.cpp30 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
51 assert(c2.key_eq() == Compare(1)); in main()
59 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.set/
Dswap_member.pass.cpp30 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
51 assert(c2.key_eq() == Compare(1)); in main()
59 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/
Dswap_non_member.pass.cpp30 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
51 assert(c2.key_eq() == Compare(1)); in main()
59 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.set/unord.set.swap/
Dswap_non_member.pass.cpp30 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
35 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
51 assert(c2.key_eq() == Compare(1)); in main()
59 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; in main()
74 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.map/
Dswap_member.pass.cpp31 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
52 assert(c2.key_eq() == Compare(1)); in main()
60 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.map/unord.map.swap/
Dswap_non_member.pass.cpp31 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
52 assert(c2.key_eq() == Compare(1)); in main()
60 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/
Dswap_non_member.pass.cpp31 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
36 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
52 assert(c2.key_eq() == Compare(1)); in main()
60 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
75 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/libcxx/test/containers/unord/unord.multimap/
Dswap_member.pass.cpp32 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
36 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
37 C c2(0, Hash(2), Compare(2), Alloc(2)); in main()
44 assert(c1.key_eq() == Compare(2)); in main()
53 assert(c2.key_eq() == Compare(1)); in main()
61 typedef test_compare<std::equal_to<int> > Compare; in main() typedef
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; in main()
76 C c1(0, Hash(1), Compare(1), Alloc(1)); in main()
77 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2)); in main()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp78 bool convertToBRCT(MachineInstr *MI, MachineInstr *Compare,
81 bool adjustCCMasksForInstr(MachineInstr *MI, MachineInstr *Compare,
83 bool optimizeCompareZero(MachineInstr *Compare,
85 bool fuseCompareAndBranch(MachineInstr *Compare,
165 SystemZElimCompare::convertToBRCT(MachineInstr *MI, MachineInstr *Compare, in convertToBRCT() argument
191 unsigned SrcReg = Compare->getOperand(0).getReg(); in convertToBRCT()
192 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT()
231 adjustCCMasksForInstr(MachineInstr *MI, MachineInstr *Compare, in adjustCCMasksForInstr() argument
241 unsigned CompareFlags = Compare->getDesc().TSFlags; in adjustCCMasksForInstr()
295 MachineBasicBlock::iterator MBBI = MI, MBBE = Compare; in adjustCCMasksForInstr()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dqname.h66 int Compare(const StaticQName& other) const;
67 int Compare(const QName& other) const;
70 return Compare(other) == 0;
73 return Compare(other) == 0;
76 return Compare(other) != 0;
79 return Compare(other) != 0;
82 return Compare(other) < 0;
91 return other.Compare(*this) == 0;
95 return other.Compare(*this) != 0;
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dqname.h49 int Compare(const StaticQName& other) const;
50 int Compare(const QName& other) const;
53 return Compare(other) == 0;
56 return Compare(other) == 0;
59 return Compare(other) != 0;
62 return Compare(other) != 0;
65 return Compare(other) < 0;
74 return other.Compare(*this) == 0;
78 return other.Compare(*this) != 0;
/external/chromium_org/components/content_settings/core/common/
Dcontent_settings_pattern_unittest.cc119 EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); in TEST()
133 EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); in TEST()
193 ContentSettingsPattern::Wildcard().Compare( in TEST()
312 Pattern("*").Compare(ContentSettingsPattern::Wildcard())); in TEST()
471 TEST(ContentSettingsPatternTest, Compare) { in TEST() argument
475 EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern1.Compare(pattern1)); in TEST()
477 Pattern("http://www.google.com:80").Compare( in TEST()
480 Pattern("*://[*.]google.com:*").Compare( in TEST()
491 invalid_pattern1.Compare(invalid_pattern2)); in TEST()
496 Pattern("http://www.google.com").Compare( in TEST()
[all …]
/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/pdfium/fpdfsdk/src/
Dfpdf_ext.cpp61 if(cbSubType.Compare("3D") == 0) in CheckUnSupportAnnot()
65 else if(cbSubType.Compare("Screen") ==0) in CheckUnSupportAnnot()
71 if(cbString.Compare("Img") != 0) in CheckUnSupportAnnot()
74 else if(cbSubType.Compare("Movie") ==0) in CheckUnSupportAnnot()
78 else if(cbSubType.Compare("Sound") ==0) in CheckUnSupportAnnot()
82 else if(cbSubType.Compare("RichMedia") ==0) in CheckUnSupportAnnot()
86 else if(cbSubType.Compare("FileAttachment") ==0) in CheckUnSupportAnnot()
90 else if(cbSubType.Compare("Widget") ==0) in CheckUnSupportAnnot()
98 if(cbString.Compare("Sig") == 0) in CheckUnSupportAnnot()
189 if(cbStr.Compare("com.adobe.acrobat.SharedReview.Register") == 0) in CheckUnSupportError()
/external/chromium_org/content/common/
Dcc_messages_unittest.cc51 void Compare(const RenderPass* a, const RenderPass* b) { in Compare() function in content::__anon172faa140111::CCMessagesTest
59 void Compare(const SharedQuadState* a, const SharedQuadState* b) { in Compare() function in content::__anon172faa140111::CCMessagesTest
70 void Compare(const DrawQuad* a, const DrawQuad* b) { in Compare() function in content::__anon172faa140111::CCMessagesTest
78 Compare(a->shared_quad_state, b->shared_quad_state); in Compare()
82 Compare(CheckerboardDrawQuad::MaterialCast(a), in Compare()
86 Compare(DebugBorderDrawQuad::MaterialCast(a), in Compare()
90 Compare(IOSurfaceDrawQuad::MaterialCast(a), in Compare()
94 Compare(PictureDrawQuad::MaterialCast(a), in Compare()
98 Compare(RenderPassDrawQuad::MaterialCast(a), in Compare()
102 Compare(TextureDrawQuad::MaterialCast(a), in Compare()
[all …]
/external/chromium_org/content/common/input/
Dinput_param_traits_unittest.cc23 static void Compare(const InputEvent* a, const InputEvent* b) { in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
35 static void Compare(const InputEvents* a, const InputEvents* b) { in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
37 Compare((*a)[i], (*b)[i]); in Compare()
40 static void Compare(const SyntheticSmoothScrollGestureParams* a, in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
51 static void Compare(const SyntheticPinchGestureParams* a, in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
60 static void Compare(const SyntheticTapGestureParams* a, in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
67 static void Compare(const SyntheticGesturePacket* a, in Compare() function in content::__anon08b9cf6c0111::InputParamTraitsTest
77 Compare(SyntheticSmoothScrollGestureParams::Cast(a->gesture_params()), in Compare()
81 Compare(SyntheticPinchGestureParams::Cast(a->gesture_params()), in Compare()
85 Compare(SyntheticTapGestureParams::Cast(a->gesture_params()), in Compare()
[all …]
/external/openfst/src/include/fst/
Darcsort.h36 template <class Arc, class Compare>
45 ArcSortMapper(const Fst<Arc> &fst, const Compare &comp) in ArcSortMapper()
49 ArcSortMapper(const ArcSortMapper<Arc, Compare> &mapper,
75 const Compare &comp_;
79 void operator=(const ArcSortMapper<Arc, Compare> &); // disallow
96 template<class Arc, class Compare>
97 void ArcSort(MutableFst<Arc> *fst, Compare comp) { in ArcSort()
98 ArcSortMapper<Arc, Compare> mapper(*fst, comp); in ArcSort()
208 typedef C Compare; typedef
/external/chromium_org/third_party/leveldatabase/src/db/
Ddbformat.cc50 int InternalKeyComparator::Compare(const Slice& akey, const Slice& bkey) const { in Compare() function in leveldb::InternalKeyComparator
55 int r = user_comparator_->Compare(ExtractUserKey(akey), ExtractUserKey(bkey)); in Compare()
77 user_comparator_->Compare(user_start, tmp) < 0) { in FindShortestSeparator()
81 assert(this->Compare(*start, tmp) < 0); in FindShortestSeparator()
82 assert(this->Compare(tmp, limit) < 0); in FindShortestSeparator()
92 user_comparator_->Compare(user_key, tmp) < 0) { in FindShortSuccessor()
96 assert(this->Compare(*key, tmp) < 0); in FindShortSuccessor()
/external/clang/test/SemaTemplate/
Dissue150.cpp78 template<class T, template<class> class Compare, class Default,
87 template<class _T, template<class> class Compare = PR9016::less,
88 class = typename interval_type_default<_T,Compare>::type,
96 template<class _T, template<class> class Compare = PR9016::less,
97 class = typename interval_type_default<_T,Compare>::type,
/external/chromium_org/cc/base/
Dscoped_ptr_vector.h162 template<class Compare>
163 inline void sort(Compare comp) { in sort()
167 template <class Compare>
168 inline void make_heap(Compare comp) { in make_heap()
172 template <class Compare>
173 inline void push_heap(Compare comp) { in push_heap()
177 template <class Compare>
178 inline void pop_heap(Compare comp) { in pop_heap()
/external/libcxx/include/
Dset21 template <class Key, class Compare = less<Key>,
29 typedef Compare key_compare;
71 : set(first, last, Compare(), a) {} // C++14
73 : set(il, Compare(), a) {} // C++14
166 template <class Key, class Compare, class Allocator>
168 operator==(const set<Key, Compare, Allocator>& x,
169 const set<Key, Compare, Allocator>& y);
171 template <class Key, class Compare, class Allocator>
173 operator< (const set<Key, Compare, Allocator>& x,
174 const set<Key, Compare, Allocator>& y);
[all …]
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
Dminmax_element_comp.pass.cpp27 typedef std::greater<int> Compare; in test() typedef
28 Compare comp; in test()
73 typedef std::greater<int> Compare; in test() typedef
74 Compare comp; in test()
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
Derror.py50 def Compare(a, b): member in Error
65 Compare = staticmethod(Compare) variable in Error
/external/chromium_org/third_party/closure_linter/closure_linter/common/
Derror.py50 def Compare(a, b): member in Error
65 Compare = staticmethod(Compare) variable in Error
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_unittest.cc28 virtual int Compare(const base::StringPiece& a, in Compare() function in content::__anonee7461b20111::SimpleComparator
117 EXPECT_EQ(comparator.Compare(got_value, old_value), 0); in TEST()
123 EXPECT_EQ(comparator.Compare(got_value, new_value), 0); in TEST()
134 EXPECT_EQ(comparator.Compare(got_value, added_value), 0); in TEST()
148 EXPECT_EQ(comparator.Compare(got_value, another_value), 0); in TEST()
184 EXPECT_EQ(comparator.Compare(it->Key(), key1), 0); in TEST()
185 EXPECT_EQ(comparator.Compare(it->Value(), value1), 0); in TEST()
190 EXPECT_EQ(comparator.Compare(it->Key(), key2), 0); in TEST()
191 EXPECT_EQ(comparator.Compare(it->Value(), value2), 0); in TEST()

12345678910>>...15