Lines Matching refs:how_many
1531 Py_ssize_t how_many, int check_maxchar)
1537 assert(0 <= how_many);
1542 assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
1546 assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
1548 if (how_many == 0)
1563 for (i=0; i < how_many; i++) {
1578 (const Py_UCS1*)from_data + how_many);
1584 to_kind * how_many);
1592 PyUnicode_1BYTE_DATA(from) + from_start + how_many,
1602 PyUnicode_1BYTE_DATA(from) + from_start + how_many,
1612 PyUnicode_2BYTE_DATA(from) + from_start + how_many,
1626 PyUnicode_2BYTE_DATA(from) + from_start + how_many,
1636 PyUnicode_4BYTE_DATA(from) + from_start + how_many,
1646 PyUnicode_4BYTE_DATA(from) + from_start + how_many,
1659 for (i=0; i < how_many; i++) {
1673 PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many)
1675 (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
1681 Py_ssize_t how_many)
1703 if (how_many < 0) {
1704 PyErr_SetString(PyExc_SystemError, "how_many cannot be negative");
1707 how_many = Py_MIN(PyUnicode_GET_LENGTH(from)-from_start, how_many);
1708 if (to_start + how_many > PyUnicode_GET_LENGTH(to)) {
1712 how_many, to_start, PyUnicode_GET_LENGTH(to));
1716 if (how_many == 0)
1722 err = _copy_characters(to, to_start, from, from_start, how_many, 1);
1731 return how_many;