/external/python/cpython3/Lib/test/ |
D | curses_tests.py | 14 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)
|
/external/python/cpython2/Lib/test/ |
D | curses_tests.py | 14 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)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | inplace_ops_functor_gpu.cu.cc | 50 const int64 ncols = Toutput.dimension(1); in DoParallelConcatUpdate() local 55 d.stream(), cfg.virtual_thread_count, nrows, ncols, loc, src, dst)); in DoParallelConcatUpdate() 115 const int64 ncols = Ty.dimension(1); in DoInplaceOp() local 126 ncols, n, src, rowids, dst)); in DoInplaceOp() 131 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp() 137 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp() 150 const int64 ncols = Ty.dimension(1); in DoInplaceOp() local 160 ncols, n, src, rowids, dst)); in DoInplaceOp()
|
/external/python/cpython3/Modules/clinic/ |
D | _cursesmodule.c.h | 624 int nlines, int ncols, int begin_y, int begin_x); 632 int ncols = 0; in _curses_window_derwin() local 643 if (!PyArg_ParseTuple(args, "iiii:derwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_derwin() 652 return_value = _curses_window_derwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_derwin() 1709 int nlines, int ncols, int begin_y, int begin_x); 1717 int ncols = 0; in _curses_window_subwin() local 1728 if (!PyArg_ParseTuple(args, "iiii:subwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_subwin() 1737 return_value = _curses_window_subwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_subwin() 3110 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols); 3117 int ncols; in _curses_is_term_resized() local [all …]
|
/external/XNNPACK/test/ |
D | spmm-microkernel-tester.h | 131 const size_t ncols = n() / nr() + n() % nr(); variable 132 std::vector<float> b(ncols * k()); 187 for (size_t nn = n() / nr(); nn < ncols; nn++) { 226 for (size_t nn = n() / nr(); nn < ncols; nn++) { 302 const size_t ncols = n() / nr() + n() % nr(); in Test() local 303 std::vector<uint16_t> b(ncols * k()); in Test() 358 for (size_t nn = n() / nr(); nn < ncols; nn++) { in Test() 398 for (size_t nn = n() / nr(); nn < ncols; nn++) { in Test()
|
/external/python/cffi/demo/ |
D | _curses.py | 369 ncols = 0 373 nlines, ncols, begin_y, begin_x = args 377 win = lib.derwin(self._win, nlines, ncols, begin_y, begin_x) 574 ncols = 0 578 nlines, ncols, begin_y, begin_x = args 583 win = lib.subpad(self._win, nlines, ncols, begin_y, begin_x) 585 win = lib.subwin(self._win, nlines, ncols, begin_y, begin_x) 871 def newpad(nlines, ncols): argument 873 return Window(_check_NULL(lib.newpad(nlines, ncols))) 876 def newwin(nlines, ncols, begin_y=None, begin_x=None): argument [all …]
|
/external/python/cpython3/Lib/ |
D | cmd.py | 367 ncols = (size+nrows-1) // nrows 370 for col in range(ncols): 386 ncols = 1 390 for col in range(ncols):
|
/external/python/cpython2/Lib/ |
D | cmd.py | 370 ncols = (size+nrows-1) // nrows 373 for col in range(ncols): 389 ncols = 1 393 for col in range(ncols):
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | BigMatrixImpl.java | 758 final int ncols = this.getColumnDimension(); in getRowMatrix() local 759 final BigDecimal[][] out = new BigDecimal[1][ncols]; in getRowMatrix() 760 System.arraycopy(data[row], 0, out[0], 0, ncols); in getRowMatrix() 794 final int ncols = this.getColumnDimension(); in getRow() local 795 final BigDecimal[] out = new BigDecimal[ncols]; in getRow() 796 System.arraycopy(data[row], 0, out, 0, ncols); in getRow() 813 final int ncols = this.getColumnDimension(); in getRowAsDoubleArray() local 814 final double[] out = new double[ncols]; in getRowAsDoubleArray() 815 for (int i=0;i<ncols;i++) { in getRowAsDoubleArray()
|
/external/XNNPACK/bench/ |
D | f16-spmm.cc | 45 size_t ncols = nc / nr + nc % nr; in SpMMBenchmark() local 46 std::vector<uint16_t> b(ncols * kc); in SpMMBenchmark() 97 for (uint32_t i = nc / nr; i < ncols; i++) { in SpMMBenchmark()
|
D | f32-spmm.cc | 43 size_t ncols = nc / nr + nc % nr; in SpMMBenchmark() local 44 std::vector<float> b(ncols * kc); in SpMMBenchmark() 95 for (uint32_t i = nc / nr; i < ncols; i++) { in SpMMBenchmark()
|
/external/python/cpython3/Lib/curses/ |
D | textpad.py | 192 ncols, nlines = 9, 4 195 win = curses.newwin(nlines, ncols, uly, ulx) 196 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
|
/external/python/cpython2/Lib/curses/ |
D | textpad.py | 192 ncols, nlines = 9, 4 195 win = curses.newwin(nlines, ncols, uly, ulx) 196 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
|
/external/python/cpython2/Modules/ |
D | _cursesmodule.c | 761 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_DerWin() local 764 ncols = 0; in PyCursesWindow_DerWin() 772 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_DerWin() 780 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in PyCursesWindow_DerWin() 1452 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_SubWin() local 1455 ncols = 0; in PyCursesWindow_SubWin() 1463 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_SubWin() 1474 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin() 1478 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin() 2244 int nlines, ncols; in PyCurses_NewPad() local [all …]
|
/external/python/cpython3/Modules/ |
D | _cursesmodule.c | 1156 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_derwin_impl() argument 1161 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in _curses_window_derwin_impl() 2177 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_subwin_impl() argument 2185 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl() 2189 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl() 3300 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols) in _curses_isendwin_impl() 3305 return PyBool_FromLong(is_term_resized(nlines, ncols)); in _curses_isendwin_impl() 3472 _curses_newpad_impl(PyObject *module, int nlines, int ncols) in _curses_newpad_impl() argument 3479 win = newpad(nlines, ncols); in _curses_newpad_impl() 3511 _curses_newwin_impl(PyObject *module, int nlines, int ncols, in _curses_newwin_impl() argument [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_segment_op_test.py | 69 ncols = max(len(row) for row in data) 70 grouped = [[[] for _ in range(ncols)] for row in range(num_segments)]
|
D | ragged_tensor.py | 1617 ncols = input_shape[1] 1711 math_ops.range(1, ncols + 1), 0)) 1721 lengths = math_ops.minimum(lengths, ncols) 1726 mask = array_ops.sequence_mask(lengths, maxlen=ncols) 1742 ncols = constant_op.constant(const_ncols, row_splits_dtype) 1744 ncols = input_shape[1] 1746 values=values, uniform_row_length=ncols,
|
/external/eigen/Eigen/src/Core/ |
D | Transpose.h | 82 void resize(Index nrows, Index ncols) { 83 m_matrix.resize(ncols,nrows);
|
/external/eigen/Eigen/src/CholmodSupport/ |
D | CholmodSupport.h | 378 StorageIndex ncols = super[k + 1] - super[k]; 381 …Map<const Array<Scalar,1,Dynamic>, 0, InnerStride<> > sk(x + px[k], ncols, InnerStride<>(nrows+1));
|
/external/python/cpython2/Doc/library/ |
D | curses.rst | 302 .. function:: is_term_resized(nlines, ncols) 365 .. function:: newpad(nlines, ncols) 383 .. function:: newwin(nlines, ncols) 384 newwin(nlines, ncols, begin_y, begin_x) 387 whose height/width is *nlines*/*ncols*. 484 .. function:: resize_term(nlines, ncols) 494 .. function:: resizeterm(nlines, ncols) 827 window.derwin(nlines, ncols, begin_y, begin_x) 1114 .. method:: window.resize(nlines, ncols) 1155 window.subpad(nlines, ncols, begin_y, begin_x) [all …]
|
/external/python/cpython3/Doc/library/ |
D | curses.rst | 310 .. function:: is_term_resized(nlines, ncols) 373 .. function:: newpad(nlines, ncols) 391 .. function:: newwin(nlines, ncols) 392 newwin(nlines, ncols, begin_y, begin_x) 395 is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*. 492 .. function:: resize_term(nlines, ncols) 502 .. function:: resizeterm(nlines, ncols) 856 window.derwin(nlines, ncols, begin_y, begin_x) 1166 .. method:: window.resize(nlines, ncols) 1207 window.subpad(nlines, ncols, begin_y, begin_x) [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | regcomp.c | 1265 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()
|
/external/llvm/lib/Support/ |
D | regcomp.c | 1265 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | regcomp.c | 1392 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local 1395 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets() 1409 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local 1413 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 1010 int ncols = pGlyph->GetWidth(); in DrawNormalText() local 1013 if (!bitmap->CompositeMask(point.value().x, point.value().y, ncols, nrows, in DrawNormalText() 1021 ncols /= 3; in DrawNormalText() 1025 end_col_safe += ncols; in DrawNormalText()
|