Home
last modified time | relevance | path

Searched refs:PyExc_MemoryError (Results 1 – 25 of 46) sorted by relevance

12

/external/python/cpython3/Modules/
Dzlibmodule.c111 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in newcompobject()
225 PyErr_SetString(PyExc_MemoryError, in zlib_compress_impl()
353 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
384 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
492 PyErr_SetString(PyExc_MemoryError, in zlib_compressobj_impl()
596 PyErr_SetString(PyExc_MemoryError, in zlib_decompressobj_impl()
960 PyErr_SetString(PyExc_MemoryError, in zlib_Compress_copy_impl()
1015 PyErr_SetString(PyExc_MemoryError, in zlib_Decompress_copy_impl()
D_bz2module.c319 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Compressor___init___impl()
496 PyErr_SetNone(PyExc_MemoryError); in decompress()
558 PyErr_SetNone(PyExc_MemoryError); in decompress()
639 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Decompressor___init___impl()
Daudioop.c1018 PyErr_SetString(PyExc_MemoryError, in audioop_tostereo_impl()
1250 PyErr_SetString(PyExc_MemoryError, in audioop_lin2lin_impl()
1344 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv_impl()
1412 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv_impl()
1532 PyErr_SetString(PyExc_MemoryError, in audioop_ulaw2lin_impl()
1606 PyErr_SetString(PyExc_MemoryError, in audioop_alaw2lin_impl()
1801 PyErr_SetString(PyExc_MemoryError, in audioop_adpcm2lin_impl()
D_lzmamodule.c751 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in Compressor_init()
962 PyErr_SetNone(PyExc_MemoryError); in decompress()
1024 PyErr_SetNone(PyExc_MemoryError); in decompress()
1168 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _lzma_LZMADecompressor___init___impl()
D_queuemodule.c70 PyErr_SetString(PyExc_MemoryError, "can't allocate lock"); in simplequeue_new_impl()
D_lsprof.c490 PyErr_SetString(PyExc_MemoryError, in pending_exception()
/external/python/cpython2/Modules/
Dzlibmodule.c226 PyErr_SetString(PyExc_MemoryError, in PyZlib_compress()
314 PyErr_SetString(PyExc_MemoryError, in PyZlib_decompress()
345 PyErr_SetString(PyExc_MemoryError, in PyZlib_decompress()
405 PyErr_SetString(PyExc_MemoryError, in PyZlib_compressobj()
445 PyErr_SetString(PyExc_MemoryError, in PyZlib_decompressobj()
780 PyErr_SetString(PyExc_MemoryError, in PyZlib_copy()
829 PyErr_SetString(PyExc_MemoryError, in PyZlib_uncopy()
Daudioop.c878 PyErr_SetString(PyExc_MemoryError, in audioop_tostereo()
1061 PyErr_SetString(PyExc_MemoryError, in audioop_lin2lin()
1146 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv()
1212 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv()
1337 PyErr_SetString(PyExc_MemoryError, in audioop_ulaw2lin()
1406 PyErr_SetString(PyExc_MemoryError, in audioop_alaw2lin()
1578 PyErr_SetString(PyExc_MemoryError, in audioop_adpcm2lin()
DcStringIO.c416 PyErr_SetString(PyExc_MemoryError,"out of memory"); in O_cwrite()
594 PyErr_SetString(PyExc_MemoryError,"out of memory"); in newOobject()
Dbz2module.c1453 PyErr_SetString(PyExc_MemoryError, "unable to allocate lock"); in BZ2File_init()
1808 PyErr_SetString(PyExc_MemoryError, "unable to allocate lock"); in BZ2Comp_init()
2036 PyErr_SetString(PyExc_MemoryError, "unable to allocate lock"); in BZ2Decomp_init()
D_lsprof.c493 PyErr_SetString(PyExc_MemoryError, in pending_exception()
/external/selinux/libselinux/src/
Daudit2why.c76 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in check_booleans()
234 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in __policy_init()
273 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in __policy_init()
/external/python/cpython2/Mac/Modules/
DautoGIL.c78 PyErr_SetString(PyExc_MemoryError, in autoGIL_installAutoGIL()
/external/python/cpython2/Python/
Derrors.c296 if (PyErr_ExceptionMatches(PyExc_MemoryError)) in PyErr_NoMemory()
302 PyErr_SetObject(PyExc_MemoryError, PyExc_MemoryErrorInst); in PyErr_NoMemory()
307 PyErr_SetNone(PyExc_MemoryError); in PyErr_NoMemory()
/external/python/cpython3/Python/
Derrors.c321 if (PyErr_GivenExceptionMatches(*exc, PyExc_MemoryError)) { in PyErr_NormalizeException()
470 if (Py_TYPE(PyExc_MemoryError) == NULL) { in PyErr_NoMemory()
476 PyErr_SetNone(PyExc_MemoryError); in PyErr_NoMemory()
/external/python/cpython3/Parser/
Dmyreadline.c341 PyErr_SetString(PyExc_MemoryError, "can't allocate lock"); in PyOS_Readline()
/external/python/cpython2/PC/os2vacpp/
Dpython.def28 PyExc_MemoryError
/external/python/cpython2/Include/
Dpyerrors.h138 PyAPI_DATA(PyObject *) PyExc_MemoryError;
/external/python/cpython3/Objects/
Dobject.c346 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Print()
489 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Repr()
536 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Str()
/external/python/cpython3/Include/
Dpyerrors.h174 PyAPI_DATA(PyObject *) PyExc_MemoryError;
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.cc362 PyErr_SetString(PyExc_MemoryError, "Failed to allocate PyArray."); in GetTensor()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc231 } else if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in DoCallPyFunc()
/external/python/cpython2/Doc/c-api/
Dexceptions.rst174 This is a shorthand for ``PyErr_SetNone(PyExc_MemoryError)``; it returns *NULL*
542 single: PyExc_MemoryError
604 | :c:data:`PyExc_MemoryError` | :exc:`MemoryError` | |
/external/python/cpython3/PC/
Dpython3.def216 PyExc_MemoryError=python37.PyExc_MemoryError DATA
/external/python/cpython2/Objects/
Dbufferobject.c444 PyErr_SetString(PyExc_MemoryError, "result too large"); in buffer_repeat()

12