Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Darraymodule.c49 static PyTypeObject Arraytype; variable
108 #define array_Check(op) PyObject_TypeCheck(op, &Arraytype)
109 #define array_CheckExact(op) Py_IS_TYPE(op, &Arraytype)
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()
1952 if (!PyType_IsSubtype(arraytype, &Arraytype)) { in array__array_reconstructor_impl()
1955 arraytype->tp_name, Arraytype.tp_name); in array__array_reconstructor_impl()
2324 return newarrayobject(&Arraytype, 0, self->ob_descr); in array_subscr()
2327 PyObject *result = newarrayobject(&Arraytype, in array_subscr()
[all …]
/external/python/cpython2/Modules/
Darraymodule.c39 static PyTypeObject Arraytype; variable
41 #define array_Check(op) PyObject_TypeCheck(op, &Arraytype)
42 #define array_CheckExact(op) (Py_TYPE(op) == &Arraytype)
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()
1963 if (type == &Arraytype && !_PyArg_NoKeywords("array.array()", kwds)) in array_new()
[all …]