Home
last modified time | relevance | path

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

123

/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/python/cpython3/Modules/
Dzlibmodule.c123 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in newcompobject()
237 PyErr_SetString(PyExc_MemoryError, in zlib_compress_impl()
367 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
398 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
506 PyErr_SetString(PyExc_MemoryError, in zlib_compressobj_impl()
610 PyErr_SetString(PyExc_MemoryError, in zlib_decompressobj_impl()
976 PyErr_SetString(PyExc_MemoryError, in zlib_Compress_copy_impl()
1057 PyErr_SetString(PyExc_MemoryError, in zlib_Decompress_copy_impl()
D_bz2module.c309 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Compressor___init___impl()
485 PyErr_SetNone(PyExc_MemoryError); in decompress()
547 PyErr_SetNone(PyExc_MemoryError); in decompress()
620 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Decompressor___init___impl()
Daudioop.c1039 PyErr_SetString(PyExc_MemoryError, in audioop_tostereo_impl()
1272 PyErr_SetString(PyExc_MemoryError, in audioop_lin2lin_impl()
1369 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv_impl()
1437 PyErr_SetString(PyExc_MemoryError, in audioop_ratecv_impl()
1557 PyErr_SetString(PyExc_MemoryError, in audioop_ulaw2lin_impl()
1631 PyErr_SetString(PyExc_MemoryError, in audioop_alaw2lin_impl()
1826 PyErr_SetString(PyExc_MemoryError, in audioop_adpcm2lin_impl()
D_lzmamodule.c739 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in Compressor_init()
953 PyErr_SetNone(PyExc_MemoryError); in decompress()
1027 PyErr_SetNone(PyExc_MemoryError); in decompress()
1163 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _lzma_LZMADecompressor___init___impl()
D_queuemodule.c69 PyErr_SetString(PyExc_MemoryError, "can't allocate lock"); in simplequeue_new_impl()
D_posixsubprocess.c774 PyErr_SetString(PyExc_MemoryError, in subprocess_fork_exec()
/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/Modules/_ssl/
Ddebughelpers.c143 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _PySSL_keylog_callback()
/external/python/cpython2/PC/os2vacpp/
Dpython.def28 PyExc_MemoryError
/external/python/cpython3/Parser/
Dmyreadline.c376 PyErr_SetString(PyExc_MemoryError, "can't allocate lock"); in PyOS_Readline()
/external/python/cpython3/Include/
Dpyerrors.h95 PyAPI_DATA(PyObject *) PyExc_MemoryError;
/external/python/cpython2/Include/
Dpyerrors.h138 PyAPI_DATA(PyObject *) PyExc_MemoryError;
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc224 } else if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in DoCallPyFunc()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc107 return PyErr_Format(PyExc_MemoryError, in GetIter()
/external/python/cpython3/Python/
Derrors.c379 if (PyErr_GivenExceptionMatches(*exc, PyExc_MemoryError)) { in _PyErr_NormalizeException()
645 if (Py_IS_TYPE(PyExc_MemoryError, NULL)) { in _PyErr_NoMemory()
651 _PyErr_SetNone(tstate, PyExc_MemoryError); in _PyErr_NoMemory()
/external/python/pybind11/include/pybind11/detail/
Dinternals.h231 … } catch (const std::bad_alloc &e) { PyErr_SetString(PyExc_MemoryError, e.what()); return; in translate_exception()
/external/python/cpython3/Objects/
Dobject.c251 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Print()
396 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Repr()
449 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Str()
Dexceptions.c2287 if (type != (PyTypeObject *) PyExc_MemoryError) { in MemoryError_new()
2312 if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) { in MemoryError_dealloc()
2335 errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError, in preallocate_memerrors()
2370 PyObject *PyExc_MemoryError = (PyObject *) &_PyExc_MemoryError; variable

123