Home
last modified time | relevance | path

Searched refs:PyUnicodeObject (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/third_party/markupsafe/
D_speedups.c15 #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.c92 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/
Dpycore_runtime_init.h129 .size = sizeof(PyUnicodeObject), \
130 .state = offsetof(PyUnicodeObject, _base._base.state), \
131 .length = offsetof(PyUnicodeObject, _base._base.length), \
/external/python/cpython3/Objects/stringlib/
Ducs1lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Dasciilib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Ducs4lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Ducs2lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
/external/python/cpython3/Modules/
D_interpretersmodule.c281 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/
Dunicodeobject.h172 } PyUnicodeObject; typedef
183 _Py_CAST(PyUnicodeObject*, (op)))
/external/python/cpython3/Doc/c-api/
Dfile.rst75 :c:type:`PyUnicodeObject`.
Dunicode.rst60 PyUnicodeObject
814 objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` which
Dtypeobj.rst2805 PyUnicodeObject raw;
/external/python/cpython3/Doc/howto/
Dgdb_helpers.rst203 :c:expr:`PyUnicodeObject *`::
205 (gdb) p *(PyUnicodeObject*)$6
/external/python/cpython3/Objects/
Dunicodeobject.c656 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/
D3.10.rst86 * :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
D3.11.rst2627 * :c:type:`PyUnicodeObject`