Home
last modified time | relevance | path

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

/third_party/python/Objects/stringlib/
Deq.h14 PyUnicodeObject *a = (PyUnicodeObject *)aa; in unicode_eq()
15 PyUnicodeObject *b = (PyUnicodeObject *)bb; in unicode_eq()
Ducs1lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Ducs2lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Ducs4lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Dunicodedefs.h11 #define STRINGLIB_OBJECT PyUnicodeObject
Dasciilib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
/third_party/node/deps/v8/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()
/third_party/node/tools/inspector_protocol/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()
/third_party/skia/third_party/externals/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()
/third_party/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()
/third_party/python/Include/cpython/
Dunicodeobject.h231 } PyUnicodeObject; typedef
246 _Py_CAST(PyUnicodeObject*, (op)))
/third_party/python/Doc/c-api/
Dfile.rst69 void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`.
Dunicode.rst72 PyUnicodeObject
869 objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` which
Dtypeobj.rst2703 PyUnicodeObject raw;
/third_party/python/Objects/
Dunicodeobject.c338 static PyUnicodeObject *_PyUnicode_New(Py_ssize_t length);
530 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); in _PyUnicode_CheckConsistency()
1209 static PyUnicodeObject *
1212 PyUnicodeObject *unicode; in _PyUnicode_New()
1217 return (PyUnicodeObject *)unicode_new_empty(); in _PyUnicode_New()
1222 return (PyUnicodeObject *)PyErr_NoMemory(); in _PyUnicode_New()
1230 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1335 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); in _PyUnicode_Dump()
14136 size = sizeof(PyUnicodeObject); in unicode_sizeof_impl()
15418 sizeof(PyUnicodeObject), /* tp_basicsize */
/third_party/python/Tools/c-analyzer/cpython/
Dglobals-to-fix.tsv282 # manually cached PyUnicodeObject
/third_party/python/Doc/howto/
Dclinic.rst919 to use the converter ``object(type='PyUnicodeObject *', subclass_of='&PyUnicode_Type')``.
/third_party/python/Doc/whatsnew/
D3.10.rst86 * :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
D3.11.rst2610 * :c:type:`PyUnicodeObject`