/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()
|
/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() 1005 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 | 739 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info()
|
D | marshal.c | 1139 v = PyUnicode_New(0, 0); in r_object()
|
D | ceval.c | 2724 PyObject *empty = PyUnicode_New(0, 0); in _PyEval_EvalFrameDefault()
|
/external/python/cffi/c/ |
D | wchar_helper_3.h | 36 PyObject *result = PyUnicode_New(size - count_surrogates, 0x10FFFF); in _my_PyUnicode_FromChar16()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 230 unicode_empty = PyUnicode_New(0, 0); \ 1197 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in resize_copy() 1386 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) in PyUnicode_New() function 2136 unicode = PyUnicode_New(1, ch); in get_latin1_char() 2161 unicode = PyUnicode_New(1, ch); in unicode_char() 2224 unicode = PyUnicode_New(size - num_surrogates, maxchar); in PyUnicode_FromWideChar() 2326 unicode = PyUnicode_New(size, 127); in _PyUnicode_FromASCII() 2362 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS1() 2383 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS2() 2409 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS4() [all …]
|
D | longobject.c | 1795 str = PyUnicode_New(strlen, '9'); in long_to_decimal_string_internal() 1961 v = PyUnicode_New(sz, 'x'); in long_format_binary()
|
D | abstract.c | 786 empty = PyUnicode_New(0, 0); in PyObject_Format()
|
D | bytesobject.c | 1299 v = PyUnicode_New(newsize, 127); in PyBytes_Repr()
|
/external/python/cpython3/Objects/stringlib/ |
D | unicode_format.h | 73 return PyUnicode_New(0, 0); in SubString_new_object_or_empty() 532 format_spec_object = PyUnicode_New(0, 0); in render_field()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 460 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 642 return make_tuple(PyUnicode_New(0, 0), 0); in _multibytecodec_MultibyteCodec_decode_impl() 1431 return PyUnicode_New(0, 0); in mbstreamreader_iread()
|
/external/python/cpython3/Modules/_io/ |
D | stringio.c | 354 return PyUnicode_New(0, 0); in _stringio_readline()
|
D | textio.c | 339 modified = PyUnicode_New(output_len + 1, in _PyIncrementalNewlineDecoder_decode()
|
/external/python/cpython3/Modules/ |
D | _json.c | 196 rval = PyUnicode_New(output_size, 127); in ascii_escape_unicode() 262 rval = PyUnicode_New(output_size, maxchar); in escape_unicode()
|
D | _elementtree.c | 1299 return PyUnicode_New(0, 0); in _elementtree_Element_findtext_impl()
|
D | socketmodule.c | 5444 return PyUnicode_New(0, 0);
|
D | _testcapimodule.c | 2009 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 405 .. c:function:: PyObject* PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) 437 :c:func:`PyUnicode_New`. 627 :c:func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, 704 :c:func:`PyUnicode_New`.
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2760 PyUnicode_New:PyObject*::+1: 2761 PyUnicode_New:Py_ssize_t:size:: 2762 PyUnicode_New:Py_UCS4:maxchar::
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 4662 return PyUnicode_New(0, 0); in Array_subscript() 5358 return PyUnicode_New(0, 0); in Pointer_subscript()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 1372 v = PyUnicode_New(newsize, 127); in PyBytes_Repr()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 3088 res = PyUnicode_New(size, 127); in unicode_fromascii()
|