Lines Matching defs:data

69    structure. state.ascii and state.compact are set, and the data
71 in the length field; the utf8 pointer is equal to the data pointer. */
84 * (data starts just after the structure)
85 * (since ASCII is decoded from UTF-8, the utf8 string are the data)
96 * utf8 is not shared with data
98 * wstr is shared with data and wstr_length=length
102 * (data starts just after the structure)
116 * data.any is NULL
128 * data.any is not NULL
129 * utf8 is shared and utf8_length = length with data.any if ascii = 1
131 * wstr is shared with data.any and wstr_length = length
189 one block for the PyUnicodeObject struct and another for its data
198 the data pointer is filled out. The bit is redundant, and helps
209 PyCompactUnicodeObject structure. state.compact is set, and the data
221 PyUnicodeObject structure. The actual string data is initially in the wstr
222 block, and copied into the data block using _PyUnicode_Ready. */
230 } data; /* Canonical, smallest-form Unicode buffer */
267 PyUnicode_IS_COMPACT(op) || _PyUnicodeObject_CAST(op)->data.any */
329 void *data;
331 data = _PyUnicodeObject_CAST(op)->data.any;
332 assert(data != NULL);
333 return data;
368 kind and data pointers obtained from other function calls.
371 static inline void PyUnicode_WRITE(int kind, void *data,
376 _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
380 _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
385 _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
389 #define PyUnicode_WRITE(kind, data, index, value) \
390 PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
397 const void *data, Py_ssize_t index)
400 return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
403 return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
406 return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
409 #define PyUnicode_READ(kind, data, index) \
411 _Py_STATIC_CAST(const void*, data), \
595 user's responsibility to fill in the needed data afterwards. Note
706 Py_UNICODE *data = PyUnicode_AS_UNICODE(op);
708 return _Py_STATIC_CAST(const char*, _Py_STATIC_CAST(const void*, data));
720 void *data;
854 extracted from the returned data.
887 the Unicode data.