/external/python/cpython2/Lib/test/decimaltestdata/ |
D | 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 -> -1 [all …]
|
D | 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 -> -1 [all …]
|
D | 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 -> -1 [all …]
|
D | randoms.decTest | 31 xcom001 compare 905.67402 -202896611.E-780472620 -> 1 39 xcom002 compare 3915134.7 -597164907. -> 1 47 xcom003 compare 309759261 62663.487 -> 1 55 xcom004 compare 3.93591888E-236595626 7242375.00 -> -1 63 xcom005 compare 323902.714 -608669.607E-657060568 -> 1 71 xcom006 compare 5.11970092 -8807.22036 -> 1 79 xcom007 compare -7.99874516 4561.83758 -> -1 87 xcom008 compare 297802878 -927206.324 -> 1 95 xcom009 compare -766.651824 31300.3619 -> -1 103 xcom010 compare -56746.8689E+934981942 471002521. -> -1 [all …]
|
D | randomBound32.decTest | 33 comx3001 compare 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> -1 41 comx3002 compare 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> 1 49 comx3003 compare -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -1 57 comx3004 compare 479084.8561808930525417735205519 084157571054.2691784660983989931 -> -1 65 comx3005 compare -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> -1 73 comx3006 compare 1381026551423669919010191878449 -82.66614775445371254999357800739 -> 1 81 comx3007 compare 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> 1 89 comx3008 compare 75353574493.84484153484918212042 -8684111695095849922263044191221 -> 1 97 comx3009 compare 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 1 105 comx3010 compare -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -1 [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/ |
D | compare.pass.cpp | 25 return std::char_traits<char>::compare("123", "223", 3) < 0 in test_constexpr() 26 && std::char_traits<char>::compare("223", "123", 3) > 0 in test_constexpr() 27 && std::char_traits<char>::compare("123", "123", 3) == 0; in test_constexpr() 33 assert(std::char_traits<char>::compare("", "", 0) == 0); in main() 34 assert(std::char_traits<char>::compare(NULL, NULL, 0) == 0); in main() 36 assert(std::char_traits<char>::compare("1", "1", 1) == 0); in main() 37 assert(std::char_traits<char>::compare("1", "2", 1) < 0); in main() 38 assert(std::char_traits<char>::compare("2", "1", 1) > 0); in main() 40 assert(std::char_traits<char>::compare("12", "12", 2) == 0); in main() 41 assert(std::char_traits<char>::compare("12", "13", 2) < 0); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
D | compare.pass.cpp | 25 return std::char_traits<wchar_t>::compare(L"123", L"223", 3) < 0 in test_constexpr() 26 && std::char_traits<wchar_t>::compare(L"223", L"123", 3) > 0 in test_constexpr() 27 && std::char_traits<wchar_t>::compare(L"123", L"123", 3) == 0; in test_constexpr() 33 assert(std::char_traits<wchar_t>::compare(L"", L"", 0) == 0); in main() 34 assert(std::char_traits<wchar_t>::compare(NULL, NULL, 0) == 0); in main() 36 assert(std::char_traits<wchar_t>::compare(L"1", L"1", 1) == 0); in main() 37 assert(std::char_traits<wchar_t>::compare(L"1", L"2", 1) < 0); in main() 38 assert(std::char_traits<wchar_t>::compare(L"2", L"1", 1) > 0); in main() 40 assert(std::char_traits<wchar_t>::compare(L"12", L"12", 2) == 0); in main() 41 assert(std::char_traits<wchar_t>::compare(L"12", L"13", 2) < 0); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/ |
D | compare.pass.cpp | 25 return std::char_traits<char32_t>::compare(U"123", U"223", 3) < 0 in test_constexpr() 26 && std::char_traits<char32_t>::compare(U"223", U"123", 3) > 0 in test_constexpr() 27 && std::char_traits<char32_t>::compare(U"123", U"123", 3) == 0; in test_constexpr() 35 assert(std::char_traits<char32_t>::compare(U"", U"", 0) == 0); in main() 36 assert(std::char_traits<char32_t>::compare(NULL, NULL, 0) == 0); in main() 38 assert(std::char_traits<char32_t>::compare(U"1", U"1", 1) == 0); in main() 39 assert(std::char_traits<char32_t>::compare(U"1", U"2", 1) < 0); in main() 40 assert(std::char_traits<char32_t>::compare(U"2", U"1", 1) > 0); in main() 42 assert(std::char_traits<char32_t>::compare(U"12", U"12", 2) == 0); in main() 43 assert(std::char_traits<char32_t>::compare(U"12", U"13", 2) < 0); in main() [all …]
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/ |
D | compare.pass.cpp | 25 return std::char_traits<char16_t>::compare(u"123", u"223", 3) < 0 in test_constexpr() 26 && std::char_traits<char16_t>::compare(u"223", u"123", 3) > 0 in test_constexpr() 27 && std::char_traits<char16_t>::compare(u"123", u"123", 3) == 0; in test_constexpr() 36 assert(std::char_traits<char16_t>::compare(u"", u"", 0) == 0); in main() 37 assert(std::char_traits<char16_t>::compare(NULL, NULL, 0) == 0); in main() 39 assert(std::char_traits<char16_t>::compare(u"1", u"1", 1) == 0); in main() 40 assert(std::char_traits<char16_t>::compare(u"1", u"2", 1) < 0); in main() 41 assert(std::char_traits<char16_t>::compare(u"2", u"1", 1) > 0); in main() 43 assert(std::char_traits<char16_t>::compare(u"12", u"12", 2) == 0); in main() 44 assert(std::char_traits<char16_t>::compare(u"12", u"13", 2) < 0); in main() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ComparisonChain.java | 74 @Override public ComparisonChain compare( 78 @Override public <T> ComparisonChain compare( 80 return classify(comparator.compare(left, right)); 82 @Override public ComparisonChain compare(int left, int right) { 83 return classify(Ints.compare(left, right)); 85 @Override public ComparisonChain compare(long left, long right) { 86 return classify(Longs.compare(left, right)); 88 @Override public ComparisonChain compare(float left, float right) { 89 return classify(Float.compare(left, right)); 91 @Override public ComparisonChain compare(double left, double right) { [all …]
|
/external/ImageMagick/Magick++/demo/ |
D | zoom.cpp | 60 if (command.compare("-density") == 0) in main() 73 else if (command.compare("-filter") == 0) in main() 77 if (algorithm.compare("point") == 0) in main() 79 else if (algorithm.compare("box") == 0) in main() 81 else if (algorithm.compare("triangle") == 0) in main() 83 else if (algorithm.compare("hermite") == 0) in main() 85 else if (algorithm.compare("hanning") == 0) in main() 87 else if (algorithm.compare("hamming") == 0) in main() 89 else if (algorithm.compare("blackman") == 0) in main() 91 else if (algorithm.compare("gaussian") == 0) in main() [all …]
|
/external/webrtc/webrtc/modules/utility/source/ |
D | helpers_ios.mm | 93 if (!raw_name.compare("iPhone1,1")) 95 if (!raw_name.compare("iPhone1,2")) 97 if (!raw_name.compare("iPhone2,1")) 99 if (!raw_name.compare("iPhone3,1")) 101 if (!raw_name.compare("iPhone3,3")) 103 if (!raw_name.compare("iPhone4,1")) 105 if (!raw_name.compare("iPhone5,1")) 107 if (!raw_name.compare("iPhone5,2")) 109 if (!raw_name.compare("iPhone5,3")) 111 if (!raw_name.compare("iPhone5,4")) [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ComparisonChainTest.java | 47 .compare("a", "a") in testOneEqual() 53 .compare("a", "A", String.CASE_INSENSITIVE_ORDER) in testOneEqualUsingComparator() 59 .compare(1, 1) in testManyEqual() 60 .compare(1L, 1L) in testManyEqual() 62 .compare(1.0, 1.0) in testManyEqual() 63 .compare(1.0f, 1.0f) in testManyEqual() 64 .compare("a", "a", Ordering.usingToString()) in testManyEqual() 70 .compare("a", "b") in testShortCircuitLess() 71 .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) in testShortCircuitLess() 77 .compare("b", "a") [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
D | compare.pass.cpp | 28 assert(f.compare(ia, ia+sa, ib, ib+2) == 1); in main() 29 assert(f.compare(ib, ib+2, ia, ia+sa) == -1); in main() 30 assert(f.compare(ia, ia+sa, ib, ib+3) == 1); in main() 31 assert(f.compare(ib, ib+3, ia, ia+sa) == -1); in main() 32 assert(f.compare(ia, ia+sa, ib+1, ib+3) == -1); in main() 33 assert(f.compare(ib+1, ib+3, ia, ia+sa) == 1); in main() 34 assert(f.compare(ia, ia+3, ib, ib+3) == 0); in main() 41 assert(f.compare(ia, ia+sa, ib, ib+2) == 1); in main() 42 assert(f.compare(ib, ib+2, ia, ia+sa) == -1); in main() 43 assert(f.compare(ia, ia+sa, ib, ib+3) == 1); in main() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/ |
D | collationtest.txt | 26 # "* compare" tests the order (= or <) of the following strings. 30 # Test sections ("* compare") are terminated by 43 * compare 123 * compare 134 * compare 141 * compare 147 * compare 155 * compare 160 * compare 166 * compare [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | collationtest.txt | 24 # "* compare" tests the order (= or <) of the following strings. 28 # Test sections ("* compare") are terminated by 41 * compare 121 * compare 132 * compare 139 * compare 145 * compare 153 * compare 158 * compare 164 * compare [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | collationtest.txt | 26 # "* compare" tests the order (= or <) of the following strings. 30 # Test sections ("* compare") are terminated by 43 * compare 123 * compare 134 * compare 141 * compare 147 * compare 155 * compare 160 * compare 166 * compare [all …]
|
/external/clang/test/FixIt/ |
D | fixit-multiple-selector-warnings.m | 8 - (id) compare: (char) arg1; 13 - (id) compare: (id) arg1; 18 (void)@selector( compare: ); 19 (void)@selector (compare:); 20 (void)@selector( compare:); 21 (void)@selector(compare: ); 22 (void)@selector ( compare: ); 23 return @selector(compare:);
|
/external/ImageMagick/MagickCore/ |
D | splay-tree.c | 88 (*compare)(const void *,const void *); member 157 compare; in AddValueToSplayTree() local 164 compare=0; in AddValueToSplayTree() 167 if (splay_tree->compare != (int (*)(const void *,const void *)) NULL) in AddValueToSplayTree() 168 compare=splay_tree->compare(splay_tree->root->key,key); in AddValueToSplayTree() 170 compare=(splay_tree->root->key > key) ? 1 : in AddValueToSplayTree() 172 if (compare == 0) in AddValueToSplayTree() 202 if (compare < 0) in AddValueToSplayTree() 359 clone_tree=NewSplayTree(splay_tree->compare,splay_tree->relinquish_key, in CloneSplayTree() 517 compare; in DeleteNodeByValueFromSplayTree() local [all …]
|
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 287 TEST(ScaledNumberHelpersTest, compare) { in TEST() argument 288 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), 1)); in TEST() 289 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), -10)); in TEST() 290 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), 20)); in TEST() 291 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(64), -3)); in TEST() 292 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(32), -2)); in TEST() 293 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(16), -1)); in TEST() 294 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(8), 0)); in TEST() 295 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(4), 1)); in TEST() 296 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(2), 2)); in TEST() [all …]
|
/external/libcxx/test/std/re/re.submatch/re.submatch.members/ |
D | compare_value_type_ptr.pass.cpp | 26 assert(sm.compare("") == 0); in main() 31 assert(sm.compare("") > 0); in main() 32 assert(sm.compare("123") == 0); in main() 38 assert(sm.compare(L"") == 0); in main() 43 assert(sm.compare(L"") > 0); in main() 44 assert(sm.compare(L"123") == 0); in main()
|
D | compare_string_type.pass.cpp | 27 assert(sm.compare(string()) == 0); in main() 32 assert(sm.compare(string()) > 0); in main() 33 assert(sm.compare(string("123")) == 0); in main() 40 assert(sm.compare(string()) == 0); in main() 45 assert(sm.compare(string()) > 0); in main() 46 assert(sm.compare(string(L"123")) == 0); in main()
|
D | compare_sub_match.pass.cpp | 27 assert(sm.compare(sm2) == 0); in main() 32 assert(sm.compare(sm2) > 0); in main() 36 assert(sm.compare(sm2) == 0); in main() 43 assert(sm.compare(sm2) == 0); in main() 48 assert(sm.compare(sm2) > 0); in main() 52 assert(sm.compare(sm2) == 0); in main()
|
/external/libchrome/base/strings/ |
D | string_util_unittest.cc | 87 EXPECT_EQ(output.compare("\xc2\x81"), 0); in TEST() 89 EXPECT_EQ(output.compare("\xc2\x81"), 0); in TEST() 91 EXPECT_EQ(output.compare("\xc2\x81\xc2\x81"), 0); in TEST() 97 EXPECT_EQ(output.compare(std::string("\x00\x00\xc2\x81", 4)), 0); in TEST() 104 EXPECT_EQ(output.compare(std::string("\x00\xc2\x81", 3)), 0); in TEST() 109 EXPECT_EQ(output.compare(""), 0); in TEST() 111 EXPECT_EQ(output.compare(""), 0); in TEST() 113 EXPECT_EQ(output.compare(""), 0); in TEST() 117 EXPECT_EQ(output.compare("\xe1\x80\xbf"), 0); in TEST() 119 EXPECT_EQ(output.compare("\xf1\x80\xa0\xbf"), 0); in TEST() [all …]
|
/external/deqp/framework/delibs/dethread/ |
D | deAtomic.h | 100 DE_INLINE deUint32 deAtomicCompareExchangeUint32 (volatile deUint32* dstAddr, deUint32 compare, deU… in deAtomicCompareExchangeUint32() argument 103 return _InterlockedCompareExchange((volatile long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint32() 105 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint32() 184 DE_INLINE deUint64 deAtomicCompareExchangeUint64 (volatile deUint64* dstAddr, deUint64 compare, deU… in deAtomicCompareExchangeUint64() argument 187 return _InterlockedCompareExchange64((volatile long long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint64() 189 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint64() 243 DE_INLINE void* deAtomicCompareExchangePtr (void* volatile* dstAddr, void* compare, void* exchange) in deAtomicCompareExchangePtr() argument 246 …return (void*)deAtomicCompareExchangeUint64((volatile deUint64*)dstAddr, (deUint64)compare, (deUin… in deAtomicCompareExchangePtr() 248 …return (void*)deAtomicCompareExchangeUint32((volatile deUint32*)dstAddr, (deUint32)compare, (deUin… in deAtomicCompareExchangePtr()
|