Home
last modified time | relevance | path

Searched refs:eq (Results 1 – 25 of 6316) sorted by relevance

12345678910>>...253

/external/python/cpython3/Lib/test/
Dtest_future.py145 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 …]
Dtest_reprlib.py28 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 …]
Dtest_base64.py30 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/
Dnumber_decimfmtprops.cpp81 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/
Dtest_base64.py9 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 …]
Dtest_repr.py25 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 …]
Dtest_gettext.py98 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/
Dtest_email_renamed.py76 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 …]
Dtest_email.py81 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/
Derase_key.pass.cpp59 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 …]
Derase_range.pass.cpp46 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 …]
Dinsert_init.pass.cpp46 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/
Dtest_codecontext.py86 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 …]
Dtest_configdialog.py268 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 …]
Dtest_outwin.py43 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/
Dthumb2-narrow-dp.ll.cs16 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/
DNettyServerHandlerTest.java41 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/
Dtest_email.py55 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/
Deq_test.c32 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/
Dinit.pass.cpp53 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 …]
Dassign_move.pass.cpp68 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 …]
Dmove_alloc.pass.cpp64 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 …]
Drange.pass.cpp56 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 …]
Dinit_size_hash_equal_allocator.pass.cpp59 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 …]
Drange_size_hash_equal_allocator.pass.cpp63 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 …]

12345678910>>...253