/freebsd/contrib/dialog/ |
H A D | dialog.pl | 86 my $width = shift; 91 . " $scr_lines $width 2>&1"; 102 my ( $title, $file, $width, $height ) = @_; 104 $width = int($width); 108 . " --textbox $file $height $width" ); 114 my ( $title, $message, $width ) = @_; 117 $width = int($width); 118 $message = &rhs_wordwrap( $message, $width ); 119 $height = 5 + &height_of( $width, $message ); 126 . " $height $width" ); [all …]
|
H A D | pause.c | 51 int width, in dialog_pause() argument 65 int old_width = width; in dialog_pause() 86 DLG_TRACE2N("width", width); in dialog_pause() 103 dlg_auto_size(title, prompt, &height, &width, in dialog_pause() 106 dlg_button_layout(buttons, &width); in dialog_pause() 108 dlg_auto_size(title, prompt, &height, &width, in dialog_pause() 113 dlg_print_size(height, width); in dialog_pause() 114 dlg_ctl_size(height, width); in dialog_pause() 117 x = dlg_box_x_ordinate(width); in dialog_pause() 120 dialog = dlg_new_window(height, width, y, x); in dialog_pause() [all …]
|
H A D | msgbox.c | 35 dialog_msgbox(const char *title, const char *cprompt, int height, int width, in dialog_msgbox() argument 68 DLG_TRACE2N("width", width); in dialog_msgbox() 76 req_wide = width; in dialog_msgbox() 84 dlg_auto_size(title, prompt, &height, &width, in dialog_msgbox() 87 dlg_print_size(height, width); in dialog_msgbox() 88 dlg_ctl_size(height, width); in dialog_msgbox() 90 x = dlg_box_x_ordinate(width); in dialog_msgbox() 93 dialog = dlg_new_window(height, width, y, x); in dialog_msgbox() 101 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_msgbox() 110 mouse_mkbutton(height - 2, width / 2 - 4, 6, '\n'); in dialog_msgbox() [all …]
|
H A D | yesno.c | 34 dialog_yesno(const char *title, const char *cprompt, int height, int width) in dialog_yesno() argument 59 int req_wide = width; in dialog_yesno() 66 DLG_TRACE2N("width", width); in dialog_yesno() 74 dlg_auto_size(title, prompt, &height, &width, 2, min_width); in dialog_yesno() 75 dlg_print_size(height, width); in dialog_yesno() 76 dlg_ctl_size(height, width); in dialog_yesno() 78 x = dlg_box_x_ordinate(width); in dialog_yesno() 81 dialog = dlg_new_window(height, width, y, x); in dialog_yesno() 85 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_yesno() 95 buttons, button, FALSE, width); in dialog_yesno() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | out.c | 114 * used for the actual width calculations. 127 size_t ewidth, min1, min2, wanted, width, xwidth; in tblcalc() local 161 /* Handle explicit width specifications. */ in tblcalc() 164 dp->layout->width == 0 && in tblcalc() 167 dp->layout->width = in tblcalc() 169 if (col->width < dp->layout->width) in tblcalc() 170 col->width = dp->layout->width; in tblcalc() 177 * Calculate an automatic width. in tblcalc() 181 width = tblcalc_data(tbl, in tblcalc() 185 dp->layout->width ? dp->layout->width : in tblcalc() [all …]
|
/freebsd/sys/sys/ |
H A D | bus_san.h | 44 #define BUS_SAN_MULTI(sp, rw, width, type) \ argument 45 void sp##_bus_space_##rw##_multi_##width(bus_space_tag_t, \ 47 void sp##_bus_space_##rw##_multi_stream_##width(bus_space_tag_t, \ 49 void sp##_bus_space_##rw##_region_##width(bus_space_tag_t, \ 51 void sp##_bus_space_##rw##_region_stream_##width(bus_space_tag_t, \ 54 #define BUS_SAN_READ(sp, width, type) \ argument 55 type sp##_bus_space_read_##width(bus_space_tag_t, \ 57 type sp##_bus_space_read_stream_##width(bus_space_tag_t, \ 59 BUS_SAN_MULTI(sp, read, width, type) 61 #define BUS_SAN_WRITE(sp, width, type) \ argument [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 34 // entries include bit shift amount, bit width, and bit mask. 36 #define AMDHSA_BITS_ENUM_ENTRY(NAME, SHIFT, WIDTH) \ argument 38 NAME ## _WIDTH = (WIDTH), \ 39 NAME = (((1 << (WIDTH)) - 1) << (SHIFT)) 86 #define COMPUTE_PGM_RSRC1(NAME, SHIFT, WIDTH) \ argument 87 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC1_ ## NAME, SHIFT, WIDTH) 89 #define COMPUTE_PGM_RSRC1_GFX6_GFX8(NAME, SHIFT, WIDTH) \ argument 90 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC1_GFX6_GFX8_ ## NAME, SHIFT, WIDTH) 92 #define COMPUTE_PGM_RSRC1_GFX6_GFX9(NAME, SHIFT, WIDTH) \ argument 93 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC1_GFX6_GFX9_ ## NAME, SHIFT, WIDTH) [all …]
|
H A D | Format.h | 134 : Str(S), Width(W), Justify(J) {} 138 unsigned Width; 144 /// \p Width characters. If \p Str is larger that \p Width, full string 146 inline FormattedString left_justify(StringRef Str, unsigned Width) { 147 return FormattedString(Str, Width, FormattedString::JustifyLeft); 151 /// \p Width characters. If \p Str is larger that \p Width, full string 153 inline FormattedString right_justify(StringRef Str, unsigned Width) { 154 return FormattedString(Str, Width, FormattedString::JustifyRight); 158 /// \p Width characters. If \p Str is larger that \p Width, full string 160 inline FormattedString center_justify(StringRef Str, unsigned Width) { [all …]
|
/freebsd/usr.bin/systat/ |
H A D | sysput.c | 40 sysputspaces(WINDOW *wd, int row, int lcol, int width) in sysputspaces() argument 45 mvwaddstr(wd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputspaces() 49 sysputstrs(WINDOW *wd __unused, int row, int lcol, int width) in sysputstrs() argument 57 mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputstrs() 61 sysputXs(WINDOW *wd __unused, int row, int lcol, int width) in sysputXs() argument 69 mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputXs() 73 sysputuint64(WINDOW *wd, int row, int lcol, int width, uint64_t val, int flags) in sysputuint64() argument 75 char *start, wrtbuf[width + width + 1]; in sysputuint64() 84 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64() 88 else if (len < width) in sysputuint64() [all …]
|
/freebsd/share/man/man4/ |
H A D | siftr.4 | 91 .Bl -tag -offset indent -width Va 104 .Bl -tag -offset indent -width Va 113 .Bl -tag -offset indent -width Va 119 .Bl -tag -offset indent -width Va 150 .Bl -tag -offset indent -width Va 154 .Bl -tag -offset indent -width Va 158 .Bl -tag -offset indent -width Va 163 .Bl -tag -offset indent -width Va 167 .Bl -tag -offset indent -width Va 171 .Bl -tag -offset indent -width Va [all …]
|
/freebsd/contrib/ntp/html/drivers/ |
H A D | driver29.html | 21 <h2><img src="../pic/driver29.gif" alt="gif" nosave height="100" width="420"></h2> 24 <h2><img src="../pic/thunderbolt.jpg" alt="jpg" nosave height="270" width="420"></h2> 99 <td valign="CENTER" width="23%">Platform</td> 105 <td valign="CENTER" width="23%">i386 (PC) </td> 117 <td valign="CENTER" width="23%">SUN</td> 123 <td valign="CENTER" width="23%">Hewlett-Packard</td> 471 <table width="712" border="0" cellspacing="0"> 473 <td valign="CENTER" width="5%">Code</td> 474 <td valign="CENTER" width="59%">Meaning</td> 485 <td valign="CENTER" width="5%">1</td> [all …]
|
/freebsd/lib/libvgl/ |
H A D | bitmap.c | 45 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument 57 end_offset = (x + width) & 0x07; in WriteVerticalLine() 58 bwidth = (width + start_offset) / 8; in WriteVerticalLine() 68 while (pos < width) { in WriteVerticalLine() 70 while (pos < last && pos < width) in WriteVerticalLine() 126 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in WriteVerticalLine() 136 width = width * dst->PixelBytes; in WriteVerticalLine() 138 while (width > 0) { in WriteVerticalLine() 140 i = min(VGLAdpInfo.va_window_size - offset, width); in WriteVerticalLine() 144 width -= i; in WriteVerticalLine() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SlowDynamicAPInt.cpp | 127 unsigned Width = getMaxWidth(Val, O.Val); in operator ==() local 128 return Val.sext(Width) == O.Val.sext(Width); in operator ==() 131 unsigned Width = getMaxWidth(Val, O.Val); in operator !=() local 132 return Val.sext(Width) != O.Val.sext(Width); in operator !=() 135 unsigned Width = getMaxWidth(Val, O.Val); in operator >() local 136 return Val.sext(Width).sgt(O.Val.sext(Width)); in operator >() 139 unsigned Width = getMaxWidth(Val, O.Val); in operator <() local 140 return Val.sext(Width).slt(O.Val.sext(Width)); in operator <() 143 unsigned Width = getMaxWidth(Val, O.Val); in operator <=() local 144 return Val.sext(Width).sle(O.Val.sext(Width)); in operator <=() [all …]
|
/freebsd/usr.bin/fold/ |
H A D | fold.c | 58 int rval, width; in main() local 62 width = -1; in main() 73 if ((width = atoi(optarg)) <= 0) { in main() 74 errx(1, "illegal width value"); in main() 79 /* Accept a width as eg. -30. Note that a width in main() 85 /* The width is a number with multiple digits: in main() 87 width = width * 10 + (ch - '0'); in main() 90 /* Set the width, unless it was previously in main() 92 * would all give a width of 5 and not 10: in main() 96 if (width == -1) in main() [all …]
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | dialog.subr | 106 # Minimum width(s) for various dialog(1) implementations (sensible global 119 # height (but does for width) -- a height of 3 will display three lines and a 301 # Get the maximum height and width for a dialog widget and store the values in 363 # or screen width. The use of $[X]DIALOG_MIN_WIDTH can be overridden by 380 # NOTE: Don't change the name of $__{var,min,}{height,width} 384 for __arg in height width; do 397 for __arg in height width; do 406 # Obtain maximum height and width values 407 # NOTE: Function name appended to prevent __var_{height,width} values 422 # Adjust width if desired [all …]
|
/freebsd/contrib/ntp/html/hints/ |
H A D | solaris-dosynctodr.html | 28 <TABLE WIDTH="623" BORDER="0" CELLSPACING="0" CELLPADDING="0"> 30 <TD COLSPAN="2" VALIGN="TOP" WIDTH="623"> 31 …/homebuy.gif" WIDTH="149" HEIGHT="32" ALT="Home * Buy * My Sun(sm)" USEMAP="#lefttop"><IMG BORDER=… 34 <TD COLSPAN="2" VALIGN="TOP" WIDTH="623"> 38 …"/images/sunlogo.gif" WIDTH="149" HEIGHT="72" ALT="Sun Microsystems"></A><IMG BORDER="0" SRC="/ima… 43 <TABLE BORDER="0" WIDTH="157" CELLSPACING="0" CELLPADDING="0"> 45 …D BGCOLOR="#666699" COLSPAN="2" WIDTH="157" VALIGN="TOP"><IMG BORDER="0" SRC="/images/search/contr… 48 …<TD VALIGN="top" ALIGN="center" WIDTH="141" BGCOLOR="#666699"><FORM ACTION="search.pl" METHOD="POS… 49 …rch5.gif" BORDER="0" NAME="Search"><IMG SRC="/images/cg_clear.gif" ALT="" WIDTH="2" HEIGHT="1" BOR… 51 <A HREF="search.pl?mode=advanced"><IMG BORDER="0" SRC="/images/search/contract/search3.gif" WIDTH="… [all …]
|
/freebsd/share/man/man7/ |
H A D | hier.7 | 40 .Bl -tag -width "/libexec/" 56 .Bl -tag -width "loader.conf.d/" -compact 69 .Bl -tag -width "overlays/" -compact 121 .Bl -tag -width "loader.conf.d" -compact 133 .Bl -tag -width "loader.conf.d" -compact 195 .Bl -tag -width "freebsd-update.conf" -compact 247 .Bl -tag -width "mailer.conf" -compact 332 .Bl -tag -width "nvmecontrol/" -compact 388 .Bl -tag -width "freebsd-dist/" -compact 407 .Bl -tag -width Fl -compact [all …]
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | aw_clk.h | 79 uint32_t width; /* Number of bits for the factor */ member 135 max = 1 << ((1 << factor->width) - 1); in aw_clk_factor_get_max() 137 max = (1 << factor->width); in aw_clk_factor_get_max() 213 .n.width = _n_width, \ 217 .k.width = _k_width, \ 221 .m.width = _m_width, \ 225 .p.width = _p_width, \ 253 .n.width = _n_width, \ 257 .k.width = _k_width, \ 261 .m.width = _m_width, \ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUResourceUsageAnalysis.cpp | 267 unsigned Width = 0; in analyzeResourceUsage() local 350 Width = 1; in analyzeResourceUsage() 354 Width = 1; in analyzeResourceUsage() 359 Width = 1; in analyzeResourceUsage() 362 Width = 2; in analyzeResourceUsage() 365 Width = 2; in analyzeResourceUsage() 369 Width = 2; in analyzeResourceUsage() 372 Width = 3; in analyzeResourceUsage() 375 Width = 3; in analyzeResourceUsage() 379 Width = 3; in analyzeResourceUsage() [all …]
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.html | 1606 <thead><tr><th width="23%">What</th><th width="23%">Default</th><th width="5%">Flag</th><th width="15%">Option</th></tr></thead> 1607 <tr><td width="23%">configuration file</td><td width="23%"><code>/etc/ntp.conf</code></td><td width="5%"><code>-c</code></td><td width="15%"><code>conffile</code></td></tr> 1608 <tr><td width="23%">frequency file</td><td width [all...] |
/freebsd/contrib/kyua/utils/text/ |
H A D | table.cpp | 62 // Override the actual width of the columns based on user-specified widths. in override_column_widths() 84 /// \return The index of the refill column with a width_refill width if any, or 98 /// Pads the widths of the table to fit within a maximum width. 101 /// than its current value, if the total width of the table would exceed the 102 /// maximum table width. 107 /// \param user_max_width The target width of the table; must not be zero. 109 /// width should be larger than the padding times the number of columns; if 127 text::widths_vector::value_type width = 0; in refill_widths() local 130 width += widths[i]; in refill_widths() 132 widths[refill_column] = max_width - width; in refill_widths() [all …]
|
/freebsd/usr.bin/procstat/ |
H A D | procstat.1 | 144 .Bl -tag -width indent 264 .Bl -tag -width indent -compact 277 .Bl -tag -width indent -compact 288 .Bl -tag -width "ENVIRONMENT" -compact 303 .Bl -tag -width indent -compact 328 .Bl -tag -width X -compact 355 .Bl -tag -width X -compact 378 .Bl -tag -width X -compact 410 .Bl -tag -width indent -compact 437 .Bl -tag -width indent -compact [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | string_utils.cpp | 77 // Use the fact that explicitly requesting 0 Width (%0s) results in UB and 78 // interpret Width == 0 as "no Width requested": 79 // Width == 0 - no Width requested 80 // Width < 0 - left-justify S within and pad it to -Width chars, if necessary 81 // Width > 0 - right-justify S, not implemented yet 82 void ScopedString::appendString(int Width, int MaxChars, const char *S) { in appendString() argument 92 if (Width < 0) { in appendString() 94 Width = -Width - NumChars; in appendString() 95 while (Width-- > 0) in appendString() 129 u8 Width = 0; in vappend() local [all …]
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 51 #define ATOMIC_ACQ_REL(NAME, WIDTH) \ argument 53 atomic_##NAME##_acq_##WIDTH(__volatile uint##WIDTH##_t *p, uint##WIDTH##_t v)\ 55 atomic_##NAME##_##WIDTH(p, v); \ 60 atomic_##NAME##_rel_##WIDTH(__volatile uint##WIDTH##_t *p, uint##WIDTH##_t v)\ 63 atomic_##NAME##_##WIDTH(p, v); \ 66 #define ATOMIC_CMPSET_ACQ_REL(WIDTH) \ argument 68 atomic_cmpset_acq_##WIDTH(__volatile uint##WIDTH##_t *p, \ 69 uint##WIDTH##_t cmpval, uint##WIDTH##_t newval) \ 73 retval = atomic_cmpset_##WIDTH(p, cmpval, newval); \ 79 atomic_cmpset_rel_##WIDTH(__volatile uint##WIDTH##_t *p, \ [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | ntpd.html | 117 <table width="100%" border="1"> 119 <td width="30%">File</td> 120 <td width="30%">Default</td> 121 <td width="20%">Option</td> 122 <td width="20%">Option</td> 125 <td width="30%">configuration file</td> 126 <td width="30%"><tt>/etc/ntp.conf</tt></td> 127 <td width="20%"><tt>-c</tt></td> 128 <td width="20%"><tt>conffile</tt></td> 131 <td width="30%">frequency file</td> [all …]
|