Home
last modified time | relevance | path

Searched refs:nlines (Results 1 – 25 of 38) sorted by relevance

12

/third_party/elfutils/libdw/
Ddwarf_entry_breakpoints.c68 Dwarf_Lines *lines, size_t nlines, in search_range() argument
71 size_t l = 0, u = nlines; in search_range()
95 while (++l < nlines && lines->info[l].addr < high) in search_range()
113 size_t nlines; in dwarf_entry_breakpoints() local
114 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0) in dwarf_entry_breakpoints()
134 return search_range (begin, end, true, true, lines, nlines, bkpts, &nbkpts) in dwarf_entry_breakpoints()
143 lines, nlines, bkpts, &nbkpts) < 0) in dwarf_entry_breakpoints()
161 lines, nlines, bkpts, &nbkpts)) in dwarf_entry_breakpoints()
Ddwarf_getsrc_die.c42 size_t nlines; in dwarf_getsrc_die() local
44 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_die()
48 if (nlines > 0) in dwarf_getsrc_die()
50 size_t l = 0, u = nlines - 1; in dwarf_getsrc_die()
62 assert (lines->info[nlines - 1].end_sequence); in dwarf_getsrc_die()
Ddwarf_next_lines.c40 Dwarf_Lines **srclines, size_t *nlines) in dwarf_next_lines() argument
180 if (nlines != NULL) in dwarf_next_lines()
183 *nlines = (*srclines)->nlines; in dwarf_next_lines()
185 *nlines = 0; in dwarf_next_lines()
Ddwarf_getsrc_file.c69 size_t nlines; in dwarf_getsrc_file() local
70 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_file()
85 for (size_t cnt = 0; cnt < nlines; ++cnt) in dwarf_getsrc_file()
Ddwarf_decl_file.c63 size_t nlines; in dwarf_decl_file() local
67 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines); in dwarf_decl_file()
Ddwarf_getsrcfiles.c88 size_t nlines; in dwarf_getsrcfiles() local
92 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines); in dwarf_getsrcfiles()
Ddwarf_getsrclines.c1078 lines->nlines = state.nlinelist; in read_srclines()
1190 dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines) in dwarf_getsrclines() argument
1215 int res = INTUSE(dwarf_getsrclines) (&skeldie, lines, nlines); in dwarf_getsrclines()
1220 *nlines = cu->lines->nlines; in dwarf_getsrclines()
1254 *nlines = cu->lines->nlines; in dwarf_getsrclines()
Ddwarf_onesrcline.c43 if (idx >= lines->nlines) in dwarf_onesrcline()
Ddwarf_linecontext.c41 if (line->context == 0 || line->context >= lines->nlines) in dwarf_linecontext()
/third_party/elfutils/libdwfl/
Ddwfl_module_getsrc.c50 size_t nlines = lines->nlines; in dwfl_module_getsrc() local
51 if (nlines > 0) in dwfl_module_getsrc()
54 assert(lines->info[nlines - 1].end_sequence); in dwfl_module_getsrc()
60 size_t l = 0, u = nlines - 1; in dwfl_module_getsrc()
Dlines.c43 size_t nlines; in __libdwfl_cu_getsrclines() local
44 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0) in __libdwfl_cu_getsrclines()
47 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines])); in __libdwfl_cu_getsrclines()
51 for (unsigned int i = 0; i < nlines; ++i) in __libdwfl_cu_getsrclines()
Ddwfl_getsrclines.c36 dwfl_getsrclines (Dwarf_Die *cudie, size_t *nlines) in dwfl_getsrclines() argument
50 *nlines = cu->die.cu->lines->nlines; in dwfl_getsrclines()
Ddwfl_onesrcline.c53 if (idx >= cu->die.cu->lines->nlines) in dwfl_onesrcline()
/third_party/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_dgen.c11 int i, j, k, nlines, nchars, ctype; in main() local
29 nlines = atoi(argv[3]); in main()
33 for (i = 1; i <= nlines; i++) { in main()
/third_party/popt/tests/
Dtdict.c21 int nlines = -1; in loadDict() local
25 nlines = 0; in loadDict()
37 nlines++; in loadDict()
41 return nlines; in loadDict()
/third_party/python/Lib/test/
Dcurses_tests.py14 ncols, nlines = 8, 3
23 win = curses.newwin(nlines, ncols, uly, ulx)
24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
/third_party/python/Modules/clinic/
D_cursesmodule.c.h599 int nlines, int ncols, int begin_y, int begin_x);
606 int nlines = 0; in _curses_window_derwin() local
618 if (!PyArg_ParseTuple(args, "iiii:derwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_derwin()
627 return_value = _curses_window_derwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_derwin()
1639 int nlines, int ncols, int begin_y, int begin_x);
1646 int nlines = 0; in _curses_window_subwin() local
1658 if (!PyArg_ParseTuple(args, "iiii:subwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_subwin()
1667 return_value = _curses_window_subwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_subwin()
2919 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols);
2925 int nlines; in _curses_is_term_resized() local
[all …]
/third_party/elfutils/tests/
Dline2addr.c77 size_t nlines = 0; in handle_module() local
79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) in handle_module()
81 for (size_t inner = 0; inner < nlines; ++inner) in handle_module()
/third_party/python/Lib/curses/
Dtextpad.py192 ncols, nlines = 9, 4
195 win = curses.newwin(nlines, ncols, uly, ulx)
196 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
/third_party/python/Tools/peg_generator/pegen/
D__main__.py166 nlines = diag.end[0]
168 nlines -= 1
Dparser.py297 nlines = diag.end[0]
299 nlines -= 1
/third_party/python/Lib/
D_markupbase.py48 nlines = rawdata.count("\n", i, j)
49 if nlines:
50 self.lineno = self.lineno + nlines
/third_party/python/Modules/
D_cursesmodule.c1295 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_derwin_impl() argument
1300 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in _curses_window_derwin_impl()
2316 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_subwin_impl() argument
2324 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl()
2328 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl()
3536 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols) in _curses_isendwin_impl()
3541 return PyBool_FromLong(is_term_resized(nlines, ncols)); in _curses_isendwin_impl()
3708 _curses_newpad_impl(PyObject *module, int nlines, int ncols) in _curses_newpad_impl() argument
3715 win = newpad(nlines, ncols); in _curses_newpad_impl()
3747 _curses_newwin_impl(PyObject *module, int nlines, int ncols, in _curses_newwin_impl() argument
[all …]
/third_party/python/Doc/library/
Ddevmode.rst119 nlines = len(fp.readlines())
120 print(nlines)
164 nlines = len(fp.readlines())
165 print(nlines)
Dcurses.rst325 .. function:: is_term_resized(nlines, ncols)
388 .. function:: newpad(nlines, ncols)
406 .. function:: newwin(nlines, ncols)
407 newwin(nlines, ncols, begin_y, begin_x)
410 is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*.
507 .. function:: resize_term(nlines, ncols)
517 .. function:: resizeterm(nlines, ncols)
897 window.derwin(nlines, ncols, begin_y, begin_x)
1040 .. method:: window.insdelln(nlines)
1042 Insert *nlines* lines into the specified window above the current line. The
[all …]

12