/external/python/cpython3/Modules/_multiprocessing/ |
D | posixshmem.c | 45 const char *name = PyUnicode_AsUTF8(path); in _posixshmem_shm_open_impl() 84 const char *name = PyUnicode_AsUTF8(path); in _posixshmem_shm_unlink_impl()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 87 strings::StrAppend(out, PyUnicode_AsUTF8(v), "\n"); in TryAppendTraceback() 111 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str), "\n"); in PyExceptionFetch()
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 256 name = PyUnicode_AsUTF8(nameobj); in PyModule_FromDefAndSpec2() 497 return PyUnicode_AsUTF8(name); in PyModule_GetName() 530 utf8 = PyUnicode_AsUTF8(fileobj); in PyModule_GetFilename() 585 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict() 606 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict()
|
D | object.c | 892 const char *name_str = PyUnicode_AsUTF8(name); in PyObject_GetAttr() 930 const char *name_str = PyUnicode_AsUTF8(name); in _PyObject_LookupAttr() 999 const char *name_str = PyUnicode_AsUTF8(name); in PyObject_SetAttr()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 708 return _PyUnicode_AsASCIIString(text, PyUnicode_AsUTF8(self->errors)); in ascii_encode() 715 PyUnicode_AsUTF8(self->errors), 1); in utf16be_encode() 722 PyUnicode_AsUTF8(self->errors), -1); in utf16le_encode() 737 PyUnicode_AsUTF8(self->errors), 0); in utf16_encode() 744 PyUnicode_AsUTF8(self->errors), 1); in utf32be_encode() 751 PyUnicode_AsUTF8(self->errors), -1); in utf32le_encode() 766 PyUnicode_AsUTF8(self->errors), 0); in utf32_encode() 772 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode() 778 return _PyUnicode_AsLatin1String(text, PyUnicode_AsUTF8(self->errors)); in latin1_encode() 1182 encoding = PyUnicode_AsUTF8(self->encoding); in _io_TextIOWrapper___init___impl() [all …]
|
/external/python/cpython3/Misc/ |
D | gdbinit | 43 set $_name = PyUnicode_AsUTF8(PyTuple_GetItem($_names, $_i)) 87 set $__fn = PyUnicode_AsUTF8(f->f_code->co_filename) 88 set $__n = PyUnicode_AsUTF8(f->f_code->co_name)
|
/external/python/cpython3/Modules/ |
D | syslogmodule.c | 142 ident = PyUnicode_AsUTF8(S_ident_o); in syslog_openlog() 173 message = PyUnicode_AsUTF8(message_object); in syslog_syslog()
|
/external/tensorflow/tensorflow/python/util/ |
D | stack_trace.cc | 33 return PyUnicode_AsUTF8(o); in GetPythonString()
|
D | nest.cc | 40 std::string str = PyUnicode_AsUTF8(str_o.get()); in PyObject_ToString()
|
D | function_parameter_canonicalizer.cc | 28 return PyUnicode_AsUTF8(obj); in PyUnicodeAsUtf8Compat()
|
D | util.cc | 71 key = PyUnicode_AsUTF8(name); in RegisterPyObject() 139 string s(PyUnicode_AsUTF8(str)); in PyObjectToString()
|
/external/python/cpython3/Python/ |
D | future.c | 25 const char *feature = PyUnicode_AsUTF8(name->name); in future_check_features()
|
D | importdl.c | 159 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
|
D | pythonrun.c | 203 enc = PyUnicode_AsUTF8(oenc); in PyRun_InteractiveOneObjectEx() 214 ps1 = PyUnicode_AsUTF8(v); in PyRun_InteractiveOneObjectEx() 227 ps2 = PyUnicode_AsUTF8(w); in PyRun_InteractiveOneObjectEx() 558 const char *text = PyUnicode_AsUTF8(text_obj); in print_error_text()
|
D | compile.c | 1879 PyUnicode_AsUTF8(name), in get_ref_type() 1880 PyUnicode_AsUTF8(c->u->u_name), in get_ref_type() 1881 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_id)), in get_ref_type() 1882 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type() 1883 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_varnames)), in get_ref_type() 1884 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_names))); in get_ref_type() 1930 PyUnicode_AsUTF8(PyObject_Repr(name)), in compiler_make_closure() 1931 PyUnicode_AsUTF8(c->u->u_name), in compiler_make_closure() 1933 PyUnicode_AsUTF8(co->co_name), in compiler_make_closure() 1934 PyUnicode_AsUTF8(PyObject_Repr(co->co_freevars))); in compiler_make_closure() [all …]
|
D | bltinmodule.c | 2020 stdin_encoding_str = PyUnicode_AsUTF8(stdin_encoding); in builtin_input_impl() 2021 stdin_errors_str = PyUnicode_AsUTF8(stdin_errors); in builtin_input_impl() 2041 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding); in builtin_input_impl() 2042 stdout_errors_str = PyUnicode_AsUTF8(stdout_errors); in builtin_input_impl()
|
D | import.c | 1279 namestr = PyUnicode_AsUTF8(name); in _imp_create_builtin() 1769 PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name)); in import_find_and_load() 1776 PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name), in import_find_and_load() 1786 import_level*2, "", PyUnicode_AsUTF8(abs_name)); in import_find_and_load()
|
D | ceval.c | 4971 return PyUnicode_AsUTF8(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName() 5452 obj_str = PyUnicode_AsUTF8(obj); in format_exc_check_arg() 5622 filename = PyUnicode_AsUTF8(code->co_filename); in dtrace_function_entry() 5623 funcname = PyUnicode_AsUTF8(code->co_name); in dtrace_function_entry() 5637 filename = PyUnicode_AsUTF8(code->co_filename); in dtrace_function_return() 5638 funcname = PyUnicode_AsUTF8(code->co_name); in dtrace_function_return() 5667 co_filename = PyUnicode_AsUTF8(frame->f_code->co_filename); in maybe_dtrace_line() 5670 co_name = PyUnicode_AsUTF8(frame->f_code->co_name); in maybe_dtrace_line()
|
D | codecs.c | 1146 if (!(encoding = PyUnicode_AsUTF8(encode))) { in PyCodec_SurrogatePassErrors() 1225 if (!(encoding = PyUnicode_AsUTF8(encode))) { in PyCodec_SurrogatePassErrors()
|
D | sysmodule.c | 485 const char *event = PyUnicode_AsUTF8(auditEvent); in sys_audit() 615 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding); in sys_displayhook_unencodable() 3302 utf8 = PyUnicode_AsUTF8(message); in sys_format()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 772 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 774 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 272 enc = PyUnicode_AsUTF8(encoding); in getcodec()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 1932 switch (PyUnicode_AsUTF8(stgd->proto)[0]) { in c_void_p_from_param() 2050 fmt = PyUnicode_AsUTF8(dict->proto); in PyCSimpleType_paramfunc() 2282 fmt = PyUnicode_AsUTF8(dict->proto); in PyCSimpleType_from_param() 3439 && (strchr("PzZ", PyUnicode_AsUTF8(dict->proto)[0]))) { in _check_outarg_type() 3533 *pname = PyUnicode_AsUTF8(obj); in _get_name() 5599 && (strchr("sPzUZXO", PyUnicode_AsUTF8(dict->proto)[0]))) { in cast_check_pointertype()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 508 const char *str = PyUnicode_AsUTF8(py_val); in _pysqlite_set_result() 1684 uppercase_name_str = PyUnicode_AsUTF8(uppercase_name); in pysqlite_connection_create_collation()
|
/external/python/cpython3/Parser/pegen/ |
D | pegen.c | 145 const char *str = PyUnicode_AsUTF8(line); in byte_offset_to_character_offset() 1371 const char *first_str = PyUnicode_AsUTF8(first_identifier); in _PyPegen_join_names_with_dot() 1375 const char *second_str = PyUnicode_AsUTF8(second_identifier); in _PyPegen_join_names_with_dot()
|