Lines Matching defs:bytes

1057    Return the length (IPv4 should be 4 bytes), or negative if
1598 exception -- return it as an (int, bytes) tuple. */
1661 PyErr_Format(PyExc_TypeError, "str, bytes or bytearray expected, not %s",
2057 "Hardware address must be 8 bytes or less");
2600 pointer in msg->msg_control with at least "space" bytes after it,
2641 *space to number of bytes following it in the buffer and return
3036 "socket option is larger than %i bytes",
3511 * the buffer, do it in the caller. This function returns the number of bytes
3513 * also possible that we return a number of bytes smaller than the request
3514 * bytes.
3527 /* If 0 bytes were requested, do nothing. */
3573 /* We did not read as many bytes as we anticipated, resize the
3584 Receive up to buffersize bytes from the socket. For the optional flags\n\
3624 "buffer too small for requested bytes");
3637 /* Return the number of bytes read. Note that we do not do anything
3646 a new string. Receive up to buffersize bytes from the socket. If buffersize\n\
3685 * of bytes successfully read. If there was an error, it returns -1. Note
3686 * that it is also possible that we return a number of bytes smaller than the
3687 * request bytes.
3757 /* We did not read as many bytes as we anticipated, resize the
3824 /* Return the number of bytes read and the address. Note that we do
3922 PyObject *bytes, *tuple;
3939 bytes = PyBytes_FromStringAndSize((char *)CMSG_DATA(cmsgh),
3942 (int)cmsgh->cmsg_type, bytes);
4029 /* Note that we're passing a pointer to *our pointer* to the bytes
4041 Receive normal data (up to bufsize bytes) and ancillary data from the\n\
4042 socket. The ancbufsize argument sets the size in bytes of the\n\
4051 The data item is a bytes object holding the non-ancillary data\n\
4056 and cmsg_data is a bytes object holding the associated data. The\n\
4136 no more buffers. The ancbufsize argument sets the size in bytes of\n\
4145 The nbytes item is the total number of bytes of non-ancillary data\n\
4150 respectively, and cmsg_data is a bytes object holding the associated\n\
4217 argument, see the Unix manual. Return the number of bytes\n\
4448 "bytes-like objects",
4664 data as an iterable of bytes-like objects (e.g. bytes objects).\n\
4669 is a bytes-like object holding the associated data. The flags\n\
4672 the message. The return value is the number of bytes of non-ancillary\n\
4944 "share(process_id) -> bytes\n\
4947 must be provided and the resulting bytes object passed to the target\n\
5217 "should be %zu bytes.", sizeof(info));
6318 "inet_aton(string) -> bytes giving packed 32-bit IP representation\n\