Home
last modified time | relevance | path

Searched refs:tb_lineno (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Python/clinic/
H A Dtraceback.c.h6 "TracebackType(tb_next, tb_frame, tb_lasti, tb_lineno)\n"
13 int tb_lasti, int tb_lineno);
19 static const char * const _keywords[] = {"tb_next", "tb_frame", "tb_lasti", "tb_lineno", NULL}; in tb_new()
27 int tb_lineno; in tb_new() local
43 tb_lineno = _PyLong_AsInt(fastargs[3]); in tb_new()
44 if (tb_lineno == -1 && PyErr_Occurred()) { in tb_new()
47 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/third_party/python/Python/
H A Dtraceback.c60 tb->tb_lineno = lineno; in tb_create_raw()
73 tb_lineno: int
80 int tb_lasti, int tb_lineno) in tb_new_impl()
92 tb_lineno); in tb_new_impl()
99 "tb_lasti", "tb_lineno"); in tb_dir()
159 {"tb_lineno", T_INT, OFF(tb_lineno), READONLY},
946 last_line == -1 || tb->tb_lineno != last_line || in tb_printinternal()
954 last_line = tb->tb_lineno; in tb_printinternal()
960 if (tb_displayline(tb, f, code->co_filename, tb->tb_lineno, in tb_printinternal()
79 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, int tb_lasti, int tb_lineno) tb_new_impl() argument
[all...]
/third_party/python/Include/cpython/
H A Dtraceback.h12 int tb_lineno; member
/third_party/python/Lib/test/
H A Dtest_exception_group.py253 self.assertEqual(eg.__traceback__.tb_lineno, tb_linenos[0])
258 self.assertEqual(tb.tb_lineno, tb_linenos[1][i])
532 self.assertEqual(tb.tb_lineno, expected)
547 [tb.tb_lineno for tb in tbs],
608 return [tb.tb_lineno for tb in tbs if tb]
H A Dtest_raise.py245 self.assertIsInstance(tb.tb_lineno, int)
279 self.assertEqual(tb.tb_lineno, 2)
/third_party/jinja2/
H A Ddebug.py58 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/node/deps/v8/third_party/jinja2/
H A Ddebug.py59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/skia/third_party/externals/jinja2/
H A Ddebug.py59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
/third_party/python/Lib/idlelib/
H A Dstackviewer.py35 stack.append((tb.tb_frame, tb.tb_lineno))
/third_party/node/tools/inspector_protocol/jinja2/
H A Ddebug.py182 lineno = template.get_corresponding_lineno(tb.tb_lineno)
342 ('tb_lineno', ctypes.c_int)
/third_party/python/Lib/
H A Dtraceback.py345 yield tb.tb_frame, tb.tb_lineno
354 # Yield tb_lineno when co_positions does not have a line number to
357 yield tb.tb_frame, (tb.tb_lineno, ) + positions[1:]
H A Dpdb.py223 self.tb_lineno = {}
274 self.tb_lineno.clear()
284 self.tb_lineno[tb.tb_frame] = lineno
1379 exc_lineno = self.tb_lineno.get(frame, -1)
H A Dasyncore.py547 str(tb.tb_lineno)
H A Dbdb.py545 stack.append((t.tb_frame, t.tb_lineno))
H A Dinspect.py462 tb_lineno current line number in Python source code
1672 lineno = frame.tb_lineno

Completed in 15 milliseconds