HomeSort by relevance Sort by last modified time
    Searched defs:Compare (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /prebuilts/go/darwin-x86/src/strings/
compare.go 7 // Compare returns an integer comparing two strings lexicographically.
10 // Compare is included only for symmetry with package bytes.
13 func Compare(a, b string) int {
16 // using strings.Compare. Basically no one should use strings.Compare.
20 // using strings.Compare, can benefit.
  /prebuilts/go/linux-x86/src/strings/
compare.go 7 // Compare returns an integer comparing two strings lexicographically.
10 // Compare is included only for symmetry with package bytes.
13 func Compare(a, b string) int {
16 // using strings.Compare. Basically no one should use strings.Compare.
20 // using strings.Compare, can benefit.
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
error.py 50 def Compare(a, b):
51 """Compare two error objects, by source code order.
65 Compare = staticmethod(Compare)
  /prebuilts/go/darwin-x86/src/bytes/
bytes_decl.go 21 // Compare returns an integer comparing two byte slices lexicographically.
24 func Compare(a, b []byte) int // ../runtime/noasm.go or ../runtime/asm_{386,amd64}.s
  /prebuilts/go/linux-x86/src/bytes/
bytes_decl.go 21 // Compare returns an integer comparing two byte slices lexicographically.
24 func Compare(a, b []byte) int // ../runtime/noasm.go or ../runtime/asm_{386,amd64}.s
  /art/test/003-omnibus-opcodes/src/
Compare.java 20 public class Compare {
96 /* compare when high words are equal but low words differ */
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/
minmax_element_comp.pass.cpp 12 // template<ForwardIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare>
13 // requires CopyConstructible<Compare>
15 // minmax_element(Iter first, Iter last, Compare comp);
27 typedef std::greater<int> Compare;
28 Compare comp;
73 typedef std::greater<int> Compare;
74 Compare comp;
  /prebuilts/go/darwin-x86/doc/play/
tree.go 54 // Compare reads values from two Walkers
57 func Compare(t1, t2 *Tree) bool {
96 fmt.Println(Compare(t1, New(100, 1)), "Same Contents")
97 fmt.Println(Compare(t1, New(99, 1)), "Differing Sizes")
98 fmt.Println(Compare(t1, New(100, 2)), "Differing Values")
99 fmt.Println(Compare(t1, New(101, 2)), "Dissimilar")
  /prebuilts/go/linux-x86/doc/play/
tree.go 54 // Compare reads values from two Walkers
57 func Compare(t1, t2 *Tree) bool {
96 fmt.Println(Compare(t1, New(100, 1)), "Same Contents")
97 fmt.Println(Compare(t1, New(99, 1)), "Differing Sizes")
98 fmt.Println(Compare(t1, New(100, 2)), "Differing Values")
99 fmt.Println(Compare(t1, New(101, 2)), "Dissimilar")
  /external/libcxx/test/std/containers/unord/unord.map/
swap_member.pass.cpp 32 typedef test_compare<std::equal_to<int> > Compare;
34 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
swap_non_member.pass.cpp 32 typedef test_compare<std::equal_to<int> > Compare;
34 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.multimap/
swap_member.pass.cpp 32 typedef test_compare<std::equal_to<int> > Compare;
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
36 C c1(0, Hash(1), Compare(1), Alloc(1));
37 C c2(0, Hash(2), Compare(2), Alloc(2));
44 assert(c1.key_eq() == Compare(2));
53 assert(c2.key_eq() == Compare(1));
61 typedef test_compare<std::equal_to<int> > Compare;
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
76 C c1(0, Hash(1), Compare(1), Alloc(1));
77 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/
swap_non_member.pass.cpp 31 typedef test_compare<std::equal_to<int> > Compare;
33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.multiset/
swap_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/
swap_non_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.set/
swap_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/
swap_non_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /external/webrtc/webrtc/libjingle/xmllite/
qname.cc 62 int QName::Compare(const StaticQName& other) const {
63 int result = local_part_.compare(other.local);
67 return namespace_.compare(other.ns);
70 int QName::Compare(const QName& other) const {
71 int result = local_part_.compare(other.local_part_);
75 return namespace_.compare(other.namespace_);
  /frameworks/av/media/libstagefright/foundation/
AStringUtils.cpp 23 int AStringUtils::Compare(const char *a, const char *b, size_t len, bool ignoreCase) {
38 if (strLen < globIx || Compare(str, glob, globIx /* len */, ignoreCase)) {
59 return !Compare(tail, pattern, len, ignoreCase);
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) {
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
swap_member.pass.cpp 31 typedef test_compare<std::equal_to<int> > Compare;
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/
swap_non_member.pass.cpp 31 typedef test_compare<std::equal_to<int> > Compare;
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
swap_member.pass.cpp 32 typedef test_compare<std::equal_to<int> > Compare;
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
36 C c1(0, Hash(1), Compare(1), Alloc(1));
37 C c2(0, Hash(2), Compare(2), Alloc(2));
44 assert(c1.key_eq() == Compare(2));
53 assert(c2.key_eq() == Compare(1));
61 typedef test_compare<std::equal_to<int> > Compare;
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
76 C c1(0, Hash(1), Compare(1), Alloc(1));
77 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/
swap_non_member.pass.cpp 31 typedef test_compare<std::equal_to<int> > Compare;
33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.key_eq() == Compare(2));
52 assert(c2.key_eq() == Compare(1));
60 typedef test_compare<std::equal_to<int> > Compare;
62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1));
76 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
swap_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/
swap_non_member.pass.cpp 30 typedef test_compare<std::equal_to<int> > Compare;
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
42 assert(c1.key_eq() == Compare(2));
51 assert(c2.key_eq() == Compare(1));
59 typedef test_compare<std::equal_to<int> > Compare;
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2))
    [all...]

Completed in 4055 milliseconds

1 2 3 4 5 6