| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| 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/ |
| 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/cpython3/Lib/test/ |
| 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)
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| 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)
|
| /prebuilts/gdb/linux-x86/lib/python2.7/test/ |
| 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)
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| 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)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| 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/syslinux/gpxe/src/hci/mucurses/ |
| windows.c | 44 * @v ncols window width 49 WINDOW *derwin ( WINDOW *parent, int nlines, int ncols, 56 if ( ( (unsigned)ncols > parent->width ) || 62 child->width = ncols; 116 * @v ncols number of columns 121 WINDOW *newwin ( int nlines, int ncols, int begin_y, int begin_x ) { 126 ( (unsigned)( begin_x + ncols ) > stdscr->width ) ) 131 win->width = ncols; 142 * @v ncols window width 147 WINDOW *subwin ( WINDOW *parent, int nlines, int ncols, [all...] |
| /external/syslinux/com32/modules/ |
| dir.c | 75 size_t nrows, ncols, perpage; local 115 ncols = (cols + 2)/(maxlen + 8); 116 ncols = min(ncols, n_de); 117 ncols = max(ncols, 1U); 118 colwidth = (cols + 2)/ncols; 119 perpage = ncols * (rows - 1); 124 nrows = ((endpage-i) + ncols - 1)/ncols; [all...] |
| ls.c | 75 size_t nrows, ncols, perpage; local 115 ncols = (cols + 2)/(maxlen + 8); 116 ncols = min(ncols, n_de); 117 ncols = max(ncols, 1U); 118 colwidth = (cols + 2)/ncols; 119 perpage = ncols * (rows - 1); 124 nrows = ((endpage-i) + ncols - 1)/ncols; [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
| AbstractRealMatrix.java | 155 final int nCols = m.getColumnDimension(); 157 final RealMatrix out = createMatrix(nRows, nCols); 159 for (int col = 0; col < nCols; ++col) { 381 final int nCols = subMatrix[0].length; 382 if (nCols == 0) { 387 if (subMatrix[r].length != nCols) { 390 nCols, subMatrix[r].length); 397 MatrixUtils.checkColumnIndex(this, nCols + column - 1); 400 for (int j = 0; j < nCols; ++j) { 414 final int nCols = getColumnDimension() [all...] |
| AbstractFieldMatrix.java | 247 final int nCols = m.getColumnDimension(); 249 final FieldMatrix<T> out = createMatrix(nRows, nCols); 251 for (int col = 0; col < nCols; ++col) { 407 final int nCols = subMatrix[0].length; 408 if (nCols == 0) { 413 if (subMatrix[r].length != nCols) { 416 nCols, subMatrix[r].length); 423 checkColumnIndex(nCols + column - 1); 426 for (int j = 0; j < nCols; ++j) { 438 final int nCols = getColumnDimension() [all...] |
| BigMatrixImpl.java | 161 final int nCols = d[0].length; 162 if (nCols == 0) { 166 if (d[r].length != nCols) { 169 nCols, d[r].length); 194 final int nCols = d[0].length; 195 if (nCols == 0) { 199 if (d[row].length != nCols) { 202 nCols, d[row].length); 224 final int nCols = d[0].length; 225 if (nCols == 0) 758 final int ncols = this.getColumnDimension(); local 794 final int ncols = this.getColumnDimension(); local 813 final int ncols = this.getColumnDimension(); local [all...] |
| Array2DRowFieldMatrix.java | 119 final int nCols = d[0].length; 120 if (nCols == 0) { 125 if (d[r].length != nCols) { 127 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); 269 final int nCols = m.getColumnDimension(); 271 final T[][] outData = buildArray(getField(), nRows, nCols); 275 for (int col = 0; col < nCols; col++) { 324 final int nCols = subMatrix[0].length; 325 if (nCols == 0) { 329 data = buildArray(getField(), subMatrix.length, nCols); [all...] |
| Array2DRowRealMatrix.java | 128 final int nCols = d[0].length; 129 if (nCols == 0) { 134 if (d[r].length != nCols) { 136 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); 277 final int nCols = m.getColumnDimension(); 279 final double[][] outData = new double[nRows][nCols]; 283 for (int col = 0; col < nCols; col++) { 332 final int nCols = subMatrix[0].length; 333 if (nCols == 0) { 337 data = new double[subMatrix.length][nCols]; [all...] |
| RealMatrixImpl.java | 129 final int nCols = d[0].length; 130 if (nCols == 0) { 134 if (d[r].length != nCols) { 137 nCols, d[r].length); 278 final int nCols = m.getColumnDimension(); 280 final double[][] outData = new double[nRows][nCols]; 284 for (int col = 0; col < nCols; col++) { 334 final int nCols = subMatrix[0].length; 335 if (nCols == 0) { 338 data = new double[subMatrix.length][nCols]; [all...] |
| MatrixUtils.java | 334 final int nCols = rowData.length; 335 final RealMatrix m = createRealMatrix(1, nCols); 336 for (int i = 0; i < nCols; ++i) { 354 final int nCols = rowData.length; 355 if (nCols == 0) { 358 final FieldMatrix<T> m = createFieldMatrix(rowData[0].getField(), 1, nCols); 359 for (int i = 0; i < nCols; ++i) { 377 final int nCols = rowData.length; 378 final BigDecimal[][] data = new BigDecimal[1][nCols]; 379 for (int i = 0; i < nCols; ++i) [all...] |
| /external/trappy/trappy/ |
| plot_utils.py | 74 def pre_plot_setup(width=None, height=None, ncols=1, nrows=1): 95 _, axis = plt.subplots(ncols=ncols, nrows=nrows, figsize=(width, height)) 192 axis = pre_plot_setup(width=width, height=height, ncols=num_runs, nrows=2) 209 ncols=num_runs) 227 axis = pre_plot_setup(width=width, height=height, ncols=num_runs) 257 axis = pre_plot_setup(width=width, height=height, ncols=num_runs) 269 axis = pre_plot_setup(width=width, height=height, ncols=num_runs) 283 axis = pre_plot_setup(width=width, height=height, ncols=num_runs) 296 axis = pre_plot_setup(ncols=num_runs, nrows=nrows [all...] |
| /device/google/contexthub/firmware/os/algos/common/math/ |
| mat.h | 191 // A is a matrix with dimensions nrows x ncols. 192 // out is a matrix with dimensions ncols x ncols. 194 size_t nrows, size_t ncols); 197 // A is a matrix with dimensions nrows x ncols. 199 // out is a vector of dimension ncols. 201 size_t nrows, size_t ncols); 204 // A is a matrix with dimensions nrows x ncols. 205 // v is a vector of dimension ncols. 208 size_t nrows, size_t ncols); [all...] |
| mat.c | 584 size_t nrows, size_t ncols) { 590 memset(out, 0, sizeof(float) * ncols * ncols); 591 for (i = 0; i < ncols; ++i) { 592 for (j = 0; j < ncols; ++j) { 596 out[i * ncols + j] = out[j * ncols + i]; 599 out[i * ncols + j] = 0; 601 out[i * ncols + j] += A[k * ncols + i] [all...] |
| /external/eigen/unsupported/test/ |
| FFTW.cpp | 181 template <typename T,int nrows,int ncols> 186 Eigen::Matrix<Complex,nrows,ncols> src,src2,dst,dst2; 188 src = Eigen::Matrix<Complex,nrows,ncols>::Random(); 189 //src = Eigen::Matrix<Complex,nrows,ncols>::Identity(); 191 for (int k=0;k<ncols;k++) { 198 Eigen::Matrix<Complex,1,ncols> tmpOut; 203 fft.fwd2(dst.data(),src.data(),ncols,nrows); 204 fft.inv2(src2.data(),dst.data(),ncols,nrows);
|
| /external/aac/libSBRdec/src/ |
| lpp_tran.cpp | 304 stopSample = pSettings->nCols + lastSlotOffs * timeStep; 312 autoCorrLength = pSettings->nCols + pSettings->overlap; 394 i < pSettings->nCols + pSettings->overlap - firstSlotOffs * timeStep; 402 for (i = 0; i < ((pSettings->nCols + pSettings->overlap - 409 if (pSettings->nCols & 1) { 424 pSettings->nCols) + 434 pSettings->nCols) + 445 scaleValues(&lowBandReal[LPC_ORDER + pSettings->overlap], pSettings->nCols, 452 pSettings->nCols, dynamicScale - lowBandShift); 883 stopSample = pSettings->nCols + lastSlotOffs * timeStep [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| inplace_ops_functor_gpu.cu.cc | 49 const int64 ncols = Toutput.dimension(1); local 54 cfg.virtual_thread_count, nrows, ncols, loc, src, dst);
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
| cursesf.h | 127 int ncols, 135 field = ::new_field(rows, ncols, first_row, first_col, 191 inline void info(int& rows, int& ncols, 194 OnError(::field_info(field, &rows, &ncols, 405 int ncols, 408 : NCursesPanel(nlines, ncols, begin_y, begin_x), 437 int ncols, 442 : NCursesPanel(nlines, ncols, begin_y, begin_x), 542 void scale(int& rows, int& ncols) const { 543 OnError(::scale_form(form,&rows,&ncols)); [all...] |
| cursesp.h | 102 int ncols, 105 : NCursesWindow(nlines,ncols,begin_y,begin_x), p(0) 232 int ncols, 236 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|