Lines Matching defs:length

1057    Return the length (IPv4 should be 4 bytes), or negative if
1244 address. Returns the length (6), or raises an exception and returns -1 if
1675 0 of not. The address is returned through addr_ret, its length
2405 /* Get the address length according to the socket object's address family.
2406 Return 1 if the family is known, 0 otherwise. The length is returned
2557 sizeof(struct cmsghdr) + (length) where CMSG_LEN() is used now, so
2563 /* If length is in range, set *result to CMSG_LEN(length) and return
2566 get_CMSG_LEN(size_t length, size_t *result)
2570 if (length > (SOCKLEN_T_LIMIT - CMSG_LEN(0)))
2572 tmp = CMSG_LEN(length);
2573 if (tmp > SOCKLEN_T_LIMIT || tmp < length)
2580 /* If length is in range, set *result to CMSG_SPACE(length) and return
2583 get_CMSG_SPACE(size_t length, size_t *result)
2589 if (length > (SOCKLEN_T_LIMIT - CMSG_SPACE(1)))
2591 tmp = CMSG_SPACE(length);
2592 if (tmp > SOCKLEN_T_LIMIT || tmp < length)
2662 length of the associated data and return 0. If only part of the
2664 valid, set *data_len to the length contained in the buffer and
3134 string of that length; otherwise it is an integer.");
3616 /* If nbytes was not specified, use the buffer's length */
3806 /* If nbytes was not specified, use the buffer's length */
3811 "nbytes is greater than the length of the buffer");
3858 * the length read and makeval_data as arguments, and must return a
3891 "invalid ancillary data buffer length");
4799 /* set length of associated data for AEAD */
4838 Set operation mode, IV and length of associated data for an AF_ALG\n\
5119 ugly printf formatter for decimal pointer length integer
6407 "packed IP wrong length for inet_ntoa");
6497 "invalid length of packed IP address string");
6505 "invalid length of packed IP address string");
6957 /* Python interface to CMSG_LEN(length). */
6962 Py_ssize_t length;
6965 if (!PyArg_ParseTuple(args, "n:CMSG_LEN", &length))
6967 if (length < 0 || !get_CMSG_LEN(length, &result)) {
6975 "CMSG_LEN(length) -> control message length\n\
6977 Return the total length, without trailing padding, of an ancillary\n\
6978 data item with associated data of the given length. This value can\n\
6982 item will be the last in the buffer. Raises OverflowError if length\n\
6987 /* Python interface to CMSG_SPACE(length). */
6992 Py_ssize_t length;
6995 if (!PyArg_ParseTuple(args, "n:CMSG_SPACE", &length))
6997 if (length < 0 || !get_CMSG_SPACE(length, &result)) {
7006 "CMSG_SPACE(length) -> buffer size\n\
7009 data item with associated data of the given length, along with any\n\
7012 lengths. Raises OverflowError if length is outside the permissible\n\