Searched refs:PyBytes_Type (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Include/ |
D | bytesobject.h | 44 PyAPI_DATA(PyTypeObject) PyBytes_Type; 49 #define PyBytes_CheckExact(op) (Py_TYPE(op) == &PyBytes_Type)
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 2 #define PyBytes_Type PyString_Type macro
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 86 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in _PyBytes_FromSize() 164 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in PyBytes_FromString() 1495 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in bytes_repeat() 2332 if (type != &PyBytes_Type && result != NULL) { in bytes_fromhex_impl() 2529 if (type != &PyBytes_Type) in bytes_new() 2792 assert(PyType_IsSubtype(type, &PyBytes_Type)); in bytes_subtype_new() 2793 tmp = bytes_new(&PyBytes_Type, args, kwds); in bytes_subtype_new() 2824 PyTypeObject PyBytes_Type = { variable
|
D | object.c | 1577 if (PyType_Ready(&PyBytes_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 4686 else if (PyType_IsSubtype(base, &PyBytes_Type)) in inherit_special()
|
/external/python/cpython3/Doc/c-api/ |
D | bytes.rst | 19 .. c:var:: PyTypeObject PyBytes_Type
|
/external/python/cpython3/PC/ |
D | python3.def | 36 PyBytes_Type=python36.PyBytes_Type DATA
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 318 } else if (self->connection->text_factory == (PyObject*)&PyBytes_Type) { in _pysqlite_fetch_one_row()
|
/external/python/cpython3/Modules/clinic/ |
D | _codecsmodule.c.h | 204 &PyBytes_Type, &data, &errors)) { in _codecs_escape_encode()
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 2718 SETBUILTIN("bytes", &PyBytes_Type); in _PyBuiltin_Init()
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 2029 reduce_value = Py_BuildValue("(O())", (PyObject*)&PyBytes_Type); in save_bytes() 3826 if (type == &PyBytes_Type) { in save()
|