Lines Matching refs:to_start
1551 _copy_characters(PyObject *to, Py_ssize_t to_start, in _copy_characters() argument
1561 assert(0 <= to_start); in _copy_characters()
1568 assert(to_start + how_many <= PyUnicode_GET_LENGTH(to)); in _copy_characters()
1604 memcpy((char*)to_data + to_kind * to_start, in _copy_characters()
1615 PyUnicode_2BYTE_DATA(to) + to_start in _copy_characters()
1625 PyUnicode_4BYTE_DATA(to) + to_start in _copy_characters()
1635 PyUnicode_4BYTE_DATA(to) + to_start in _copy_characters()
1649 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters()
1659 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters()
1669 PyUnicode_2BYTE_DATA(to) + to_start in _copy_characters()
1685 PyUnicode_WRITE(to_kind, to_data, to_start + i, ch); in _copy_characters()
1694 PyObject *to, Py_ssize_t to_start, in _PyUnicode_FastCopyCharacters() argument
1697 (void)_copy_characters(to, to_start, from, from_start, how_many, 0); in _PyUnicode_FastCopyCharacters()
1701 PyUnicode_CopyCharacters(PyObject *to, Py_ssize_t to_start, in PyUnicode_CopyCharacters() argument
1721 if ((size_t)to_start > (size_t)PyUnicode_GET_LENGTH(to)) { in PyUnicode_CopyCharacters()
1730 if (to_start + how_many > PyUnicode_GET_LENGTH(to)) { in PyUnicode_CopyCharacters()
1734 how_many, to_start, PyUnicode_GET_LENGTH(to)); in PyUnicode_CopyCharacters()
1744 err = _copy_characters(to, to_start, from, from_start, how_many, 1); in PyUnicode_CopyCharacters()