/external/python/cpython3/Lib/test/ |
D | test_future.py | 145 eq = self.assertAnnotationEqual 146 eq('...') 147 eq("'some_string'") 148 eq("b'\\xa3'") 149 eq('Name') 150 eq('None') 151 eq('True') 152 eq('False') 153 eq('1') 154 eq('1.0') [all …]
|
D | test_reprlib.py | 28 eq = self.assertEqual 29 eq(r("abc"), "'abc'") 30 eq(r("abcdefghijklmnop"),"'abcdefghijklmnop'") 34 eq(r(s), expected) 36 eq(r("\"'"), repr("\"'")) 39 eq(r(s), expected) 42 eq = self.assertEqual 43 eq(r((1,)), "(1,)") 46 eq(r(t3), "(1, 2, 3)") 51 eq(r2.repr(t3), expected) [all …]
|
D | test_base64.py | 30 eq = self.assertEqual 31 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n") 32 eq(base64.encodebytes(b"a"), b"YQ==\n") 33 eq(base64.encodebytes(b"ab"), b"YWI=\n") 34 eq(base64.encodebytes(b"abc"), b"YWJj\n") 35 eq(base64.encodebytes(b""), b"") 36 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz" 43 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n') 44 eq(base64.encodebytes(memoryview(b'abc')), b'YWJj\n') 45 eq(base64.encodebytes(array('B', b'abc')), b'YWJj\n') [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_decimfmtprops.cpp | 81 bool eq = true; in _equals() local 84 eq = eq && compactStyle == other.compactStyle; in _equals() 85 eq = eq && currency == other.currency; in _equals() 86 eq = eq && currencyPluralInfo.fPtr.getAlias() == other.currencyPluralInfo.fPtr.getAlias(); in _equals() 87 eq = eq && currencyUsage == other.currencyUsage; in _equals() 88 eq = eq && decimalSeparatorAlwaysShown == other.decimalSeparatorAlwaysShown; in _equals() 89 eq = eq && exponentSignAlwaysShown == other.exponentSignAlwaysShown; in _equals() 90 eq = eq && formatFailIfMoreThanMaxDigits == other.formatFailIfMoreThanMaxDigits; in _equals() 91 eq = eq && formatWidth == other.formatWidth; in _equals() 92 eq = eq && magnitudeMultiplier == other.magnitudeMultiplier; in _equals() [all …]
|
/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" 22 eq(base64.encodestring(bytearray('abc')), 'YWJj\n') 25 eq = self.assertEqual 26 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org") [all …]
|
D | test_repr.py | 25 eq = self.assertEqual 26 eq(r("abc"), "'abc'") 27 eq(r("abcdefghijklmnop"),"'abcdefghijklmnop'") 31 eq(r(s), expected) 33 eq(r("\"'"), repr("\"'")) 36 eq(r(s), expected) 39 eq = self.assertEqual 40 eq(r((1,)), "(1,)") 43 eq(r(t3), "(1, 2, 3)") 48 eq(r2.repr(t3), expected) [all …]
|
D | test_gettext.py | 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') 109 eq(_(u"mullusk"), 'bacon') 110 eq(_(r"Raymond Luxury Yach-t"), 'Throatwobbler Mangrove') 111 eq(_(ur"nudge nudge"), 'wink wink') [all …]
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 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) 87 eq(msg['mime-version'], '1.0') 88 eq(msg.get_content_type(), 'text/plain') 89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 90 eq(msg.get_param('charset'), 'iso-8859-1') 91 eq(msg['content-transfer-encoding'], 'quoted-printable') [all …]
|
D | test_email.py | 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) 92 eq(msg['mime-version'], '1.0') 93 eq(msg.get_content_type(), 'text/plain') 94 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 95 eq(msg.get_param('charset'), 'iso-8859-1') 96 eq(msg['content-transfer-encoding'], 'quoted-printable') [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
D | erase_key.pass.cpp | 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() 67 eq = c.equal_range(2); in main() 68 assert(std::distance(eq.first, eq.second) == 2); in main() 69 k = eq.first; in main() 75 eq = c.equal_range(3); in main() 76 assert(std::distance(eq.first, eq.second) == 1); in main() 77 k = eq.first; in main() 80 eq = c.equal_range(4); in main() [all …]
|
D | erase_range.pass.cpp | 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() 54 eq = c.equal_range(2); in main() 55 assert(std::distance(eq.first, eq.second) == 2); in main() 56 k = eq.first; in main() 62 eq = c.equal_range(3); in main() 63 assert(std::distance(eq.first, eq.second) == 1); in main() 64 k = eq.first; in main() 67 eq = c.equal_range(4); in main() [all …]
|
D | insert_init.pass.cpp | 46 Eq eq = c.equal_range(1); in main() local 47 assert(std::distance(eq.first, eq.second) == 2); in main() 48 C::iterator k = eq.first; in main() 54 eq = c.equal_range(2); in main() 55 assert(std::distance(eq.first, eq.second) == 2); in main() 56 k = eq.first; in main() 62 eq = c.equal_range(3); in main() 63 assert(std::distance(eq.first, eq.second) == 1); in main() 64 k = eq.first; in main() 67 eq = c.equal_range(4); in main() [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_codecontext.py | 86 eq = self.assertEqual 90 eq(cc.editwin, ed) 91 eq(cc.text, ed.text) 92 eq(cc.textfont, ed.text['font']) 94 eq(cc.info, [(0, -1, '', False)]) 95 eq(cc.topvisible, 1) 96 eq(self.root.tk.call('after', 'info', self.cc.t1)[1], 'timer') 97 eq(self.root.tk.call('after', 'info', self.cc.t2)[1], 'timer') 119 eq = self.assertEqual 128 eq(toggle(), 'break') [all …]
|
D | test_configdialog.py | 268 eq = self.assertEqual 275 eq(d.builtin_name.get(), 'IDLE Classic') 276 eq(d.custom_name.get(), '- no custom themes -') 277 eq(d.custom_theme_on.state(), ('disabled',)) 278 eq(d.set_theme_type.called, 1) 279 eq(d.paint_theme_sample.called, 1) 280 eq(d.set_highlight_target.called, 1) 286 eq(d.builtin_name.get(), 'IDLE Classic') 287 eq(d.custom_name.get(), 'test1') 288 eq(d.set_theme_type.called, 2) [all …]
|
D | test_outwin.py | 43 eq = self.assertEqual 47 eq(w.maybesave(), 'no') 48 eq(w.get_saved.called, 1) 51 eq(w.maybesave(), 'yes') 52 eq(w.get_saved.called, 2) 56 eq = self.assertEqual 63 eq(write(b), len(b)) 64 eq(get('1.0', '1.end'), b.decode()) 69 eq(write(test_text), len(test_text)) 70 eq(get('1.0', '1.end'), 'test text') [all …]
|
/external/capstone/suite/MC/ARM/ |
D | thumb2-narrow-dp.ll.cs | 16 0x08,0xbf = it eq 18 0x08,0xbf = it eq 20 0x08,0xbf = it eq 22 0x08,0xbf = it eq 24 0x08,0xbf = it eq 26 0x08,0xbf = it eq 28 0x08,0xbf = it eq 30 0x08,0xbf = it eq 32 0x08,0xbf = it eq 34 0x08,0xbf = it eq [all …]
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerHandlerTest.java | 41 import static org.mockito.Matchers.eq; 225 verifyWrite().writeData(eq(ctx()), eq(STREAM_ID), eq(content()), eq(0), eq(false), in sendFrameShouldSucceed() 234 verify(streamTracerFactory).newServerStreamTracer(eq("foo/bar"), any(Metadata.class)); in streamTracerCreated() 336 verifyWrite().writeGoAway(eq(ctx()), eq(0), eq(Http2Error.NO_ERROR.code()), in closeShouldCloseChannel() 337 eq(Unpooled.EMPTY_BUFFER), any(ChannelPromise.class)); in closeShouldCloseChannel() 407 verifyWrite().writeRstStream(eq(ctx()), eq(stream.transportState().id()), in cancelShouldSendRstStream() 408 eq(Http2Error.CANCEL.code()), any(ChannelPromise.class)); in cancelShouldSendRstStream() 427 verifyWrite().writeHeaders(eq(ctx()), eq(STREAM_ID), eq(responseHeaders), eq(0), in headersWithInvalidContentTypeShouldFail() 428 eq(DEFAULT_PRIORITY_WEIGHT), eq(false), eq(0), eq(false), any(ChannelPromise.class)); in headersWithInvalidContentTypeShouldFail() 446 verifyWrite().writeHeaders(eq(ctx()), eq(STREAM_ID), eq(responseHeaders), eq(0), in headersWithInvalidMethodShouldFail() [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 55 eq = self.assertEqual 57 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 58 eq(msg.get_all('xx', 'n/a'), 'n/a') 61 eq = self.assertEqual 63 eq(msg.get_charset(), None) 66 eq(msg['mime-version'], '1.0') 67 eq(msg.get_content_type(), 'text/plain') 68 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 69 eq(msg.get_param('charset'), 'iso-8859-1') 70 eq(msg['content-transfer-encoding'], 'quoted-printable') [all …]
|
/external/adhd/cras/src/dsp/tests/ |
D | eq_test.c | 32 struct eq *eq; in test_ir() local 41 eq = eq_new(); in test_ir() 42 eq_append_biquad(eq, BQ_PEAKING, 380/NQ, 3, -10); in test_ir() 43 eq_append_biquad(eq, BQ_PEAKING, 720/NQ, 3, -12); in test_ir() 44 eq_append_biquad(eq, BQ_PEAKING, 1705/NQ, 3, -8); in test_ir() 45 eq_append_biquad(eq, BQ_HIGHPASS, 218/NQ, 0.7, -10.2); in test_ir() 46 eq_append_biquad(eq, BQ_PEAKING, 580/NQ, 6, -8); in test_ir() 47 eq_append_biquad(eq, BQ_HIGHSHELF, 8000/NQ, 3, 2); in test_ir() 50 eq_process(eq, data, N); in test_ir() 53 eq_free(eq); in test_ir() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
D | init.pass.cpp | 53 Eq eq = c.equal_range(1); in main() local 54 assert(std::distance(eq.first, eq.second) == 2); in main() 55 C::const_iterator i = eq.first; in main() 61 eq = c.equal_range(2); in main() 62 assert(std::distance(eq.first, eq.second) == 2); in main() 63 i = eq.first; in main() 70 eq = c.equal_range(3); in main() 71 assert(std::distance(eq.first, eq.second) == 1); in main() 72 i = eq.first; in main() 75 eq = c.equal_range(4); in main() [all …]
|
D | assign_move.pass.cpp | 68 Eq eq = c.equal_range(1); in main() local 69 assert(std::distance(eq.first, eq.second) == 2); in main() 70 C::const_iterator i = eq.first; in main() 76 eq = c.equal_range(2); in main() 77 assert(std::distance(eq.first, eq.second) == 2); in main() 78 i = eq.first; in main() 85 eq = c.equal_range(3); in main() 86 assert(std::distance(eq.first, eq.second) == 1); in main() 87 i = eq.first; in main() 90 eq = c.equal_range(4); in main() [all …]
|
D | move_alloc.pass.cpp | 64 Eq eq = c.equal_range(1); in main() local 65 assert(std::distance(eq.first, eq.second) == 2); in main() 66 C::const_iterator i = eq.first; in main() 72 eq = c.equal_range(2); in main() 73 assert(std::distance(eq.first, eq.second) == 2); in main() 74 i = eq.first; in main() 81 eq = c.equal_range(3); in main() 82 assert(std::distance(eq.first, eq.second) == 1); in main() 83 i = eq.first; in main() 86 eq = c.equal_range(4); in main() [all …]
|
D | range.pass.cpp | 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() 64 eq = c.equal_range(2); in main() 65 assert(std::distance(eq.first, eq.second) == 2); in main() 66 i = eq.first; in main() 73 eq = c.equal_range(3); in main() 74 assert(std::distance(eq.first, eq.second) == 1); in main() 75 i = eq.first; in main() 78 eq = c.equal_range(4); in main() [all …]
|
D | init_size_hash_equal_allocator.pass.cpp | 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 i = eq.first; in main() 67 eq = c.equal_range(2); in main() 68 assert(std::distance(eq.first, eq.second) == 2); in main() 69 i = eq.first; in main() 76 eq = c.equal_range(3); in main() 77 assert(std::distance(eq.first, eq.second) == 1); in main() 78 i = eq.first; in main() 81 eq = c.equal_range(4); in main() [all …]
|
D | range_size_hash_equal_allocator.pass.cpp | 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() 71 eq = c.equal_range(2); in main() 72 assert(std::distance(eq.first, eq.second) == 2); in main() 73 i = eq.first; in main() 80 eq = c.equal_range(3); in main() 81 assert(std::distance(eq.first, eq.second) == 1); in main() 82 i = eq.first; in main() 85 eq = c.equal_range(4); in main() [all …]
|