Home
last modified time | relevance | path

Searched refs:lineno (Results 126 - 150 of 359) sorted by relevance

12345678910>>...15

/third_party/elfutils/libdwfl/
H A Ddwfl_module_getsrc_file.c57 const char *fname, int lineno, int column, in dwfl_module_getsrc_file()
114 if (lineno != 0 in dwfl_module_getsrc_file()
115 && (lineno > line->line in dwfl_module_getsrc_file()
128 || dwfl_line (match[inner])->line != lineno in dwfl_module_getsrc_file()
56 dwfl_module_getsrc_file(Dwfl_Module *mod, const char *fname, int lineno, int column, Dwfl_Line ***srcsp, size_t *nsrcs) dwfl_module_getsrc_file() argument
/third_party/python/Lib/idlelib/
H A Doutwin.py43 filename, lineno = match.group(1, 2)
53 return filename, int(lineno)
154 filename, lineno = result
155 self.flist.gotofileline(filename, lineno)
H A Drunscript.py67 msgtxt, (lineno, start) = msg.args
68 self.editwin.gotoline(lineno)
98 lineno = getattr(value, 'lineno', '') or 1
101 lineno += 1 #mark end of offending line
102 pos = "0.0 + %d lines + %d chars" % (lineno-1, offset-1)
H A Ddebugger_r.py108 def set_break(self, filename, lineno):
109 msg = self.idb.set_break(filename, lineno)
112 def clear_break(self, filename, lineno):
113 msg = self.idb.clear_break(filename, lineno)
334 def set_break(self, filename, lineno):
335 msg = self.call("set_break", filename, lineno)
338 def clear_break(self, filename, lineno):
339 msg = self.call("clear_break", filename, lineno)
/third_party/python/Lib/lib2to3/
H A Dfixer_base.py129 lineno = node.get_lineno()
133 self.log_message(msg % (lineno, for_output))
144 lineno = node.get_lineno()
145 self.log_message("Line %d: %s" % (lineno, reason))
H A Drefactor.py553 lineno = 0
555 lineno += 1
560 block_lineno = lineno
580 def refactor_doctest(self, block, lineno, indent, filename):
589 tree = self.parse_block(block, lineno, indent)
595 filename, lineno, err.__class__.__name__, err)
600 clipped, new = new[:lineno-1], new[lineno-1:]
601 assert clipped == ["\n"] * (lineno-1), clipped
632 def parse_block(self, block, lineno, inden
[all...]
/third_party/python/Lib/test/test_json/
H A Dtest_fail.py134 self.assertEqual(err.lineno, 1)
170 self.assertEqual(err.lineno, 1)
193 self.assertEqual(err.lineno, 1)
212 self.assertEqual(err.lineno, line)
/third_party/ltp/lib/
H A Dtst_test.c199 static void print_result(const char *file, const int lineno, int ttype, in print_result() argument
247 ret = snprintf(str, size, "%s:%i: ", file, lineno); in print_result()
264 tst_res_(file, lineno, TWARN, in print_result()
272 tst_res_(file, lineno, TWARN, in print_result()
291 void tst_vres_(const char *file, const int lineno, int ttype, const char *fmt, in tst_vres_() argument
294 print_result(file, lineno, ttype, fmt, va); in tst_vres_()
299 void tst_vbrk_(const char *file, const int lineno, int ttype, const char *fmt,
302 static void (*tst_brk_handler)(const char *file, const int lineno, int ttype,
305 static void tst_cvres(const char *file, const int lineno, int ttype, in tst_cvres() argument
313 print_result(file, lineno, ttyp in tst_cvres()
329 tst_vbrk_(const char *file, const int lineno, int ttype, const char *fmt, va_list va) tst_vbrk_() argument
350 tst_res_(const char *file, const int lineno, int ttype, const char *fmt, ...) tst_res_() argument
360 tst_brk_(const char *file, const int lineno, int ttype, const char *fmt, ...) tst_brk_() argument
426 safe_fork(const char *filename, unsigned int lineno) safe_fork() argument
448 safe_clone(const char *file, const int lineno, const struct tst_clone_args *args) safe_clone() argument
[all...]
/third_party/python/Python/
H A Dtraceback.c45 int lineno) in tb_create_raw()
60 tb->tb_lineno = lineno; in tb_create_raw()
263 /* Insert a frame into the traceback for (funcname, filename, lineno). */
264 void _PyTraceback_Add(const char *funcname, const char *filename, int lineno) in _PyTraceback_Add() argument
280 code = PyCode_NewEmpty(filename, funcname, lineno); in _PyTraceback_Add()
290 frame->f_lineno = lineno; in _PyTraceback_Add()
420 display_source_line_with_margin(PyObject *f, PyObject *filename, int lineno, int indent, in display_source_line_with_margin() argument
502 /* get the line number lineno */ in display_source_line_with_margin()
503 for (i = 0; i < lineno; i++) { in display_source_line_with_margin()
578 _Py_DisplaySourceLine(PyObject *f, PyObject *filename, int lineno, in argument
44 tb_create_raw(PyTracebackObject *next, PyFrameObject *frame, int lasti, int lineno) tb_create_raw() argument
761 tb_displayline(PyTracebackObject* tb, PyObject *f, PyObject *filename, int lineno, PyFrameObject *frame, PyObject *name, int margin_indent, const char *margin) tb_displayline() argument
1199 int lineno = _PyInterpreterFrame_GetLine(frame); dump_frame() local
[all...]
H A DPython-tokenize.c90 int lineno = type == STRING ? it->tok->first_lineno : it->tok->lineno; in tokenizeriter_next() local
91 int end_lineno = it->tok->lineno; in tokenizeriter_next()
101 return Py_BuildValue("(NiiiiiN)", str, type, lineno, end_lineno, col_offset, end_col_offset, line); in tokenizeriter_next()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dantora-prep.py200 for lineno in range(0, maxLines):
201 line = self.lines[lineno]
213 return (Pages, match.group('title'), lineno, titleAnchor)
218 return (Partials, match.group('title'), lineno, titleAnchor)
304 for lineno in range(0, len(self.lines)):
305 line = self.lines[lineno]
312 print(f'WARNING: No closing >> found on line {lineno} of {self.relpath}', file=sys.stderr)
313 elif line[0] != ' ' and self.lines[lineno-1][-1] not in '[ ':
316 self.lines[lineno-1] += ' '
341 self.lines[lineno]
[all...]
/third_party/python/Lib/asyncio/
H A Dcoroutines.py101 lineno = 0
104 lineno = coro_frame.f_lineno
105 coro_repr = f'{coro_name} running at {filename}:{lineno}'
108 lineno = coro_code.co_firstlineno
109 coro_repr = f'{coro_name} done, defined at {filename}:{lineno}'
/third_party/littlefs/scripts/
H A Dbench.py54 self.lineno = config.pop('lineno', None)
175 for (lineno, name), (nlineno, _) in it.zip_longest(
179 (l for l in code_linenos if l >= lineno and l < nlineno),
181 cases[name]['lineno'] = lineno
200 key=lambda c: c[1].get('lineno')):
203 'path': path + (':%d' % case['lineno']
204 if 'lineno' in case else ''),
284 f.lineno
[all...]
/third_party/elfutils/tests/
H A Ddwflmodtest.c56 int lineno = 0, colno = 0; in print_instance() local
59 lineno = val; in print_instance()
63 if (lineno == 0) in print_instance()
69 printf (" at %s:%u", file, lineno); in print_instance()
71 printf (" at %s:%u:%u", file, lineno, colno); in print_instance()
H A Dfuncscopes.c37 int lineno, linecol; in paddr() local
39 && (src = dwfl_lineinfo (line, &addr, &lineno, &linecol, in paddr()
44 prefix, addr, src, lineno, linecol); in paddr()
47 prefix, addr, src, lineno); in paddr()
H A Ddwfllines.c66 int lineno; in main() local
70 const char *src = dwfl_lineinfo (line, &addr, &lineno, &colno, in main()
92 assert (lineno == dw_lineno); in main()
148 i, addr, src, lineno, colno, mtime, length, in main()
H A Daddrscopes.c36 int lineno, linecol; in paddr() local
38 && (src = dwfl_lineinfo (line, &addr, &lineno, &linecol, in paddr()
43 prefix, addr, src, lineno, linecol); in paddr()
46 prefix, addr, src, lineno); in paddr()
/third_party/python/Include/internal/
H A Dpycore_object.h124 const char *filename, int lineno, in _PyObject_GC_TRACK()
130 filename, lineno, __func__); in _PyObject_GC_TRACK()
136 filename, lineno, __func__); in _PyObject_GC_TRACK()
160 const char *filename, int lineno, in _PyObject_GC_UNTRACK()
166 filename, lineno, __func__); in _PyObject_GC_UNTRACK()
121 _PyObject_GC_TRACK( const char *filename, int lineno, PyObject *op) _PyObject_GC_TRACK() argument
157 _PyObject_GC_UNTRACK( const char *filename, int lineno, PyObject *op) _PyObject_GC_UNTRACK() argument
/third_party/selinux/libselinux/src/
H A Dlabel_media.c34 unsigned lineno, struct selabel_handle *rec) in process_line()
51 lineno); in process_line()
79 unsigned int lineno, pass, maxnspec; in init() local
115 lineno = 0; in init()
119 if (process_line(path, line_buf, pass, ++lineno, rec)) in init()
33 process_line(const char *path, char *line_buf, int pass, unsigned lineno, struct selabel_handle *rec) process_line() argument
H A Dmatchpathcon.c40 const char *path, unsigned lineno) in compat_validate()
46 rc = myinvalidcon(path, lineno, *ctx); in compat_validate()
48 rc = mycanoncon(path, lineno, ctx); in compat_validate()
52 if (lineno) { in compat_validate()
55 path, lineno, *ctx); in compat_validate()
126 static int default_canoncon(const char *path, unsigned lineno, char **context) in default_canoncon() argument
132 if (lineno) in default_canoncon()
134 lineno, *context); in default_canoncon()
38 compat_validate(struct selabel_handle *rec, struct selabel_lookup_rec *contexts, const char *path, unsigned lineno) compat_validate() argument
/third_party/backends/include/
H A Dlassert.h55 #define lassert(arg, file, lineno) \
56 (printf ("%s:%u: failed assertion\n", file, lineno), \
/third_party/python/Parser/
H A Dpegen.c106 growable_comment_array_add(growable_comment_array *arr, int lineno, char *comment) { in growable_comment_array_add() argument
117 arr->items[arr->num_items].lineno = lineno; in growable_comment_array_add()
166 int lineno = token_type == STRING ? p->tok->first_lineno : p->tok->lineno; in initialize_token() local
167 int end_lineno = p->tok->lineno; in initialize_token()
172 token->lineno = lineno; in initialize_token()
173 token->col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + col_offset : col_offset; in initialize_token()
175 token->end_col_offset = p->tok->lineno in initialize_token()
[all...]
/third_party/python/Lib/
H A Dfileinput.py15 Functions filename(), lineno() return the filename and cumulative line
49 lineno(), fileline(), isfirstline(), isstdin(), nextfile() and close()
72 __all__ = ["input", "close", "nextfile", "filename", "lineno", "filelineno",
124 def lineno(): function
132 return _state.lineno()
175 filename(), lineno(), fileline(), isfirstline(), isstdin(), fileno(),
309 self._startlineno = self.lineno()
377 def lineno(self): member in FileInput
437 print("%d: %s[%d]%s %s" % (lineno(), filename(), filelineno(),
439 print("%d: %s[%d]" % (lineno(), filenam
[all...]
/third_party/python/Include/cpython/
H A Dwarnings.h9 int lineno,
15 const char *filename, int lineno,
/third_party/python/Lib/test/
H A Dtest_string_literals.py121 self.assertEqual(w[0].lineno, 1)
131 self.assertEqual(exc.lineno, 1)
146 self.assertEqual(w[0].lineno, 1)
156 self.assertEqual(exc.lineno, 1)
198 self.assertEqual(w[0].lineno, 1)
208 self.assertEqual(exc.lineno, 1)
222 self.assertEqual(w[0].lineno, 1)
232 self.assertEqual(exc.lineno, 1)

Completed in 14 milliseconds

12345678910>>...15