Home
last modified time | relevance | path

Searched refs:PyUnicode_DecodeUTF8 (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython3/Modules/
D_scproxy.c24 return PyUnicode_DecodeUTF8( in cfstring_to_pystring()
46 result = PyUnicode_DecodeUTF8( in cfstring_to_pystring()
D_elementtree.c3134 value = PyUnicode_DecodeUTF8(p, size, "strict"); in makeuniversal()
3221 key = PyUnicode_DecodeUTF8(data_in + 1, data_len - 2, "strict"); in expat_default_handler()
3278 PyObject* value = PyUnicode_DecodeUTF8(attrib_in[1], strlen(attrib_in[1]), "strict"); in expat_start_handler()
3334 data = PyUnicode_DecodeUTF8(data_in, data_len, "strict"); in expat_data_handler()
3399 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3402 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3413 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3416 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3452 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_end_ns_handler()
3476 comment = PyUnicode_DecodeUTF8(comment_in, strlen(comment_in), "strict"); in expat_comment_handler()
[all …]
Dpyexpat.c162 return PyUnicode_DecodeUTF8(str, strlen(str), "strict"); in conv_string_to_unicode()
174 return PyUnicode_DecodeUTF8((const char *)str, len, "strict"); in conv_string_len_to_unicode()
D_tkinter.c396 PyObject *r = PyUnicode_DecodeUTF8(s, size, NULL); in unicodeFromTclStringAndSize()
424 r = PyUnicode_DecodeUTF8(s, size, "surrogateescape"); in unicodeFromTclStringAndSize()
/external/python/cpython3/Modules/_ssl/
Dmisc.c33 return PyUnicode_DecodeUTF8(data, size, error); in _PySSL_UnicodeFromBIO()
/external/python/cpython2/Include/
Dunicodeobject.h174 # define PyUnicode_DecodeUTF8 PyUnicodeUCS2_DecodeUTF8 macro
261 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8 macro
750 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
/external/python/cpython3/Objects/
Dstructseq.c243 PyObject *type_name = PyUnicode_DecodeUTF8(typ->tp_name, in structseq_repr()
282 PyObject *name = PyUnicode_DecodeUTF8(name_utf8, strlen(name_utf8), NULL); in structseq_repr()
/external/python/cpython3/Parser/
Dpegen.c12 PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL); in _PyPegen_new_type_comment()
97 PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL); in _PyPegen_new_identifier()
168 PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace"); in byte_offset_to_character_offset()
456 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line()
518 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location()
1652 PyObject *uni = PyUnicode_DecodeUTF8(PyBytes_AS_STRING(str), PyBytes_GET_SIZE(str), NULL); in _PyPegen_join_names_with_dot()
Dtokenizer.c1087 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in _syntaxerror_range()
1103 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()
1282 s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL); in verify_identifier()
Dstring_parser.c49 return PyUnicode_DecodeUTF8(t, s - t, NULL); in decode_utf8()
/external/python/cpython3/Include/
Dunicodeobject.h454 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
/external/python/pyyaml/yaml/
D_yaml.pxd11 object PyUnicode_DecodeUTF8(char *u, int s, char *e)
D_yaml.pyx432 value = PyUnicode_DecodeUTF8(<char *>token.data.scalar.value,
564 value = PyUnicode_DecodeUTF8(<char *>event.data.scalar.value,
746 value = PyUnicode_DecodeUTF8(<char *>self.parsed_event.data.scalar.value,
1393 value = PyUnicode_DecodeUTF8(buffer, size, 'strict')
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Drjsmin.c467 script = PyUnicode_DecodeUTF8(PyString_AS_STRING(result), in rjsmin_jsmin()
/external/python/cpython2/Doc/data/
Drefcounts.dat1539 PyUnicode_DecodeUTF8:PyObject*::+1:
1540 PyUnicode_DecodeUTF8:const char*:s::
1541 PyUnicode_DecodeUTF8:int:size::
1542 PyUnicode_DecodeUTF8:const char*:errors::
/external/python/cpython3/Doc/data/
Drefcounts.dat2502 PyUnicode_DecodeUTF8:PyObject*::+1:
2503 PyUnicode_DecodeUTF8:const char*:s::
2504 PyUnicode_DecodeUTF8:Py_ssize_t:size::
2505 PyUnicode_DecodeUTF8:const char*:errors::
Dstable_abi.dat723 function,PyUnicode_DecodeUTF8,3.2,
/external/python/cpython2/Modules/
Dpyexpat.c178 return PyUnicode_DecodeUTF8(str, strlen(str), "strict"); in conv_string_to_unicode()
191 return PyUnicode_DecodeUTF8((const char *)str, len, "strict"); in conv_string_len_to_unicode()
D_elementtree.c2108 return PyUnicode_DecodeUTF8(string, size, "strict");
2164 value = PyUnicode_DecodeUTF8(p, size, "strict");
D_tkinter.c472 PyObject *r = PyUnicode_DecodeUTF8(s, size, NULL); in unicode_FromTclStringAndSize()
494 r = PyUnicode_DecodeUTF8(s, size, NULL); in unicode_FromTclStringAndSize()
/external/python/cpython2/Modules/_sqlite/
Dcursor.c281 return PyUnicode_DecodeUTF8(val_str, size, NULL); in pysqlite_unicode_from_string()
Dconnection.c612 cur_py_value = PyUnicode_DecodeUTF8(val_str, strlen(val_str), NULL); in _pysqlite_build_py_params()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
Drcssmin.c1120 style = PyUnicode_DecodeUTF8(PyString_AS_STRING(result), in rcssmin_cssmin()
/external/python/cpython3/PC/
Dpython3dll.c649 EXPORT_FUNC(PyUnicode_DecodeUTF8)
/external/python/cpython2/Python/
Dmarshal.c877 v = PyUnicode_DecodeUTF8(buffer, n, NULL); in r_object()

12