Home
last modified time | relevance | path

Searched refs:Traceback (Results 1 – 25 of 157) sorted by relevance

1234567

/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_traceback.cc28 py::class_<Traceback::Frame>(m, "Frame") in BuildTracebackSubmodule()
29 .def_readonly("file_name", &Traceback::Frame::file_name) in BuildTracebackSubmodule()
30 .def_readonly("function_name", &Traceback::Frame::function_name) in BuildTracebackSubmodule()
32 &Traceback::Frame::function_start_line) in BuildTracebackSubmodule()
33 .def_readonly("line_num", &Traceback::Frame::line_num) in BuildTracebackSubmodule()
34 .def("__repr__", [](const Traceback::Frame& frame) { in BuildTracebackSubmodule()
39 py::class_<Traceback, std::shared_ptr<Traceback>> traceback( in BuildTracebackSubmodule()
42 "enabled", [](py::object /* cls */) { return Traceback::enabled(); }, in BuildTracebackSubmodule()
44 return Traceback::SetEnabled(enabled); in BuildTracebackSubmodule()
47 "get_traceback", []() { return Traceback::Get(); }, in BuildTracebackSubmodule()
[all …]
Dtraceback.h29 class Traceback {
32 static std::shared_ptr<Traceback> Get();
39 Traceback() = default;
40 ~Traceback();
42 Traceback(const Traceback&) = delete;
43 Traceback(Traceback&&) = delete;
44 Traceback& operator=(const Traceback&) = delete;
45 Traceback& operator=(Traceback&&) = delete;
Dtraceback.cc28 bool Traceback::enabled_ = true;
30 Traceback::~Traceback() { in ~Traceback()
36 std::string Traceback::Frame::ToString() const { in ToString()
40 std::string Traceback::ToString() const { in ToString()
49 std::vector<Traceback::Frame> Traceback::Frames() const { in Frames()
52 std::vector<Traceback::Frame> frames; in Frames()
64 std::shared_ptr<Traceback> Traceback::Get() { in Get()
69 auto tb = std::make_shared<Traceback>(); in Get()
79 void Traceback::SetEnabled(bool enabled) { enabled_ = enabled; } in SetEnabled()
Dpy_executable.h40 std::shared_ptr<Traceback> traceback,
78 Traceback* traceback() { return traceback_.get(); } in traceback()
87 std::shared_ptr<Traceback> traceback_;
Dpy_buffer.h56 std::shared_ptr<Traceback> traceback);
93 Traceback* traceback() { return traceback_.get(); } in traceback()
122 std::shared_ptr<Traceback> traceback_;
Dpy_executable.cc27 std::shared_ptr<Traceback> traceback, in PyExecutable()
80 auto traceback = Traceback::Get(); in PjRtExecute()
101 auto traceback = Traceback::Get(); in Execute()
126 auto traceback = Traceback::Get(); in ExecuteOnLocalDevices()
170 auto traceback = Traceback::Get(); in ExecuteShardedOnLocalDevices()
Dxla_client.py688 Traceback = _xla.Traceback variable
694 saved = Traceback.enabled
695 Traceback.enabled = enabled
699 Traceback.enabled = saved
Dpy_client.cc153 auto traceback = Traceback::Get(); in BufferFromPyval()
169 auto traceback = Traceback::Get(); in Compile()
239 Traceback* traceback;
/external/python/cpython2/Lib/test/
Dieee754.txt115 Traceback (most recent call last):
119 Traceback (most recent call last):
130 Traceback (most recent call last):
134 Traceback (most recent call last):
140 Traceback (most recent call last):
144 Traceback (most recent call last):
150 Traceback (most recent call last):
154 Traceback (most recent call last):
172 Traceback (most recent call last):
176 Traceback (most recent call last):
/external/python/cpython3/Lib/test/
Dieee754.txt115 Traceback (most recent call last):
119 Traceback (most recent call last):
130 Traceback (most recent call last):
134 Traceback (most recent call last):
140 Traceback (most recent call last):
144 Traceback (most recent call last):
150 Traceback (most recent call last):
154 Traceback (most recent call last):
172 Traceback (most recent call last):
176 Traceback (most recent call last):
Dtest_tracemalloc.py39 return data, tracemalloc.Traceback(frames, min(len(frames), nframe))
78 return tracemalloc.Traceback(frames)
128 obj_traceback = tracemalloc.Traceback(frames, min(len(frames), nframe))
979 return tracemalloc.Traceback(frames)
1007 tracemalloc.Traceback(frames))
1030 tracemalloc.Traceback(frames))
/external/python/cpython3/Lib/
Dtracemalloc.py180 class Traceback(Sequence): class
216 if not isinstance(other, Traceback):
221 if not isinstance(other, Traceback):
267 return Traceback(frames)
293 return Traceback(*self._trace[2:])
498 traceback = Traceback(frames)
518 traceback = Traceback(frames)
/external/python/cpython3/Doc/library/
Dtracemalloc.rst16 * Traceback where an object was allocated
310 Return a :class:`Traceback` instance, or ``None`` if the :mod:`tracemalloc`
374 traceback by looking at the :attr:`Traceback.total_nframe` attribute.
514 The :class:`Traceback` class is a sequence of :class:`Frame` instances.
635 Traceback where the memory block was allocated, :class:`Traceback`
674 Traceback where the memory blocks were allocated, :class:`Traceback`
704 Traceback where the memory block was allocated, :class:`Traceback`
708 Traceback section in API
711 .. class:: Traceback
723 :attr:`Traceback.total_nframe` attribute. That allows to know if a traceback
[all …]
Dtraceback.rst45 * if *tb* is not ``None``, it prints a header ``Traceback (most recent
342 Traceback Examples
415 Traceback (most recent call last):
422 Traceback (most recent call last):
429 Traceback (most recent call last):
432 ['Traceback (most recent call last):\n',
/external/python/cpython2/Doc/library/
Dtraceback.rst36 ways: (1) if *tb* is not ``None``, it prints a header ``Traceback (most
143 Traceback Examples
210 Traceback (most recent call last):
217 Traceback (most recent call last):
224 Traceback (most recent call last):
227 ['Traceback (most recent call last):\n',
/external/python/cpython3/Doc/tutorial/
Derrors.rst46 Traceback (most recent call last):
50 Traceback (most recent call last):
54 Traceback (most recent call last):
243 Traceback (most recent call last):
265 Traceback (most recent call last):
291 Traceback (most recent call last):
298 Traceback (most recent call last):
311 Traceback (most recent call last):
388 Traceback (most recent call last):
451 Traceback (most recent call last):
/external/autotest/client/bin/self-test/tests/
D085-test-exception-out2 Traceback (most recent call last):
/external/python/cpython2/Doc/tutorial/
Derrors.rst46 Traceback (most recent call last):
50 Traceback (most recent call last):
54 Traceback (most recent call last):
225 Traceback (most recent call last):
244 Traceback (most recent call last):
272 Traceback (most recent call last):
341 Traceback (most recent call last):
374 Traceback (most recent call last):
/external/python/cpython3/Doc/howto/
Dipaddress.rst113 Traceback (most recent call last):
315 Traceback (most recent call last):
319 Traceback (most recent call last):
324 Traceback (most recent call last):
328 Traceback (most recent call last):
/external/tensorflow/tensorflow/core/debug/
Ddebug_service.proto66 // Traceback stack for the origin of the call event.
76 // Traceback for the graph (if any) involved in the call.
/external/python/ipaddress/
DREADME.md23 Traceback (most recent call last):
DREADME23 Traceback (most recent call last):
/external/python/jinja/.github/
DISSUE_TEMPLATE.md25 ## Full Traceback
/external/starlark-go/internal/compile/
Dcompile_test.go56 const want = `Traceback (most recent call last):
/external/autotest/site_utils/stats/
Dapache_error_log_example.txt11 …2017] [:error] [pid 21164:tid 140225955858176] [remote 127.0.0.1:37613] Traceback (most recent cal…

1234567