Lines Matching defs:value
57 /* Join two surrogate characters and return a single Py_UCS4 value. */
148 Py_hash_t hash; /* Hash value; -1 if not set */
369 index is the index in the string (starts at 0) and value is the new
370 code point value which should be written to that location. */
372 Py_ssize_t index, Py_UCS4 value)
375 assert(value <= 0xffU);
376 _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
379 assert(value <= 0xffffU);
380 _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
384 assert(value <= 0x10ffffU);
385 _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
389 #define PyUnicode_WRITE(kind, data, index, value) \
391 (index), _Py_STATIC_CAST(Py_UCS4, value))
438 /* Return a maximum character value which is suitable for creating another
474 Py_UCS4 maxchar /* maximum code point value in the string */
822 /* Get the value of the writer as a Unicode string. Clear the
886 /* Returns a Python string object holding the UTF-16 encoded value of
969 /* Coverts a Unicode object holding a decimal value to an ASCII string