Searched refs:PyUnicodeObject (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Objects/stringlib/ |
D | eq.h | 14 PyUnicodeObject *a = (PyUnicodeObject *)aa; in unicode_eq() 15 PyUnicodeObject *b = (PyUnicodeObject *)bb; in unicode_eq()
|
D | ucs1lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | ucs4lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | ucs2lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | unicodedefs.h | 11 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | asciilib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
/third_party/skia/third_party/externals/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()
|
/third_party/node/tools/inspector_protocol/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()
|
/third_party/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()
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 244 } PyUnicodeObject; typedef 346 (assert(((PyUnicodeObject*)(op))->data.any), \ 347 ((((PyUnicodeObject *)(op))->data.any)))
|
/third_party/python/Doc/c-api/ |
D | file.rst | 69 void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`.
|
D | unicode.rst | 72 PyUnicodeObject 873 objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` which
|
D | typeobj.rst | 2680 PyUnicodeObject raw;
|
/third_party/python/Python/ |
D | traceback.c | 707 data = ((PyUnicodeObject *)text)->data.any; in _Py_DumpASCII()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 151 (((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/ |
D | clinic.rst | 920 to use the converter ``object(type='PyUnicodeObject *', subclass_of='&PyUnicode_Type')``.
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 87 * :pep:`623`, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
|