Searched refs:from_kind (Results 1 – 1 of 1) sorted by relevance
1571 unsigned int from_kind, to_kind; in _copy_characters() local1589 from_kind = PyUnicode_KIND(from); in _copy_characters()1602 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()1608 if (from_kind == to_kind) { in _copy_characters()1621 (const char*)from_data + from_kind * from_start, in _copy_characters()1624 else if (from_kind == PyUnicode_1BYTE_KIND in _copy_characters()1634 else if (from_kind == PyUnicode_1BYTE_KIND in _copy_characters()1644 else if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()1658 if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()1668 else if (from_kind == PyUnicode_4BYTE_KIND in _copy_characters()[all …]