Lines Matching defs:Py_UCS2
114 /* Py_UCS4 and Py_UCS2 are typedefs for the respective
117 typedef uint16_t Py_UCS2;
305 * character type = Py_UCS2 (16 bits, unsigned)
357 Py_UCS2 *ucs2;
447 Py_UCS2, or Py_UCS4 for direct character access.
452 #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op))
493 ((Py_UCS2 *)(data))[(index)] = (Py_UCS2)(value); \
510 ((const Py_UCS2 *)(data))[(index)] : \
526 ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : \
707 /* Create a new string from a buffer of Py_UCS1, Py_UCS2 or Py_UCS4 characters.