Searched refs:bytes_obj (Results 1 – 4 of 4) sorted by relevance
275 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj,286 PyObject *bytes_obj; in int_from_bytes() local294 bytes_obj = args[0]; in int_from_bytes()311 return_value = int_from_bytes_impl(type, bytes_obj, byteorder, is_signed); in int_from_bytes()
1817 bytes_obj = unicode_obj.encode('utf8')1819 msg.map_string_string[bytes_obj] = bytes_obj
2463 PyObject *bytes_obj = PyBytes_FromObject(obj); in save_bytearray() local2464 if (bytes_obj != NULL) { in save_bytearray()2467 bytes_obj); in save_bytearray()2468 Py_DECREF(bytes_obj); in save_bytearray()
5587 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj, in int_from_bytes_impl() argument5604 bytes = PyObject_Bytes(bytes_obj); in int_from_bytes_impl()