Lines Matching defs:length
71 in the length field; the utf8 pointer is equal to the data pointer. */
83 * (length is the length of the utf8 and wstr strings)
98 * wstr is shared with data and wstr_length=length
108 * length = 0 (use wstr_length)
129 * utf8 is shared and utf8_length = length with data.any if ascii = 1
131 * wstr is shared with data.any and wstr_length = length
147 Py_ssize_t length; /* Number of code points in the string */
355 /* Returns the length of the unicode string. The caller has to make sure that
360 return _PyASCIIObject_CAST(op)->length;
546 unicode[start:start+length].
556 Py_ssize_t length,
561 if parameters are invalid (e.g. if length is longer than the string). */
565 Py_ssize_t length,
620 Py_UNICODE buffer and save the length at size.
626 Py_ssize_t *size /* location where to save the length */
636 return _PyASCIIObject_CAST(op)->length;
649 on request. Use PyUnicode_GET_LENGTH() for the length in code points. */
748 /* Prepare the buffer to write 'length' characters
764 Py_ssize_t length, Py_UCS4 maxchar);
819 Py_ssize_t len /* length in bytes */
911 Py_ssize_t length, /* size of string */
919 Py_ssize_t length, /* size of string */
932 Py_ssize_t length, /* size of string */