| /mirbsd/src/lib/libncurses/src/menu/ |
| D | m_format.c | 59 set_menu_format(MENU * menu, int rows, int cols) in NCURSES_EXPORT() 63 T((T_CALLED("set_menu_format(%p,%d,%d)"), menu, rows, cols)); in NCURSES_EXPORT() 65 if (rows < 0 || cols < 0) in NCURSES_EXPORT() 76 if (rows == 0) in NCURSES_EXPORT() 77 rows = menu->frows; in NCURSES_EXPORT() 84 menu->frows = rows; in NCURSES_EXPORT() 87 assert(rows > 0 && cols > 0); in NCURSES_EXPORT() 93 menu->rows = total_rows; in NCURSES_EXPORT() 95 menu->arows = minimum(total_rows, rows); in NCURSES_EXPORT() 104 if (rows > 0) in NCURSES_EXPORT() [all …]
|
| D | m_scale.c | 54 scale_menu(const MENU * menu, int *rows, int *cols) in NCURSES_EXPORT() 56 T((T_CALLED("scale_menu(%p,%p,%p)"), menu, rows, cols)); in NCURSES_EXPORT() 63 if (rows) in NCURSES_EXPORT() 64 *rows = menu->height; in NCURSES_EXPORT()
|
| D | m_item_top.c | 66 if ((row < 0) || (row > (menu->rows - menu->arows))) in NCURSES_EXPORT() 100 assert((menu->toprow >= 0) && (menu->toprow < menu->rows)); in top_row()
|
| D | menu.priv.h | 101 row = ( (item)->y < ((menu)->rows - row) ) ? \ 102 (item)->y : (menu)->rows - (menu)->arows;\
|
| /mirbsd/src/usr.bin/vi/vi/ |
| D | vs_split.c | 50 if (sp->rows < 4) { 59 half = sp->rows / 2; 93 new->rows = sp->rows - half; /* New. */ 95 sp->rows = half; /* Old. */ 96 sp->woff += new->rows; 104 memmove(_HMAP(sp), _HMAP(sp) + new->rows, 105 (sp->t_maxrows - new->rows) * sizeof(SMAP)); 107 new->rows = half; /* New. */ 108 sp->rows -= half; /* Old. */ 109 new->woff = sp->woff + sp->rows; [all …]
|
| D | vs_msg.c | 631 sp->rows ? 1 : sp->rows - vip->totalcount; 632 ev.e_tlno = sp->rows; 737 sp->rows ? 1 : sp->rows - vip->totalcount; 738 ev.e_tlno = sp->rows; 779 sp->rows ? LASTLINE(sp) - vip->totalcount : 0, 0);
|
| D | v_z.c | 142 if (sp->t_rows > sp->rows - 1) 143 sp->t_minrows = sp->t_rows = sp->rows - 1;
|
| D | vi.h | 330 ((sp)->t_maxrows < (sp)->rows ? (sp)->t_maxrows : (sp)->rows - 1) 337 #define IS_ONELINE(sp) ((sp)->rows == 1)
|
| /mirbsd/src/gnu/usr.bin/perl/t/io/ |
| D | open.t | 64 my @rows = <$f>; 65 is( scalar @rows, 2, ' readline, list context' ); 66 is( $rows[0], "a row\n", ' first line read' ); 67 is( $rows[1], "a row\n", ' second line' ); 75 my @rows = <$f>; 76 is( scalar @rows, 2, ' readline, list context' ); 92 my @rows = <$f>; 93 is( scalar @rows, 2, ' readline, list context' ); 104 my @rows = <$f>; 161 my @rows = <$f>; [all …]
|
| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | TRSTable.c | 147 STable_rowinfo *rows; member 264 if (me && me->allocated_rows && me->rows) { in Stbl_free() 268 free_rowinfo(me->rows + i); in Stbl_free() 269 FREE(me->rows); in Stbl_free() 958 STable_rowinfo *rows, *row; in Stbl_reserveCellsInTable() local 998 rows = typeRealloc(STable_rowinfo, me->rows, in Stbl_reserveCellsInTable() 1001 if (!rows) in Stbl_reserveCellsInTable() 1004 row = rows + me->allocated_rows + i; in Stbl_reserveCellsInTable() 1025 me->rows = rows; in Stbl_reserveCellsInTable() 1030 if (!me->rows[i].allocated) { in Stbl_reserveCellsInTable() [all …]
|
| /mirbsd/src/lib/libncurses/src/form/ |
| D | frm_scale.c | 48 scale_form(const FORM *form, int *rows, int *cols) in NCURSES_EXPORT() 50 T((T_CALLED("scale_form(%p,%p,%p)"), form, rows, cols)); in NCURSES_EXPORT() 58 if (rows) in NCURSES_EXPORT() 59 *rows = form->rows; in NCURSES_EXPORT()
|
| D | fld_info.c | 51 int *rows, int *cols, in NCURSES_EXPORT() 57 rows, cols, in NCURSES_EXPORT() 64 if (rows) in NCURSES_EXPORT() 65 *rows = field->rows; in NCURSES_EXPORT()
|
| D | fld_def.c | 276 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument 284 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); in new_field() 285 if (rows > 0 && in new_field() 295 New_Field->rows = rows; in new_field() 297 New_Field->drows = rows + nrow; in new_field() 307 New_Field->expanded = (char **)calloc(1 + (unsigned)rows, sizeof(char *)); in new_field()
|
| D | frm_def.c | 135 form->rows = form->cols = 0; in Disconnect_Fields() 212 maximum_row_in_field = fields[j]->frow + fields[j]->rows; in Connect_Fields() 215 if (form->rows < maximum_row_in_field) in Connect_Fields() 216 form->rows = maximum_row_in_field; in Connect_Fields()
|
| D | fld_link.c | 70 New_Field->rows = field->rows; in NCURSES_EXPORT()
|
| D | fld_dup.c | 65 New_Field->rows = field->rows; in NCURSES_EXPORT()
|
| D | frm_driver.c | 168 (((field)->drows > (field)->rows) || \ 624 growth = (field->rows + field->nrow) * amount; in Field_Grown() 829 if (field->drows > field->rows) in _nc_Refresh_Current_Field() 831 row_after_bottom = form->toprow + field->rows; in _nc_Refresh_Current_Field() 839 form->toprow = form->currow - field->rows + 1; in _nc_Refresh_Current_Field() 846 first_unmodified_row = first_modified_row + field->rows; in _nc_Refresh_Current_Field() 872 first_unmodified_row = first_modified_row + field->rows; in _nc_Refresh_Current_Field() 1028 field->rows, field->cols, field->frow, field->fcol); in Display_Or_Erase_Field() 1188 field->rows - 1, field->cols - 1, 0); in _nc_Synchronize_Attributes() 1348 if (field->drows > field->rows) in _nc_Set_Current_Field() [all …]
|
| /mirbsd/src/lib/libssl/src/crypto/bio/ |
| D | b_dump.c | 80 int i,j,rows,trunc; in BIO_dump_indent() local 101 rows=(len/dump_width); in BIO_dump_indent() 102 if ((rows*dump_width)<len) in BIO_dump_indent() 103 rows++; in BIO_dump_indent() 104 for(i=0;i<rows;i++) in BIO_dump_indent()
|
| /mirbsd/src/lib/libncurses/src/ncurses/base/ |
| D | safe_sprintf.c | 236 static int rows, cols; in _nc_printf_string() 238 if (screen_lines > rows || screen_columns > cols) { in _nc_printf_string() 239 if (screen_lines > rows) in _nc_printf_string() 240 rows = screen_lines; in _nc_printf_string() 243 used = (rows * (cols + 1)) + 1; in _nc_printf_string()
|
| /mirbsd/src/sys/dev/pci/bktr/ |
| D | bktr_core.c | 428 int rows, int interlace ); 430 int rows, int interlace ); 432 int rows, int interlace ); 434 int rows, int interlace ); 436 int rows, int interlace ); 567 bktr->rows = 480; in common_bktr_attach() 1175 count = bktr->rows * bktr->cols * 1689 if (geo->rows <= 0) { 1692 bktr_name(bktr), geo->rows); 1695 else if (((geo->rows & 0x7fe) != geo->rows) || [all …]
|
| /mirbsd/src/sys/arch/sparc/dev/ |
| D | fb.c | 293 int cols, rows; in fbwscons_init() local 304 rows = a2int(getpropstring(optionsnode, "screen-#rows"), 34); in fbwscons_init() 313 rows = (u_short)ep->eeTtyRows; in fbwscons_init() 316 if (rows <= 0) in fbwscons_init() 317 rows = 34; in fbwscons_init() 321 rows = 34; in fbwscons_init() 327 rasops_init(ri, rows, cols); in fbwscons_init()
|
| /mirbsd/src/gnu/usr.bin/perl/lib/ |
| D | Benchmark.pm | 900 my @rows; 909 push @rows, \@top_row; 975 push @rows, \@row; 978 return \@rows if $style eq "none"; 1007 for ( @rows ) { 1011 return \@rows ;
|
| /mirbsd/src/usr.sbin/httpd/src/modules/ssl/ |
| D | ssl_engine_io.c | 466 int i, j, rows, trunc; in ssl_io_data_dump() local 472 rows = (len / DUMP_WIDTH); in ssl_io_data_dump() 473 if ((rows * DUMP_WIDTH) < len) in ssl_io_data_dump() 474 rows++; in ssl_io_data_dump() 477 for(i = 0 ; i< rows; i++) { in ssl_io_data_dump()
|
| /mirbsd/src/usr.bin/vi/cl/ |
| D | cl_main.c | 59 size_t rows, cols; in main() local 134 if (cl_ssize(NULL, 0, &rows, &cols, NULL)) in main() 138 OG_VAL(gp, GO_LINES) = OG_D_VAL(gp, GO_LINES) = rows; in main()
|
| /mirbsd/src/sys/dev/ic/ |
| D | monitors.h | 50 u_int16_t rows; /* Rows */ member
|