Home
last modified time | relevance | path

Searched refs:bytes_obj (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Objects/clinic/
Dlongobject.c.h329 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj,
340 PyObject *bytes_obj; in int_from_bytes() local
348 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()
/external/autotest/client/bin/
Dutils.py2427 def bytes_to_str(bytes_obj): argument
2428 guessed_encoding = chardet.detect(bytes_obj).get('encoding')
2432 return bytes_obj.decode(guessed_encoding, 'backslashreplace')
2435 bytes_obj, guessed_encoding)
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1864 bytes_obj = unicode_obj.encode('utf8')
1866 msg.map_string_string[bytes_obj] = bytes_obj
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dmessage_test.py1865 bytes_obj = unicode_obj.encode('utf8')
1867 msg.map_string_string[bytes_obj] = bytes_obj
/external/python/cpython3/Modules/
D_pickle.c2492 PyObject *bytes_obj = PyBytes_FromObject(obj); in save_bytearray() local
2493 if (bytes_obj != NULL) { in save_bytearray()
2496 bytes_obj); in save_bytearray()
2497 Py_DECREF(bytes_obj); in save_bytearray()
/external/python/cpython3/Objects/
Dlongobject.c5489 int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj, in int_from_bytes_impl() argument
5506 bytes = PyObject_Bytes(bytes_obj); in int_from_bytes_impl()