/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
dqCompare.decTest | 35 dqcom001 compare -2 -2 -> 0 36 dqcom002 compare -2 -1 -> -1 37 dqcom003 compare -2 0 -> -1 38 dqcom004 compare -2 1 -> -1 39 dqcom005 compare -2 2 -> -1 40 dqcom006 compare -1 -2 -> 1 41 dqcom007 compare -1 -1 -> 0 42 dqcom008 compare -1 0 -> -1 43 dqcom009 compare -1 1 -> -1 44 dqcom010 compare -1 2 -> - [all...] |
ddCompare.decTest | 35 ddcom001 compare -2 -2 -> 0 36 ddcom002 compare -2 -1 -> -1 37 ddcom003 compare -2 0 -> -1 38 ddcom004 compare -2 1 -> -1 39 ddcom005 compare -2 2 -> -1 40 ddcom006 compare -1 -2 -> 1 41 ddcom007 compare -1 -1 -> 0 42 ddcom008 compare -1 0 -> -1 43 ddcom009 compare -1 1 -> -1 44 ddcom010 compare -1 2 -> - [all...] |
compare.decTest | 2 -- compare.decTest -- decimal comparison that allows quiet NaNs -- 34 comx001 compare -2 -2 -> 0 35 comx002 compare -2 -1 -> -1 36 comx003 compare -2 0 -> -1 37 comx004 compare -2 1 -> -1 38 comx005 compare -2 2 -> -1 39 comx006 compare -1 -2 -> 1 40 comx007 compare -1 -1 -> 0 41 comx008 compare -1 0 -> -1 42 comx009 compare -1 1 -> - [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
dqCompare.decTest | 35 dqcom001 compare -2 -2 -> 0 36 dqcom002 compare -2 -1 -> -1 37 dqcom003 compare -2 0 -> -1 38 dqcom004 compare -2 1 -> -1 39 dqcom005 compare -2 2 -> -1 40 dqcom006 compare -1 -2 -> 1 41 dqcom007 compare -1 -1 -> 0 42 dqcom008 compare -1 0 -> -1 43 dqcom009 compare -1 1 -> -1 44 dqcom010 compare -1 2 -> - [all...] |
ddCompare.decTest | 35 ddcom001 compare -2 -2 -> 0 36 ddcom002 compare -2 -1 -> -1 37 ddcom003 compare -2 0 -> -1 38 ddcom004 compare -2 1 -> -1 39 ddcom005 compare -2 2 -> -1 40 ddcom006 compare -1 -2 -> 1 41 ddcom007 compare -1 -1 -> 0 42 ddcom008 compare -1 0 -> -1 43 ddcom009 compare -1 1 -> -1 44 ddcom010 compare -1 2 -> - [all...] |
compare.decTest | 2 -- compare.decTest -- decimal comparison that allows quiet NaNs -- 34 comx001 compare -2 -2 -> 0 35 comx002 compare -2 -1 -> -1 36 comx003 compare -2 0 -> -1 37 comx004 compare -2 1 -> -1 38 comx005 compare -2 2 -> -1 39 comx006 compare -1 -2 -> 1 40 comx007 compare -1 -1 -> 0 41 comx008 compare -1 0 -> -1 42 comx009 compare -1 1 -> - [all...] |
/external/v8/test/cctest/ |
test-disasm-arm.cc | 87 #define COMPARE(asm_, compare_string) \ 96 // Verify that all invocations of the COMPARE macro passed successfully. 107 COMPARE(and_(r0, r1, Operand(r2)), 109 COMPARE(and_(r1, r2, Operand(r3), LeaveCC), 111 COMPARE(and_(r2, r3, Operand(r4), SetCC), 113 COMPARE(and_(r3, r4, Operand(r5), LeaveCC, eq), 116 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)), 118 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC), 120 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne), 122 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs) [all...] |
test-disasm-mips.cc | 89 #define COMPARE(asm_, compare_string) \ 98 // Verify that all invocations of the COMPARE macro passed successfully. 109 COMPARE(addu(a0, a1, a2), 111 COMPARE(addu(t2, t3, t4), 113 COMPARE(addu(v0, v1, s0), 116 COMPARE(subu(a0, a1, a2), 118 COMPARE(subu(t2, t3, t4), 120 COMPARE(subu(v0, v1, s0), 123 COMPARE(mult(a0, a1), 125 COMPARE(mult(t2, t3) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-disasm-arm.cc | 79 #define COMPARE(asm_, compare_string) \ 92 // Verify that all invocations of the COMPARE macro passed successfully. 103 COMPARE(and_(r0, r1, Operand(r2)), 105 COMPARE(and_(r1, r2, Operand(r3), LeaveCC), 107 COMPARE(and_(r2, r3, Operand(r4), SetCC), 109 COMPARE(and_(r3, r4, Operand(r5), LeaveCC, eq), 112 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)), 114 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC), 116 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne), 118 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs) [all...] |
test-disasm-mips.cc | 79 #define COMPARE(asm_, compare_string) \ 88 // Verify that all invocations of the COMPARE macro passed successfully. 99 COMPARE(addu(a0, a1, a2), 101 COMPARE(addu(t2, t3, t4), 103 COMPARE(addu(v0, v1, s0), 106 COMPARE(subu(a0, a1, a2), 108 COMPARE(subu(t2, t3, t4), 110 COMPARE(subu(v0, v1, s0), 113 COMPARE(mult(a0, a1), 115 COMPARE(mult(t2, t3) [all...] |
/external/clang/test/Frontend/ |
warning-mapping-4.c | 1 // RUN: %clang_cc1 -verify -Wno-error=sign-compare %s 2 // RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ComparisonChainTest.java | 47 .compare("a", "a") 53 .compare("a", "A", String.CASE_INSENSITIVE_ORDER) 59 .compare(1, 1) 60 .compare(1L, 1L) 61 .compare(true, true) 62 .compare(1.0, 1.0) 63 .compare(1.0f, 1.0f) 64 .compare("a", "a", Ordering.usingToString()) 70 .compare("a", "b") 71 .compare(DONT_COMPARE_ME, DONT_COMPARE_ME [all...] |
/external/clang/test/PCH/ |
rdar8852495.c | 2 // RUN: %clang_cc1 %s -include %s -verify -fsyntax-only -Wno-sign-compare -Wtautological-compare 5 // RUN: %clang_cc1 %s -emit-pch -o %t -Wsign-compare -Wtautological-compare 6 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only -Wno-sign-compare -Wtautological-compare 16 #pragma clang diagnostic ignored "-Wtautological-compare"
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
compare.pass.cpp | 14 // static int compare(const char_type* s1, const char_type* s2, size_t n); 21 assert(std::char_traits<char>::compare("", "", 0) == 0); 23 assert(std::char_traits<char>::compare("1", "1", 1) == 0); 24 assert(std::char_traits<char>::compare("1", "2", 1) < 0); 25 assert(std::char_traits<char>::compare("2", "1", 1) > 0); 27 assert(std::char_traits<char>::compare("12", "12", 2) == 0); 28 assert(std::char_traits<char>::compare("12", "13", 2) < 0); 29 assert(std::char_traits<char>::compare("12", "22", 2) < 0); 30 assert(std::char_traits<char>::compare("13", "12", 2) > 0); 31 assert(std::char_traits<char>::compare("22", "12", 2) > 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
compare.pass.cpp | 14 // static int compare(const char_type* s1, const char_type* s2, size_t n); 22 assert(std::char_traits<char16_t>::compare(u"", u"", 0) == 0); 24 assert(std::char_traits<char16_t>::compare(u"1", u"1", 1) == 0); 25 assert(std::char_traits<char16_t>::compare(u"1", u"2", 1) < 0); 26 assert(std::char_traits<char16_t>::compare(u"2", u"1", 1) > 0); 28 assert(std::char_traits<char16_t>::compare(u"12", u"12", 2) == 0); 29 assert(std::char_traits<char16_t>::compare(u"12", u"13", 2) < 0); 30 assert(std::char_traits<char16_t>::compare(u"12", u"22", 2) < 0); 31 assert(std::char_traits<char16_t>::compare(u"13", u"12", 2) > 0); 32 assert(std::char_traits<char16_t>::compare(u"22", u"12", 2) > 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
compare.pass.cpp | 14 // static int compare(const char_type* s1, const char_type* s2, size_t n); 22 assert(std::char_traits<char32_t>::compare(U"", U"", 0) == 0); 24 assert(std::char_traits<char32_t>::compare(U"1", U"1", 1) == 0); 25 assert(std::char_traits<char32_t>::compare(U"1", U"2", 1) < 0); 26 assert(std::char_traits<char32_t>::compare(U"2", U"1", 1) > 0); 28 assert(std::char_traits<char32_t>::compare(U"12", U"12", 2) == 0); 29 assert(std::char_traits<char32_t>::compare(U"12", U"13", 2) < 0); 30 assert(std::char_traits<char32_t>::compare(U"12", U"22", 2) < 0); 31 assert(std::char_traits<char32_t>::compare(U"13", U"12", 2) > 0); 32 assert(std::char_traits<char32_t>::compare(U"22", U"12", 2) > 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
compare.pass.cpp | 14 // static int compare(const char_type* s1, const char_type* s2, size_t n); 21 assert(std::char_traits<wchar_t>::compare(L"", L"", 0) == 0); 23 assert(std::char_traits<wchar_t>::compare(L"1", L"1", 1) == 0); 24 assert(std::char_traits<wchar_t>::compare(L"1", L"2", 1) < 0); 25 assert(std::char_traits<wchar_t>::compare(L"2", L"1", 1) > 0); 27 assert(std::char_traits<wchar_t>::compare(L"12", L"12", 2) == 0); 28 assert(std::char_traits<wchar_t>::compare(L"12", L"13", 2) < 0); 29 assert(std::char_traits<wchar_t>::compare(L"12", L"22", 2) < 0); 30 assert(std::char_traits<wchar_t>::compare(L"13", L"12", 2) > 0); 31 assert(std::char_traits<wchar_t>::compare(L"22", L"12", 2) > 0) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ByteTest.java | 24 assertTrue(Byte.compare(max, max) == 0); 25 assertTrue(Byte.compare(min, min) == 0); 26 assertTrue(Byte.compare(zero, zero) == 0); 27 assertTrue(Byte.compare(max, zero) > 0); 28 assertTrue(Byte.compare(max, min) > 0); 29 assertTrue(Byte.compare(zero, max) < 0); 30 assertTrue(Byte.compare(zero, min) > 0); 31 assertTrue(Byte.compare(min, zero) < 0); 32 assertTrue(Byte.compare(min, max) < 0);
|
IntegerTest.java | 24 assertTrue(Integer.compare(max, max) == 0); 25 assertTrue(Integer.compare(min, min) == 0); 26 assertTrue(Integer.compare(zero, zero) == 0); 27 assertTrue(Integer.compare(max, zero) > 0); 28 assertTrue(Integer.compare(max, min) > 0); 29 assertTrue(Integer.compare(zero, max) < 0); 30 assertTrue(Integer.compare(zero, min) > 0); 31 assertTrue(Integer.compare(min, zero) < 0); 32 assertTrue(Integer.compare(min, max) < 0);
|
LongTest.java | 24 assertTrue(Long.compare(max, max) == 0); 25 assertTrue(Long.compare(min, min) == 0); 26 assertTrue(Long.compare(zero, zero) == 0); 27 assertTrue(Long.compare(max, zero) > 0); 28 assertTrue(Long.compare(max, min) > 0); 29 assertTrue(Long.compare(zero, max) < 0); 30 assertTrue(Long.compare(zero, min) > 0); 31 assertTrue(Long.compare(min, zero) < 0); 32 assertTrue(Long.compare(min, max) < 0);
|
ShortTest.java | 24 assertTrue(Short.compare(max, max) == 0); 25 assertTrue(Short.compare(min, min) == 0); 26 assertTrue(Short.compare(zero, zero) == 0); 27 assertTrue(Short.compare(max, zero) > 0); 28 assertTrue(Short.compare(max, min) > 0); 29 assertTrue(Short.compare(zero, max) < 0); 30 assertTrue(Short.compare(zero, min) > 0); 31 assertTrue(Short.compare(min, zero) < 0); 32 assertTrue(Short.compare(min, max) < 0);
|
/external/guava/guava/src/com/google/common/collect/ |
ComparisonChain.java | 35 * .compare(this.aString, that.aString) 36 * .compare(this.anInt, that.anInt) 37 * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) 66 @Override public ComparisonChain compare( 70 @Override public <T> ComparisonChain compare( 72 return classify(comparator.compare(left, right)); 74 @Override public ComparisonChain compare(int left, int right) { 75 return classify(Ints.compare(left, right)); 77 @Override public ComparisonChain compare(long left, long right) { 78 return classify(Longs.compare(left, right)) 107 @Override public ComparisonChain compare( method in class:ComparisonChain.InactiveComparisonChain 111 @Override public <T> ComparisonChain compare(@Nullable T left, method in class:ComparisonChain.InactiveComparisonChain 115 @Override public ComparisonChain compare(int left, int right) { method in class:ComparisonChain.InactiveComparisonChain 118 @Override public ComparisonChain compare(long left, long right) { method in class:ComparisonChain.InactiveComparisonChain 121 @Override public ComparisonChain compare(float left, float right) { method in class:ComparisonChain.InactiveComparisonChain 124 @Override public ComparisonChain compare(double left, double right) { method in class:ComparisonChain.InactiveComparisonChain 127 @Override public ComparisonChain compare(boolean left, boolean right) { method in class:ComparisonChain.InactiveComparisonChain 140 public abstract ComparisonChain compare( method in class:ComparisonChain 147 public abstract <T> ComparisonChain compare( method in class:ComparisonChain 155 public abstract ComparisonChain compare(int left, int right); method in class:ComparisonChain 162 public abstract ComparisonChain compare(long left, long right); method in class:ComparisonChain 169 public abstract ComparisonChain compare(float left, float right); method in class:ComparisonChain 176 public abstract ComparisonChain compare(double left, double right); method in class:ComparisonChain 183 public abstract ComparisonChain compare(boolean left, boolean right); method in class:ComparisonChain [all...] |
/packages/apps/Mms/tests/src/com/android/mms/util/ |
PhoneNumberComparisonTest.java | 32 assertFalse(PhoneNumberUtils.compare("321", "54321")); 33 assertFalse(PhoneNumberUtils.compare("4321", "54321")); 34 assertFalse(PhoneNumberUtils.compare("54321", "654321")); 37 assertFalse(PhoneNumberUtils.compare("54321", "6505554321")); 38 assertFalse(PhoneNumberUtils.compare("54321", "+16505554321")); 39 assertFalse(PhoneNumberUtils.compare("654321", "6505654321")); 40 assertFalse(PhoneNumberUtils.compare("654321", "+16505654321"));
|
/external/jdiff/src/jdiff/ |
CompareClassPdiffs.java | 6 * Class to compare two ClassDiff objects. 13 * Compare two class diffs by their percentage difference, 16 public int compare(Object obj1, Object obj2){ method in class:CompareClassPdiffs
|
ComparePkgPdiffs.java | 6 * Class to compare two PackageDiff objects. 13 * Compare two package diffs by their percentage difference, 16 public int compare(Object obj1, Object obj2){ method in class:ComparePkgPdiffs
|