/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
bkfile.py | 24 self.readinto = self.__file.readinto
|
/external/python/cpython2/Tools/freeze/ |
bkfile.py | 24 self.readinto = self.__file.readinto
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_file.py | 46 # verify readinto
51 n = self.f.readinto(a)
55 # verify readinto refuses text files
59 if hasattr(self.f, "readinto"):
60 self.assertRaises(TypeError, self.f.readinto, a)
94 if hasattr(f, "readinto"):
95 self.assertRaises((IOError, TypeError), f.readinto, "")
247 ("readinto", (array("b", b" "*100),))]
286 f.readinto(buf)
288 self.fail("readinto() after next() with supposedly empty " [all...] |
test_memoryio.py | 419 self.assertEqual(memio.readinto(b), 5)
421 self.assertEqual(memio.readinto(b), 5)
423 self.assertEqual(memio.readinto(b), 0)
427 self.assertEqual(memio.readinto(b), 10)
431 self.assertEqual(memio.readinto(b), 0)
433 self.assertRaises(TypeError, memio.readinto, '')
437 memio.readinto(a)
440 self.assertRaises(ValueError, memio.readinto, b)
444 memio.readinto(b)
|
test_file2k.py | 55 # verify readinto
60 n = self.f.readinto(a)
101 self.assertRaises(TypeError, f.readinto, "")
106 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto',
164 self.assertRaises(IOError, self.f.readinto, bytearray(len(data)))
320 ("readinto", (array("c", " "*100),))]
365 f.readinto(buf)
367 self.fail("readinto() after next() with supposedly empty "
371 self.fail("readinto() after next() with empty buffer "
398 f.readinto(buf) [all...] |
test_fileio.py | 66 # verify readinto
71 n = self.f.readinto(a)
101 self.assertRaises(TypeError, f.readinto, "")
107 methods = ['fileno', 'isatty', 'read', 'readinto',
232 f.readinto(a)
|
/external/python/cpython2/Lib/test/ |
test_file.py | 46 # verify readinto 51 n = self.f.readinto(a) 55 # verify readinto refuses text files 59 if hasattr(self.f, "readinto"): 60 self.assertRaises(TypeError, self.f.readinto, a) 94 if hasattr(f, "readinto"): 95 self.assertRaises((IOError, TypeError), f.readinto, "") 237 ("readinto", (array("b", b" "*100),))] 276 f.readinto(buf) 278 self.fail("readinto() after next() with supposedly empty [all...] |
test_fileio.py | 67 # verify readinto 72 n = self.f.readinto(a) 122 self.assertRaises(TypeError, f.readinto, "") 142 self.assertRaises(ValueError, self.f.readinto) # XXX should be TypeError? 143 self.assertRaises(ValueError, self.f.readinto, bytearray(1)) 270 f.readinto(a)
|
test_memoryio.py | 421 self.assertEqual(memio.readinto(b), 5) 423 self.assertEqual(memio.readinto(b), 5) 425 self.assertEqual(memio.readinto(b), 0) 429 self.assertEqual(memio.readinto(b), 10) 433 self.assertEqual(memio.readinto(b), 0) 435 self.assertRaises(TypeError, memio.readinto, '') 439 memio.readinto(a) 442 self.assertRaises(ValueError, memio.readinto, b) 446 memio.readinto(b)
|
test_file2k.py | 59 # verify readinto 64 n = self.f.readinto(a) 119 self.assertRaises(TypeError, f.readinto, "") 124 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto', 182 self.assertRaises(IOError, self.f.readinto, bytearray(len(data))) 344 ("readinto", (array("c", " "*100),))] 389 f.readinto(buf) 391 self.fail("readinto() after next() with supposedly empty " 395 self.fail("readinto() after next() with empty buffer " 422 f.readinto(buf [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_file.py | 46 # verify readinto 51 n = self.f.readinto(a) 55 # verify readinto refuses text files 59 if hasattr(self.f, "readinto"): 60 self.assertRaises(TypeError, self.f.readinto, a) 94 if hasattr(f, "readinto"): 95 self.assertRaises((IOError, TypeError), f.readinto, "") 247 ("readinto", (array("b", b" "*100),))] 286 f.readinto(buf) 288 self.fail("readinto() after next() with supposedly empty [all...] |
test_memoryio.py | 419 self.assertEqual(memio.readinto(b), 5) 421 self.assertEqual(memio.readinto(b), 5) 423 self.assertEqual(memio.readinto(b), 0) 427 self.assertEqual(memio.readinto(b), 10) 431 self.assertEqual(memio.readinto(b), 0) 433 self.assertRaises(TypeError, memio.readinto, '') 437 memio.readinto(a) 440 self.assertRaises(ValueError, memio.readinto, b) 444 memio.readinto(b)
|
test_file2k.py | 58 # verify readinto 63 n = self.f.readinto(a) 111 self.assertRaises(TypeError, f.readinto, "") 116 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto', 174 self.assertRaises(IOError, self.f.readinto, bytearray(len(data))) 330 ("readinto", (array("c", " "*100),))] 375 f.readinto(buf) 377 self.fail("readinto() after next() with supposedly empty " 381 self.fail("readinto() after next() with empty buffer " 408 f.readinto(buf [all...] |
test_fileio.py | 68 # verify readinto 73 n = self.f.readinto(a) 123 self.assertRaises(TypeError, f.readinto, "") 129 methods = ['fileno', 'isatty', 'read', 'readinto', 262 f.readinto(a)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_file.py | 46 # verify readinto 51 n = self.f.readinto(a) 55 # verify readinto refuses text files 59 if hasattr(self.f, "readinto"): 60 self.assertRaises(TypeError, self.f.readinto, a) 94 if hasattr(f, "readinto"): 95 self.assertRaises((IOError, TypeError), f.readinto, "") 247 ("readinto", (array("b", b" "*100),))] 286 f.readinto(buf) 288 self.fail("readinto() after next() with supposedly empty [all...] |
test_memoryio.py | 419 self.assertEqual(memio.readinto(b), 5) 421 self.assertEqual(memio.readinto(b), 5) 423 self.assertEqual(memio.readinto(b), 0) 427 self.assertEqual(memio.readinto(b), 10) 431 self.assertEqual(memio.readinto(b), 0) 433 self.assertRaises(TypeError, memio.readinto, '') 437 memio.readinto(a) 440 self.assertRaises(ValueError, memio.readinto, b) 444 memio.readinto(b)
|
test_file2k.py | 58 # verify readinto 63 n = self.f.readinto(a) 111 self.assertRaises(TypeError, f.readinto, "") 116 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto', 174 self.assertRaises(IOError, self.f.readinto, bytearray(len(data))) 330 ("readinto", (array("c", " "*100),))] 375 f.readinto(buf) 377 self.fail("readinto() after next() with supposedly empty " 381 self.fail("readinto() after next() with empty buffer " 408 f.readinto(buf [all...] |
test_fileio.py | 68 # verify readinto 73 n = self.f.readinto(a) 123 self.assertRaises(TypeError, f.readinto, "") 129 methods = ['fileno', 'isatty', 'read', 'readinto', 262 f.readinto(a)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_file.py | 46 # verify readinto 51 n = self.f.readinto(a) 55 # verify readinto refuses text files 59 if hasattr(self.f, "readinto"): 60 self.assertRaises(TypeError, self.f.readinto, a) 94 if hasattr(f, "readinto"): 95 self.assertRaises((IOError, TypeError), f.readinto, "") 247 ("readinto", (array("b", b" "*100),))] 286 f.readinto(buf) 288 self.fail("readinto() after next() with supposedly empty [all...] |
test_memoryio.py | 419 self.assertEqual(memio.readinto(b), 5) 421 self.assertEqual(memio.readinto(b), 5) 423 self.assertEqual(memio.readinto(b), 0) 427 self.assertEqual(memio.readinto(b), 10) 431 self.assertEqual(memio.readinto(b), 0) 433 self.assertRaises(TypeError, memio.readinto, '') 437 memio.readinto(a) 440 self.assertRaises(ValueError, memio.readinto, b) 444 memio.readinto(b)
|
test_file2k.py | 58 # verify readinto 63 n = self.f.readinto(a) 111 self.assertRaises(TypeError, f.readinto, "") 116 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto', 174 self.assertRaises(IOError, self.f.readinto, bytearray(len(data))) 330 ("readinto", (array("c", " "*100),))] 375 f.readinto(buf) 377 self.fail("readinto() after next() with supposedly empty " 381 self.fail("readinto() after next() with empty buffer " 408 f.readinto(buf [all...] |
test_fileio.py | 68 # verify readinto 73 n = self.f.readinto(a) 123 self.assertRaises(TypeError, f.readinto, "") 129 methods = ['fileno', 'isatty', 'read', 'readinto', 262 f.readinto(a)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_file.py | 46 # verify readinto 51 n = self.f.readinto(a) 55 # verify readinto refuses text files 59 if hasattr(self.f, "readinto"): 60 self.assertRaises(TypeError, self.f.readinto, a) 94 if hasattr(f, "readinto"): 95 self.assertRaises((IOError, TypeError), f.readinto, "") 247 ("readinto", (array("b", b" "*100),))] 286 f.readinto(buf) 288 self.fail("readinto() after next() with supposedly empty [all...] |
test_memoryio.py | 419 self.assertEqual(memio.readinto(b), 5) 421 self.assertEqual(memio.readinto(b), 5) 423 self.assertEqual(memio.readinto(b), 0) 427 self.assertEqual(memio.readinto(b), 10) 431 self.assertEqual(memio.readinto(b), 0) 433 self.assertRaises(TypeError, memio.readinto, '') 437 memio.readinto(a) 440 self.assertRaises(ValueError, memio.readinto, b) 444 memio.readinto(b)
|
test_file2k.py | 58 # verify readinto 63 n = self.f.readinto(a) 111 self.assertRaises(TypeError, f.readinto, "") 116 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto', 174 self.assertRaises(IOError, self.f.readinto, bytearray(len(data))) 330 ("readinto", (array("c", " "*100),))] 375 f.readinto(buf) 377 self.fail("readinto() after next() with supposedly empty " 381 self.fail("readinto() after next() with empty buffer " 408 f.readinto(buf [all...] |