/external/python/cpython3/Objects/stringlib/ |
D | unicodedefs.h | 23 #define STRINGLIB_NEW PyUnicode_FromUnicode
|
/external/python/cpython2/Objects/stringlib/ |
D | unicodedefs.h | 23 #define STRINGLIB_NEW PyUnicode_FromUnicode
|
/external/python/cpython2/PC/ |
D | msvcrtmodule.c | 222 return PyUnicode_FromUnicode(u, 1); in msvcrt_getwch() 267 return PyUnicode_FromUnicode(s, 1); in msvcrt_getwche()
|
D | _winreg.c | 1301 o = PyUnicode_FromUnicode(retValue, wcslen(retValue)); in PyExpandEnvironmentStrings()
|
/external/python/cpython2/Python/ |
D | codecs.c | 666 res = PyUnicode_FromUnicode(NULL, end-start); in PyCodec_ReplaceErrors() 689 res = PyUnicode_FromUnicode(NULL, end-start); in PyCodec_ReplaceErrors() 759 res = PyUnicode_FromUnicode(NULL, ressize); in PyCodec_XMLCharRefReplaceErrors() 863 res = PyUnicode_FromUnicode(NULL, ressize); in PyCodec_BackslashReplaceErrors()
|
D | errors.c | 406 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetFromErrnoWithUnicodeFilename() 488 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetExcFromWindowsErrWithUnicodeFilename() 524 PyUnicode_FromUnicode(filename, wcslen(filename)) : in PyErr_SetFromWindowsErrWithUnicodeFilename()
|
D | modsupport.c | 401 v = PyUnicode_FromUnicode(u, n); in do_mkvalue()
|
/external/python/cpython2/Modules/_io/ |
D | stringio.c | 193 return PyUnicode_FromUnicode(self->buf, self->string_size); in stringio_getvalue() 250 return PyUnicode_FromUnicode(output, size); in stringio_read() 280 return PyUnicode_FromUnicode(start, len); in _stringio_readline()
|
D | textio.c | 289 PyObject *modified = PyUnicode_FromUnicode(NULL, output_len + 1); in _PyIncrementalNewlineDecoder_decode() 314 PyObject *modified = PyUnicode_FromUnicode( in _PyIncrementalNewlineDecoder_decode() 413 translated = PyUnicode_FromUnicode(NULL, len); in _PyIncrementalNewlineDecoder_decode() 1374 chars = PyUnicode_FromUnicode( in textiowrapper_get_decoded_chars() 1785 s = PyUnicode_FromUnicode(ptr + start, endpos - start); in _textiowrapper_readline() 1798 remaining = PyUnicode_FromUnicode( in _textiowrapper_readline() 1817 PyObject *s = PyUnicode_FromUnicode( in _textiowrapper_readline()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 196 # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode macro 283 # define PyUnicode_FromUnicode PyUnicodeUCS4_FromUnicode macro 464 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 453 PyObject *PyUnicode_FromUnicode(const Py_UNICODE *u, in PyUnicode_FromUnicode() function 911 string = PyUnicode_FromUnicode(NULL, n); in PyUnicode_FromFormatV() 1143 return PyUnicode_FromUnicode(s, 1); in PyUnicode_FromOrdinal() 1157 return PyUnicode_FromUnicode(PyUnicode_AS_UNICODE(obj), in PyUnicode_FromObject() 1313 unicode = PyUnicode_FromUnicode(s, size); in PyUnicode_Encode() 3507 return PyUnicode_FromUnicode(&r, 1); in PyUnicode_DecodeLatin1() 3840 return PyUnicode_FromUnicode(&r, 1); in PyUnicode_DecodeASCII() 5082 res = PyUnicode_FromUnicode(NULL, size); in PyUnicode_TranslateCharmap() 5501 u = (PyUnicodeObject*) PyUnicode_FromUnicode(NULL, self->length); in fixup() 5906 u = (PyUnicodeObject*) PyUnicode_FromUnicode(NULL, self->length); in replace() [all …]
|
/external/libchrome/third_party/markupsafe/ |
D | _speedups.c | 80 out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); in escape_unicode()
|
/external/python/cpython2/Modules/ |
D | unicodedata.c | 518 result = PyUnicode_FromUnicode(NULL, space); in nfd_nfkd() 1171 return PyUnicode_FromUnicode(str, 2); in unicodedata_lookup() 1175 return PyUnicode_FromUnicode(str, 1); in unicodedata_lookup()
|
D | _json.c | 393 PyObject *ustr = PyUnicode_FromUnicode(NULL, 0); in join_list_unicode() 581 chunk = PyUnicode_FromUnicode(&c, 1); in scanstring_str() 650 chunk = PyUnicode_FromUnicode(&buf[end], next - end); in scanstring_unicode() 748 chunk = PyUnicode_FromUnicode(&c, 1); in scanstring_unicode() 1467 numstr = PyUnicode_FromUnicode(&str[start], idx - start); in _match_number_unicode()
|
D | arraymodule.c | 177 return PyUnicode_FromUnicode(&((Py_UNICODE *) ap->ob_item)[i], 1); in u_getitem() 1516 return PyUnicode_FromUnicode((Py_UNICODE *) self->ob_item, Py_SIZE(self)); in array_tounicode()
|
D | _testcapimodule.c | 1467 return PyUnicode_FromUnicode(str, size); in getargs_u() 1477 return PyUnicode_FromUnicode(str, size); in getargs_u_hash()
|
D | _tkinter.c | 1389 result = PyUnicode_FromUnicode(NULL, size); in FromObj() 1398 return PyUnicode_FromUnicode(Tcl_GetUnicode(value), in FromObj()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 624 return make_tuple(PyUnicode_FromUnicode(NULL, 0), 0); in MultibyteCodec_Decode() 630 buf.outobj = PyUnicode_FromUnicode(NULL, datalen); in MultibyteCodec_Decode() 842 buf->outobj = PyUnicode_FromUnicode(NULL, size); in decoder_prepare_buffer() 1243 return PyUnicode_FromUnicode(NULL, 0); in mbstreamreader_iread()
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 137 rv = (PyObject *)PyUnicode_FromUnicode(data, size-1); in PyCF_CF2Python_string()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/ |
D | rjsmin.c | 443 #define PyString_FromStringAndSize PyUnicode_FromUnicode in rjsmin_jsmin()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1467 PyUnicode_FromUnicode:PyObject*::+1: 1468 PyUnicode_FromUnicode:const Py_UNICODE*:u:: 1469 PyUnicode_FromUnicode:int:size::
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | rcssmin.c | 1088 #define PyString_FromStringAndSize PyUnicode_FromUnicode in rcssmin_cssmin()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 688 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2394 PyUnicode_FromUnicode:PyObject*::+1: 2395 PyUnicode_FromUnicode:const Py_UNICODE*:u:: 2396 PyUnicode_FromUnicode:Py_ssize_t:size::
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1788 wide = PyUnicode_FromUnicode(invalid, 1); in test_widechar() 1795 wide = PyUnicode_FromUnicode(NULL, 1); in test_widechar() 2000 u = PyUnicode_FromUnicode(NULL, len); in unicode_legacy_string()
|