Searched refs:PyObject_MALLOC (Results 1 – 25 of 40) sorted by relevance
12
118 #define PyObject_MALLOC _PyObject_DebugMalloc macro126 #define PyObject_MALLOC PyObject_Malloc macro132 #define PyObject_MALLOC PyMem_MALLOC macro194 (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) )198 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\
69 accel = (int *) PyObject_MALLOC(nl * sizeof(int)); in fixstate()112 s->s_accel = (int *) PyObject_MALLOC((nl-k) * sizeof(int)); in fixstate()
256 str = (char *) PyObject_MALLOC(len + 1); in parsetok()427 err_ret->text = (char *) PyObject_MALLOC(len + 1); in parsetok()440 r->n_str = PyObject_MALLOC(strlen(tok->encoding)+1); in parsetok()
10 node *n = (node *) PyObject_MALLOC(1 * sizeof(node)); in PyNode_New()
71 accel = (int *) PyObject_MALLOC(nl * sizeof(int)); in fixstate()114 s->s_accel = (int *) PyObject_MALLOC((nl-k) * sizeof(int)); in fixstate()
180 str = (char *) PyObject_MALLOC(len + 1); in parsetok()237 text = (char *) PyObject_MALLOC(len + 1); in parsetok()252 r->n_str = PyObject_MALLOC(strlen(tok->encoding)+1); in parsetok()
11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); in newbitset()
62 sym = (int *)PyObject_MALLOC(sizeof(int)); in calcfirstset()
84 nf = (nfa *)PyObject_MALLOC(sizeof(nfa)); in newnfa()109 gr = (nfagrammar *)PyObject_MALLOC(sizeof(nfagrammar)); in newnfagrammar()412 xx_state = (ss_state *)PyObject_MALLOC(sizeof(ss_state)); in makedfa()
23 g = (grammar *)PyObject_MALLOC(sizeof(grammar)); in newgrammar()
106 #define PyObject_MALLOC PyObject_Malloc macro
926 strn = (char *)PyObject_MALLOC(len + 1); in build_node_children()1042 res->n_str = (char *)PyObject_MALLOC(len + 1); in build_node_tree()
215 o = (PyObject *)PyObject_MALLOC(sizeof(*b) + size); in PyBuffer_New()
244 op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()255 op = (PyVarObject *) PyObject_MALLOC(size); in _PyObject_NewVar()
88 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromStringAndSize()143 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromString()1067 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in string_concat()1109 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + nbytes); in string_repeat()
239 op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
163 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); in PyBytes_FromString()1507 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + nbytes); in bytes_repeat()
629 tp_doc = (char *) PyObject_MALLOC(size); in make_new_python_type()
165 PyObject *op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()178 op = (PyVarObject *) PyObject_MALLOC(size); in _PyObject_NewVar()
235 op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
150 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); in PyBytes_FromString()1435 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + nbytes); in bytes_repeat()
210 * :c:func:`PyObject_MALLOC`: alias to :c:func:`PyObject_Malloc`
1499 g = (PyGC_Head *)PyObject_MALLOC( in _PyObject_GC_Malloc()
463 op = (PyHKEYObject *) PyObject_MALLOC(sizeof(PyHKEYObject)); in PyHKEY_FromHKEY()