Lines Matching defs:bytes
578 /* Write unknown bytes-like objects as a bytes object */
739 "%zd bytes requested, %zd returned",
1117 PyErr_SetString(PyExc_ValueError, "bad marshal data (bytes object size out of range)");
1562 /* Return size of file in bytes; < 0 if unknown or INT_MAX if too big */
1750 * Make a call to the read method, but read zero bytes.
1752 * has a read method which returns bytes.
1761 "file.read() returned not bytes but %.100s",
1792 Return the bytes object that would be written to a file by dump(value, file).
1808 bytes: Py_buffer
1811 Convert the bytes-like object to a value.
1814 bytes in the input are ignored.
1818 marshal_loads_impl(PyObject *module, Py_buffer *bytes)
1822 char *s = bytes->buf;
1823 Py_ssize_t n = bytes->len;
1854 None, integers, floating point numbers, strings, bytes, bytearrays,\n\
1872 dumps() -- marshal value as a bytes object\n\
1873 loads() -- read value from a bytes-like object");