Home
last modified time | relevance | path

Searched refs:PyUnicode_FromUnicode (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython3/Objects/stringlib/
Dunicodedefs.h23 #define STRINGLIB_NEW PyUnicode_FromUnicode
/external/python/cpython2/Objects/stringlib/
Dunicodedefs.h23 #define STRINGLIB_NEW PyUnicode_FromUnicode
/external/python/cpython2/PC/
Dmsvcrtmodule.c222 return PyUnicode_FromUnicode(u, 1); in msvcrt_getwch()
267 return PyUnicode_FromUnicode(s, 1); in msvcrt_getwche()
D_winreg.c1301 o = PyUnicode_FromUnicode(retValue, wcslen(retValue)); in PyExpandEnvironmentStrings()
/external/python/cpython2/Python/
Dcodecs.c666 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()
Derrors.c406 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()
Dmodsupport.c401 v = PyUnicode_FromUnicode(u, n); in do_mkvalue()
/external/python/cpython2/Modules/_io/
Dstringio.c193 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()
Dtextio.c289 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/
Dunicodeobject.h196 # define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode macro
283 # define PyUnicode_FromUnicode PyUnicodeUCS4_FromUnicode macro
464 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
/external/python/cpython2/Objects/
Dunicodeobject.c453 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.c80 out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); in escape_unicode()
/external/python/cpython2/Modules/
Dunicodedata.c518 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.c393 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()
Darraymodule.c177 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.c1467 return PyUnicode_FromUnicode(str, size); in getargs_u()
1477 return PyUnicode_FromUnicode(str, size); in getargs_u_hash()
D_tkinter.c1389 result = PyUnicode_FromUnicode(NULL, size); in FromObj()
1398 return PyUnicode_FromUnicode(Tcl_GetUnicode(value), in FromObj()
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c624 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/
Dpycfbridge.c137 rv = (PyObject *)PyUnicode_FromUnicode(data, size-1); in PyCF_CF2Python_string()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Drjsmin.c443 #define PyString_FromStringAndSize PyUnicode_FromUnicode in rjsmin_jsmin()
/external/python/cpython2/Doc/data/
Drefcounts.dat1467 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/
Drcssmin.c1088 #define PyString_FromStringAndSize PyUnicode_FromUnicode in rcssmin_cssmin()
/external/python/cpython3/Include/
Dunicodeobject.h688 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
/external/python/cpython3/Doc/data/
Drefcounts.dat2394 PyUnicode_FromUnicode:PyObject*::+1:
2395 PyUnicode_FromUnicode:const Py_UNICODE*:u::
2396 PyUnicode_FromUnicode:Py_ssize_t:size::
/external/python/cpython3/Modules/
D_testcapimodule.c1788 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()

12