Home
last modified time | relevance | path

Searched refs:PyUnicode_DecodeUTF8 (Results 1 – 25 of 43) 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.c3137 value = PyUnicode_DecodeUTF8(p, size, "strict"); in makeuniversal()
3224 key = PyUnicode_DecodeUTF8(data_in + 1, data_len - 2, "strict"); in expat_default_handler()
3281 PyObject* value = PyUnicode_DecodeUTF8(attrib_in[1], strlen(attrib_in[1]), "strict"); in expat_start_handler()
3337 data = PyUnicode_DecodeUTF8(data_in, data_len, "strict"); in expat_data_handler()
3402 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3405 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3416 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3419 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3455 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_end_ns_handler()
3479 comment = PyUnicode_DecodeUTF8(comment_in, strlen(comment_in), "strict"); in expat_comment_handler()
[all …]
Dpyexpat.c153 return PyUnicode_DecodeUTF8(str, strlen(str), "strict"); in conv_string_to_unicode()
165 return PyUnicode_DecodeUTF8((const char *)str, len, "strict"); in conv_string_len_to_unicode()
D_tkinter.c391 PyObject *r = PyUnicode_DecodeUTF8(s, size, NULL); in unicodeFromTclStringAndSize()
418 r = PyUnicode_DecodeUTF8(s, size, "surrogateescape"); in unicodeFromTclStringAndSize()
/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.c204 PyObject *type_name = PyUnicode_DecodeUTF8(typ->tp_name, in structseq_repr()
243 PyObject *name = PyUnicode_DecodeUTF8(name_utf8, strlen(name_utf8), NULL); in structseq_repr()
/external/python/cpython3/Parser/pegen/
Dpegen.c12 PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL); in _PyPegen_new_type_comment()
83 PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL); in _PyPegen_new_identifier()
150 PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace"); in byte_offset_to_character_offset()
420 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location()
1398 PyObject *uni = PyUnicode_DecodeUTF8(PyBytes_AS_STRING(str), PyBytes_GET_SIZE(str), NULL); in _PyPegen_join_names_with_dot()
Dparse_string.c54 return PyUnicode_DecodeUTF8(t, s - t, NULL); in decode_utf8()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Drjsmin.c467 script = PyUnicode_DecodeUTF8(PyString_AS_STRING(result), in rjsmin_jsmin()
/external/python/cpython3/Include/
Dunicodeobject.h451 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
/external/python/cpython3/Parser/
Dtokenizer.c1056 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in syntaxerror()
1065 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in syntaxerror()
1102 s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL); in verify_identifier()
/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/PC/
Dpython3.def673 PyUnicode_DecodeUTF8=python39.PyUnicode_DecodeUTF8
/external/python/cpython3/Python/
Dpythonrun.c1648 errtext = PyUnicode_DecodeUTF8(err->text, err->offset, in err_input()
1655 errtext = PyUnicode_DecodeUTF8(err->text, len, in err_input()
Dast.c606 PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL); in new_identifier()
699 PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL); in new_type_comment()
3552 uni = PyUnicode_DecodeUTF8(PyBytes_AS_STRING(str), in alias_for_import_name()
4556 return PyUnicode_DecodeUTF8(t, s - t, NULL); in decode_utf8()
/external/python/cpython3/Doc/data/
Drefcounts.dat2525 PyUnicode_DecodeUTF8:PyObject*::+1:
2526 PyUnicode_DecodeUTF8:const char*:s::
2527 PyUnicode_DecodeUTF8:Py_ssize_t:size::
2528 PyUnicode_DecodeUTF8:const char*:errors::
/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/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/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
Drcssmin.c1120 style = PyUnicode_DecodeUTF8(PyString_AS_STRING(result), in rcssmin_cssmin()
/external/python/cpython2/Python/
Dmarshal.c877 v = PyUnicode_DecodeUTF8(buffer, n, NULL); in r_object()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c973 py_statement = PyUnicode_DecodeUTF8(statement_string, in _trace_callback()
/external/python/cpython2/Parser/
Dtokenizer.c1711 PyObject *unicode_text = PyUnicode_DecodeUTF8(text, len, "replace"); in dec_utf8()

12