Searched refs:MemoryError (Results 1 - 23 of 23) sorted by relevance
/external/python/cpython2/Lib/test/ |
H A D | test_list.py | 33 self.assertRaises(MemoryError, list, xrange(sys.maxint // 2)) 59 self.assertRaises((MemoryError, OverflowError), mul, lst, n) 60 self.assertRaises((MemoryError, OverflowError), imul, lst, n)
|
H A D | test_linecache.py | 131 raise MemoryError
|
H A D | test_strop.py | 147 self.assertRaises(MemoryError, strop.replace, a, "A", a)
|
H A D | test_strtod.py | 98 except MemoryError:
|
H A D | seq_tests.py | 326 self.assertRaises(MemoryError, x.__mul__, 2**16) 328 self.assertRaises(MemoryError, x.__imul__, 2**16)
|
H A D | test_format.py | 298 except MemoryError:
|
H A D | test_bigmem.py | 724 except MemoryError: 742 except MemoryError: 1067 except MemoryError:
|
H A D | test_exceptions.py | 79 self.raise_catch(MemoryError, "MemoryError")
|
H A D | test_itertools.py | 142 with self.assertRaises((OverflowError, MemoryError)): 218 with self.assertRaises((OverflowError, MemoryError)): 289 with self.assertRaises((OverflowError, MemoryError)): 735 with self.assertRaises((OverflowError, MemoryError)):
|
H A D | test_array.py | 1116 except MemoryError: 1119 self.fail("Array of size > maxsize created - MemoryError expected") 1123 except MemoryError: 1126 self.fail("Array of size > maxsize created - MemoryError expected")
|
H A D | test_struct.py | 556 self.assertRaises(MemoryError, struct.pack, "357913941c", "a")
|
H A D | test_unicode.py | 1650 # when a string allocation fails with a MemoryError. 1657 self.assertRaises(MemoryError, alloc) 1658 self.assertRaises(MemoryError, alloc)
|
H A D | test_io.py | 1055 self.assertRaises((OverflowError, MemoryError, ValueError), 1368 self.assertRaises((OverflowError, MemoryError, ValueError), 1834 self.assertRaises((OverflowError, MemoryError, ValueError),
|
H A D | test_bytes.py | 224 self.assertRaises((OverflowError, MemoryError),
|
/external/python/cpython2/Mac/Demo/example0/ |
H A D | checktext.py | 14 except MemoryError:
|
/external/python/cpython2/Lib/ctypes/test/ |
H A D | test_memfunctions.py | 13 self.assertRaises((OverflowError, MemoryError, SystemError), 15 self.assertRaises((OverflowError, MemoryError, SystemError),
|
H A D | test_structures.py | 351 except MemoryError:
|
/external/autotest/client/cros/ |
H A D | sys_power.py | 84 class MemoryError(SuspendFailure): class in inherits:SuspendFailure 247 raise MemoryError('Memory corruption found after resume')
|
/external/python/cpython2/Lib/ |
H A D | linecache.py | 42 except MemoryError:
|
/external/v8/tools/foozzie/ |
H A D | v8_foozzie.py | 310 except MemoryError:
|
/external/python/cpython2/Misc/Vim/ |
H A D | python.vim | 89 syn keyword pythonException KeyboardInterrupt LookupError MemoryError
|
/external/python/cpython2/Objects/ |
H A D | exceptions.c | 1943 * MemoryError extends StandardError 1945 SimpleExtendsException(PyExc_StandardError, MemoryError, "Out of memory."); 2027 /* Pre-computed MemoryError instance. Best to create this as early as 2028 * possible and not wait until a MemoryError is actually raised! 2102 PRE_INIT(MemoryError) 2171 POST_INIT(MemoryError) 2186 Py_FatalError("Cannot pre-allocate MemoryError instance");
|
/external/python/cpython2/Lib/bsddb/test/ |
H A D | test_dbenv.py | 328 self.assertRaises(MemoryError, tx)
|
Completed in 373 milliseconds