Searched refs:bytes_obj (Results 1 – 4 of 4) sorted by relevance
329 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj,340 PyObject *bytes_obj; in int_from_bytes() local348 bytes_obj = args[0]; in int_from_bytes()365 return_value = int_from_bytes_impl(type, bytes_obj, byteorder, is_signed); in int_from_bytes()
1910 bytes_obj = unicode_obj.encode('utf8')1912 msg.map_string_string[bytes_obj] = bytes_obj
2492 PyObject *bytes_obj = PyBytes_FromObject(obj); in save_bytearray() local2493 if (bytes_obj != NULL) { in save_bytearray()2496 bytes_obj); in save_bytearray()2497 Py_DECREF(bytes_obj); in save_bytearray()
5516 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj, in int_from_bytes_impl() argument5533 bytes = PyObject_Bytes(bytes_obj); in int_from_bytes_impl()