Home
last modified time | relevance | path

Searched refs:tb_lines (Results 1 – 25 of 26) sorted by relevance

12

/dports/sysutils/linrename/util-linux-2.25.2/libsmartcols/src/
H A Dtable.c57 INIT_LIST_HEAD(&tb->tb_lines); in scols_new_table()
110 if (!tb || !cl || !list_empty(&tb->tb_lines)) in scols_table_add_column()
145 if (!tb || !cl || !list_empty(&tb->tb_lines)) in scols_table_remove_column()
170 if (!tb || !list_empty(&tb->tb_lines)) in scols_table_remove_columns()
417 list_add_tail(&ln->ln_lines, &tb->tb_lines); in scols_table_add_line()
462 while (!list_empty(&tb->tb_lines)) { in scols_table_remove_lines()
463 struct libscols_line *ln = list_entry(tb->tb_lines.next, in scols_table_remove_lines()
492 SCOLS_ITER_INIT(itr, &tb->tb_lines); in scols_table_next_line()
1047 list_sort(&tb->tb_lines, cells_cmp_wrapper, cl); in scols_sort_table()
H A DsmartcolsP.h143 struct list_head tb_lines; member
H A Dtable_print.c381 list_empty(&tb->tb_lines)) in print_header()
/dports/astro/py-astropy/astropy-5.0/astropy/utils/tests/
H A Dtest_codegen.py37 tb_lines = traceback.format_tb(tb)
38 assert '1 / 0' in tb_lines[-1]
/dports/devel/util-linux/util-linux-2.36/libsmartcols/src/
H A Dprint-api.c33 itr.head = &tb->tb_lines; in scols_table_print_range()
38 if (!start || itr.p == tb->tb_lines.next) { in scols_table_print_range()
117 if (list_empty(&tb->tb_lines)) { in do_print_table()
H A Dtable.c84 INIT_LIST_HEAD(&tb->tb_lines); in scols_new_table()
240 if (list_empty(&tb->tb_lines)) in scols_table_add_column()
268 if (!tb || !cl || !list_empty(&tb->tb_lines)) in scols_table_remove_column()
292 if (!tb || !list_empty(&tb->tb_lines)) in scols_table_remove_columns()
639 list_add_tail(&ln->ln_lines, &tb->tb_lines); in scols_table_add_line()
680 while (!list_empty(&tb->tb_lines)) { in scols_table_remove_lines()
681 struct libscols_line *ln = list_entry(tb->tb_lines.next, in scols_table_remove_lines()
710 SCOLS_ITER_INIT(itr, &tb->tb_lines); in scols_table_next_line()
1530 list_sort(&tb->tb_lines, cells_cmp_wrapper_lines, cl); in scols_sort_table()
H A DsmartcolsP.h215 struct list_head tb_lines; member
/dports/textproc/py-creole/python-creole-1.4.9/creole/tests/
H A Dtest_creole2html.py66 tb_lines = [" -" * 40]
67 tb_lines += error_msg.splitlines()
68 tb_lines += [" -" * 40]
69 tb = "\n".join([" >>> %s" % line for line in tb_lines])
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_traceback.py191 tb_lines = python_fmt.splitlines()
192 self.assertEqual(len(tb_lines), 3)
193 banner, location, source_line = tb_lines
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_traceback.py203 tb_lines = python_fmt.splitlines()
204 self.assertEqual(len(tb_lines), 3)
205 banner, location, source_line = tb_lines
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_traceback.py203 tb_lines = python_fmt.splitlines()
204 self.assertEqual(len(tb_lines), 3)
205 banner, location, source_line = tb_lines
/dports/devel/py-build/build-0.7.0/src/build/
H A D__main__.py156 tb_lines = traceback.format_exception(
162 tb = ''.join(tb_lines)
/dports/devel/py-traceback2/traceback2-1.4.0/traceback2/tests/
H A Dtest_traceback.py301 tb_lines = traceback_fmt.splitlines()
302 self.assertEqual(len(tb_lines), 5)
303 banner = tb_lines[0]
304 location, source_line = tb_lines[-2:]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_traceback.py683 tb_lines = python_fmt.splitlines()
684 banner = tb_lines[0]
686 self.assertEqual(len(tb_lines), 5)
687 location, source_line = tb_lines[-2], tb_lines[-1]
689 self.assertEqual(len(tb_lines), 7)
690 location, source_line = tb_lines[-3], tb_lines[-2]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_traceback.py259 tb_lines = python_fmt.splitlines()
260 self.assertEqual(len(tb_lines), 5)
261 banner = tb_lines[0]
262 location, source_line = tb_lines[-2:]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_traceback.py294 tb_lines = python_fmt.splitlines()
295 self.assertEqual(len(tb_lines), 5)
296 banner = tb_lines[0]
297 location, source_line = tb_lines[-2:]
/dports/devel/py-pudb/pudb-2020.1/pudb/
H A Ddebugger.py1700 tb_lines = traceback.format_list(tblist)
1701 if tb_lines:
1702 tb_lines.insert(0, "Traceback (most recent call last):\n")
1703 tb_lines[len(tb_lines):] = traceback.format_exception_only(tp, val)
1705 self.add_cmdline_content("".join(tb_lines), "command line error")
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_traceback.py340 tb_lines = python_fmt.splitlines()
341 self.assertEqual(len(tb_lines), 5)
342 banner = tb_lines[0]
343 location, source_line = tb_lines[-2:]
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/tests/
H A Dtest_convert_builtin.py383 tb_lines = traceback.format_tb(exc_info.tb)
384 assert "# MARKER" in tb_lines[-1]
/dports/devel/py-serpent/serpent-1.28/tests/
H A Dtest_serpent.py1037 tb_lines = traceback.format_exception(et, ev, etb)
1038 ev._pyroTraceback = tb_lines

12