Home
last modified time | relevance | path

Searched refs:PyMem_Calloc (Results 1 - 13 of 13) sorted by relevance

/third_party/python/Include/
H A Dpymem.h53 PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize);
/third_party/python/PC/
H A D_testconsole.c62 rec = (INPUT_RECORD*)PyMem_Calloc(size, sizeof(INPUT_RECORD)); in _testconsole_write_input_impl()
H A Dpython3dll.c360 EXPORT_FUNC(PyMem_Calloc)
/third_party/python/Modules/
H A D_lzmamodule.c261 options = (lzma_options_lzma *)PyMem_Calloc(1, sizeof *options); in parse_filter_spec_lzma()
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()
H A Dbinascii.c976 odata = (unsigned char *) PyMem_Calloc(1, datalen); in binascii_a2b_qp_impl()
1161 odata = (unsigned char *) PyMem_Calloc(1, odatalen); in binascii_b2a_qp_impl()
H A D_zoneinfo.c985 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long)); in load_data()
1019 PyMem_Calloc(self->num_transitions, sizeof(_ttinfo *)); in load_data()
1792 CalendarRule *rv = PyMem_Calloc(1, sizeof(CalendarRule)); in parse_transition_rule()
1834 DayRule *rv = PyMem_Calloc(1, sizeof(DayRule)); in parse_transition_rule()
H A Dfaulthandler.c936 user_signals = PyMem_Calloc(Py_NSIG, sizeof(user_signal_t)); in faulthandler_register_py()
H A D_cursesmodule.c4762 void **PyCurses_API = PyMem_Calloc(PyCurses_API_pointers, sizeof(void *)); in PyInit__curses()
H A D_testcapimodule.c4112 ptr = PyMem_Calloc(0, 0); in test_pymem_alloc0()
4114 PyErr_SetString(PyExc_RuntimeError, "PyMem_Calloc(0, 0) returns NULL"); in test_pymem_alloc0()
4269 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; in test_setallocators()
/third_party/python/Parser/
H A Dpegen.c197 p->tokens[i] = PyMem_Calloc(1, sizeof(Token)); in _resize_tokens_array()
769 p->tokens[0] = PyMem_Calloc(1, sizeof(Token)); in _PyPegen_Parser_New()
/third_party/python/Modules/_ctypes/
H A Dcallproc.c168 void *space = PyMem_Calloc(2, sizeof(int)); in _ctypes_get_errobj()
1840 void *ptr = PyMem_Calloc(1, size); in resize()
/third_party/python/Objects/
H A Dobmalloc.c627 PyMem_Calloc(size_t nelem, size_t elsize) in PyMem_Calloc() function
H A Dlistobject.c188 op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *)); in PyList_New()

Completed in 37 milliseconds