Home
last modified time | relevance | path

Searched refs:ncols (Results 1 – 14 of 14) sorted by relevance

/third_party/mtdev/src/
Dmatch.c56 static void buildixvector(int *ix, mat_t mstar, int nrows, int ncols) in buildixvector() argument
60 for (col = 0; col < ncols; col++) { in buildixvector()
73 mat_t mprime, col_t ccol, col_t crow, int nrows, int ncols,
76 mat_t mprime, col_t ccol, col_t crow, int nrows, int ncols,
79 mat_t mprime, col_t ccol, col_t crow, int nrows, int ncols,
82 mat_t mprime, col_t ccol, col_t crow, int nrows, int ncols,
85 mat_t mprime, col_t ccol, col_t crow, int nrows, int ncols,
88 static void ixoptimal(int *ix, int *mdist, int nrows, int ncols) in ixoptimal() argument
105 mdistEnd = mdist + nrows * ncols; in ixoptimal()
108 if (nrows <= ncols) { in ixoptimal()
[all …]
/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)
29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n")
36 stdscr.move(uly+ncols+2 + i, 0)
Dtest_contextlib_async.py297 ncols = 0
301 nonlocal ncols
302 ncols += 1
318 self.assertEqual(ncols, 10)
/third_party/python/Tools/c-analyzer/c_common/
Dtables.py160 ncols = None
163 ncols = len(header.split(sep))
179 row = _parse_row(line, _sep, ncols, default)
180 if strict and not ncols:
181 ncols = len(row)
185 def parse_row(line, sep, *, ncols=None, default=NOT_SET): argument
188 return _parse_row(line, sep, ncols, default)
191 def _parse_row(line, sep, ncols, default): argument
193 if (ncols or 0) > 0:
194 diff = ncols - len(row)
/third_party/python/Modules/clinic/
D_cursesmodule.c.h599 int nlines, int ncols, int begin_y, int begin_x);
607 int ncols = 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);
1647 int ncols = 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);
2926 int ncols; in _curses_is_term_resized() local
[all …]
/third_party/python/Lib/
Dcmd.py367 ncols = (size+nrows-1) // nrows
370 for col in range(ncols):
386 ncols = 1
390 for col in range(ncols):
/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/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/iowow/src/kv/benchmark/
Drunbench.py142 grid = gridplot(plots, ncols=1, merge_tools=False)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Dregcomp.c1265 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1268 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1282 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Dregcomp.c1393 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1396 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1410 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1414 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/third_party/python/Doc/library/
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)
1210 .. method:: window.resize(nlines, ncols)
1251 window.subpad(nlines, ncols, begin_y, begin_x)
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_reader.cc726 int ncols = sqlite3_column_count(stmt); in QueryWithCriteria() local
727 for (int i = 0; i < ncols; i++) { in QueryWithCriteria()
/third_party/ffmpeg/
Dconfigure509 ncols=$(tput cols)
511 : ${ncols:=72}
3974 tr ' ' '\n' | sort | tr '\r\n' ' ' | awk -v col_width=24 -v width="$ncols" '