Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 1470) sorted by relevance

12345678910>>...59

/freebsd/contrib/dialog/
H A Ddialog.pl104 $width = int($width);
117 $width = int($width);
139 $width = int($width);
155 $width = int($width);
215 $width = int($width);
232 $width = int($width);
272 $width = int($width);
311 $width = int($width);
343 $width = int($width);
390 $width = int($width);
[all …]
H A Dpause.c51 int width, in dialog_pause() argument
65 int old_width = width; in dialog_pause()
86 DLG_TRACE2N("width", width); in dialog_pause()
106 dlg_button_layout(buttons, &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()
140 2 + MARGIN, width - 2 * (2 + MARGIN), in dialog_pause()
208 width = old_width; in dialog_pause()
220 FALSE, width); in dialog_pause()
[all …]
H A Dmsgbox.c68 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()
119 page, width, pauseopt); in dialog_msgbox()
140 width = req_wide; in dialog_msgbox()
152 FALSE, width); in dialog_msgbox()
[all …]
H A Dyesno.c59 int req_wide = width; in dialog_yesno()
66 DLG_TRACE2N("width", 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()
95 buttons, button, FALSE, width); in dialog_yesno()
102 page, width, TRUE); in dialog_yesno()
125 FALSE, width); in dialog_yesno()
134 FALSE, width); in dialog_yesno()
[all …]
H A Dinputbox.c72 int old_width = width; in dialog_inputbox()
96 DLG_TRACE2N("width", width); in dialog_inputbox()
123 dlg_button_layout(buttons, &width); in dialog_inputbox()
124 dlg_print_size(height, width); in dialog_inputbox()
125 dlg_ctl_size(height, width); in dialog_inputbox()
127 xorg = dlg_box_x_ordinate(width); in dialog_inputbox()
130 dialog = dlg_new_window(height, width, yorg, xorg); in dialog_inputbox()
142 dlg_print_autowrap(dialog, prompt, height, width); in dialog_inputbox()
145 box_width = width - 6; in dialog_inputbox()
149 box_x = (width - box_width) / 2; in dialog_inputbox()
[all …]
/freebsd/usr.bin/systat/
H A Dsysput.c41 sysputspaces(WINDOW *wd, int row, int lcol, int width) in sysputspaces() argument
46 mvwaddstr(wd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputspaces()
62 sysputXs(WINDOW *wd __unused, int row, int lcol, int width) in sysputXs() argument
76 char *start, wrtbuf[width + width + 1]; in sysputuint64()
85 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
89 else if (len < width) in sysputuint64()
90 memset(wrtbuf + len, ' ', width - len); in sysputuint64()
97 sysputstrs(wd, row, lcol, width); in sysputuint64()
104 sysputspaces(wd, row, lcol, width); in sysputwuint64()
106 sysputuint64(wd, row, lcol, width, val, flags); in sysputwuint64()
[all …]
/freebsd/contrib/mandoc/
H A Dout.c169 if (col->width < dp->layout->width) in tblcalc()
170 col->width = dp->layout->width; in tblcalc()
185 dp->layout->width ? dp->layout->width : in tblcalc()
223 col->width = 1; in tblcalc()
243 width = tbl->cols[icol].width; in tblcalc()
268 width = tbl->cols[icol].width; in tblcalc()
271 min1 = width; in tblcalc()
272 } else if (min1 < width && min2 > width) in tblcalc()
273 min2 = width; in tblcalc()
292 width = min2; in tblcalc()
[all …]
/freebsd/sys/sys/
H A Dbus_san.h54 #define BUS_SAN_READ(sp, width, type) \ argument
59 BUS_SAN_MULTI(sp, read, width, type)
68 #define BUS_SAN_SET(sp, width, type) \ argument
78 #define BUS_SAN_COPY(sp, width, type) \ argument
113 BUS_SAN_READ(sp, width, type); \
114 BUS_SAN_WRITE(sp, width, type); \
115 BUS_SAN_SET(sp, width, type); \
116 BUS_SAN_COPY(sp, width, type) \
117 BUS_SAN_PEEK(sp, width, type); \
118 BUS_SAN_POKE(sp, width, type)
[all …]
/freebsd/sys/kern/
H A Dsubr_scanf.c143 width = 0; in vsscanf()
195 width = width * 10 + c - '0'; in vsscanf()
309 if (width == 0) in vsscanf()
310 width = 1; in vsscanf()
316 width -= n; in vsscanf()
331 inr -= width; in vsscanf()
332 inp += width; in vsscanf()
341 if (width == 0) in vsscanf()
415 if (width == 0 || width > sizeof(buf) - 1) in vsscanf()
421 width++; in vsscanf()
[all …]
/freebsd/lib/libvgl/
H A Dbitmap.c68 while (pos < width) { in WriteVerticalLine()
136 width = width * dst->PixelBytes; in WriteVerticalLine()
138 while (width > 0) { in WriteVerticalLine()
144 width -= i; in WriteVerticalLine()
179 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
185 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
190 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
191 width=src->VXsize-srcx; in __VGLBitmapCopy()
194 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
195 width=dst->VXsize-dstx; in __VGLBitmapCopy()
[all …]
/freebsd/lib/libc/stdio/
H A Dvfscanf.c126 width -= n; in convert_char()
134 sum += width; in convert_char()
135 fp->_r -= width; in convert_char()
136 fp->_p += width; in convert_char()
432 for (p = buf; width; width--) { in parseint()
518 width = 0; in __svfscanf()
610 width = width * 10 + c - '0'; in __svfscanf()
751 width = 1; in __svfscanf()
798 if (width == 0 || width > sizeof(buf) - 1) in __svfscanf()
804 width++; in __svfscanf()
[all …]
H A Dvfwscanf.c413 for (wcp = buf; width; width--) { in parseint()
499 width = 0; in __vfwscanf()
592 width = width * 10 + c - '0'; in __vfwscanf()
730 if (width == 0) in __vfwscanf()
731 width = 1; in __vfwscanf()
745 if (width == 0) in __vfwscanf()
765 if (width == 0) in __vfwscanf()
766 width = (size_t)~0; in __vfwscanf()
769 width, locale); in __vfwscanf()
780 if (width == 0 || width > sizeof(buf) / in __vfwscanf()
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dvfscanf.c183 width = 0;
227 width = width * 10 + c - '0';
363 if (width == 0)
364 width = 1;
373 width -= n;
399 width);
498 if (width == 0 || width > sizeof(buf) - 1)
504 width++;
507 for (p = buf; width > 0; width--)
650 if (width == 0 || width > sizeof(buf) - 1)
[all …]
/freebsd/sys/dev/clk/allwinner/
H A Dccu_a13.c159 .n = {.shift = 8, .width = 5},
160 .k = {.shift = 4, .width = 2},
161 .m = {.shift = 0, .width = 2},
180 .n = {.shift = 8, .width = 7},
182 .m = {.shift = 0, .width = 5},
199 .n = {.shift = 8, .width = 5},
200 .k = {.shift = 4, .width = 2},
241 .n = {.shift = 8, .width = 5},
242 .k = {.shift = 4, .width = 2},
243 .m = {.shift = 0, .width = 2},
[all …]
/freebsd/contrib/tcpdump/missing/
H A Dsnprintf.c140 width -= len; in append_number()
142 width--; in append_number()
178 width -= len; in append_number()
179 while(width-- > 0){ in append_number()
198 int width, in append_string() argument
203 width -= prec; in append_string()
207 while(width-- > 0) in append_string()
220 while(width-- > 0) in append_string()
229 int width, in append_char() argument
300 width = width * 10 + c - '0'; in xyzprintf()
[all …]
/freebsd/usr.bin/fold/
H A Dfold.c58 int rval, width; in main() local
62 width = -1; in main()
73 if ((width = atoi(optarg)) <= 0) { in main()
87 width = width * 10 + (ch - '0'); in main()
96 if (width == -1) in main()
97 width = ch - '0'; in main()
109 if (width == -1) in main()
110 width = DEFLINEWIDTH; in main()
113 fold(width); in main()
119 fold(width); in main()
[all …]
/freebsd/contrib/ncurses/ncurses/trace/
H A Dlib_tracedmp.c53 int i, j, n, width; in NCURSES_EXPORT() local
66 if (n > width) in NCURSES_EXPORT()
67 width = n; in NCURSES_EXPORT()
69 if (width < win->_maxx) in NCURSES_EXPORT()
70 ++width; in NCURSES_EXPORT()
87 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
109 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
116 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
132 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
162 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
[all …]
/freebsd/contrib/dialog/samples/
H A Ddialog.py104 def yesno(self, text, height=10, width=30, title=''): argument
111 '--yesno "%s" %d %d' % (text, height, width))
115 def msgbox(self, text, height=10, width=30, title=''): argument
121 '--msgbox "%s" %d %d' % (text, height, width))
124 def infobox(self, text, height=10, width=30): argument
150 ' --textbox "%s" %d %d' % (filename, height, width))
153 def menu(self, text, height=15, width=54, list=[]): argument
165 (text, height, width, menuheight, choices))
189 (text, height, width, menuheight, choices))
220 (text, height, width, menuheight, choices))
[all …]
/freebsd/lib/libbsdstat/
H A Dbsdstat.c123 fprintf(fd, "%*s", f->width, buf); in bsdstat_print_current()
144 fprintf(fd, "%*s", f->width, buf); in bsdstat_print_total()
156 int i, width; in bsdstat_print_verbose() local
158 width = 0; in bsdstat_print_verbose()
161 if (f->width > width) in bsdstat_print_verbose()
162 width = f->width; in bsdstat_print_verbose()
174 int i, w, width; in bsdstat_print_fields() local
176 width = 0; in bsdstat_print_fields()
179 if (w > width) in bsdstat_print_fields()
180 width = w; in bsdstat_print_fields()
[all …]
/freebsd/lib/libcam/
H A Dscsi_cmdparse.c109 int width; in do_buff_decode() local
183 if (width > 8) in do_buff_decode()
195 mask[width]; in do_buff_decode()
199 shift, bits, value, width, mask[width]); in do_buff_decode()
204 shift -= width; in do_buff_decode()
213 if (ind + width > len) { in do_buff_decode()
217 switch(width) { in do_buff_decode()
276 ind += width; in do_buff_decode()
588 if (width < 8) { in do_encode()
594 shift += width; in do_encode()
[all …]
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c249 width = 0; in dtrace_debug_vprintf()
282 width = -width; in dtrace_debug_vprintf()
304 width = n; in dtrace_debug_vprintf()
335 if (!width) in dtrace_debug_vprintf()
336 width = 16; in dtrace_debug_vprintf()
337 while(width--) { in dtrace_debug_vprintf()
341 if (width) in dtrace_debug_vprintf()
411 width -= n; in dtrace_debug_vprintf()
414 while (width--) in dtrace_debug_vprintf()
505 if (!ladjust && width && (width -= tmp) > 0) in dtrace_debug_vprintf()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dsnprintf.c126 while(width-- > 0){ in pad()
208 width -= prec; in append_number()
210 width -= nlen; in append_number()
213 width -= 2; in append_number()
216 width--; in append_number()
258 int width, in append_string() argument
268 width -= prec; in append_string()
293 int width, in append_char() argument
391 width = width * 10 + c - '0'; in xyzprintf()
395 width = va_arg(ap, int); in xyzprintf()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbhyvegc.c43 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument
51 gc_image->width = width; in bhyvegc_init()
57 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init()
76 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument
82 gc_image->width = width; in bhyvegc_resize()
85 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize()
88 memset(gc_image->data, 0, width * height * in bhyvegc_resize()
/freebsd/lib/libc/stdlib/
H A Dlsearch.c19 void *lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument
23 return (lwork(key, base, nelp, width, compar, 1)); in lsearch()
26 void *lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument
30 return (lwork(key, base, nelp, width, compar, 0)); in lfind()
34 lwork(const void *key, const void *base, size_t *nelp, size_t width, in lwork() argument
40 for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) { in lwork()
53 memcpy(endp, key, width); in lwork()
/freebsd/sys/net80211/
H A Dieee80211_radiotap.c279 size_t align, width; in radiotap_offset() member
283 .width = sizeof(uint64_t), in radiotap_offset()
287 .width = sizeof(uint8_t), in radiotap_offset()
291 .width = sizeof(uint8_t), in radiotap_offset()
303 .width = sizeof(uint8_t), in radiotap_offset()
307 .width = sizeof(uint8_t), in radiotap_offset()
323 .width = sizeof(uint8_t), in radiotap_offset()
327 .width = sizeof(uint8_t), in radiotap_offset()
331 .width = sizeof(uint8_t), in radiotap_offset()
335 .width = sizeof(uint8_t), in radiotap_offset()
[all …]

12345678910>>...59