Lines Matching full:ucs2
1143 return "legacy UCS2";
1158 return "UCS2";
1925 Py_UCS2 *ucs2 = start;
1928 for (; str < end; ++ucs2, ++str)
1929 *ucs2 = (Py_UCS2)*str;
1931 assert((ucs2 - start) <= PyUnicode_GET_LENGTH(unicode));
6153 For UCS2 strings it's '\uxxxx', 6 bytes per source character.
6982 but we may switch to UCS2 at the first write */
12501 Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
12503 ucs2[n] = fill_char;