Searched refs:PyUnicodeObject (Results 1 – 16 of 16) sorted by relevance
/external/libchrome/third_party/markupsafe/ |
D | _speedups.c | 15 #define UNICHR(x) (PyUnicode_AS_UNICODE((PyUnicodeObject*)PyUnicode_DecodeASCII(x, strlen(x), NULL)… 56 escape_unicode(PyUnicodeObject *in) in escape_unicode() 58 PyUnicodeObject *out; in escape_unicode() 80 out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); in escape_unicode() 149 s = escape_unicode((PyUnicodeObject*)unicode); in escape() 153 s = escape_unicode((PyUnicodeObject*)text); in escape()
|
/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 92 escape_unicode_kind1(PyUnicodeObject *in) in escape_unicode_kind1() 118 escape_unicode_kind2(PyUnicodeObject *in) in escape_unicode_kind2() 144 escape_unicode_kind4(PyUnicodeObject *in) in escape_unicode_kind4() 169 escape_unicode(PyUnicodeObject *in) in escape_unicode() 225 s = escape_unicode((PyUnicodeObject*)unicode); in escape() 229 s = escape_unicode((PyUnicodeObject*)text); in escape()
|
/external/python/cpython3/Include/internal/ |
D | pycore_runtime_init.h | 129 .size = sizeof(PyUnicodeObject), \ 130 .state = offsetof(PyUnicodeObject, _base._base.state), \ 131 .length = offsetof(PyUnicodeObject, _base._base.length), \
|
/external/python/cpython3/Objects/stringlib/ |
D | ucs1lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | asciilib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | ucs4lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | ucs2lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
/external/python/cpython3/Modules/ |
D | _interpretersmodule.c | 281 check_code_str(PyUnicodeObject *text) in check_code_str() 335 && (check_code_str((PyUnicodeObject *)arg) == NULL)); in get_code_str() 862 static PyUnicodeObject * 866 PyUnicodeObject *str = NULL; in convert_script_arg() 868 str = (PyUnicodeObject *)Py_NewRef(arg); in convert_script_arg() 872 str = (PyUnicodeObject *)Py_NewRef(arg); in convert_script_arg()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 172 } PyUnicodeObject; typedef 183 _Py_CAST(PyUnicodeObject*, (op)))
|
/external/python/cpython3/Doc/c-api/ |
D | file.rst | 75 :c:type:`PyUnicodeObject`.
|
D | unicode.rst | 60 PyUnicodeObject 814 objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` which
|
D | typeobj.rst | 2805 PyUnicodeObject raw;
|
/external/python/cpython3/Doc/howto/ |
D | gdb_helpers.rst | 203 :c:expr:`PyUnicodeObject *`:: 205 (gdb) p *(PyUnicodeObject*)$6
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 656 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); in _PyUnicode_CheckConsistency() 1279 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); in _PyUnicode_Dump() 13650 size = sizeof(PyUnicodeObject); in unicode_sizeof_impl() 14961 sizeof(PyUnicodeObject), /* tp_basicsize */
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.10.rst | 86 * :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
|
D | 3.11.rst | 2627 * :c:type:`PyUnicodeObject`
|