Home
last modified time | relevance | path

Searched refs:newarrayobject (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Darraymodule.c416 newarrayobject(PyTypeObject *type, Py_ssize_t size, struct arraydescr *descr) in newarrayobject() function
620 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice()
661 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_concat()
690 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_repeat()
1711 return newarrayobject(&Arraytype, 0, self->ob_descr); in array_subscr()
1714 PyObject *result = newarrayobject(&Arraytype, in array_subscr()
1724 result = newarrayobject(&Arraytype, slicelength, self->ob_descr); in array_subscr()
2007 a = newarrayobject(type, len, descr); in array_new()
/external/python/cpython3/Modules/
Darraymodule.c581 newarrayobject(PyTypeObject *type, Py_ssize_t size, const struct arraydescr *descr) in newarrayobject() function
812 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice()
872 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_concat()
899 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_repeat()
2324 return newarrayobject(&Arraytype, 0, self->ob_descr); in array_subscr()
2327 PyObject *result = newarrayobject(&Arraytype, in array_subscr()
2337 result = newarrayobject(&Arraytype, slicelength, self->ob_descr); in array_subscr()
2653 a = newarrayobject(type, len, descr); in array_new()