Home
last modified time | relevance | path

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

12345678910>>...42

/third_party/python/Lib/test/
Dtest_future.py183 eq = self.assertAnnotationEqual
184 eq('...')
185 eq("'some_string'")
186 eq("u'some_string'")
187 eq("b'\\xa3'")
188 eq('Name')
189 eq('None')
190 eq('True')
191 eq('False')
192 eq('1')
[all …]
Dtest_reprlib.py29 eq = self.assertEqual
30 eq(r("abc"), "'abc'")
31 eq(r("abcdefghijklmnop"),"'abcdefghijklmnop'")
35 eq(r(s), expected)
37 eq(r("\"'"), repr("\"'"))
40 eq(r(s), expected)
43 eq = self.assertEqual
44 eq(r((1,)), "(1,)")
47 eq(r(t3), "(1, 2, 3)")
52 eq(r2.repr(t3), expected)
[all …]
Dtest_base64.py22 eq = self.assertEqual
23 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n")
24 eq(base64.encodebytes(b"a"), b"YQ==\n")
25 eq(base64.encodebytes(b"ab"), b"YWI=\n")
26 eq(base64.encodebytes(b"abc"), b"YWJj\n")
27 eq(base64.encodebytes(b""), b"")
28 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz"
35 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n')
36 eq(base64.encodebytes(memoryview(b'abc')), b'YWJj\n')
37 eq(base64.encodebytes(array('B', b'abc')), b'YWJj\n')
[all …]
Dtest_gettext.py157 eq = self.assertEqual
159 eq(_('albatross'), 'albatross')
160 eq(_('mullusk'), 'bacon')
161 eq(_(r'Raymond Luxury Yach-t'), 'Throatwobbler Mangrove')
162 eq(_(r'nudge nudge'), 'wink wink')
165 eq = self.assertEqual
166 eq(pgettext('my context', 'nudge nudge'),
168 eq(pgettext('my other context', 'nudge nudge'),
172 eq = self.assertEqual
174 eq(_("albatross"), 'albatross')
[all …]
Dtest_mimetypes.py38 eq = self.assertEqual
39 eq(self.db.guess_type("foo.html"), ("text/html", None))
40 eq(self.db.guess_type("foo.HTML"), ("text/html", None))
41 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
42 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
43 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
44 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2"))
45 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz"))
48 eq = self.assertEqual
50 eq(guess_type("data:invalidDataWithoutComma"), (None, None))
[all …]
Dtest_glob.py107 eq = self.assertSequencesEqual_noorder
108 eq(self.glob('a'), [self.norm('a')])
109 eq(self.glob('a', 'D'), [self.norm('a', 'D')])
110 eq(self.glob('aab'), [self.norm('aab')])
111 eq(self.glob('zymurgy'), [])
132 eq = self.assertSequencesEqual_noorder
133 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa']))
134 eq(self.glob('*a'), map(self.norm, ['a', 'aaa']))
135 eq(self.glob('.*'), map(self.norm, ['.aa', '.bb']))
136 eq(self.glob('?aa'), map(self.norm, ['aaa']))
[all …]
/third_party/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.cpp83 bool eq = true; in _equals() local
86 eq = eq && compactStyle == other.compactStyle; in _equals()
87 eq = eq && currency == other.currency; in _equals()
88 eq = eq && currencyPluralInfo.fPtr.getAlias() == other.currencyPluralInfo.fPtr.getAlias(); in _equals()
89 eq = eq && currencyUsage == other.currencyUsage; in _equals()
90 eq = eq && decimalSeparatorAlwaysShown == other.decimalSeparatorAlwaysShown; in _equals()
91 eq = eq && exponentSignAlwaysShown == other.exponentSignAlwaysShown; in _equals()
92 eq = eq && currencyAsDecimal == other.currencyAsDecimal; in _equals()
93 eq = eq && formatFailIfMoreThanMaxDigits == other.formatFailIfMoreThanMaxDigits; in _equals()
94 eq = eq && formatWidth == other.formatWidth; in _equals()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimfmtprops.cpp83 bool eq = true; in _equals() local
86 eq = eq && compactStyle == other.compactStyle; in _equals()
87 eq = eq && currency == other.currency; in _equals()
88 eq = eq && currencyPluralInfo.fPtr.getAlias() == other.currencyPluralInfo.fPtr.getAlias(); in _equals()
89 eq = eq && currencyUsage == other.currencyUsage; in _equals()
90 eq = eq && decimalSeparatorAlwaysShown == other.decimalSeparatorAlwaysShown; in _equals()
91 eq = eq && exponentSignAlwaysShown == other.exponentSignAlwaysShown; in _equals()
92 eq = eq && currencyAsDecimal == other.currencyAsDecimal; in _equals()
93 eq = eq && formatFailIfMoreThanMaxDigits == other.formatFailIfMoreThanMaxDigits; in _equals()
94 eq = eq && formatWidth == other.formatWidth; in _equals()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimfmtprops.cpp82 bool eq = true; in _equals() local
85 eq = eq && compactStyle == other.compactStyle; in _equals()
86 eq = eq && currency == other.currency; in _equals()
87 eq = eq && currencyPluralInfo.fPtr.getAlias() == other.currencyPluralInfo.fPtr.getAlias(); in _equals()
88 eq = eq && currencyUsage == other.currencyUsage; in _equals()
89 eq = eq && decimalSeparatorAlwaysShown == other.decimalSeparatorAlwaysShown; in _equals()
90 eq = eq && exponentSignAlwaysShown == other.exponentSignAlwaysShown; in _equals()
91 eq = eq && formatFailIfMoreThanMaxDigits == other.formatFailIfMoreThanMaxDigits; in _equals()
92 eq = eq && formatWidth == other.formatWidth; in _equals()
93 eq = eq && magnitudeMultiplier == other.magnitudeMultiplier; in _equals()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_eq.c97 static void check_values(EQParameters *param, EQContext *eq) in check_values() argument
102 param->adjust = eq->process; in check_values()
107 static void set_contrast(EQContext *eq) in set_contrast() argument
109 eq->contrast = av_clipf(av_expr_eval(eq->contrast_pexpr, eq->var_values, eq), -1000.0, 1000.0); in set_contrast()
110 eq->param[0].contrast = eq->contrast; in set_contrast()
111 eq->param[0].lut_clean = 0; in set_contrast()
112 check_values(&eq->param[0], eq); in set_contrast()
115 static void set_brightness(EQContext *eq) in set_brightness() argument
117 eq->brightness = av_clipf(av_expr_eval(eq->brightness_pexpr, eq->var_values, eq), -1.0, 1.0); in set_brightness()
118 eq->param[0].brightness = eq->brightness; in set_brightness()
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_codecontext.py111 eq = self.assertEqual
115 eq(cc.editwin, ed)
116 eq(cc.text, ed.text)
117 eq(cc.text['font'], ed.text['font'])
119 eq(cc.info, [(0, -1, '', False)])
120 eq(cc.topvisible, 1)
138 eq = self.assertEqual
149 eq(cc.context['font'], self.text['font'])
150 eq(cc.context['fg'], self.highlight_cfg['foreground'])
151 eq(cc.context['bg'], self.highlight_cfg['background'])
[all …]
Dtest_configdialog.py301 eq = self.assertEqual
308 eq(d.builtin_name.get(), 'IDLE Classic')
309 eq(d.custom_name.get(), '- no custom themes -')
310 eq(d.custom_theme_on.state(), ('disabled',))
311 eq(d.set_theme_type.called, 1)
312 eq(d.paint_theme_sample.called, 1)
313 eq(d.set_highlight_target.called, 1)
319 eq(d.builtin_name.get(), 'IDLE Classic')
320 eq(d.custom_name.get(), 'test1')
321 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
64 eq(write(test_text), len(test_text))
65 eq(get('1.0', '1.end'), 'test text')
66 eq(get('insert linestart', 'insert lineend'), 'test text')
71 eq(write(test_text), len(test_text))
[all …]
Dtest_colorizer.py77 eq = self.assertEqual
80 eq(m.groupdict()['KEYWORD'], 'def')
82 eq(m.groupdict()['SYNC'], '\n')
84 eq(m.groupdict()['BUILTIN'], 'print')
86 eq(m.groupdict()['STRING'], '"hello"')
88 eq(m.groupdict()['SYNC'], '\n')
116 eq = self.assertEqual
119 eq(text['background'], '#ffffff')
120 eq(text['foreground'], '#000000')
121 eq(text['selectbackground'], 'gray')
[all …]
Dtest_pyparse.py39 eq = self.assertEqual
53 eq(p.code, string)
54 eq(p.study_level, 0)
57 eq = self.assertEqual
65 eq(start(char_in_string_false), 0)
72 eq(start(char_in_string_false), 0)
95 eq(start(char_in_string_false), pos)
99 eq(start(is_char_in_string=lambda index: index > pos), pos)
102 eq(start(is_char_in_string=lambda index: index >= pos), pos0)
105 eq(start(is_char_in_string=lambda index: index < pos), None)
[all …]
/third_party/python/Lib/test/test_email/
Dtest_email.py56 eq = self.assertEqual
58 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org'])
59 eq(msg.get_all('xx', 'n/a'), 'n/a')
62 eq = self.assertEqual
64 eq(msg.get_charset(), None)
67 eq(msg['mime-version'], '1.0')
68 eq(msg.get_content_type(), 'text/plain')
69 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"')
70 eq(msg.get_param('charset'), 'iso-8859-1')
71 eq(msg['content-transfer-encoding'], 'quoted-printable')
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java254 boolean eq = true; in _equals()
255 eq = eq && _equalsHelper(compactCustomData, other.compactCustomData); in _equals()
256 eq = eq && _equalsHelper(compactStyle, other.compactStyle); in _equals()
257 eq = eq && _equalsHelper(currency, other.currency); in _equals()
258 eq = eq && _equalsHelper(currencyPluralInfo, other.currencyPluralInfo); in _equals()
259 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals()
260 eq = eq && _equalsHelper(decimalPatternMatchRequired, other.decimalPatternMatchRequired); in _equals()
261 eq = eq && _equalsHelper(decimalSeparatorAlwaysShown, other.decimalSeparatorAlwaysShown); in _equals()
262 eq = eq && _equalsHelper(exponentSignAlwaysShown, other.exponentSignAlwaysShown); in _equals()
263 eq = eq && _equalsHelper(currencyAsDecimal, other.currencyAsDecimal); in _equals()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalFormatProperties.java256 boolean eq = true; in _equals()
257 eq = eq && _equalsHelper(compactCustomData, other.compactCustomData); in _equals()
258 eq = eq && _equalsHelper(compactStyle, other.compactStyle); in _equals()
259 eq = eq && _equalsHelper(currency, other.currency); in _equals()
260 eq = eq && _equalsHelper(currencyPluralInfo, other.currencyPluralInfo); in _equals()
261 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals()
262 eq = eq && _equalsHelper(decimalPatternMatchRequired, other.decimalPatternMatchRequired); in _equals()
263 eq = eq && _equalsHelper(decimalSeparatorAlwaysShown, other.decimalSeparatorAlwaysShown); in _equals()
264 eq = eq && _equalsHelper(exponentSignAlwaysShown, other.exponentSignAlwaysShown); in _equals()
265 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
Dcompressedtex.txt17 [eq]#R#, [eq]#G# and [eq]#B# components which are nonlinearly-encoded as
18 [eq]#R'#, [eq]#G'#, and [eq]#B'#; any alpha component is unchanged.
19 As part of filtering, the nonlinear [eq]#R'#, [eq]#G'#, and [eq]#B'# values
20 are converted to linear [eq]#R#, [eq]#G#, and [eq]#B# components; any alpha
99 | ename:VK_FORMAT_ASTC_4x4_UNORM_BLOCK ^|[eq]#4 {times} 4# ^|Linear LDR
100 | ename:VK_FORMAT_ASTC_4x4_SRGB_BLOCK ^|[eq]#4 {times} 4# ^|sRGB
101 | ename:VK_FORMAT_ASTC_5x4_UNORM_BLOCK ^|[eq]#5 {times} 4# ^|Linear LDR
102 | ename:VK_FORMAT_ASTC_5x4_SRGB_BLOCK ^|[eq]#5 {times} 4# ^|sRGB
103 | ename:VK_FORMAT_ASTC_5x5_UNORM_BLOCK ^|[eq]#5 {times} 5# ^|Linear LDR
104 | ename:VK_FORMAT_ASTC_5x5_SRGB_BLOCK ^|[eq]#5 {times} 5# ^|sRGB
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_function_defaults_test.cc35 hash_default_eq<int32_t> eq; in TEST() local
36 EXPECT_TRUE(eq(1, 1u)); in TEST()
37 EXPECT_TRUE(eq(1, char{1})); in TEST()
38 EXPECT_TRUE(eq(1, true)); in TEST()
39 EXPECT_TRUE(eq(1, double{1.1})); in TEST()
40 EXPECT_FALSE(eq(1, char{2})); in TEST()
41 EXPECT_FALSE(eq(1, 2u)); in TEST()
42 EXPECT_FALSE(eq(1, false)); in TEST()
43 EXPECT_FALSE(eq(1, 2.)); in TEST()
62 hash_default_eq<MyEnum> eq; in TEST() local
[all …]
/third_party/vixl/test/aarch32/
Dtest-assembler-cond-rd-operand-rn-in-it-block-t32.cc96 {{{eq, r0, r0}, true, eq, "eq r0 r0", "eq_r0_r0"},
97 {{eq, r0, r1}, true, eq, "eq r0 r1", "eq_r0_r1"},
98 {{eq, r0, r2}, true, eq, "eq r0 r2", "eq_r0_r2"},
99 {{eq, r0, r3}, true, eq, "eq r0 r3", "eq_r0_r3"},
100 {{eq, r0, r4}, true, eq, "eq r0 r4", "eq_r0_r4"},
101 {{eq, r0, r5}, true, eq, "eq r0 r5", "eq_r0_r5"},
102 {{eq, r0, r6}, true, eq, "eq r0 r6", "eq_r0_r6"},
103 {{eq, r0, r7}, true, eq, "eq r0 r7", "eq_r0_r7"},
104 {{eq, r0, r8}, true, eq, "eq r0 r8", "eq_r0_r8"},
105 {{eq, r0, r9}, true, eq, "eq r0 r9", "eq_r0_r9"},
[all …]
Dtest-assembler-cond-rdlow-operand-imm8-in-it-block-t32.cc106 {{eq, r6, 175}, true, eq, "eq r6 175", "eq_r6_175"},
114 {{eq, r2, 187}, true, eq, "eq r2 187", "eq_r2_187"},
141 {{eq, r0, 87}, true, eq, "eq r0 87", "eq_r0_87"},
145 {{eq, r4, 94}, true, eq, "eq r4 94", "eq_r4_94"},
197 {{eq, r7, 223}, true, eq, "eq r7 223", "eq_r7_223"},
199 {{eq, r3, 106}, true, eq, "eq r3 106", "eq_r3_106"},
207 {{eq, r2, 59}, true, eq, "eq r2 59", "eq_r2_59"},
208 {{eq, r3, 35}, true, eq, "eq r3 35", "eq_r3_35"},
216 {{eq, r3, 82}, true, eq, "eq r3 82", "eq_r3_82"},
229 {{eq, r6, 3}, true, eq, "eq r6 3", "eq_r6_3"},
[all …]
Dtest-assembler-cond-rd-operand-rn-low-registers-in-it-block-t32.cc95 const TestData kTests[] = {{{eq, r0, r0}, true, eq, "eq r0 r0", "eq_r0_r0"},
96 {{eq, r0, r1}, true, eq, "eq r0 r1", "eq_r0_r1"},
97 {{eq, r0, r2}, true, eq, "eq r0 r2", "eq_r0_r2"},
98 {{eq, r0, r3}, true, eq, "eq r0 r3", "eq_r0_r3"},
99 {{eq, r0, r4}, true, eq, "eq r0 r4", "eq_r0_r4"},
100 {{eq, r0, r5}, true, eq, "eq r0 r5", "eq_r0_r5"},
101 {{eq, r0, r6}, true, eq, "eq r0 r6", "eq_r0_r6"},
102 {{eq, r0, r7}, true, eq, "eq r0 r7", "eq_r0_r7"},
103 {{eq, r1, r0}, true, eq, "eq r1 r0", "eq_r1_r0"},
104 {{eq, r1, r1}, true, eq, "eq r1 r1", "eq_r1_r1"},
[all …]
/third_party/gstreamer/gstplugins_good/tests/icles/
Dequalizer-test.c73 equalizer_set_band_value (GstElement * eq, guint band, gdouble val) in equalizer_set_band_value() argument
77 child = gst_child_proxy_get_child_by_index (GST_CHILD_PROXY (eq), band); in equalizer_set_band_value()
84 equalizer_set_all_band_values (GstElement * eq, guint num, gdouble val) in equalizer_set_all_band_values() argument
90 child = gst_child_proxy_get_child_by_index (GST_CHILD_PROXY (eq), i); in equalizer_set_all_band_values()
100 equalizer_set_band_value_and_wait (GstElement * eq, guint band, gdouble val) in equalizer_set_band_value_and_wait() argument
102 equalizer_set_band_value (eq, band, val); in equalizer_set_band_value_and_wait()
107 equalizer_set_all_band_values_and_wait (GstElement * eq, guint num, gdouble val) in equalizer_set_all_band_values_and_wait() argument
109 equalizer_set_all_band_values (eq, num, val); in equalizer_set_all_band_values_and_wait()
114 do_slider_fiddling (GstElement * playbin, GstElement * eq) in do_slider_fiddling() argument
122 g_object_get (eq, "num-bands", &num_bands, NULL); in do_slider_fiddling()
[all …]
/third_party/skia/infra/bots/gen_tasks_logic/
Dschema.go24 func (p parts) equal(part string, eq ...string) bool {
25 if len(eq) == 0 {
29 for _, e := range eq {
38 func (p parts) role(eq ...string) bool {
39 return p.equal("role", eq...)
43 func (p parts) os(eq ...string) bool {
44 return p.equal("os", eq...)
49 func (p parts) compiler(eq ...string) bool {
50 return p.equal("compiler", eq...)
54 func (p parts) model(eq ...string) bool {
[all …]

12345678910>>...42