Home
last modified time | relevance | path

Searched refs:lineno (Results 101 - 125 of 448) sorted by relevance

12345678910>>...18

/third_party/jinja2/
H A Dexceptions.py94 lineno: int,
99 self.lineno = lineno
114 location = f"line {self.lineno}"
123 line = self.source.splitlines()[self.lineno - 1]
135 # positional argument: 'lineno'
136 return self.__class__, (self.message, self.lineno, self.name, self.filename)
H A Ddebug.py38 exc_value, None, exc_value.filename or "<unknown>", exc_value.lineno
58 lineno = template.get_corresponding_lineno(tb.tb_lineno)
59 fake_tb = fake_traceback(exc_value, tb, template.filename, lineno)
77 exc_value: BaseException, tb: t.Optional[TracebackType], filename: str, lineno: int
89 :param lineno: The line number in the template source.
106 "\n" * (lineno - 1) + "raise __jinja_exception__", filename, "exec"
/third_party/node/tools/inspector_protocol/jinja2/
H A Dexceptions.py84 def __init__(self, message, lineno, name=None, filename=None):
86 self.lineno = lineno
101 location = 'line %d' % self.lineno
110 line = self.source.splitlines()[self.lineno - 1]
/third_party/python/Include/cpython/
H A Dpyerrors.h27 PyObject *lineno; member
140 int lineno,
145 int lineno,
152 int lineno);
156 int lineno,
/third_party/python/Lib/
H A D_sitebuiltins.py70 lineno = 0
73 for i in range(lineno, lineno + self.MAXLINES):
78 lineno += self.MAXLINES
H A Dpdb.py105 for lineno, line in enumerate(fp, start=1):
107 return funcname, filename, lineno
113 for i, lineno in linestarts:
115 return lineno
270 self.lineno = None
283 lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
284 self.tb_lineno[tb.tb_frame] = lineno
675 """b(reak) [ ([filename:]lineno | function) [, condition] ]
699 lineno = None
706 # parse stuff before comma: [filename:]lineno | functio
[all...]
H A Dmailcap.py18 if 'lineno' in entry:
19 return 0, entry['lineno']
42 lineno = 0
49 morecaps, lineno = _readmailcapfile(fp, lineno)
83 def _readmailcapfile(fp, lineno):
109 if lineno is not None:
110 fields['lineno'] = lineno
111 lineno
[all...]
/third_party/rust/crates/regex/scripts/
H A Dregex-match-tests.py16 for lineno, line in enumerate(open(f), 1):
48 name = '%s_%d' % (basename, lineno)
54 lineno, pat, text, groups = t
57 % (lineno, pat, '' if text == "NULL" else text, ', '.join(options))
/third_party/ltp/include/
H A Dtst_epoll.h17 int safe_epoll_create1(const char *const file, const int lineno,
23 int safe_epoll_ctl(const char *const file, const int lineno,
29 int safe_epoll_wait(const char *const file, const int lineno,
H A Dlibnewipc.h47 key_t getipckey(const char *file, const int lineno);
51 int get_used_sysvipc(const char *file, const int lineno, const char *sysvipc_file);
59 void *probe_free_addr(const char *file, const int lineno);
H A Dtst_safe_timerfd.h11 int safe_timerfd_create(const char *file, const int lineno,
17 int safe_timerfd_gettime(const char *file, const int lineno,
23 int safe_timerfd_settime(const char *file, const int lineno,
H A Dtst_uid.h15 gid_t tst_get_free_gid_(const char *file, const int lineno, gid_t skip);
30 int tst_check_resuid_(const char *file, const int lineno, const char *callstr,
35 int tst_check_resgid_(const char *file, const int lineno, const char *callstr,
H A Dtst_test.h51 void tst_res_(const char *file, const int lineno, int ttype,
62 void tst_resm_hexd_(const char *file, const int lineno, int ttype,
73 void tst_brk_(const char *file, const int lineno, int ttype,
90 pid_t safe_fork(const char *filename, unsigned int lineno);
390 int tst_validate_children_(const char *file, const int lineno,
/third_party/python/Lib/test/
H A Dtest_global.py23 check_syntax_error(self, prog_text_1, lineno=4, offset=5)
31 check_syntax_error(self, prog_text_2, lineno=3, offset=5)
40 check_syntax_error(self, prog_text_3, lineno=4, offset=5)
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddwarf-aux.c112 * @lineno: a pointer which returns the line number
117 const char **fname, int *lineno) in cu_find_lineinfo()
127 dwarf_decl_line(&die_mem, lineno); in cu_find_lineinfo()
132 if (line && dwarf_lineno(line, lineno) == 0) { in cu_find_lineinfo()
136 *lineno = 0; in cu_find_lineinfo()
140 return (*lineno && *fname) ? *lineno : -ENOENT; in cu_find_lineinfo()
784 int lineno; in __die_walk_funclines_cb() local
788 lineno = die_get_call_lineno(in_die); in __die_walk_funclines_cb()
789 if (fname && lineno > in __die_walk_funclines_cb()
116 cu_find_lineinfo(Dwarf_Die *cu_die, Dwarf_Addr addr, const char **fname, int *lineno) cu_find_lineinfo() argument
824 int lineno; __die_walk_funclines() local
872 int lineno, ret = 0; die_walk_lines() local
[all...]
/third_party/elfutils/src/
H A Daddr2line.c367 unsigned int lineno = 0; in print_dwarf_function() local
372 lineno = val; in print_dwarf_function()
397 if (lineno == 0) in print_dwarf_function()
402 comp_dir, comp_dir_sep, file, lineno); in print_dwarf_function()
405 comp_dir, comp_dir_sep, file, lineno, colno); in print_dwarf_function()
561 print_src (const char *src, int lineno, int linecol, Dwarf_Die *cu) in print_src() argument
578 comp_dir, comp_dir_sep, src, lineno, linecol); in print_src()
581 comp_dir, comp_dir_sep, src, lineno); in print_src()
709 int lineno, linecol; in handle_address() local
711 if (line != NULL && (src = dwfl_lineinfo (line, &addr, &lineno, in handle_address()
[all...]
/third_party/eudev/test/
H A Drule-syntax-check.py36 lineno = 0 variable
38 lineno += 1
58 print('Invalid line %s:%i: %s' % (path, lineno, line))
/third_party/selinux/libselinux/src/
H A Dlabel_backends_android.c85 int pass, unsigned lineno) in process_line()
99 lineno, errbuf); in process_line()
103 lineno); in process_line()
114 lineno); in process_line()
132 path, lineno, spec_arr[nspec].lr.ctx_raw); in process_line()
150 unsigned int lineno, maxnspec, pass; in init() local
184 lineno = 0; in init()
188 if (process_line(rec, path, line_buf, pass, ++lineno) in init()
83 process_line(struct selabel_handle *rec, const char *path, char *line_buf, int pass, unsigned lineno) process_line() argument
H A Dlabel_x.c36 unsigned lineno, struct selabel_handle *rec) in process_line()
53 lineno); in process_line()
80 path, lineno, type); in process_line()
106 unsigned int lineno, pass, maxnspec; in init() local
142 lineno = 0; in init()
146 if (process_line(path, line_buf, pass, ++lineno, rec)) in init()
35 process_line(const char *path, char *line_buf, int pass, unsigned lineno, struct selabel_handle *rec) process_line() argument
/third_party/python/Python/
H A Derrors.c1046 _PyErr_BadInternalCall(const char *filename, int lineno) in _PyErr_BadInternalCall() argument
1051 filename, lineno); in _PyErr_BadInternalCall()
1599 PyErr_SyntaxLocation(const char *filename, int lineno) in PyErr_SyntaxLocation() argument
1601 PyErr_SyntaxLocationEx(filename, lineno, -1); in PyErr_SyntaxLocation()
1610 PyErr_SyntaxLocationObjectEx(PyObject *filename, int lineno, int col_offset, in PyErr_SyntaxLocationObjectEx() argument
1621 tmp = PyLong_FromLong(lineno); in PyErr_SyntaxLocationObjectEx()
1625 if (PyObject_SetAttr(v, &_Py_ID(lineno), tmp)) { in PyErr_SyntaxLocationObjectEx()
1672 tmp = PyErr_ProgramTextObject(filename, lineno); in PyErr_SyntaxLocationObjectEx()
1719 PyErr_SyntaxLocationObject(PyObject *filename, int lineno, int col_offset) { in PyErr_SyntaxLocationObject() argument
1720 PyErr_SyntaxLocationObjectEx(filename, lineno, col_offse in PyErr_SyntaxLocationObject()
1724 PyErr_RangedSyntaxLocationObject(PyObject *filename, int lineno, int col_offset, int end_lineno, int end_col_offset) PyErr_RangedSyntaxLocationObject() argument
1730 PyErr_SyntaxLocationEx(const char *filename, int lineno, int col_offset) PyErr_SyntaxLocationEx() argument
1754 err_programtext(PyThreadState *tstate, FILE *fp, int lineno, const char* encoding) err_programtext() argument
1795 PyErr_ProgramText(const char *filename, int lineno) PyErr_ProgramText() argument
1812 _PyErr_ProgramDecodedTextObject(PyObject *filename, int lineno, const char* encoding) _PyErr_ProgramDecodedTextObject() argument
1828 PyErr_ProgramTextObject(PyObject *filename, int lineno) PyErr_ProgramTextObject() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddwarf-aux.c112 * @lineno: a pointer which returns the line number
117 const char **fname, int *lineno) in cu_find_lineinfo()
127 dwarf_decl_line(&die_mem, lineno); in cu_find_lineinfo()
132 if (line && dwarf_lineno(line, lineno) == 0) { in cu_find_lineinfo()
136 *lineno = 0; in cu_find_lineinfo()
140 return *lineno ?: -ENOENT; in cu_find_lineinfo()
765 int lineno; in __die_walk_funclines_cb() local
769 lineno = die_get_call_lineno(in_die); in __die_walk_funclines_cb()
770 if (fname && lineno > 0 && die_entrypc(in_die, &addr) == 0) { in __die_walk_funclines_cb()
771 lw->retval = lw->callback(fname, lineno, add in __die_walk_funclines_cb()
116 cu_find_lineinfo(Dwarf_Die *cu_die, unsigned long addr, const char **fname, int *lineno) cu_find_lineinfo() argument
805 int lineno; __die_walk_funclines() local
853 int lineno, ret = 0; die_walk_lines() local
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Dtrace.c169 unsigned short lineno = *(unsigned short *)tracedata; in generate_pm_trace() local
177 file_hash_value = hash_string(lineno, file, FILEHASH); in generate_pm_trace()
191 unsigned short lineno = *(unsigned short *)tracedata; in show_file_hash() local
193 unsigned int hash = hash_string(lineno, file, FILEHASH); in show_file_hash()
196 pr_info(" hash matches %s:%u\n", file, lineno); in show_file_hash()
/kernel/linux/linux-6.6/drivers/base/power/
H A Dtrace.c169 unsigned short lineno = *(unsigned short *)tracedata; in generate_pm_trace() local
177 file_hash_value = hash_string(lineno, file, FILEHASH); in generate_pm_trace()
191 unsigned short lineno = *(unsigned short *)tracedata; in show_file_hash() local
193 unsigned int hash = hash_string(lineno, file, FILEHASH); in show_file_hash()
196 pr_info(" hash matches %s:%u\n", file, lineno); in show_file_hash()
/third_party/node/deps/v8/third_party/jinja2/
H A Ddebug.py39 exc_value, None, exc_value.filename or "<unknown>", exc_value.lineno
59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
60 fake_tb = fake_traceback(exc_value, tb, template.filename, lineno)
76 def fake_traceback(exc_value, tb, filename, lineno):
87 :param lineno: The line number in the template source.
103 code = compile("\n" * (lineno - 1) + "raise __jinja_exception__", filename, "exec")
/third_party/skia/third_party/externals/jinja2/
H A Ddebug.py39 exc_value, None, exc_value.filename or "<unknown>", exc_value.lineno
59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
60 fake_tb = fake_traceback(exc_value, tb, template.filename, lineno)
76 def fake_traceback(exc_value, tb, filename, lineno):
87 :param lineno: The line number in the template source.
103 code = compile("\n" * (lineno - 1) + "raise __jinja_exception__", filename, "exec")

Completed in 23 milliseconds

12345678910>>...18