/third_party/python/Lib/test/ |
H A D | test_future.py | 183 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(' [all...] |
H A D | test_gettext.py | 153 eq = self.assertEqual 155 eq(_('albatross'), 'albatross') 156 eq(_('mullusk'), 'bacon') 157 eq(_(r'Raymond Luxury Yach-t'), 'Throatwobbler Mangrove') 158 eq(_(r'nudge nudge'), 'wink wink') 161 eq = self.assertEqual 162 eq(pgettext('my context', 'nudge nudge'), 164 eq(pgettext('my other context', 'nudge nudge'), 168 eq = self.assertEqual 170 eq( [all...] |
H A D | test_reprlib.py | 29 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(r [all...] |
H A D | test_base64.py | 22 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(base6 [all...] |
H A D | test_mimetypes.py | 37 eq = self.assertEqual 38 eq(self.db.guess_type("foobar.HTML"), self.db.guess_type("foobar.html")) 39 eq(self.db.guess_type("foobar.TGZ"), self.db.guess_type("foobar.tgz")) 40 eq(self.db.guess_type("foobar.tar.Z"), ("application/x-tar", "compress")) 41 eq(self.db.guess_type("foobar.tar.z"), (None, None)) 44 eq = self.assertEqual 45 eq(self.db.guess_type("foo.html"), ("text/html", None)) 46 eq(self.db.guess_type("foo.HTML"), ("text/html", None)) 47 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 48 eq(sel [all...] |
H A D | test_glob.py | 110 eq = self.assertSequencesEqual_noorder 111 eq(self.glob('a'), [self.norm('a')]) 112 eq(self.glob('a', 'D'), [self.norm('a', 'D')]) 113 eq(self.glob('aab'), [self.norm('aab')]) 114 eq(self.glob('zymurgy'), []) 135 eq = self.assertSequencesEqual_noorder 136 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) 137 eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) 138 eq(self.glob('.*'), map(self.norm, ['.aa', '.bb'])) 139 eq(sel [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_decimfmtprops.cpp | 82 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 in _equals() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | number_decimfmtprops.cpp | 83 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 in _equals() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_decimfmtprops.cpp | 83 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 in _equals() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_eq.c | 77 static void check_values(EQParameters *param, EQContext *eq) in check_values() argument 82 param->adjust = eq->process; in check_values() 87 static void set_contrast(EQContext *eq) in set_contrast() argument 89 eq->contrast = av_clipf(av_expr_eval(eq->contrast_pexpr, eq->var_values, eq), -1000.0, 1000.0); in set_contrast() 90 eq->param[0].contrast = eq->contrast; in set_contrast() 91 eq in set_contrast() 95 set_brightness(EQContext *eq) set_brightness() argument 103 set_gamma(EQContext *eq) set_gamma() argument 124 set_saturation(EQContext *eq) set_saturation() argument 159 EQContext *eq = ctx->priv; initialize() local 185 EQContext *eq = ctx->priv; uninit() local 199 EQContext *eq = inlink->dst->priv; config_props() local 222 EQContext *eq = ctx->priv; filter_frame() local 270 set_param(AVExpr **pexpr, const char *args, const char *cmd, void (*set_fn)(EQContext *eq), AVFilterContext *ctx) set_param() argument 273 EQContext *eq = ctx->priv; set_param() local 285 EQContext *eq = ctx->priv; process_command() local 343 AVFILTER_DEFINE_CLASS(eq); global() variable [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_codecontext.py | 111 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(c [all...] |
H A D | test_configdialog.py | 301 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( [all...] |
H A 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 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(writ [all...] |
H A D | test_colorizer.py | 77 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(tex [all...] |
H A D | test_pyparse.py | 39 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(star [all...] |
/third_party/python/Lib/test/test_email/ |
H A D | test_email.py | 58 eq = self.assertEqual 60 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 61 eq(msg.get_all('xx', 'n/a'), 'n/a') 64 eq = self.assertEqual 66 eq(msg.get_charset(), None) 69 eq(msg['mime-version'], '1.0') 70 eq(msg.get_content_type(), 'text/plain') 71 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 72 eq(msg.get_param('charset'), 'iso-8859-1') 73 eq(ms [all...] |
/third_party/decimal.js/test/modules/ |
H A D | clone.js | 43 t(x1.div(3).eq(2)); 44 t(x2.div(3).eq(1.7)); 45 t(x3.div(3).eq(1.67)); 46 t(x4.div(3).eq(1.667)); 47 t(x5.div(3).eq(1.6667)); 48 t(x6.div(3).eq(1.66667)); 49 t(x7.div(3).eq(1.666667)); 50 t(x8.div(3).eq(1.6666667)); 51 t(x9.div(3).eq(1.66666667)); 52 t(x .div(3).eq(1.66666666 [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | DecimalFormatProperties.java | 254 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 in _equals() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | DecimalFormatProperties.java | 256 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 in _equals() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_function_defaults_test.cc | 35 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 94 auto eq = this->key_eq; TYPED_TEST() local 139 auto eq = this->key_eq; TYPED_TEST() local 177 hash_default_eq<Func> eq; TEST() local 210 hash_default_eq<absl::Cord> eq; TEST() local 309 hash_default_eq<typename T::first_type> eq; global() member [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | cgcc | 35 $do_check = 1 if $_ eq '-'; 46 if ($_ eq '-x') { 63 if ($_ eq '-no-compile') { 81 $do_compile = 0 if $_ eq '-E'; 83 $verbose = 1 if $_ eq '-v'; 143 return "''" if $arg eq ''; 223 if ($spec eq 'sunos') { 230 } elsif ($spec eq 'linux') { 232 } elsif ($spec eq 'gnu/kfreebsd') { 235 } elsif ($spec eq 'openbs [all...] |
/third_party/zlib/contrib/puff/ |
H A D | Makefile | 19 @echo '04' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 20 @echo '00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 21 @echo '00 00 00 00 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 254 22 @echo '00 01 00 fe ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 24 @echo '02 7e ff ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 246 25 @echo '02' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 26 @echo '04 80 49 92 24 49 92 24 0f b4 ff ff c3 04' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 27 @echo '04 80 49 92 24 49 92 24 71 ff ff 93 11 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 249 28 @echo '04 c0 81 08 00 00 00 00 20 7f eb 0b 00 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 246 30 @echo '1a 07' | xxd -r -p | puft 2> /dev/null || test $$? -eq 24 [all...] |
/third_party/vixl/test/aarch32/ |
H A D | test-assembler-cond-rd-operand-rn-low-registers-in-it-block-t32.cc | 95 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, r [all...] |
H A D | test-assembler-cond-rdlow-rnlow-operand-immediate-zero-in-it-block-t32.cc | 95 {{{eq, r0, r0, 0}, true, eq, "eq r0 r0 0", "eq_r0_r0_0"}, 96 {{eq, r0, r1, 0}, true, eq, "eq r0 r1 0", "eq_r0_r1_0"}, 97 {{eq, r0, r2, 0}, true, eq, "eq r0 r2 0", "eq_r0_r2_0"}, 98 {{eq, r [all...] |
/third_party/ltp/testcases/kernel/mce-test/stress/ |
H A D | hwpoison.sh | 35 if [ $DEBUG -eq 0 ]; then 47 if [ $DEBUG -eq 0 ]; then 175 if [ $g_soft_offline -eq 1 ]; then 179 if [ $g_madvise -eq 1 ]; then 191 [ $rc -eq 1 ] && invalid "invalid device: no inode # can be found" 209 if [ $g_nomkfs -eq 0 -a $g_netfs -eq 0 ]; then 211 if [ $g_force -eq 0 -a $g_fstype != "ocfs2" ]; then 226 if [ $g_netfs -eq 0 ]; then 238 if [ $g_test -eq [all...] |