/third_party/python/Lib/test/ |
H A D | test_runpy.py | 773 self.ham = ham = tmp / "ham.py" 774 ham.write_text( 792 self.assertSigInt([self.ham]) 795 tmp = self.ham.parent 801 runpy.run_module("ham") 808 tmp = self.ham.parent 814 runpy._run_module_as_main("ham") 822 ["-c", "import runpy; runpy.run_module('ham')"], 827 self.assertSigInt(["-c", "import ham"], cwd=self.ham.parent) global() namespace 830 self.assertSigInt([], input="import ham", cwd=self.ham.parent) global() namespace [all...] |
H A D | test_pkg.py | 216 "__all__ = ['spam', 'ham', 'eggs']"), 218 ("t6 ham.py", ""), 234 '__path__', '__spec__', 'eggs', 'ham', 'spam']) 235 self.assertEqual(dir(), ['eggs', 'ham', 'self', 'spam', 't6']) 277 from t7.sub.subsub import spam as ham namespace 278 self.assertEqual(ham, 1)
|
H A D | test_inspect.py | 979 def ham(x, y): function 982 self.assertFullArgSpecEquals(ham, ['x', 'y']) 983 self.assertFullArgSpecEquals(functools.partial(ham), 995 def test(a:'spam') -> 'ham': pass 1149 if name == 'ham': 1154 def ham(self): member in TestClassesAndFunctions.test_classify_DynamicClassAttribute.VA 1156 should_find_dca = inspect.Attribute('ham', 'data', VA, VA.__dict__['ham']) 1158 should_find_ga = inspect.Attribute('ham', 'data', Meta, 'spam') 2406 def foo(a, b, *, c:1={}, **kw) -> {42:'ham'} 2984 ham = partialmethod(test) global() variable in TestSignatureObject.test_signature_on_partialmethod.Spam 2992 ham = partialmethod(test, c=1) global() variable in TestSignatureObject.test_signature_on_partialmethod.Spam [all...] |
H A D | test_types.py | 1693 ns1.b = 'ham' 1697 self.assertEqual(ns1.__dict__, dict(a='spam', b='ham')) 1745 ns2.ham = '?' 1749 self.assertEqual(vars(ns2), dict(spam=ns3, ham='?')) 1799 spam = Spam(ham=8, eggs=9) 1802 self.assertEqual(vars(spam), {'ham': 8, 'eggs': 9}) 2093 with self.assertRaisesRegex(Exception, 'ham'): 2094 wrapper.throw(Exception, Exception('ham'))
|
H A D | test_pydoc.py | 243 | ham 248 | ham = 'spam' 1448 if name == 'ham': 1453 def ham(self): member in PydocWithMetaClasses.test_DynamicClassAttribute.DA
|
H A D | test_builtin.py | 994 id({'spam': 1, 'eggs': 2, 'ham': 3}) 2355 def ham(self): member in TestType.test_new_type.B 2356 return 'ham%d' % self 2364 self.assertNotIn('ham', C.__dict__) 2369 self.assertEqual(x.ham(), 'ham42')
|
/third_party/ffmpeg/libavcodec/ |
H A D | iff.c | 60 unsigned ham; ///< 0 if non-HAM or number of hold bits (6 for bpp > 6, 4 otherwise) member 255 if (s->ham) { in extract_header() 281 s->ham = bytestream_get_byte(&buf); in extract_header() 288 if (s->ham) { in extract_header() 290 av_log(avctx, AV_LOG_ERROR, "Invalid number of hold bits for HAM: %u\n", s->ham); in extract_header() 292 } else if (s->ham != (s->bpp > 6 ? 6 : 4)) { in extract_header() 293 av_log(avctx, AV_LOG_ERROR, "Invalid number of hold bits for HAM: %u, BPP: %u\n", s->ham, s->bpp); in extract_header() 299 if (s->bpp >= 8 && !s->ham) { in extract_header() 331 if (s->ham) { in extract_header() 332 int i, count = FFMIN(palette_size / 3, 1 << s->ham); in extract_header() [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_api.py | 361 subname = 'ham' 364 ham = self.init.import_module(fullname) 365 reloaded = self.init.reload(ham) 366 self.assertIs(reloaded, ham)
|
H A D | test_spec.py | 61 module.ham = self.HAM 153 other = type(sys.implementation)(name='ham', 312 self.assertEqual(loaded.ham, -1) 376 loaded.__name__ = 'ham' 399 self.assertEqual(loaded.ham, -1)
|
/third_party/ffmpeg/libavformat/ |
H A D | iff.c | 118 unsigned ham; ///< 0 if non-HAM or number of hold bits (6 for bpp > 6, 4 otherwise) member 779 iff->ham = iff->bpp > 6 ? 6 : 4; in iff_read_header() 796 bytestream_put_byte(&buf, iff->ham); in iff_read_header()
|