/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 91 strings::StrAppend(out, PyUnicode_AsUTF8(v), "\n"); in TryAppendTraceback() 115 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str), "\n"); in PyExceptionFetch()
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 261 name = PyUnicode_AsUTF8(nameobj); in PyModule_FromDefAndSpec2() 514 return PyUnicode_AsUTF8(name); in PyModule_GetName() 547 utf8 = PyUnicode_AsUTF8(fileobj); in PyModule_GetFilename() 600 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict() 620 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict()
|
D | structseq.c | 205 crepr = PyUnicode_AsUTF8(repr); in structseq_repr()
|
D | object.c | 914 const char *name_str = PyUnicode_AsUTF8(name); in PyObject_GetAttr() 952 const char *name_str = PyUnicode_AsUTF8(name); in _PyObject_LookupAttr() 1021 const char *name_str = PyUnicode_AsUTF8(name); in PyObject_SetAttr()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 706 return _PyUnicode_AsASCIIString(text, PyUnicode_AsUTF8(self->errors)); in ascii_encode() 713 PyUnicode_AsUTF8(self->errors), 1); in utf16be_encode() 720 PyUnicode_AsUTF8(self->errors), -1); in utf16le_encode() 735 PyUnicode_AsUTF8(self->errors), 0); in utf16_encode() 742 PyUnicode_AsUTF8(self->errors), 1); in utf32be_encode() 749 PyUnicode_AsUTF8(self->errors), -1); in utf32le_encode() 764 PyUnicode_AsUTF8(self->errors), 0); in utf32_encode() 770 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode() 776 return _PyUnicode_AsLatin1String(text, PyUnicode_AsUTF8(self->errors)); in latin1_encode() 1128 encoding = PyUnicode_AsUTF8(self->encoding); in _io_TextIOWrapper___init___impl() [all …]
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 101 key = PyUnicode_AsUTF8(idx); in pysqlite_row_subscript() 111 compare_key = PyUnicode_AsUTF8(obj); in pysqlite_row_subscript()
|
D | connection.c | 514 const char *str = PyUnicode_AsUTF8(py_val); in _pysqlite_set_result() 1639 uppercase_name_str = PyUnicode_AsUTF8(uppercase_name); in pysqlite_connection_create_collation()
|
/external/python/cpython3/Modules/ |
D | syslogmodule.c | 142 ident = PyUnicode_AsUTF8(S_ident_o); in syslog_openlog() 169 message = PyUnicode_AsUTF8(message_object); in syslog_syslog()
|
/external/python/cpython3/Misc/ |
D | gdbinit | 40 set $_name = PyUnicode_AsUTF8(PyTuple_GetItem($_names, $_i)) 79 set $__fn = PyUnicode_AsUTF8(f->f_code->co_filename) 80 set $__n = PyUnicode_AsUTF8(f->f_code->co_name)
|
/external/python/cpython3/Python/ |
D | future.c | 24 const char *feature = PyUnicode_AsUTF8(name->name); in future_check_features()
|
D | importdl.c | 154 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
|
D | pythonrun.c | 198 enc = PyUnicode_AsUTF8(oenc); in PyRun_InteractiveOneObjectEx() 209 ps1 = PyUnicode_AsUTF8(v); in PyRun_InteractiveOneObjectEx() 222 ps2 = PyUnicode_AsUTF8(w); in PyRun_InteractiveOneObjectEx() 551 text = PyUnicode_AsUTF8(text_obj); in print_error_text()
|
D | import.c | 1181 namestr = PyUnicode_AsUTF8(name); in _imp_create_builtin() 1644 PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name)); in import_find_and_load() 1651 PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name), in import_find_and_load() 1661 import_level*2, "", PyUnicode_AsUTF8(abs_name)); in import_find_and_load()
|
D | bltinmodule.c | 2045 stdin_encoding_str = PyUnicode_AsUTF8(stdin_encoding); in builtin_input_impl() 2046 stdin_errors_str = PyUnicode_AsUTF8(stdin_errors); in builtin_input_impl() 2066 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding); in builtin_input_impl() 2067 stdout_errors_str = PyUnicode_AsUTF8(stdout_errors); in builtin_input_impl()
|
D | ceval.c | 4500 return PyUnicode_AsUTF8(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName() 4958 obj_str = PyUnicode_AsUTF8(obj); in format_exc_check_arg() 5124 filename = PyUnicode_AsUTF8(f->f_code->co_filename); in dtrace_function_entry() 5125 funcname = PyUnicode_AsUTF8(f->f_code->co_name); in dtrace_function_entry() 5138 filename = PyUnicode_AsUTF8(f->f_code->co_filename); in dtrace_function_return() 5139 funcname = PyUnicode_AsUTF8(f->f_code->co_name); in dtrace_function_return() 5168 co_filename = PyUnicode_AsUTF8(frame->f_code->co_filename); in maybe_dtrace_line() 5171 co_name = PyUnicode_AsUTF8(frame->f_code->co_name); in maybe_dtrace_line()
|
D | compile.c | 1577 PyUnicode_AsUTF8(name), in get_ref_type() 1578 PyUnicode_AsUTF8(c->u->u_name), in get_ref_type() 1579 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_id)), in get_ref_type() 1580 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type() 1581 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_varnames)), in get_ref_type() 1582 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_names)) in get_ref_type() 1634 PyUnicode_AsUTF8(PyObject_Repr(name)), in compiler_make_closure() 1635 PyUnicode_AsUTF8(c->u->u_name), in compiler_make_closure() 1637 PyUnicode_AsUTF8(co->co_name), in compiler_make_closure() 1638 PyUnicode_AsUTF8(PyObject_Repr(co->co_freevars))); in compiler_make_closure()
|
D | codecs.c | 1151 if (!(encoding = PyUnicode_AsUTF8(encode))) { in PyCodec_SurrogatePassErrors() 1230 if (!(encoding = PyUnicode_AsUTF8(encode))) { in PyCodec_SurrogatePassErrors()
|
D | pylifecycle.c | 252 name_utf8 = PyUnicode_AsUTF8(name); in get_codec_name() 1953 const char *std_encoding = PyUnicode_AsUTF8(encoding_attr); in init_sys_streams()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 59 key = PyUnicode_AsUTF8(type_name); in RegisterType() 142 string s(PyUnicode_AsUTF8(str)); in PyObjectToString()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 270 enc = PyUnicode_AsUTF8(encoding); in getcodec()
|
D | multibytecodec.c | 88 str = PyUnicode_AsUTF8(errors); in call_error_callback() 145 str = PyUnicode_AsUTF8(value); in codecctx_errors_set()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 82 device = PyUnicode_AsUTF8(dev); in CopyToDevice() 924 module = PyUnicode_AsUTF8(base_class_module.get()); in TFE_Py_InitEagerTensor()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 1165 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 1166 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 520 const char *fieldname = PyUnicode_AsUTF8(name); in PyCStructUnionType_update_stgdict()
|
D | _ctypes.c | 1809 switch (PyUnicode_AsUTF8(stgd->proto)[0]) { in c_void_p_from_param() 1925 fmt = PyUnicode_AsUTF8(dict->proto); in PyCSimpleType_paramfunc() 2153 fmt = PyUnicode_AsUTF8(dict->proto); in PyCSimpleType_from_param() 3230 && (strchr("PzZ", PyUnicode_AsUTF8(dict->proto)[0]))) { in _check_outarg_type() 3324 *pname = PyUnicode_AsUTF8(obj); in _get_name() 5339 && (strchr("sPzUZXO", PyUnicode_AsUTF8(dict->proto)[0]))) { in cast_check_pointertype()
|