/external/python/cpython2/Objects/ |
D | unicodeobject.c | 97 static PyUnicodeObject *free_list = NULL; 101 static PyUnicodeObject *unicode_empty = NULL; 117 static PyUnicodeObject *unicode_latin1[256] = {NULL}; 260 int unicode_resize(register PyUnicodeObject *unicode, in unicode_resize() 317 PyUnicodeObject *_PyUnicode_New(Py_ssize_t length) in _PyUnicode_New() 319 register PyUnicodeObject *unicode; in _PyUnicode_New() 329 return (PyUnicodeObject *)PyErr_NoMemory(); in _PyUnicode_New() 335 free_list = *(PyUnicodeObject **)unicode; in _PyUnicode_New() 354 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New() 388 void unicode_dealloc(register PyUnicodeObject *unicode) in unicode_dealloc() [all …]
|
/external/python/cpython3/Objects/stringlib/ |
D | eq.h | 9 PyUnicodeObject *a = (PyUnicodeObject *)aa; in unicode_eq() 10 PyUnicodeObject *b = (PyUnicodeObject *)bb; in unicode_eq()
|
D | ucs4lib.h | 8 #define STRINGLIB_OBJECT PyUnicodeObject
|
D | ucs1lib.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
|
/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/cpython2/Modules/ |
D | unicodedata.c | 92 static Py_UCS4 getuchar(PyUnicodeObject *obj) in getuchar() 121 PyUnicodeObject *v; in unicodedata_decimal() 172 PyUnicodeObject *v; in unicodedata_digit() 206 PyUnicodeObject *v; in unicodedata_numeric() 255 PyUnicodeObject *v; in unicodedata_category() 284 PyUnicodeObject *v; in unicodedata_bidirectional() 315 PyUnicodeObject *v; in unicodedata_combining() 344 PyUnicodeObject *v; in unicodedata_mirrored() 374 PyUnicodeObject *v; in unicodedata_east_asian_width() 403 PyUnicodeObject *v; in unicodedata_decomposition() [all …]
|
D | _localemodule.c | 323 if (PyUnicode_AsWideChar((PyUnicodeObject*)os1, ws1, len1) == -1) in PyLocale_strcoll() 332 if (PyUnicode_AsWideChar((PyUnicodeObject*)os2, ws2, len2) == -1) in PyLocale_strcoll()
|
D | pyexpat.c | 1244 PyUnicodeObject *_u_string = NULL; in PyUnknownEncodingHandler() 1249 _u_string = (PyUnicodeObject *) in PyUnknownEncodingHandler()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 423 } PyUnicodeObject; typedef 433 (((PyUnicodeObject *)(op))->length) 435 (((PyUnicodeObject *)(op))->length * sizeof(Py_UNICODE)) 437 (((PyUnicodeObject *)(op))->str) 439 ((const char *)((PyUnicodeObject *)(op))->str) 592 PyUnicodeObject *unicode, /* Unicode object */ 1331 PyUnicodeObject *self,
|
/external/python/cpython2/Objects/stringlib/ |
D | find.h | 157 PyUnicodeObject **substring, in stringlib_parse_args_finds_unicode() 167 *substring = (PyUnicodeObject *)tmp_substring; in stringlib_parse_args_finds_unicode()
|
D | unicodedefs.h | 9 #define STRINGLIB_OBJECT PyUnicodeObject
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 247 } PyUnicodeObject; typedef 353 (assert(((PyUnicodeObject*)(op))->data.any), \ 354 ((((PyUnicodeObject *)(op))->data.any)))
|
/external/python/cpython3/Doc/c-api/ |
D | file.rst | 69 void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`.
|
D | unicode.rst | 68 PyUnicodeObject 858 objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` which
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 430 extern Py_ssize_t PyUnicode_AsWideChar_fixed(PyUnicodeObject *, wchar_t *, Py_ssize_t);
|
D | cfield.c | 1285 PyUnicode_AsWideChar((PyUnicodeObject *)value, (wchar_t *)ptr, size); in U_set() 1458 if (-1 == PyUnicode_AsWideChar((PyUnicodeObject *)value, in Z_set()
|
D | _ctypes.c | 1362 result = PyUnicode_AsWideChar((PyUnicodeObject *)value, in WCharArray_set_value() 5856 PyUnicodeObject *unicode; in My_PyUnicode_FromWideChar() 5863 unicode = (PyUnicodeObject *)PyUnicode_FromUnicode(NULL, size); in My_PyUnicode_FromWideChar() 5884 Py_ssize_t My_PyUnicode_AsWideChar(PyUnicodeObject *unicode, in My_PyUnicode_AsWideChar()
|
D | callproc.c | 707 if (-1 == PyUnicode_AsWideChar((PyUnicodeObject *)obj, in ConvParam()
|
/external/python/cpython2/Doc/c-api/ |
D | unicode.rst | 39 .. c:type:: PyUnicodeObject 72 Return the size of the object. *o* has to be a :c:type:`PyUnicodeObject` (not 83 :c:type:`PyUnicodeObject` (not checked). 93 has to be a :c:type:`PyUnicodeObject` (not checked). 99 :c:type:`PyUnicodeObject` (not checked). 391 .. c:function:: Py_ssize_t PyUnicode_AsWideChar(PyUnicodeObject *unicode, wchar_t *w, Py_ssize_t si…
|
D | arg.rst | 250 ``U`` (Unicode string) [PyUnicodeObject \*]
|
/external/python/cpython3/Python/ |
D | traceback.c | 709 data = ((PyUnicodeObject *)text)->data.any; in _Py_DumpASCII()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 135 (((PyUnicodeObject*)(op))->data.any) 315 static PyUnicodeObject *_PyUnicode_New(Py_ssize_t length); 475 PyUnicodeObject *unicode = (PyUnicodeObject *)op; in _PyUnicode_CheckConsistency() 1147 static PyUnicodeObject * 1150 PyUnicodeObject *unicode; in _PyUnicode_New() 1156 return (PyUnicodeObject*)unicode_empty; in _PyUnicode_New() 1161 return (PyUnicodeObject *)PyErr_NoMemory(); in _PyUnicode_New() 1169 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New() 1274 PyUnicodeObject *unicode = (PyUnicodeObject *)op; in _PyUnicode_Dump() 13881 size = sizeof(PyUnicodeObject); in unicode_sizeof_impl() [all …]
|