/aosp_15_r20/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 106 out = PyUnicode_New(PyUnicode_GET_LENGTH(in) + delta, in escape_unicode_kind1() 132 out = PyUnicode_New(PyUnicode_GET_LENGTH(in) + delta, 65535); in escape_unicode_kind2() 158 out = PyUnicode_New(PyUnicode_GET_LENGTH(in) + delta, 1114111); in escape_unicode_kind4()
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | codecs.c | 695 return Py_BuildValue("(Nn)", PyUnicode_New(0, 0), end); in PyCodec_IgnoreErrors() 711 res = PyUnicode_New(len, '?'); in PyCodec_ReplaceErrors() 736 res = PyUnicode_New(len, Py_UNICODE_REPLACEMENT_CHARACTER); in PyCodec_ReplaceErrors() 791 res = PyUnicode_New(ressize, 127); in PyCodec_XMLCharRefReplaceErrors() 870 res = PyUnicode_New(4 * (end - start), 127); in PyCodec_BackslashReplaceErrors() 923 res = PyUnicode_New(ressize, 127); in PyCodec_BackslashReplaceErrors() 1006 res = PyUnicode_New(ressize, 127); in PyCodec_NameReplaceErrors()
|
D | pystrhex.c | 76 retval = PyUnicode_New(resultlen, 127); in _Py_strhex_impl()
|
D | formatter_unicode.c | 743 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info()
|
D | marshal.c | 1194 v = PyUnicode_New(0, 0); in r_object()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | unicodeobject.c | 1178 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in resize_copy() 1366 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) in PyUnicode_New() function 2127 unicode = PyUnicode_New(1, ch); in unicode_char() 2212 unicode = PyUnicode_New(size - num_surrogates, maxchar); in PyUnicode_FromWideChar() 2371 unicode = PyUnicode_New(size, 127); in _PyUnicode_FromASCII() 2409 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS1() 2430 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS2() 2456 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS4() 2567 copy = PyUnicode_New(len, max_char); in unicode_adjust_maxchar() 2588 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in _PyUnicode_Copy() [all …]
|
D | longobject.c | 1832 str = PyUnicode_New(strlen, '9'); in long_to_decimal_string_internal() 1998 v = PyUnicode_New(sz, 'x'); in long_format_binary()
|
D | bytesobject.c | 1338 v = PyUnicode_New(newsize, 127); in PyBytes_Repr()
|
D | abstract.c | 796 empty = PyUnicode_New(0, 0); in PyObject_Format()
|
/aosp_15_r20/external/python/cpython3/Objects/stringlib/ |
D | unicode_format.h | 75 return PyUnicode_New(0, 0); in SubString_new_object_or_empty() 534 format_spec_object = PyUnicode_New(0, 0); in render_field()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 472 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 472 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 472 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 472 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 472 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _json.c | 197 rval = PyUnicode_New(output_size, 127); in ascii_escape_unicode() 263 rval = PyUnicode_New(output_size, maxchar); in escape_unicode()
|
D | _elementtree.c | 1287 return PyUnicode_New(0, 0); in _elementtree_Element_findtext_impl()
|
/aosp_15_r20/external/python/cpython3/Modules/_io/ |
D | stringio.c | 354 return PyUnicode_New(0, 0); in _stringio_readline()
|
D | textio.c | 320 modified = PyUnicode_New(output_len + 1, in _PyIncrementalNewlineDecoder_decode()
|
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 674 return make_tuple(PyUnicode_New(0, 0), 0); in _multibytecodec_MultibyteCodec_decode_impl() 1401 return PyUnicode_New(0, 0); in mbstreamreader_iread()
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 405 .. c:function:: PyObject* PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) 443 :c:func:`PyUnicode_New`, and will be removed in Python 3.12. 642 :c:func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, 719 :c:func:`PyUnicode_New`.
|
/aosp_15_r20/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2674 PyUnicode_New:PyObject*::+1: 2675 PyUnicode_New:Py_ssize_t:size:: 2676 PyUnicode_New:Py_UCS4:maxchar::
|
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 4659 return PyUnicode_New(0, 0); in Array_subscript() 5353 return PyUnicode_New(0, 0); in Pointer_subscript()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | bytesobject.c | 1372 v = PyUnicode_New(newsize, 127); in PyBytes_Repr()
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 3125 res = PyUnicode_New(size, 127); in unicode_fromascii()
|