Home
last modified time | relevance | path

Searched refs:PyByteArray_Type (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Include/
Dbytearrayobject.h22 PyAPI_DATA(PyTypeObject) PyByteArray_Type;
26 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
27 #define PyByteArray_CheckExact(self) Py_IS_TYPE(self, &PyByteArray_Type)
/external/python/cpython2/Include/
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/cpython2/Doc/c-api/
Dbytearray.rst18 .. c:var:: PyTypeObject PyByteArray_Type
/external/python/cpython3/Doc/c-api/
Dbytearray.rst16 .. c:var:: PyTypeObject PyByteArray_Type
/external/python/cpython3/Objects/
Dbytearrayobject.c90 return PyObject_CallOneArg((PyObject *)&PyByteArray_Type, input); in PyByteArray_FromObject()
130 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize()
2079 PyObject *result = _PyBytes_FromHex(string, type == &PyByteArray_Type); in bytearray_fromhex_impl()
2080 if (type != &PyByteArray_Type && result != NULL) { in bytearray_fromhex_impl()
2328 PyTypeObject PyByteArray_Type = { variable
Dobject.c1755 INIT_TYPE(&PyByteArray_Type, "bytearray"); in _PyTypes_Init()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c177 || type == &PyUnicode_Type || type == &PyByteArray_Type) { in module_register_adapter()
Dcursor.c314 } else if (self->connection->text_factory == (PyObject*)&PyByteArray_Type) { in _pysqlite_fetch_one_row()
/external/python/cpython3/PC/
Dpython3.def22 PyByteArray_Type=python39.PyByteArray_Type DATA
/external/python/cpython2/Objects/
Dbytearrayobject.c163 return PyObject_CallFunctionObjArgs((PyObject *)&PyByteArray_Type, in PyByteArray_FromObject()
199 new = PyObject_New(PyByteArrayObject, &PyByteArray_Type); in PyByteArray_FromStringAndSize()
2918 PyTypeObject PyByteArray_Type = { variable
Dobject.c2094 if (PyType_Ready(&PyByteArray_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython2/Modules/
D_testcapimodule.c1524 &arg, &encoding, &PyByteArray_Type, &buffer)) in getargs_es_hash()
1548 &arg, &encoding, &PyByteArray_Type, &buffer)) in getargs_et_hash()
/external/python/cpython3/Python/
Dbltinmodule.c2813 SETBUILTIN("bytearray", &PyByteArray_Type); in _PyBuiltin_Init()
/external/python/cpython3/Modules/
D_pickle.c2493 (PyObject *) &PyByteArray_Type); in save_bytearray()
2499 (PyObject *) &PyByteArray_Type, in save_bytearray()
4343 else if (type == &PyByteArray_Type) { in save()
/external/python/cpython3/Tools/c-analyzer/
DTODO685 Objects/bytearrayobject.c:PyByteArray_Type PyTypeObject PyByteArray_Type
Dknown.tsv800 Objects/bytearrayobject.c - PyByteArray_Type variable PyTypeObject PyByteArray_Type
/external/python/cpython2/Python/
Dbltinmodule.c2724 SETBUILTIN("bytearray", &PyByteArray_Type); in _PyBuiltin_Init()
/external/python/cpython3/Lib/test/
Dclinic.test143 i: object(subclass_of="&PyByteArray_Type")