Home
last modified time | relevance | path

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

12345678910>>...98

/freebsd-13.1/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()
105 dlg_button_layout(buttons, &width); in dialog_pause()
112 dlg_print_size(height, width); in dialog_pause()
113 dlg_ctl_size(height, width); in dialog_pause()
116 x = dlg_box_x_ordinate(width); in dialog_pause()
139 2 + MARGIN, width - 2 * (2 + MARGIN), in dialog_pause()
209 width = old_width; in dialog_pause()
221 FALSE, width); in dialog_pause()
[all …]
H A Dmsgbox.c69 DLG_TRACE2N("width", width); in dialog_msgbox()
77 req_wide = width; in dialog_msgbox()
88 dlg_print_size(height, width); in dialog_msgbox()
89 dlg_ctl_size(height, width); in dialog_msgbox()
91 x = dlg_box_x_ordinate(width); in dialog_msgbox()
96 dlg_move_window(dialog, height, width, y, x); in dialog_msgbox()
100 dialog = dlg_new_window(height, width, y, x); in dialog_msgbox()
122 page, width, pauseopt); in dialog_msgbox()
143 width = req_wide; in dialog_msgbox()
154 FALSE, width); in dialog_msgbox()
[all …]
H A Dyesno.c60 int req_wide = width; in dialog_yesno()
67 DLG_TRACE2N("width", width); in dialog_yesno()
76 dlg_print_size(height, width); in dialog_yesno()
77 dlg_ctl_size(height, width); in dialog_yesno()
79 x = dlg_box_x_ordinate(width); in dialog_yesno()
84 dlg_move_window(dialog, height, width, y, x); in dialog_yesno()
103 buttons, button, FALSE, width); in dialog_yesno()
108 page, width, TRUE); in dialog_yesno()
129 FALSE, width); in dialog_yesno()
138 FALSE, width); in dialog_yesno()
[all …]
H A Dtimebox.c49 int width; member
94 int width, int height, in init_object() argument
103 data->width = width; in init_object()
109 data->height, data->width, in init_object()
141 int width, in dialog_timebox() argument
176 int old_width = width; in dialog_timebox()
216 if (width < MIN_WIDE) in dialog_timebox()
217 width = MIN_WIDE; in dialog_timebox()
264 hr_box.width, in dialog_timebox()
278 mn_box.width, in dialog_timebox()
[all …]
H A Dguage.c47 int width; member
300 int width, in dlg_reallocate_gauge() argument
316 dlg_print_size(height, width); in dlg_reallocate_gauge()
317 dlg_ctl_size(height, width); in dlg_reallocate_gauge()
323 width = obj->width; in dlg_reallocate_gauge()
328 int x = dlg_box_x_ordinate(width); in dlg_reallocate_gauge()
352 obj->width = width; in dlg_reallocate_gauge()
368 int width, in dlg_allocate_gauge() argument
399 int width, in dialog_gauge() argument
411 DLG_TRACE2N("width", width); in dialog_gauge()
[all …]
/freebsd-13.1/usr.bin/systat/
H A Dsysput.c44 sysputspaces(WINDOW *wd, int row, int col, int width) in sysputspaces() argument
53 sysputstrs(WINDOW *wd, int row, int col, int width) in sysputstrs() argument
62 sysputXs(WINDOW *wd, int row, int col, int width) in sysputXs() argument
73 char unit, *ptr, *start, wrtbuf[width + width + 1]; in sysputuint64()
83 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
87 else if (len < width) in sysputuint64()
88 memset(wrtbuf + len, ' ', width - len); in sysputuint64()
95 sysputstrs(wd, row, col, width); in sysputuint64()
102 sysputspaces(wd, row, col, width); in sysputwuint64()
104 sysputuint64(wd, row, col, width, val, flags); in sysputwuint64()
[all …]
/freebsd-13.1/sys/sys/
H A Dbus_san.h60 #define BUS_SAN_READ(sp, width, type) \ argument
65 BUS_SAN_MULTI(sp, read, width, type)
74 #define BUS_SAN_SET(sp, width, type) \ argument
84 #define BUS_SAN_COPY(sp, width, type) \ argument
116 BUS_SAN_READ(sp, width, type); \
117 BUS_SAN_WRITE(sp, width, type); \
118 BUS_SAN_SET(sp, width, type); \
119 BUS_SAN_COPY(sp, width, type) \
120 BUS_SAN_PEEK(sp, width, type); \
121 BUS_SAN_POKE(sp, width, type); \
[all …]
/freebsd-13.1/contrib/mandoc/
H A Dout.c167 if (col->width < dp->layout->width) in tblcalc()
168 col->width = dp->layout->width; in tblcalc()
183 dp->layout->width ? dp->layout->width : in tblcalc()
202 g->wanted = width; in tblcalc()
229 width = tbl->cols[icol].width; in tblcalc()
289 if (width > min2) in tblcalc()
290 width = min2; in tblcalc()
292 wanted = width; in tblcalc()
411 col->width--; in tblcalc()
430 col->width = sz; in tblcalc_data()
[all …]
/freebsd-13.1/sys/kern/
H A Dsubr_scanf.c148 width = 0; in vsscanf()
200 width = width * 10 + c - '0'; in vsscanf()
314 if (width == 0) in vsscanf()
315 width = 1; in vsscanf()
321 width -= n; in vsscanf()
336 inr -= width; in vsscanf()
337 inp += width; in vsscanf()
346 if (width == 0) in vsscanf()
420 if (width == 0 || width > sizeof(buf) - 1) in vsscanf()
426 width++; in vsscanf()
[all …]
/freebsd-13.1/lib/libvgl/
H A Dbitmap.c71 while (pos < width) { in WriteVerticalLine()
139 width = width * dst->PixelBytes; in WriteVerticalLine()
141 while (width > 0) { in WriteVerticalLine()
147 width -= i; in WriteVerticalLine()
182 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
188 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
193 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
194 width=src->VXsize-srcx; in __VGLBitmapCopy()
197 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
198 width=dst->VXsize-dstx; in __VGLBitmapCopy()
[all …]
/freebsd-13.1/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-13.1/lib/libc/stdio/
H A Dvfscanf.c139 width -= n; in convert_char()
147 sum += width; in convert_char()
329 for (p = buf; width; width--) { in parseint()
500 width = 0; in __svfscanf()
553 width = width * 10 + c - '0'; in __svfscanf()
687 if (width == 0) in __svfscanf()
688 width = 1; in __svfscanf()
701 if (width == 0) in __svfscanf()
735 if (width == 0 || width > sizeof(buf) - 1) in __svfscanf()
741 width++; in __svfscanf()
[all …]
H A Dvfwscanf.c312 for (wcp = buf; width; width--) { in parseint()
481 width = 0; in __vfwscanf()
535 width = width * 10 + c - '0'; in __vfwscanf()
667 if (width == 0) in __vfwscanf()
668 width = 1; in __vfwscanf()
682 if (width == 0) in __vfwscanf()
702 if (width == 0) in __vfwscanf()
703 width = (size_t)~0; in __vfwscanf()
706 width, locale); in __vfwscanf()
717 if (width == 0 || width > sizeof(buf) / in __vfwscanf()
[all …]
/freebsd-13.1/sys/arm/allwinner/clkng/
H A Dccu_a13.c164 .n = {.shift = 8, .width = 5},
165 .k = {.shift = 4, .width = 2},
166 .m = {.shift = 0, .width = 2},
185 .n = {.shift = 8, .width = 7},
187 .m = {.shift = 0, .width = 5},
204 .n = {.shift = 8, .width = 5},
205 .k = {.shift = 4, .width = 2},
246 .n = {.shift = 8, .width = 5},
247 .k = {.shift = 4, .width = 2},
248 .m = {.shift = 0, .width = 2},
[all …]
/freebsd-13.1/usr.bin/fold/
H A Dfold.c73 int rval, width; in main() local
77 width = -1; in main()
88 if ((width = atoi(optarg)) <= 0) { in main()
102 width = width * 10 + (ch - '0'); in main()
111 if (width == -1) in main()
112 width = ch - '0'; in main()
124 if (width == -1) in main()
125 width = DEFLINEWIDTH; in main()
128 fold(width); in main()
134 fold(width); in main()
[all …]
/freebsd-13.1/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-13.1/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-13.1/lib/libbsdstat/
H A Dbsdstat.c125 fprintf(fd, "%*s", f->width, buf); in bsdstat_print_current()
146 fprintf(fd, "%*s", f->width, buf); in bsdstat_print_total()
158 int i, width; in bsdstat_print_verbose() local
160 width = 0; in bsdstat_print_verbose()
163 if (f->width > width) in bsdstat_print_verbose()
164 width = f->width; in bsdstat_print_verbose()
176 int i, w, width; in bsdstat_print_fields() local
178 width = 0; in bsdstat_print_fields()
181 if (w > width) in bsdstat_print_fields()
182 width = w; in bsdstat_print_fields()
[all …]
/freebsd-13.1/lib/libcam/
H A Dscsi_cmdparse.c112 int width; in do_buff_decode() local
186 if (width > 8) in do_buff_decode()
198 mask[width]; in do_buff_decode()
202 shift, bits, value, width, mask[width]); in do_buff_decode()
207 shift -= width; in do_buff_decode()
216 if (ind + width > len) { in do_buff_decode()
220 switch(width) { in do_buff_decode()
279 ind += width; in do_buff_decode()
591 if (width < 8) { in do_encode()
597 shift += width; in do_encode()
[all …]
/freebsd-13.1/contrib/libpcap/missing/
H A Dsnprintf.c163 width -= len; in append_number()
165 width--; in append_number()
201 width -= len; in append_number()
202 while(width-- > 0){ in append_number()
221 int width, in append_string() argument
226 width -= prec; in append_string()
230 while(width-- > 0) in append_string()
243 while(width-- > 0) in append_string()
252 int width, in append_char() argument
323 width = width * 10 + c - '0'; in xyzprintf()
[all …]
/freebsd-13.1/contrib/tcpdump/missing/
H A Dsnprintf.c159 width -= len; in append_number()
161 width--; in append_number()
197 width -= len; in append_number()
198 while(width-- > 0){ in append_number()
217 int width, in append_string() argument
222 width -= prec; in append_string()
226 while(width-- > 0) in append_string()
239 while(width-- > 0) in append_string()
248 int width, in append_char() argument
319 width = width * 10 + c - '0'; in xyzprintf()
[all …]
/freebsd-13.1/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c251 width = 0; in dtrace_debug_vprintf()
284 width = -width; in dtrace_debug_vprintf()
306 width = n; in dtrace_debug_vprintf()
337 if (!width) in dtrace_debug_vprintf()
338 width = 16; in dtrace_debug_vprintf()
339 while(width--) { in dtrace_debug_vprintf()
343 if (width) in dtrace_debug_vprintf()
413 width -= n; in dtrace_debug_vprintf()
416 while (width--) in dtrace_debug_vprintf()
507 if (!ladjust && width && (width -= tmp) > 0) in dtrace_debug_vprintf()
[all …]
/freebsd-13.1/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-13.1/usr.sbin/bhyve/
H A Dbhyvegc.c46 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument
54 gc_image->width = width; in bhyvegc_init()
60 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init()
79 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument
85 gc_image->width = width; in bhyvegc_resize()
88 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize()
91 memset(gc_image->data, 0, width * height * in bhyvegc_resize()

12345678910>>...98