Home
last modified time | relevance | path

Searched refs:PyMem_Calloc (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Include/
Dpymem.h53 PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize);
/third_party/python/PC/
D_testconsole.c58 rec = (INPUT_RECORD*)PyMem_Calloc(size, sizeof(INPUT_RECORD)); in _testconsole_write_input_impl()
Dpython3dll.c354 EXPORT_FUNC(PyMem_Calloc)
/third_party/python/Modules/
D_lzmamodule.c261 options = (lzma_options_lzma *)PyMem_Calloc(1, sizeof *options); in INT_TYPE_CONVERTER_FUNC()
307 options = (lzma_options_delta *)PyMem_Calloc(1, sizeof *options); in parse_filter_spec_delta()
331 options = (lzma_options_bcj *)PyMem_Calloc(1, sizeof *options); in parse_filter_spec_bcj()
D_zoneinfo.c981 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long)); in load_data()
1015 PyMem_Calloc(self->num_transitions, sizeof(_ttinfo *)); in load_data()
1788 CalendarRule *rv = PyMem_Calloc(1, sizeof(CalendarRule)); in parse_transition_rule()
1830 DayRule *rv = PyMem_Calloc(1, sizeof(DayRule)); in parse_transition_rule()
Dbinascii.c1315 odata = (unsigned char *) PyMem_Calloc(1, datalen); in binascii_a2b_qp_impl()
1500 odata = (unsigned char *) PyMem_Calloc(1, odatalen); in binascii_b2a_qp_impl()
Dfaulthandler.c917 user_signals = PyMem_Calloc(NSIG, sizeof(user_signal_t)); in faulthandler_register_py()
Dpyexpat.c1936 struct PyExpat_CAPI *capi = PyMem_Calloc(1, sizeof(struct PyExpat_CAPI)); in pyexpat_exec()
D_cursesmodule.c4758 void **PyCurses_API = PyMem_Calloc(PyCurses_API_pointers, sizeof(void *)); in PyInit__curses()
D_testcapimodule.c3937 ptr = PyMem_Calloc(0, 0); in test_pymem_alloc0()
4094 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; in test_setallocators()
/third_party/python/Doc/c-api/
Dmemory.rst223 .. c:function:: void* PyMem_Calloc(size_t nelem, size_t elsize)
230 non-``NULL`` pointer if possible, as if ``PyMem_Calloc(1, 1)`` had been called
246 :c:func:`PyMem_Malloc`, :c:func:`PyMem_Realloc` or :c:func:`PyMem_Calloc`.
256 :c:func:`PyMem_Calloc`. Otherwise, or if ``PyMem_Free(p)`` has been called
447 * :c:func:`PyMem_Calloc`
/third_party/python/Objects/
Dcodeobject.c292 co->co_opcache_map = (unsigned char *)PyMem_Calloc(co_size, 1); in _PyCode_InitOpcache()
315 co->co_opcache = (_PyOpcache *)PyMem_Calloc(opts, sizeof(_PyOpcache)); in _PyCode_InitOpcache()
Dobmalloc.c609 PyMem_Calloc(size_t nelem, size_t elsize) in PyMem_Calloc() function
Dlistobject.c168 op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *)); in PyList_New()
/third_party/python/Modules/_ctypes/
Dcallproc.c165 void *space = PyMem_Calloc(2, sizeof(int)); in _ctypes_get_errobj()
1832 void *ptr = PyMem_Calloc(1, size); in resize()
/third_party/python/Parser/
Dstring_parser.c367 str = PyMem_Calloc(len + 3, sizeof(char)); in fstring_compile_expr()
Dpegen.c730 p->tokens[i] = PyMem_Calloc(1, sizeof(Token)); in _resize_tokens_array()
1243 p->tokens[0] = PyMem_Calloc(1, sizeof(Token)); in _PyPegen_Parser_New()
/third_party/python/Doc/data/
Dstable_abi.dat371 function,PyMem_Calloc,3.7,
/third_party/python/Misc/
Dstable_abi.txt1878 function PyMem_Calloc
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst1772 :c:func:`PyMem_Calloc` is now available in the limited C API
D3.5.0a1.rst5170 Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(),
/third_party/python/Doc/whatsnew/
D3.5.rst2178 * :c:func:`PyMem_Calloc`,