Home
last modified time | relevance | path

Searched refs:Py_UNICODE (Results 1 – 25 of 40) sorted by relevance

12

/third_party/python/PC/clinic/
Dwinreg.c.h145 const Py_UNICODE *computer_name, HKEY key);
151 const Py_UNICODE *computer_name; in winreg_ConnectRegistry()
216 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
223 const Py_UNICODE *sub_key; in winreg_CreateKey()
294 const Py_UNICODE *sub_key, int reserved,
304 const Py_UNICODE *sub_key; in winreg_CreateKeyEx()
350 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
357 const Py_UNICODE *sub_key; in winreg_DeleteKey()
418 const Py_UNICODE *sub_key, REGSAM access,
428 const Py_UNICODE *sub_key; in winreg_DeleteKeyEx()
[all …]
D_msi.c.h191 _msi_Record_SetString_impl(msiobj *self, int field, const Py_UNICODE *value);
198 const Py_UNICODE *value; in _msi_Record_SetString()
240 _msi_Record_SetStream_impl(msiobj *self, int field, const Py_UNICODE *value);
247 const Py_UNICODE *value; in _msi_Record_SetStream()
552 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql);
558 const Py_UNICODE *sql; in _msi_Database_OpenView()
647 _msi_OpenDatabase_impl(PyObject *module, const Py_UNICODE *path, int persist);
653 const Py_UNICODE *path; in _msi_OpenDatabase()
/third_party/python/Include/cpython/
Dunicodeobject.h10 /* Py_DEPRECATED(3.3) */ typedef wchar_t Py_UNICODE; typedef
54 Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length) { in Py_UNICODE_COPY()
55 memcpy(target, source, (size_t)(length) * sizeof(Py_UNICODE)); in Py_UNICODE_COPY()
59 Py_UNICODE_FILL(Py_UNICODE *target, Py_UNICODE value, Py_ssize_t length) { in Py_UNICODE_FILL()
552 const Py_UNICODE *u, /* Unicode buffer */
580 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
586 PyAPI_FUNC(const Py_UNICODE *) _PyUnicode_AsUnicode(
595 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicodeAndSize(
751 const Py_UNICODE *s, /* Unicode char buffer */
760 const Py_UNICODE *data, /* Unicode char buffer */
[all …]
Dpyerrors.h99 PyObject *, const Py_UNICODE *);
115 int, const Py_UNICODE *);
118 PyObject *,int, const Py_UNICODE *);
170 const Py_UNICODE *object,
182 const Py_UNICODE *object,
/third_party/skia/third_party/externals/markupsafe/
D_speedups.c26 static Py_UNICODE *escaped_chars_repl[ESCAPED_CHARS_TABLE_SIZE];
59 Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); in escape_unicode()
60 const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); in escape_unicode()
61 Py_UNICODE *next_escp; in escape_unicode()
62 Py_UNICODE *outp; in escape_unicode()
/third_party/node/deps/v8/third_party/markupsafe/
D_speedups.c26 static Py_UNICODE *escaped_chars_repl[ESCAPED_CHARS_TABLE_SIZE];
59 Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); in escape_unicode()
60 const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); in escape_unicode()
61 Py_UNICODE *next_escp; in escape_unicode()
62 Py_UNICODE *outp; in escape_unicode()
/third_party/node/tools/inspector_protocol/markupsafe/
D_speedups.c26 static Py_UNICODE *escaped_chars_repl[ESCAPED_CHARS_TABLE_SIZE];
59 Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); in escape_unicode()
60 const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); in escape_unicode()
61 Py_UNICODE *next_escp; in escape_unicode()
62 Py_UNICODE *outp; in escape_unicode()
/third_party/python/Doc/c-api/
Dunicode.rst20 :c:type:`Py_UNICODE*` and UTF-8 representations are created on demand and cached
21 in the Unicode object. The :c:type:`Py_UNICODE*` representation is deprecated
33 :c:type:`Py_UNICODE*` representation; you will have to call
59 .. c:type:: Py_UNICODE
212 Return the size of the deprecated :c:type:`Py_UNICODE` representation, in
223 Return the size of the deprecated :c:type:`Py_UNICODE` representation in
231 .. c:function:: Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *o)
234 Return a pointer to a :c:type:`Py_UNICODE` representation of the object. The
243 :c:type:`Py_UNICODE` representation does not exist and needs to be created
675 Deprecated Py_UNICODE APIs
[all …]
Darg.rst139 ``u`` (:class:`str`) [const Py_UNICODE \*]
141 Unicode characters. You must pass the address of a :c:type:`Py_UNICODE`
143 Unicode buffer. Please note that the width of a :c:type:`Py_UNICODE`
153 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
156 ``u#`` (:class:`str`) [const Py_UNICODE \*, :c:type:`Py_ssize_t`]
162 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
165 ``Z`` (:class:`str` or ``None``) [const Py_UNICODE \*]
167 :c:type:`Py_UNICODE` pointer is set to ``NULL``.
170 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
173 ``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \*, :c:type:`Py_ssize_t`]
[all …]
/third_party/python/PC/
Dwinreg.c852 const Py_UNICODE *computer_name, HKEY key) in winreg_ConnectRegistry_impl()
892 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_CreateKey_impl()
941 const Py_UNICODE *sub_key, int reserved, in winreg_CreateKeyEx_impl()
985 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_DeleteKey_impl()
1026 const Py_UNICODE *sub_key, REGSAM access, in winreg_DeleteKeyEx_impl()
1074 winreg_DeleteValue_impl(PyObject *module, HKEY key, const Py_UNICODE *value) in winreg_DeleteValue_impl()
1255 const Py_UNICODE *string) in winreg_ExpandEnvironmentStrings_impl()
1353 winreg_LoadKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, in winreg_LoadKey_impl()
1354 const Py_UNICODE *file_name) in winreg_LoadKey_impl()
1391 winreg_OpenKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, in winreg_OpenKey_impl()
[all …]
D_msi.c532 _msi_Record_SetString_impl(msiobj *self, int field, const Py_UNICODE *value) in _msi_Record_SetString_impl()
553 _msi_Record_SetStream_impl(msiobj *self, int field, const Py_UNICODE *value) in _msi_Record_SetStream_impl()
1052 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql) in _msi_Database_OpenView_impl()
1196 _msi_OpenDatabase_impl(PyObject *module, const Py_UNICODE *path, int persist) in _msi_OpenDatabase_impl()
/third_party/python/Doc/data/
Drefcounts.dat2358 PyUnicode_AS_UNICODE:Py_UNICODE*:::
2365 Py_UNICODE_ISALNUM:Py_UNICODE:ch::
2368 Py_UNICODE_ISALPHA:Py_UNICODE:ch::
2371 Py_UNICODE_ISSPACE:Py_UNICODE:ch::
2374 Py_UNICODE_ISLOWER:Py_UNICODE:ch::
2377 Py_UNICODE_ISUPPER:Py_UNICODE:ch::
2380 Py_UNICODE_ISTITLE:Py_UNICODE:ch::
2383 Py_UNICODE_ISLINEBREAK:Py_UNICODE:ch::
2386 Py_UNICODE_ISDECIMAL:Py_UNICODE:ch::
2389 Py_UNICODE_ISDIGIT:Py_UNICODE:ch::
[all …]
/third_party/python/Objects/stringlib/
Dunicodedefs.h13 #define STRINGLIB_CHAR Py_UNICODE
DREADME.txt12 the type used to hold a character (char or Py_UNICODE)
/third_party/python/Lib/test/
Dclinic.test1779 a: Py_UNICODE
1780 b: Py_UNICODE(accept={str})
1781 c: Py_UNICODE(accept={str, NoneType})
1782 d: Py_UNICODE(zeroes=True)
1783 e: Py_UNICODE(accept={str, NoneType}, zeroes=True)
1797 test_Py_UNICODE_converter_impl(PyObject *module, const Py_UNICODE *a,
1798 const Py_UNICODE *b, const Py_UNICODE *c,
1799 const Py_UNICODE *d,
1801 const Py_UNICODE *e,
1808 const Py_UNICODE *a;
[all …]
/third_party/python/Modules/clinic/
Doverlapped.c.h214 const Py_UNICODE *Name);
223 const Py_UNICODE *Name; in _overlapped_CreateEvent()
783 const Py_UNICODE *Address);
789 const Py_UNICODE *Address; in _overlapped_Overlapped_ConnectPipe()
D_winapi.c.h386 const Py_UNICODE *application_name,
390 const Py_UNICODE *current_directory,
397 const Py_UNICODE *application_name; in _winapi_CreateProcess()
404 const Py_UNICODE *current_directory; in _winapi_CreateProcess()
/third_party/python/Python/
Dmodsupport.c347 Py_UNICODE *u = va_arg(*p_va, Py_UNICODE *); in do_mkvalue()
Derrors.c808 PyErr_SetFromErrnoWithUnicodeFilename(PyObject *exc, const Py_UNICODE *filename) in PyErr_SetFromErrnoWithUnicodeFilename()
920 const Py_UNICODE *filename) in PyErr_SetExcFromWindowsErrWithUnicodeFilename()
956 const Py_UNICODE *filename) in PyErr_SetFromWindowsErrWithUnicodeFilename()
/third_party/python/Misc/NEWS.d/
D3.7.0b4.rst305 Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
D3.6.6rc1.rst545 Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
/third_party/python/Doc/library/
Darray.rst55 ``Py_UNICODE``. This change doesn't affect to its behavior because
56 ``Py_UNICODE`` is alias of ``wchar_t`` since Python 3.3.
/third_party/python/Modules/
D_testcapimodule.c1577 Py_UNICODE *str; in getargs_u()
1586 Py_UNICODE *str; in getargs_u_hash()
1596 Py_UNICODE *str; in getargs_Z()
1608 Py_UNICODE *str; in getargs_Z_hash()
1813 Py_UNICODE *value; in test_u_code()
1856 const Py_UNICODE *value1, *value2; in test_Z_code()
2173 Py_UNICODE *unicode; in unicode_encodedecimal()
2208 Py_UNICODE *unicode; in unicode_transformdecimaltoascii()
2218 Py_UNICODE *data; in unicode_legacy_string()
2229 memcpy(PyUnicode_AS_UNICODE(u), data, len * sizeof(Py_UNICODE)); in unicode_legacy_string()
[all …]
Doverlapped.c432 const Py_UNICODE *Name) in _overlapped_CreateEvent_impl()
1310 Py_UNICODE *Host; in parse_address()
1578 const Py_UNICODE *Address) in _overlapped_Overlapped_ConnectPipe_impl()
/third_party/python/Objects/
Dunicodeobject.c1240 if (length > ((PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(Py_UNICODE)) - 1)) { in _PyUnicode_New()
1252 new_size = sizeof(Py_UNICODE) * ((size_t)length + 1); in _PyUnicode_New()
1266 _PyUnicode_WSTR(unicode) = (Py_UNICODE*) PyObject_Malloc(new_size); in _PyUnicode_New()
2197 PyUnicode_FromUnicode(const Py_UNICODE *u, Py_ssize_t size) in PyUnicode_FromUnicode()
2272 _PyUnicode_CONVERT_BYTES(Py_UNICODE, unsigned char, in PyUnicode_FromWideChar()
2279 _PyUnicode_CONVERT_BYTES(Py_UNICODE, Py_UCS2, in PyUnicode_FromWideChar()
3751 PyUnicode_Encode(const Py_UNICODE *s, in PyUnicode_Encode()
4268 Py_UNICODE *
4275 Py_UNICODE *w = _PyUnicode_WSTR(unicode); in PyUnicode_AsUnicodeAndSize()
4307 Py_UNICODE *
[all …]

12