Searched refs:PyBytes_Type (Results 1 - 9 of 9) sorted by relevance

/external/python/cpython2/Include/
H A Dbytesobject.h2 #define PyBytes_Type PyString_Type macro
/external/python/cpython3/Include/
H A Dbytesobject.h44 PyAPI_DATA(PyTypeObject) PyBytes_Type;
49 #define PyBytes_CheckExact(op) (Py_TYPE(op) == &PyBytes_Type)
/external/python/cpython3/Objects/
H A Dbytesobject.c12 class bytes "PyBytesObject *" "&PyBytes_Type"
86 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size);
164 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size);
1495 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size);
2332 if (type != &PyBytes_Type && result != NULL) {
2529 if (type != &PyBytes_Type)
2792 assert(PyType_IsSubtype(type, &PyBytes_Type));
2793 tmp = bytes_new(&PyBytes_Type, args, kwds);
2824 PyTypeObject PyBytes_Type = { variable
H A Dobject.c1577 if (PyType_Ready(&PyBytes_Type) < 0)
H A Dtypeobject.c4686 else if (PyType_IsSubtype(base, &PyBytes_Type))
/external/python/cpython3/Modules/_sqlite/
H A Dcursor.c318 } else if (self->connection->text_factory == (PyObject*)&PyBytes_Type) {
/external/python/cpython3/Modules/clinic/
H A D_codecsmodule.c.h204 &PyBytes_Type, &data, &errors)) {
/external/python/cpython3/Python/
H A Dbltinmodule.c2718 SETBUILTIN("bytes", &PyBytes_Type);
/external/python/cpython3/Modules/
H A D_pickle.c2029 reduce_value = Py_BuildValue("(O())", (PyObject*)&PyBytes_Type);
3826 if (type == &PyBytes_Type) {

Completed in 2475 milliseconds