/external/python/cpython3/Python/ |
D | codecs.c | 698 return Py_BuildValue("(Nn)", PyUnicode_New(0, 0), end); in PyCodec_IgnoreErrors() 715 res = PyUnicode_New(len, '?'); in PyCodec_ReplaceErrors() 741 res = PyUnicode_New(len, Py_UNICODE_REPLACEMENT_CHARACTER); in PyCodec_ReplaceErrors() 796 res = PyUnicode_New(ressize, 127); in PyCodec_XMLCharRefReplaceErrors() 875 res = PyUnicode_New(4 * (end - start), 127); in PyCodec_BackslashReplaceErrors() 928 res = PyUnicode_New(ressize, 127); in PyCodec_BackslashReplaceErrors() 1010 res = PyUnicode_New(ressize, 127); in PyCodec_NameReplaceErrors()
|
D | pystrhex.c | 23 retval = PyUnicode_New(arglen*2, 127); in _Py_strhex_impl()
|
D | formatter_unicode.c | 736 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info()
|
D | marshal.c | 1200 v = PyUnicode_New(0, 0); in r_object()
|
D | ceval.c | 2242 PyObject *empty = PyUnicode_New(0, 0); in _PyEval_EvalFrameDefault()
|
D | compile.c | 271 result = PyUnicode_New(1 + nlen + plen, maxchar); in _Py_Mangle()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 207 unicode_empty = PyUnicode_New(0, 0); \ 1076 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in resize_copy() 1262 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) in PyUnicode_New() function 1994 unicode = PyUnicode_New(1, ch); in get_latin1_char() 2015 unicode = PyUnicode_New(1, ch); in unicode_char() 2078 unicode = PyUnicode_New(size - num_surrogates, maxchar); in PyUnicode_FromWideChar() 2180 unicode = PyUnicode_New(size, 127); in _PyUnicode_FromASCII() 2216 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS1() 2237 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS2() 2263 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS4() [all …]
|
D | longobject.c | 1679 str = PyUnicode_New(strlen, '9'); in long_to_decimal_string_internal() 1845 v = PyUnicode_New(sz, 'x'); in long_format_binary()
|
D | abstract.c | 725 empty = PyUnicode_New(0, 0); in PyObject_Format()
|
D | bytesobject.c | 1378 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() 527 format_spec_object = PyUnicode_New(0, 0); in render_field()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 652 return make_tuple(PyUnicode_New(0, 0), 0); in _multibytecodec_MultibyteCodec_decode_impl() 1270 return PyUnicode_New(0, 0); in mbstreamreader_iread()
|
/external/python/cpython3/Modules/_io/ |
D | stringio.c | 353 return PyUnicode_New(0, 0); in _stringio_readline()
|
D | textio.c | 337 modified = PyUnicode_New(output_len + 1, in _PyIncrementalNewlineDecoder_decode()
|
/external/python/cpython3/Modules/ |
D | _json.c | 206 rval = PyUnicode_New(output_size, 127); in ascii_escape_unicode() 272 rval = PyUnicode_New(output_size, maxchar); in escape_unicode()
|
D | zipimport.c | 190 Py_XSETREF(self->prefix, PyUnicode_New(0, 0)); in zipimport_zipimporter___init___impl()
|
D | _elementtree.c | 1282 return PyUnicode_New(0, 0); in _elementtree_Element_findtext_impl()
|
D | _testcapimodule.c | 1927 if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to), in unicode_copycharacters()
|
D | socketmodule.c | 5160 return PyUnicode_New(0, 0);
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 586 PyAPI_FUNC(PyObject*) PyUnicode_New(
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 389 .. c:function:: PyObject* PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) 421 :c:func:`PyUnicode_New`. 611 :c:func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, 686 :c:func:`PyUnicode_FromWideChar` or :c:func:`PyUnicode_New`.
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2719 PyUnicode_New:PyObject*::+1: 2720 PyUnicode_New:Py_ssize_t:size:: 2721 PyUnicode_New:Py_UCS4:maxchar::
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 4417 return PyUnicode_New(0, 0); in Array_subscript() 5101 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 | 2943 res = PyUnicode_New(size, 127); in unicode_fromascii()
|