Searched refs:PyByteArray_Type (Results 1 - 11 of 11) sorted by relevance

/external/python/cpython2/Include/
H A Dbytearrayobject.h31 PyAPI_DATA(PyTypeObject) PyByteArray_Type;
35 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
36 #define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
/external/python/cpython3/Include/
H A Dbytearrayobject.h34 PyAPI_DATA(PyTypeObject) PyByteArray_Type;
38 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
39 #define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
/external/python/cpython3/Objects/
H A Dbytearrayobject.c11 class bytearray "PyByteArrayObject *" "&PyByteArray_Type"
101 return PyObject_CallFunctionObjArgs((PyObject *)&PyByteArray_Type,
122 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
1990 PyObject *result = _PyBytes_FromHex(string, type == &PyByteArray_Type);
1991 if (type != &PyByteArray_Type && result != NULL) {
2218 PyTypeObject PyByteArray_Type = { variable
H A Dobject.c1574 if (PyType_Ready(&PyByteArray_Type) < 0)
/external/python/cpython3/Modules/_sqlite/
H A Dmodule.c166 || type == &PyUnicode_Type || type == &PyByteArray_Type) {
H A Dcursor.c320 } else if (self->connection->text_factory == (PyObject*)&PyByteArray_Type) {
/external/python/cpython2/Objects/
H A Dbytearrayobject.c163 return PyObject_CallFunctionObjArgs((PyObject *)&PyByteArray_Type,
179 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
2906 PyTypeObject PyByteArray_Type = { variable
H A Dobject.c2089 if (PyType_Ready(&PyByteArray_Type) < 0)
/external/python/cpython2/Modules/
H A D_testcapimodule.c1514 &arg, &encoding, &PyByteArray_Type, &buffer))
1538 &arg, &encoding, &PyByteArray_Type, &buffer))
/external/python/cpython3/Python/
H A Dbltinmodule.c2717 SETBUILTIN("bytearray", &PyByteArray_Type);
/external/python/cpython2/Python/
H A Dbltinmodule.c2713 SETBUILTIN("bytearray", &PyByteArray_Type);

Completed in 228 milliseconds