Home
last modified time | relevance | path

Searched refs:PyObject_Str (Results 1 – 25 of 107) sorted by relevance

12345

/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_api_dispatcher.cc60 Safe_PyObjectPtr s1(PyObject_Str(selected)); in RaiseDispatchConflictError()
61 Safe_PyObjectPtr s2(PyObject_Str(target)); in RaiseDispatchConflictError()
85 Safe_PyObjectPtr s(PyObject_Str(py_class)); in RegisterDispatchableType()
160 Safe_PyObjectPtr target_str(PyObject_Str(target.second.get())); in DebugString()
/aosp_15_r20/external/python/cpython2/Objects/
Dexceptions.c107 out = PyObject_Str(PyTuple_GET_ITEM(self->args, 0)); in BaseException_str()
110 out = PyObject_Str(self->args); in BaseException_str()
1153 str = PyObject_Str(self->msg); in SyntaxError_str()
1155 str = PyObject_Str(Py_None); in SyntaxError_str()
1640 reason_str = PyObject_Str(uself->reason); in UnicodeEncodeError_str()
1643 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()
1728 reason_str = PyObject_Str(uself->reason); in UnicodeDecodeError_str()
1731 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
1828 reason_str = PyObject_Str(uself->reason); in UnicodeTranslateError_str()
/aosp_15_r20/external/libchrome/third_party/markupsafe/
H A D_speedups.c145 PyObject *unicode = PyObject_Str(text); in escape()
178 return PyObject_Str(s); in soft_unicode()
/aosp_15_r20/external/python/markupsafe/src/markupsafe/
D_speedups.c222 PyObject *unicode = PyObject_Str(text); in escape()
251 return PyObject_Str(s); in soft_str()
/aosp_15_r20/external/python/cpython3/Parser/
Dpegen_errors.c24 errstr = PyObject_Str(value); in _PyPegen_raise_tokenizer_init_error()
131 errstr = PyObject_Str(value); in _Pypegen_raise_decode_error()
/aosp_15_r20/external/python/cpython3/Objects/stringlib/
Ducs2lib.h25 #define STRINGLIB_TOSTR PyObject_Str
Ducs4lib.h25 #define STRINGLIB_TOSTR PyObject_Str
Ducs1lib.h25 #define STRINGLIB_TOSTR PyObject_Str
Dunicodedefs.h27 #define STRINGLIB_TOSTR PyObject_Str
Dasciilib.h25 #define STRINGLIB_TOSTR PyObject_Str
Dstringdefs.h25 #define STRINGLIB_TOSTR PyObject_Str
/aosp_15_r20/external/python/cpython2/Objects/stringlib/
Dunicodedefs.h32 #define STRINGLIB_TOSTR PyObject_Str
Dstringdefs.h27 #define STRINGLIB_TOSTR PyObject_Str
/aosp_15_r20/external/python/cpython3/Objects/
Dexceptions.c126 return PyObject_Str(PyTuple_GET_ITEM(self->args, 0)); in BaseException_str()
128 return PyObject_Str(self->args); in BaseException_str()
2465 return PyObject_Str(self->msg ? self->msg : Py_None); in SyntaxError_str()
2916 reason_str = PyObject_Str(uself->reason); in UnicodeEncodeError_str()
2919 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()
3029 reason_str = PyObject_Str(uself->reason); in UnicodeDecodeError_str()
3032 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
3125 reason_str = PyObject_Str(uself->reason); in UnicodeTranslateError_str()
/aosp_15_r20/external/python/cpython2/Python/
Dpythonrun.c826 v = PyObject_Str(v); in PyRun_InteractiveOneFlags()
834 w = PyObject_Str(w); in PyRun_InteractiveOneFlags()
1307 PyObject *s = PyObject_Str(value); in PyErr_Display()
1645 u = PyObject_Str(value); in err_input()
D_warnings.c325 text = PyObject_Str(message); in warn_explicit()
388 PyObject *to_str = PyObject_Str(item); in warn_explicit()
/aosp_15_r20/external/python/cpython3/Python/
Dpythonrun.c209 v = PyObject_Str(v); in PyRun_InteractiveOneObjectEx()
222 w = PyObject_Str(w); in PyRun_InteractiveOneObjectEx()
1077 PyObject *s = PyObject_Str(value); in print_exception_message()
1169 PyObject *note_str = PyObject_Str(note); in print_exception_notes()
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A Dpy_util.cc105 PyObject* str = PyObject_Str(pvalue); in PyExceptionFetch()
/aosp_15_r20/external/python/cpython2/Include/
Dobject.h463 PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
464 #define PyObject_Bytes PyObject_Str
/aosp_15_r20/external/tensorflow/tensorflow/python/util/
H A Dnest.cc39 auto str_o = make_safe(PyObject_Str(o)); in PyObject_ToString()
/aosp_15_r20/external/python/cpython2/Modules/
Dgrpmodule.c120 py_str_name = PyObject_Str(pyo_name); in grp_getgrnam()
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/
H A Drepeated_scalar_container.cc165 ScopedPyObjectPtr s(PyObject_Str(arg)); in AssignItem()
388 ScopedPyObjectPtr s(PyObject_Str(item)); in Append()
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
H A Drepeated_scalar_container.cc165 ScopedPyObjectPtr s(PyObject_Str(arg)); in AssignItem()
388 ScopedPyObjectPtr s(PyObject_Str(item)); in Append()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dfloat.rst108 Use :func:`PyObject_Str` or :func:`PyOS_double_to_string` instead.
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dpython.def326 PyObject_Str

12345