Home
last modified time | relevance | path

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

/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/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/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/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/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 …]
/third_party/pixman/test/
Dlowlevel-blt-bench.c398 int64_t n, l1test_width, nlines; in bench_composite() local
505 nlines = (L2CACHE_SIZE / l1test_width) / in bench_composite()
507 if (nlines < 1) in bench_composite()
508 nlines = 1; in bench_composite()
509 n = 1 + npix / (l1test_width * nlines); in bench_composite()
512 … = bench_L (op, src_img, mask_img, dst_img, n, pixman_image_composite_empty, l1test_width, nlines); in bench_composite()
515 pix_cnt = bench_L (op, src_img, mask_img, dst_img, n, func, l1test_width, nlines); in bench_composite()
/third_party/ltp/testcases/kernel/controllers/freezer/
Dlibcgroup_freezer313 local nlines=$(( `cat tasks | wc -l` + 0))
316 [ $rc -eq 0 -a $nlines -eq 0 ] && return 0
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c2127 int i, nlines = (*src->get_pixel_rows) (cinfo, src); in tjLoadImage() local
2129 for (i = 0; i < nlines; i++) { in tjLoadImage()
2138 cinfo->next_scanline += nlines; in tjLoadImage()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c2025 int i, nlines = (*src->get_pixel_rows) (cinfo, src); in tjLoadImage() local
2027 for (i = 0; i < nlines; i++) { in tjLoadImage()
2036 cinfo->next_scanline += nlines; in tjLoadImage()
/third_party/libjpeg-turbo/
Dturbojpeg.c2059 int i, nlines = (*src->get_pixel_rows) (cinfo, src); in tjLoadImage() local
2061 for (i = 0; i < nlines; i++) { in tjLoadImage()
2070 cinfo->next_scanline += nlines; in tjLoadImage()
/third_party/toybox/toys/pending/
Dbc.c2473 size_t i, nlines = 0; in bc_lex_comment() local
2482 for (; (c = buf[i]) && c != '*'; ++i) nlines += (c == '\n'); in bc_lex_comment()
2493 l->line += nlines; in bc_lex_comment()
2648 size_t len, nlines = 0, i = l->i; in bc_lex_string() local
2654 for (; (c = buf[i]) && c != '"'; ++i) nlines += c == '\n'; in bc_lex_string()
2669 l->line += nlines; in bc_lex_string()
/third_party/python/Misc/
DHISTORY28211 - The curses module implements an optional nlines argument to
28212 w.scroll(). (It then calls wscrl(win, nlines) instead of scoll(win).)