/freebsd-11.0-release/release/picobsd/tinyware/view/ |
H A D | view.c | 116 int x1,y1,width,height,i,j; local 123 width=0; 130 if(strlen(std_menu[i].descr)>width) width=strlen(std_menu[i].descr); 133 width=width*8+2; 135 sav.Xsize=width; 137 clr.Xsize=width; 139 sav.Bitmap=(byte *)calloc(width*height,1); 140 clr.Bitmap=(byte *)calloc(width*heigh 259 png_uint_32 width,height; local [all...] |
/freebsd-11.0-release/contrib/groff/src/utils/afmtodit/ |
H A D | afmtodit.pl | 6084 my (%width, %height, %depth); 6162 $width{$n} = $w; 6213 if ($field[1] >= 0 && defined $width{$field[0]}) { 6270 while (my $ch = each %width) { 6410 if (defined $width{$lig} && !defined $ligatures{$lig}) { 6424 printf("spacewidth %d\n", conv($width{"space"})) if defined $width{"space"}; 6505 printf("%s\t%d", $map{$ch, "0"}, conv($width{$ch})); 6559 if (defined $ch && $ch eq "space" && defined $width{"space"}) { 6560 printf("space\t%d\t0\t%d\tspace\n", conv($width{"spac [all...] |
/freebsd-11.0-release/contrib/dialog/ |
H A D | checklist.c | 155 int width, 190 int old_width = width; 245 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, use_width); 249 &height, &width, 252 dlg_button_layout(buttons, &width); 253 dlg_print_size(height, width); 254 dlg_ctl_size(height, width); 264 x = dlg_box_x_ordinate(width); 267 dialog = dlg_new_window(height, width, y, x); 274 dlg_draw_box2(dialog, 0, 0, height, width, dialog_att 152 dlg_checklist(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int flag, int *current_item) argument 594 dialog_checklist(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, char **items, int flag) argument [all...] |
H A D | treeview.c | 158 int width, 194 int old_width = width; 257 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, use_width); 260 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH + use_height, use_width); 262 dlg_button_layout(buttons, &width); 263 dlg_print_size(height, width); 264 dlg_ctl_size(height, width); 266 x = dlg_box_x_ordinate(width); 269 dialog = dlg_new_window(height, width, y, x); 275 dlg_draw_box2(dialog, 0, 0, height, width, dialog_att 155 dlg_treeview(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, DIALOG_LISTITEM * items, const char *states, int *depths, int flag, int *current_item) argument 567 dialog_treeview(const char *title, const char *cprompt, int height, int width, int list_height, int item_no, char **items, int flag) argument [all...] |
H A D | util.c | 214 dlg_attr_clear(WINDOW *win, int height, int width, chtype attr) argument 221 for (j = 0; j < width; j++) 612 centered(int width, const char *string) argument 617 left = (width - need) / 2 - 1; 990 /* Set the final height and width for the calling function */ 1003 dlg_print_autowrap(WINDOW *win, const char *prompt, int height, int width) argument 1007 width, 1013 * that we create a "tall" window of the proper width, let the text wrap within 1024 int width, 1035 int wide = width 1020 dlg_print_scrolled(WINDOW *win, const char *prompt, int offset, int height, int width, int pauseopt) argument 1170 auto_size_preformatted(const char *prompt, int *height, int *width) argument 1238 real_auto_size(const char *title, const char *prompt, int *height, int *width, int boxlines, int mincols) argument 1305 dlg_auto_size(const char *title, const char *prompt, int *height, int *width, int boxlines, int mincols) argument 1330 dlg_auto_sizefile(const char *title, const char *file, int *height, int *width, int boxlines, int mincols) argument 1425 dlg_draw_box2(WINDOW *win, int y, int x, int height, int width, chtype boxchar, chtype borderchar, chtype borderchar2) argument 1458 dlg_draw_box(WINDOW *win, int y, int x, int height, int width, chtype boxchar, chtype borderchar) argument 1610 repaint_shadow(DIALOG_WINDOWS * dw, bool draw, int y, int x, int height, int width) argument 1675 dlg_draw_shadow(WINDOW *win, int y, int x, int height, int width) argument 1677 repaint_shadow(find_window(win), TRUE, y, x, height, width); local 1796 dlg_print_size(int height, int width) argument 1803 dlg_ctl_size(int height, int width) argument 1957 dlg_box_x_ordinate(int width) argument 2003 int width = getmaxx(win); local 2083 dlg_new_window(int height, int width, int y, int x) argument 2093 dlg_new_modal_window(WINDOW *parent, int height, int width, int y, int x) argument 2123 dlg_move_window(WINDOW *win, int height, int width, int y, int x) argument 2153 dlg_sub_window(WINDOW *parent, int height, int width, int y, int x) argument [all...] |
H A D | textbox.c | 31 #define PAGE_WIDTH (width - 2) 399 print_line(MY_OBJ * obj, int row, int width) argument 410 if (width > getmaxx(obj->text)) 411 width = getmaxx(obj->text); 412 --width; /* for the leading ' ' */ 417 for (i = first; (i <= limit) && ((cols[i] - cols[first]) < width); ++i) 425 for (i = 0; i <= width - x; i++) { 436 print_page(MY_OBJ * obj, int height, int width) argument 442 print_line(obj, i, width); 456 print_position(MY_OBJ * obj, WINDOW *win, int height, int width) argument 483 get_search_term(WINDOW *dialog, char *input, int height, int width) argument 571 perform_search(MY_OBJ * obj, int height, int width, int key, char *search_term) argument 659 dialog_textbox(const char *title, const char *file, int height, int width) argument [all...] |
/freebsd-11.0-release/usr.bin/fmt/ |
H A D | fmt.c | 163 * Add options: -d <chars>, -l <width>, -p, -s, -t <width>, -h . 304 = get_nonnegative(optarg, "output tab width must be non-negative", 1); 319 tab_width = get_positive(optarg, "tab width must be positive", 1); 322 goal_length = get_positive(optarg, "width must be positive", 1); 336 goal_length = get_positive(++p, "width must be nonzero", 1); 339 "width must be nonzero", 1); 347 " [-w width | -width | goal [maximum]] [file ...]\n" 356 " -w <n> set maximum width t 606 size_t width; local 692 size_t width; local [all...] |
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 186 int width; /* width from format (%8d), or 0 */ local 358 width = 0; 382 ** ``A negative field width argument is taken as a 383 ** - flag followed by a positive field width.'' 388 GETASTER(width); 389 if (width >= 0) 391 width = -width; 429 ** beginning of a field width [all...] |
/freebsd-11.0-release/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | iblinkinfo.pl | 173 my $width = ""; 187 if ($line =~ /^LinkWidthActive:\.+(.*)/) { $width = $1; } 230 $width, $speed, $state, $phy_link_state, $width_enable, 234 $width, $speed, $state, $phy_link_state); 246 && $width !~ /12X/) 252 && $width !~ /8X/) 258 && $width !~ /4X/)
|
H A D | ibqueryerrors.pl | 71 my $width = ""; 77 if ($line =~ /^LinkWidthActive:\.+(.*)/) { $width = $1; } 84 $hr->{loc_ext_port}, $width, 92 $lid, $port, $width, $speed);
|
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | ui-out.h | 91 extern void ui_out_table_header (struct ui_out *uiout, int width, 112 extern void ui_out_field_fmt_int (struct ui_out *uiout, int width, 201 typedef void (table_header_ftype) (struct ui_out * uiout, int width, 212 typedef void (field_int_ftype) (struct ui_out * uiout, int fldno, int width, 215 typedef void (field_skip_ftype) (struct ui_out * uiout, int fldno, int width, 218 typedef void (field_string_ftype) (struct ui_out * uiout, int fldno, int width, 222 typedef void (field_fmt_ftype) (struct ui_out * uiout, int fldno, int width,
|
H A D | c-lang.h | 52 unsigned int length, int width,
|
/freebsd-11.0-release/sys/powerpc/pseries/ |
H A D | rtas_pci.c | 149 int width) 166 sc->sc_pcir.phys_mid, width, &pcierror, &retval); 169 config_addr, width, &pcierror, &retval); 172 switch (width) { 189 u_int reg, uint32_t val, int width) 205 width, val, &pcierror); 208 width, val, &pcierror); 148 rtaspci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int width) argument 188 rtaspci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int width) argument
|
/freebsd-11.0-release/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 301 int columns, width = 0, lines; local 307 if (len > width) 308 width = len; 310 width = (width + 8) &~ 7; 311 columns = 80 / width; 325 while (w < width) {
|
/freebsd-11.0-release/sys/dev/drm2/i915/ |
H A D | intel_panel.c | 66 int x, y, width, height; local 68 x = y = width = height = 0; 77 width = mode->hdisplay; 79 x = (adjusted_mode->hdisplay - width + 1)/2; 89 width = scaled_height / mode->vdisplay; 90 if (width & 1) 91 width++; 92 x = (adjusted_mode->hdisplay - width + 1) / 2; 101 width = adjusted_mode->hdisplay; 104 width [all...] |
/freebsd-11.0-release/tools/tools/vt/mkkfont/ |
H A D | mkkfont.c | 49 uint8_t width; member in struct:file_header 62 gbytes = howmany(fh->width, 8) * fh->height; 133 fh->width, fh->height);
|
/freebsd-11.0-release/usr.sbin/bsdconfig/console/ |
H A D | saver | 72 local height width rows 73 eval f_dialog_menu_size height width rows \ 105 $height $width $rows \
|
/freebsd-11.0-release/usr.sbin/lpr/filters/ |
H A D | lpf.c | 66 static int width = 132; /* default line length */ variable 100 width = i; 170 if (col >= width || (!literal && ch < ' ')) {
|
/freebsd-11.0-release/contrib/ofed/management/libibmad/src/ |
H A D | dump.c | 172 int width = *(int *)val; local 174 switch (width) { 188 IBWARN("bad width %d", width); 194 dump_linkwidth(char *buf, int bufsz, int width) argument 198 if (width & 0x1) 200 if (n < bufsz && (width & 0x2)) 202 if (n < bufsz && (width & 0x4)) 204 if (n < bufsz && (width & 0x8)) 209 else if (width 218 int width = *(int *)val; local 241 int width = *(int *)val; local [all...] |
/freebsd-11.0-release/contrib/gdb/gdb/tui/ |
H A D | tui-layout.c | 732 TUI_SRC_WIN->generic.width, 733 TUI_SRC_WIN->detail.source_info.execution_info->width, 775 TUI_DISASM_WIN->generic.width, 776 TUI_DISASM_WIN->detail.source_info.execution_info->width, 805 TUI_CMD_WIN->generic.width, 860 tui_win_list[win_type]->generic.width, 861 tui_win_list[win_type]->detail.source_info.execution_info->width, 890 int height, int width, int origin_x, int origin_y) 895 win_info->width = width; 889 init_gen_win_info(struct tui_gen_win_info * win_info, enum tui_win_type type, int height, int width, int origin_x, int origin_y) argument 915 init_and_make_win(void ** win_info_ptr, enum tui_win_type win_type, int height, int width, int origin_x, int origin_y, int box_it) argument [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | subr_prf.c | 634 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local 654 width = 0; 682 width = va_arg(ap, int); 683 if (width < 0) { 685 width = -width; 707 width = n; 733 width -= 1; 735 if (!ladjust && width > 0) 736 while (width [all...] |
/freebsd-11.0-release/contrib/ntp/include/ |
H A D | ntp_select.h | 15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
|
/freebsd-11.0-release/contrib/mdocml/ |
H A D | out.h | 33 size_t width; /* width of cell */ member in struct:roffcol 48 tbl_len len; /* produce width of empty space */
|
H A D | term.c | 166 vend -= (*p->width)(p, p->buf[j - 1]); 179 * hyphen such that we get the correct width. 184 vend += (*p->width)(p, p->buf[j]); 208 * Remove the p->overstep width. 227 dv = (i - j) * (*p->width)(p, ' '); 233 vbl += (*p->width)(p, ' '); 252 p->viscol -= (*p->width)(p, p->buf[i-1]); 254 p->viscol += (*p->width)(p, p->buf[i]); 280 p->trailspace * (*p->width)(p, ' ')); 301 if (maxvis < vis + p->trailspace * (*p->width)( 616 int iop, width; local [all...] |
/freebsd-11.0-release/contrib/less/ |
H A D | line.c | 249 int width; local 281 width = 0; 293 width = is_wide_char(ch) ? 2 : 1; 300 width = (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; 302 width = 1; 306 if (width == 2 && shift - shifted == 1) { 320 /* Adjust width for magic cookies. */ 326 width += attr_swidth(attr[from]); 328 width += attr_ewidth(attr[from]); 331 width 487 int width; local [all...] |