Searched refs:PyUnicode_AsUTF8 (Results 1 - 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/python/lib/core/
H A Dpy_util.cc59 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str));
/external/python/cpython3/Modules/_sqlite/
H A Drow.c101 key = PyUnicode_AsUTF8(idx);
111 compare_key = PyUnicode_AsUTF8(obj);
H A Dconnection.c508 const char *str = PyUnicode_AsUTF8(py_val);
1530 uppercase_name_str = PyUnicode_AsUTF8(uppercase_name);
/external/python/cpython3/Modules/
H A Dsyslogmodule.c142 ident = PyUnicode_AsUTF8(S_ident_o);
170 message = PyUnicode_AsUTF8(message_object);
/external/python/cpython3/Objects/
H A Dmoduleobject.c243 name = PyUnicode_AsUTF8(nameobj);
486 return PyUnicode_AsUTF8(name);
519 utf8 = PyUnicode_AsUTF8(fileobj);
572 const char *s = PyUnicode_AsUTF8(key);
592 const char *s = PyUnicode_AsUTF8(key);
H A Dstructseq.c197 crepr = PyUnicode_AsUTF8(repr);
H A Dobject.c893 char *name_str = PyUnicode_AsUTF8(name);
937 char *name_str = PyUnicode_AsUTF8(name);
/external/python/cpython3/Python/
H A Dfuture.c24 const char *feature = PyUnicode_AsUTF8(name->name);
H A Dimportdl.c149 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode);
H A Dpythonrun.c174 enc = PyUnicode_AsUTF8(oenc);
185 ps1 = PyUnicode_AsUTF8(v);
198 ps2 = PyUnicode_AsUTF8(w);
517 text = PyUnicode_AsUTF8(text_obj);
H A Dbltinmodule.c1936 stdin_encoding_str = PyUnicode_AsUTF8(stdin_encoding);
1937 stdin_errors_str = PyUnicode_AsUTF8(stdin_errors);
1953 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding);
1954 stdout_errors_str = PyUnicode_AsUTF8(stdout_errors);
H A Dcompile.c1533 PyUnicode_AsUTF8(name),
1534 PyUnicode_AsUTF8(c->u->u_name),
1535 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_id)),
1536 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_symbols)),
1537 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_varnames)),
1538 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_names))
1590 PyUnicode_AsUTF8(PyObject_Repr(name)),
1591 PyUnicode_AsUTF8(c->u->u_name),
1593 PyUnicode_AsUTF8(co->co_name),
1594 PyUnicode_AsUTF8(PyObject_Rep
[all...]
H A Dceval.c4728 return PyUnicode_AsUTF8(((PyFunctionObject*)func)->func_name);
5302 obj_str = PyUnicode_AsUTF8(obj);
5447 filename = PyUnicode_AsUTF8(f->f_code->co_filename);
5448 funcname = PyUnicode_AsUTF8(f->f_code->co_name);
5461 filename = PyUnicode_AsUTF8(f->f_code->co_filename);
5462 funcname = PyUnicode_AsUTF8(f->f_code->co_name);
5491 co_filename = PyUnicode_AsUTF8(frame->f_code->co_filename);
5494 co_name = PyUnicode_AsUTF8(frame->f_code->co_name);
H A Dpylifecycle.c208 name_utf8 = PyUnicode_AsUTF8(name);
1288 std_encoding = PyUnicode_AsUTF8(encoding_attr);
H A Dcodecs.c1157 if (!(encoding = PyUnicode_AsUTF8(encode))) {
1239 if (!(encoding = PyUnicode_AsUTF8(encode))) {
H A Dsysmodule.c117 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding);
2414 utf8 = PyUnicode_AsUTF8(message);
/external/python/cpython3/Modules/cjkcodecs/
H A Dcjkcodecs.h270 enc = PyUnicode_AsUTF8(encoding);
H A Dmultibytecodec.c88 str = PyUnicode_AsUTF8(errors);
141 str = PyUnicode_AsUTF8(value);
/external/python/cpython3/Modules/_ctypes/
H A Dstgdict.c492 char *fieldname = PyUnicode_AsUTF8(name);
H A D_ctypes.c1732 switch (PyUnicode_AsUTF8(stgd->proto)[0]) {
1844 fmt = PyUnicode_AsUTF8(dict->proto);
2068 fmt = PyUnicode_AsUTF8(dict->proto);
3137 && (strchr("PzZ", PyUnicode_AsUTF8(dict->proto)[0]))) {
3227 *pname = PyUnicode_AsUTF8(obj);
5242 && (strchr("sPzUZXO", PyUnicode_AsUTF8(dict->proto)[0]))) {
/external/tensorflow/tensorflow/python/eager/
H A Dpywrap_tfe_src.cc85 *value = PyUnicode_AsUTF8(py_value);
525 : PyUnicode_AsUTF8(py_key);
706 return PyUnicode_AsUTF8(o);
1094 op_type_str = PyUnicode_AsUTF8(op_type);
H A Dpywrap_tensor.cc107 device = PyUnicode_AsUTF8(dev);
/external/python/cpython3/Include/
H A Dunicodeobject.h1146 _PyUnicode_AsString is a #define for PyUnicode_AsUTF8 to
1161 PyAPI_FUNC(char *) PyUnicode_AsUTF8(PyObject *unicode);
1162 #define _PyUnicode_AsString PyUnicode_AsUTF8
/external/python/cpython3/Modules/_io/
H A Dstringio.c711 newline = PyUnicode_AsUTF8(newline_obj);
/external/protobuf/python/google/protobuf/pyext/
H A Drepeated_scalar_container.cc57 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AsString(ob))

Completed in 393 milliseconds

12