/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | python_api_dispatcher.cc | 65 s1 ? PyUnicode_AsUTF8(s1.get()) : "?", " and ", in RaiseDispatchConflictError() 66 s2 ? PyUnicode_AsUTF8(s2.get()) : "?", in RaiseDispatchConflictError() 87 absl::StrCat("Type ", s ? PyUnicode_AsUTF8(s.get()) : "?", in RegisterDispatchableType() 162 target_str ? PyUnicode_AsUTF8(target_str.get()) : "?"); in DebugString()
|
/aosp_15_r20/external/python/cpython3/Modules/_io/ |
D | textio.c | 699 return _PyUnicode_AsASCIIString(text, PyUnicode_AsUTF8(self->errors)); in ascii_encode() 706 PyUnicode_AsUTF8(self->errors), 1); in utf16be_encode() 713 PyUnicode_AsUTF8(self->errors), -1); in utf16le_encode() 728 PyUnicode_AsUTF8(self->errors), 0); in utf16_encode() 735 PyUnicode_AsUTF8(self->errors), 1); in utf32be_encode() 742 PyUnicode_AsUTF8(self->errors), -1); in utf32le_encode() 757 PyUnicode_AsUTF8(self->errors), 0); in utf32_encode() 763 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode() 769 return _PyUnicode_AsLatin1String(text, PyUnicode_AsUTF8(self->errors)); in latin1_encode() 1135 encoding = PyUnicode_AsUTF8(self->encoding); in _io_TextIOWrapper___init___impl() [all …]
|
/aosp_15_r20/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()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | moduleobject.c | 276 name = PyUnicode_AsUTF8(nameobj); in PyModule_FromDefAndSpec2() 518 return PyUnicode_AsUTF8(name); in PyModule_GetName() 552 utf8 = PyUnicode_AsUTF8(fileobj); in PyModule_GetFilename() 607 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict() 628 const char *s = PyUnicode_AsUTF8(key); in _PyModule_ClearDict()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/ |
H A D | py_util.cc | 87 strings::StrAppend(out, PyUnicode_AsUTF8(v), "\n"); in TryAppendTraceback() 111 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str), "\n"); in PyExceptionFetch()
|
/aosp_15_r20/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)
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | getpath.c | 541 fprintf(stderr, "%s\n", PyUnicode_AsUTF8(msgobj)); in getpath_warn() 935 if (!strcmp("__builtins__", PyUnicode_AsUTF8(k))) { in _PyConfig_InitPathConfig() 939 fprintf(stderr, "%s = ", PyUnicode_AsUTF8(k)); in _PyConfig_InitPathConfig() 942 fprintf(stderr, "%s\n", PyUnicode_AsUTF8(o)); in _PyConfig_InitPathConfig()
|
D | syslogmodule.c | 142 ident_str = PyUnicode_AsUTF8(ident); in syslog_openlog() 176 message = PyUnicode_AsUTF8(message_object); in syslog_syslog()
|
D | _testcapimodule.c | 1151 assert(strcmp(PyUnicode_AsUTF8(tp_name), "int") == 0); in test_get_type_name() 1155 assert(strcmp(PyUnicode_AsUTF8(tp_name), "module") == 0); in test_get_type_name() 1163 assert(strcmp(PyUnicode_AsUTF8(tp_name), "HeapTypeNameType") == 0); in test_get_type_name() 1175 assert(strcmp(PyUnicode_AsUTF8(tp_name), "test_name") == 0); in test_get_type_name() 1276 assert(strcmp(PyUnicode_AsUTF8(class_ht->ht_name), "_Test") == 0); in test_type_from_ephemeral_spec() 1277 assert(strcmp(PyUnicode_AsUTF8(class_ht->ht_qualname), "_Test") == 0); in test_type_from_ephemeral_spec() 1289 assert(strcmp(PyUnicode_AsUTF8(obj), "<test>") == 0); in test_type_from_ephemeral_spec() 1309 assert(strcmp(PyUnicode_AsUTF8(tp_qualname), "int") == 0); in test_get_type_qualname() 1313 assert(strcmp(PyUnicode_AsUTF8(tp_qualname), "OrderedDict") == 0); in test_get_type_qualname() 1321 assert(strcmp(PyUnicode_AsUTF8(tp_qualname), "HeapTypeNameType") == 0); in test_get_type_qualname() [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/ |
H A D | eval_frame.c | 250 return PyUnicode_AsUTF8(F_CODE(frame)->co_name); in get_frame_name() 542 PyUnicode_AsUTF8(F_CODE(frame)->co_filename), in _custom_eval_frame() 549 PyUnicode_AsUTF8(F_CODE(frame)->co_filename), in _custom_eval_frame()
|
/aosp_15_r20/external/pytorch/torch/csrc/ |
H A D | TypeInfo.cpp | 249 oss << ", dtype=" << PyUnicode_AsUTF8(dtypeStr) << ")"; in THPFInfo_str() 261 oss << ", dtype=" << PyUnicode_AsUTF8(dtypeStr) << ")"; in THPIInfo_str()
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | structseq.cpp | 59 const char* crepr = PyUnicode_AsUTF8(repr); in returned_structseq_repr()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/util/ |
H A D | stack_trace.cc | 33 return PyUnicode_AsUTF8(o); in GetPythonString()
|
H A D | nest.cc | 40 std::string str = PyUnicode_AsUTF8(str_o.get()); in PyObject_ToString()
|
H A D | function_parameter_canonicalizer.cc | 29 return PyUnicode_AsUTF8(obj); in PyUnicodeAsUtf8Compat()
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | pythonrun.c | 202 enc = PyUnicode_AsUTF8(oenc); in PyRun_InteractiveOneObjectEx() 213 ps1 = PyUnicode_AsUTF8(v); in PyRun_InteractiveOneObjectEx() 226 ps2 = PyUnicode_AsUTF8(w); in PyRun_InteractiveOneObjectEx() 613 const char *text = PyUnicode_AsUTF8(text_obj); in print_error_text()
|
D | future.c | 18 const char *feature = PyUnicode_AsUTF8(name->name); in future_check_features()
|
D | import.c | 1275 const char *name = PyUnicode_AsUTF8(nameobj); in find_frozen() 1734 PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name)); in import_find_and_load() 1740 PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name), in import_find_and_load() 1750 import_level*2, "", PyUnicode_AsUTF8(abs_name)); in import_find_and_load()
|
D | importdl.c | 164 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | python_anomaly_mode.cpp | 50 const char* parent_name_char = PyUnicode_AsUTF8(parent_name_pyobj.get()); in print_stack()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 859 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 859 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 859 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 859 #define _PyUnicode_AsString PyUnicode_AsUTF8
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode); 859 #define _PyUnicode_AsString PyUnicode_AsUTF8
|