Home
last modified time | relevance | path

Searched refs:PyUnicodeObject (Results 1 – 17 of 17) 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
Ducs4lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Ducs2lib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
Dunicodedefs.h11 #define STRINGLIB_OBJECT PyUnicodeObject
Dasciilib.h8 #define STRINGLIB_OBJECT PyUnicodeObject
/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/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/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.h244 } PyUnicodeObject; typedef
346 (assert(((PyUnicodeObject*)(op))->data.any), \
347 ((((PyUnicodeObject *)(op))->data.any)))
/third_party/python/Doc/c-api/
Dfile.rst69 void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`.
Dunicode.rst72 PyUnicodeObject
873 objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` which
Dtypeobj.rst2680 PyUnicodeObject raw;
/third_party/python/Python/
Dtraceback.c707 data = ((PyUnicodeObject *)text)->data.any; in _Py_DumpASCII()
/third_party/python/Objects/
Dunicodeobject.c151 (((PyUnicodeObject*)(op))->data.any)
343 static PyUnicodeObject *_PyUnicode_New(Py_ssize_t length);
537 PyUnicodeObject *unicode = (PyUnicodeObject *)op; in _PyUnicode_CheckConsistency()
1228 static PyUnicodeObject *
1231 PyUnicodeObject *unicode; in _PyUnicode_New()
1236 return (PyUnicodeObject *)unicode_new_empty(); in _PyUnicode_New()
1241 return (PyUnicodeObject *)PyErr_NoMemory(); in _PyUnicode_New()
1249 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1354 PyUnicodeObject *unicode = (PyUnicodeObject *)op; in _PyUnicode_Dump()
14459 size = sizeof(PyUnicodeObject); in unicode_sizeof_impl()
[all …]
/third_party/python/Doc/howto/
Dclinic.rst920 to use the converter ``object(type='PyUnicodeObject *', subclass_of='&PyUnicode_Type')``.
/third_party/python/Doc/whatsnew/
D3.10.rst87 * :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.