/external/python/cpython2/Lib/test/ |
D | test_base64.py | 9 eq = self.assertEqual 10 eq(base64.encodestring("www.python.org"), "d3d3LnB5dGhvbi5vcmc=\n") 11 eq(base64.encodestring("a"), "YQ==\n") 12 eq(base64.encodestring("ab"), "YWI=\n") 13 eq(base64.encodestring("abc"), "YWJj\n") 14 eq(base64.encodestring(""), "") 15 eq(base64.encodestring("abcdefghijklmnopqrstuvwxyz" 21 # Non-bytes 22 eq(base64.encodestring(bytearray('abc')), 'YWJj\n') 25 eq = self.assertEqual [all …]
|
D | test_gettext.py | 11 # - Add new tests, for example for "dgettext" 12 # - Remove dummy tests, for example testing for single and double quotes 14 # - Tests should have only one assert. 98 eq = self.assertEqual 100 eq(_('albatross'), 'albatross') 101 eq(_(u'mullusk'), 'bacon') 102 eq(_(r'Raymond Luxury Yach-t'), 'Throatwobbler Mangrove') 103 eq(_(ur'nudge nudge'), 'wink wink') 106 eq = self.assertEqual 108 eq(_("albatross"), 'albatross') [all …]
|
D | test_repr.py | 25 eq = self.assertEqual 26 eq(r("abc"), "'abc'") 27 eq(r("abcdefghijklmnop"),"'abcdefghijklmnop'") 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 31 eq(r(s), expected) 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14:] 36 eq(r(s), expected) 39 eq = self.assertEqual 40 eq(r((1,)), "(1,)") [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
D | erase_key.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 58 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 59 Eq eq = c.equal_range(1); in main() local 60 assert(std::distance(eq.first, eq.second) == 2); in main() 61 C::const_iterator k = eq.first; in main() 62 assert(k->first == 1); in main() 63 assert(k->second == "one"); in main() 65 assert(k->first == 1); in main() 66 assert(k->second == "four"); in main() [all …]
|
D | erase_range.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 45 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef 46 Eq eq = c.equal_range(1); in main() local 47 assert(std::distance(eq.first, eq.second) == 2); in main() 48 k = eq.first; in main() 49 assert(k->first == 1); in main() 50 assert(k->second == "one"); in main() 52 assert(k->first == 1); in main() 53 assert(k->second == "four"); in main() [all …]
|
D | insert_init.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 44 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef 45 Eq eq = c.equal_range(1); in main() local 46 assert(std::distance(eq.first, eq.second) == 2); in main() 47 C::iterator k = eq.first; in main() 48 assert(k->first == 1); in main() 49 assert(k->second == "one"); in main() 51 assert(k->first == 1); in main() 52 assert(k->second == "four"); in main() [all …]
|
D | insert_range.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 44 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef 45 Eq eq = c.equal_range(1); in main() local 46 assert(std::distance(eq.first, eq.second) == 2); in main() 47 C::iterator k = eq.first; in main() 48 assert(k->first == 1); in main() 49 assert(k->second == "one"); in main() 51 assert(k->first == 1); in main() 52 assert(k->second == "four"); in main() [all …]
|
D | erase_const_iter.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 56 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 57 Eq eq = c.equal_range(1); in main() local 58 assert(std::distance(eq.first, eq.second) == 2); in main() 59 C::const_iterator k = eq.first; in main() 60 assert(k->first == 1); in main() 61 assert(k->second == "one"); in main() 63 assert(k->first == 1); in main() 64 assert(k->second == "four"); in main() [all …]
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 1 # Copyright (C) 2001-2007 Python Software Foundation 2 # Contact: email-sig@python.org 76 eq = self.assertEqual 78 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 79 eq(msg.get_all('xx', 'n/a'), 'n/a') 82 eq = self.assertEqual 84 eq(msg.get_charset(), None) 85 charset = Charset('iso-8859-1') 87 eq(msg['mime-version'], '1.0') 88 eq(msg.get_content_type(), 'text/plain') [all …]
|
D | test_email.py | 1 # Copyright (C) 2001-2010 Python Software Foundation 2 # Contact: email-sig@python.org 81 eq = self.assertEqual 83 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 84 eq(msg.get_all('xx', 'n/a'), 'n/a') 87 eq = self.assertEqual 89 eq(msg.get_charset(), None) 90 charset = Charset('iso-8859-1') 92 eq(msg['mime-version'], '1.0') 93 eq(msg.get_content_type(), 'text/plain') [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
D | init.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 50 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 51 Eq eq = c.equal_range(1); in main() local 52 assert(std::distance(eq.first, eq.second) == 2); in main() 53 C::const_iterator i = eq.first; in main() 54 assert(i->first == 1); in main() 55 assert(i->second == "one"); in main() 57 assert(i->first == 1); in main() 58 assert(i->second == "four"); in main() [all …]
|
D | assign_move.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 65 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 66 Eq eq = c.equal_range(1); in main() local 67 assert(std::distance(eq.first, eq.second) == 2); in main() 68 C::const_iterator i = eq.first; in main() 69 assert(i->first == 1); in main() 70 assert(i->second == "one"); in main() 72 assert(i->first == 1); in main() 73 assert(i->second == "four"); in main() [all …]
|
D | range.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 54 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 55 Eq eq = c.equal_range(1); in main() local 56 assert(std::distance(eq.first, eq.second) == 2); in main() 57 C::const_iterator i = eq.first; in main() 58 assert(i->first == 1); in main() 59 assert(i->second == "one"); in main() 61 assert(i->first == 1); in main() 62 assert(i->second == "four"); in main() [all …]
|
D | move_alloc.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 62 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 63 Eq eq = c.equal_range(1); in main() local 64 assert(std::distance(eq.first, eq.second) == 2); in main() 65 C::const_iterator i = eq.first; in main() 66 assert(i->first == 1); in main() 67 assert(i->second == "one"); in main() 69 assert(i->first == 1); in main() 70 assert(i->second == "four"); in main() [all …]
|
D | range_size_hash_equal_allocator.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 62 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 63 Eq eq = c.equal_range(1); in main() local 64 assert(std::distance(eq.first, eq.second) == 2); in main() 65 C::const_iterator i = eq.first; in main() 66 assert(i->first == 1); in main() 67 assert(i->second == "one"); in main() 69 assert(i->first == 1); in main() 70 assert(i->second == "four"); in main() [all …]
|
D | init_size_hash_equal_allocator.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 57 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 58 Eq eq = c.equal_range(1); in main() local 59 assert(std::distance(eq.first, eq.second) == 2); in main() 60 C::const_iterator i = eq.first; in main() 61 assert(i->first == 1); in main() 62 assert(i->second == "one"); in main() 64 assert(i->first == 1); in main() 65 assert(i->second == "four"); in main() [all …]
|
D | assign_init.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 55 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 56 Eq eq = c.equal_range(1); in main() local 57 assert(std::distance(eq.first, eq.second) == 2); in main() 58 C::const_iterator i = eq.first; in main() 59 assert(i->first == 1); in main() 60 assert(i->second == "one"); in main() 62 assert(i->first == 1); in main() 63 assert(i->second == "four"); in main() [all …]
|
D | init_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 53 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 54 Eq eq = c.equal_range(1); in main() local 55 assert(std::distance(eq.first, eq.second) == 2); in main() 56 C::const_iterator i = eq.first; in main() 57 assert(i->first == 1); in main() 58 assert(i->second == "one"); in main() 60 assert(i->first == 1); in main() 61 assert(i->second == "four"); in main() [all …]
|
D | init_size_hash.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 54 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 55 Eq eq = c.equal_range(1); in main() local 56 assert(std::distance(eq.first, eq.second) == 2); in main() 57 C::const_iterator i = eq.first; in main() 58 assert(i->first == 1); in main() 59 assert(i->second == "one"); in main() 61 assert(i->first == 1); in main() 62 assert(i->second == "four"); in main() [all …]
|
D | range_size_hash_equal.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 60 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 61 Eq eq = c.equal_range(1); in main() local 62 assert(std::distance(eq.first, eq.second) == 2); in main() 63 C::const_iterator i = eq.first; in main() 64 assert(i->first == 1); in main() 65 assert(i->second == "one"); in main() 67 assert(i->first == 1); in main() 68 assert(i->second == "four"); in main() [all …]
|
D | range_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 57 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 58 Eq eq = c.equal_range(1); in main() local 59 assert(std::distance(eq.first, eq.second) == 2); in main() 60 C::const_iterator i = eq.first; in main() 61 assert(i->first == 1); in main() 62 assert(i->second == "one"); in main() 64 assert(i->first == 1); in main() 65 assert(i->second == "four"); in main() [all …]
|
D | range_size_hash.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 59 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 60 Eq eq = c.equal_range(1); in main() local 61 assert(std::distance(eq.first, eq.second) == 2); in main() 62 C::const_iterator i = eq.first; in main() 63 assert(i->first == 1); in main() 64 assert(i->second == "one"); in main() 66 assert(i->first == 1); in main() 67 assert(i->second == "four"); in main() [all …]
|
D | init_size_hash_equal.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 56 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef 57 Eq eq = c.equal_range(1); in main() local 58 assert(std::distance(eq.first, eq.second) == 2); in main() 59 C::const_iterator i = eq.first; in main() 60 assert(i->first == 1); in main() 61 assert(i->second == "one"); in main() 63 assert(i->first == 1); in main() 64 assert(i->second == "four"); in main() [all …]
|
/external/llvm/test/MC/ARM/ |
D | thumb2-narrow-dp.ll | 1 // RUN: llvm-mc -triple thumbv7 -show-encoding < %s | FileCheck %s 3 // Test each of the Thumb1 data-processing instructions 7 // - Rd == Rn 8 // - Rd, Rn and Rm are < r8 11 // - Rd == Rn || Rd == Rm 12 // - Rd, Rn and Rm are < r8 24 IT EQ 25 // CHECK: it eq @ encoding: [0x08,0xbf] 28 IT EQ 29 // CHECK: it eq @ encoding: [0x08,0xbf] [all …]
|
/external/valgrind/none/tests/mips32/ |
D | fpu_branches.stdout.exp | 1 --- BC1F --- if fs != ft then out = fs else out = fs + ft 2 bc1f, c.eq.s out=0.000000, fs=0.000000, ft=-4578.500000 3 bc1f, c.eq.d out=0.000000, fs=0.000000, ft=-45786.500000 4 bc1f, c.eq.s out=912.500000, fs=456.250000, ft=456.250000 5 bc1f, c.eq.d out=912.500000, fs=456.250000, ft=456.250000 6 bc1f, c.eq.s out=3.000000, fs=3.000000, ft=34.031250 7 bc1f, c.eq.d out=3.000000, fs=3.000000, ft=34.031250 8 bc1f, c.eq.s out=-1.000000, fs=-1.000000, ft=4578.750000 9 bc1f, c.eq.d out=-1.000000, fs=-1.000000, ft=45786.750000 10 bc1f, c.eq.s out=1384.500000, fs=1384.500000, ft=175.000000 [all …]
|