Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/internal/
Dpycore_blocks_output_buffer.h166 PyErr_SetString(PyExc_MemoryError, unable_allocate_msg); in _BlocksOutputBuffer_InitWithSize()
228 PyErr_SetString(PyExc_MemoryError, unable_allocate_msg); in _BlocksOutputBuffer_Grow()
235 PyErr_SetString(PyExc_MemoryError, unable_allocate_msg); in _BlocksOutputBuffer_Grow()
285 PyErr_SetString(PyExc_MemoryError, unable_allocate_msg); in _BlocksOutputBuffer_Finish()
/external/python/cpython3/Modules/
Dzlibmodule.c283 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in newcompobject()
355 PyErr_SetString(PyExc_MemoryError, in zlib_compress_impl()
465 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
498 PyErr_SetString(PyExc_MemoryError, in zlib_decompress_impl()
603 PyErr_SetString(PyExc_MemoryError, in zlib_compressobj_impl()
696 PyErr_SetString(PyExc_MemoryError, in zlib_decompressobj_impl()
1087 PyErr_SetString(PyExc_MemoryError, in zlib_Compress_copy_impl()
1171 PyErr_SetString(PyExc_MemoryError, in zlib_Decompress_copy_impl()
1487 PyErr_SetString(PyExc_MemoryError, in decompress_buf()
1572 PyErr_SetNone(PyExc_MemoryError); in decompress()
[all …]
D_bz2module.c360 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Compressor_impl()
515 PyErr_SetNone(PyExc_MemoryError); in decompress()
577 PyErr_SetNone(PyExc_MemoryError); in decompress()
659 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _bz2_BZ2Decompressor_impl()
D_lzmamodule.c819 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in Compressor_new()
1025 PyErr_SetNone(PyExc_MemoryError); in decompress()
1100 PyErr_SetNone(PyExc_MemoryError); in decompress()
1250 PyErr_SetString(PyExc_MemoryError, "Unable to allocate lock"); in _lzma_LZMADecompressor_impl()
D_posixsubprocess.c1138 PyErr_SetString(PyExc_MemoryError, in subprocess_fork_exec_impl()
1198 PyErr_SetString(PyExc_MemoryError, "failed to malloc c_fds_to_keep"); in subprocess_fork_exec_impl()
Dgetpath.c378 PyErr_SetString(PyExc_MemoryError, in getpath_readlines()
D_lsprof.c421 PyErr_SetString(PyExc_MemoryError, in pending_exception()
/external/selinux/libselinux/src/
Daudit2why.c76 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in check_booleans()
153 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in check_booleans()
231 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in __policy_init()
269 PyErr_SetString( PyExc_MemoryError, "Out of memory\n"); in __policy_init()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/
Dprotobuf.h53 #define PYUPB_RETURN_OOM return PyErr_SetNone(PyExc_MemoryError), NULL
Ddescriptor_pool.c216 PyErr_SetNone(PyExc_MemoryError); in PyUpb_DescriptorPool_DoAddSerializedFile()
/external/python/cpython3/Python/
Dframe.c84 assert(PyErr_ExceptionMatches(PyExc_MemoryError)); in take_ownership()
Dpythonrun.c136 if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in _PyRun_InteractiveLoopObject()
841 if (PyErr_GivenExceptionMatches(value, PyExc_MemoryError)) { in print_exception_message()
Dcrossinterp.c670 if (PyErr_GivenExceptionMatches(exc, PyExc_MemoryError)) { in _PyXI_excinfo_InitFromException()
1035 if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in _PyXI_InitError()
/external/python/cpython3/Modules/_ssl/
Dcert.c138 PyErr_SetString(PyExc_MemoryError, "failed to allocate BIO"); in _x509name_print()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc224 } else if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in DoCallPyFunc()
/external/python/cpython3/Include/
Dpyerrors.h100 PyAPI_DATA(PyObject *) PyExc_MemoryError;
/external/cronet/tot/third_party/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc105 return PyErr_Format(PyExc_MemoryError, in GetIter()
/external/python/cpython3/Parser/
Dpegen_errors.c452 PyErr_SetString(PyExc_MemoryError, in _Pypegen_stack_overflow()
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc105 return PyErr_Format(PyExc_MemoryError, in GetIter()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc105 return PyErr_Format(PyExc_MemoryError, in GetIter()
/external/python/cpython3/Objects/
Dexceptions.c3327 PyObject *result = BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds); in get_memory_error()
3353 if (type != (PyTypeObject *) PyExc_MemoryError) { in MemoryError_new()
3362 if (Py_IS_TYPE(PyExc_MemoryError, NULL)) { in _PyErr_NoMemory()
3384 if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) { in MemoryError_dealloc()
3409 errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError, in preallocate_memerrors()
3444 PyObject *PyExc_MemoryError = (PyObject *) &_PyExc_MemoryError; variable
Dobject.c585 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Print()
711 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Repr()
759 PyErr_SetString(PyExc_MemoryError, "stack overflow"); in PyObject_Str()
/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c431 PyErr_ExceptionMatches(PyExc_MemoryError) || in fuzz_ast_literal_eval()
/external/pytorch/torch/csrc/dynamo/
Dcpython_defs.c317 CHECK(PyErr_ExceptionMatches(PyExc_MemoryError)); in THP_take_ownership()
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc462 PyErr_SetString(PyExc_MemoryError, "Failed to create a list."); in PYBIND11_MODULE()
512 PyErr_SetString(PyExc_MemoryError, "Failed to create a list."); in PYBIND11_MODULE()

12