Searched refs:PyMem_Calloc (Results 1 – 22 of 22) sorted by relevance
/third_party/python/Include/ |
D | pymem.h | 53 PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize);
|
/third_party/python/PC/ |
D | _testconsole.c | 58 rec = (INPUT_RECORD*)PyMem_Calloc(size, sizeof(INPUT_RECORD)); in _testconsole_write_input_impl()
|
D | python3dll.c | 354 EXPORT_FUNC(PyMem_Calloc)
|
/third_party/python/Modules/ |
D | _lzmamodule.c | 261 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.c | 981 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()
|
D | binascii.c | 1315 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()
|
D | faulthandler.c | 917 user_signals = PyMem_Calloc(NSIG, sizeof(user_signal_t)); in faulthandler_register_py()
|
D | pyexpat.c | 1936 struct PyExpat_CAPI *capi = PyMem_Calloc(1, sizeof(struct PyExpat_CAPI)); in pyexpat_exec()
|
D | _cursesmodule.c | 4758 void **PyCurses_API = PyMem_Calloc(PyCurses_API_pointers, sizeof(void *)); in PyInit__curses()
|
D | _testcapimodule.c | 3937 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/ |
D | memory.rst | 223 .. 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/ |
D | codeobject.c | 292 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()
|
D | obmalloc.c | 609 PyMem_Calloc(size_t nelem, size_t elsize) in PyMem_Calloc() function
|
D | listobject.c | 168 op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *)); in PyList_New()
|
/third_party/python/Modules/_ctypes/ |
D | callproc.c | 165 void *space = PyMem_Calloc(2, sizeof(int)); in _ctypes_get_errobj() 1832 void *ptr = PyMem_Calloc(1, size); in resize()
|
/third_party/python/Parser/ |
D | string_parser.c | 367 str = PyMem_Calloc(len + 3, sizeof(char)); in fstring_compile_expr()
|
D | pegen.c | 730 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/ |
D | stable_abi.dat | 371 function,PyMem_Calloc,3.7,
|
/third_party/python/Misc/ |
D | stable_abi.txt | 1878 function PyMem_Calloc
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0b1.rst | 1772 :c:func:`PyMem_Calloc` is now available in the limited C API
|
D | 3.5.0a1.rst | 5170 Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(),
|
/third_party/python/Doc/whatsnew/ |
D | 3.5.rst | 2178 * :c:func:`PyMem_Calloc`,
|