Home
last modified time | relevance | path

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

12345678910>>...79

/freebsd-12.1/lib/libvgl/
H A Dbitmap.c91 width+=8; in WriteVerticalLine()
92 width /= 8; in WriteVerticalLine()
140 while (width > 0) { in WriteVerticalLine()
146 width -= i; in WriteVerticalLine()
152 width = width * dst->PixelBytes; in WriteVerticalLine()
160 width -= i; in WriteVerticalLine()
261 width -= i; in ReadVerticalLine()
267 width = width * src->PixelBytes; in ReadVerticalLine()
275 width -= i; in ReadVerticalLine()
304 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
[all …]
/freebsd-12.1/contrib/dialog/
H A Ddialog.pl23 local ( $title, $file, $width, $height ) = @_;
31 local ( $title, $message, $width ) = @_;
34 $message = &rhs_wordwrap($message, $width);
51 local ( $title, $message, $width ) = @_;
54 $message = &rhs_wordwrap($message, $width);
66 local ( $title, $message, $width ) = @_;
69 $message = &rhs_wordwrap($message, $width);
90 $gauge_width = $width;
92 $message = &rhs_wordwrap($message, $width);
125 $message = &rhs_wordwrap($message, $width);
[all …]
H A Dpause.c51 int width, in dialog_pause() argument
65 int old_width = width; in dialog_pause()
92 width = old_width; in dialog_pause()
96 dlg_auto_size(title, prompt, &height, &width, in dialog_pause()
99 dlg_button_layout(buttons, &width); in dialog_pause()
106 dlg_print_size(height, width); in dialog_pause()
107 dlg_ctl_size(height, width); in dialog_pause()
110 x = dlg_box_x_ordinate(width); in dialog_pause()
133 2 + MARGIN, width - 2 * (2 + MARGIN), in dialog_pause()
211 FALSE, width); in dialog_pause()
[all …]
H A Dprogressbox.c107 for (i = 0; i < width - x; i++) in print_line()
112 pause_for_ok(WINDOW *dialog, int height, int width) in pause_for_ok() argument
148 FALSE, width); in pause_for_ok()
198 int width, in dlg_progressbox() argument
211 dlg_print_size(height, width); in dlg_progressbox()
212 dlg_ctl_size(height, width); in dlg_progressbox()
214 x = dlg_box_x_ordinate(width); in dlg_progressbox()
218 dialog = dlg_new_window(height, width, y, x); in dlg_progressbox()
242 width - (2 * MARGIN), in dlg_progressbox()
278 result = pause_for_ok(dialog, height, width); in dlg_progressbox()
[all …]
H A Dmsgbox.c70 req_wide = width; in dialog_msgbox()
77 dlg_auto_size(title, prompt, &height, &width, in dialog_msgbox()
80 dlg_print_size(height, width); in dialog_msgbox()
81 dlg_ctl_size(height, width); in dialog_msgbox()
83 x = dlg_box_x_ordinate(width); in dialog_msgbox()
88 dlg_move_window(dialog, height, width, y, x); in dialog_msgbox()
92 dialog = dlg_new_window(height, width, y, x); in dialog_msgbox()
114 page, width, pauseopt); in dialog_msgbox()
133 width = req_wide; in dialog_msgbox()
144 FALSE, width); in dialog_msgbox()
[all …]
H A Dyesno.c60 int req_wide = width; in dialog_yesno()
67 dlg_print_size(height, width); in dialog_yesno()
68 dlg_ctl_size(height, width); in dialog_yesno()
70 x = dlg_box_x_ordinate(width); in dialog_yesno()
75 dlg_move_window(dialog, height, width, y, x); in dialog_yesno()
79 dialog = dlg_new_window(height, width, y, x); in dialog_yesno()
94 buttons, button, FALSE, width); in dialog_yesno()
99 page, width, TRUE); in dialog_yesno()
120 FALSE, width); in dialog_yesno()
129 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()
205 if (width < MIN_WIDE) in dialog_timebox()
206 width = MIN_WIDE; in dialog_timebox()
253 hr_box.width, in dialog_timebox()
267 mn_box.width, in dialog_timebox()
[all …]
H A Dguage.c47 int width; member
137 2 + MARGIN, obj->width - 2 * (2 + MARGIN), in repaint_text()
293 int width, in dlg_reallocate_gauge() argument
309 dlg_print_size(height, width); in dlg_reallocate_gauge()
310 dlg_ctl_size(height, width); in dlg_reallocate_gauge()
316 width = obj->width; in dlg_reallocate_gauge()
321 int x = dlg_box_x_ordinate(width); in dlg_reallocate_gauge()
345 obj->width = width; in dlg_reallocate_gauge()
361 int width, in dlg_allocate_gauge() argument
392 int width, in dialog_gauge() argument
[all …]
/freebsd-12.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-12.1/sys/kern/
H A Dsubr_scanf.c148 width = 0; in vsscanf()
200 width = width * 10 + c - '0'; in vsscanf()
315 if (width == 0) in vsscanf()
316 width = 1; in vsscanf()
322 width -= n; in vsscanf()
337 inr -= width; in vsscanf()
338 inp += width; in vsscanf()
347 if (width == 0) in vsscanf()
421 if (width == 0 || width > sizeof(buf) - 1) in vsscanf()
427 width++; in vsscanf()
[all …]
/freebsd-12.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.c314 for (wcp = buf; width; width--) { in parseint()
483 width = 0; in __vfwscanf()
537 width = width * 10 + c - '0'; in __vfwscanf()
669 if (width == 0) in __vfwscanf()
670 width = 1; in __vfwscanf()
684 if (width == 0) in __vfwscanf()
704 if (width == 0) in __vfwscanf()
705 width = (size_t)~0; in __vfwscanf()
708 width, locale); in __vfwscanf()
719 if (width == 0 || width > sizeof(buf) / in __vfwscanf()
[all …]
/freebsd-12.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-12.1/contrib/gdb/gdb/
H A Dui-out.c37 int width; member
390 int width; in ui_out_begin() local
461 int width; in ui_out_field_int() local
478 int width; in ui_out_field_fmt_int() local
529 int width; in ui_out_field_skip() local
543 int width; in ui_out_field_string() local
559 int width; in ui_out_field_fmt() local
1029 temphdr->width = width; in append_header_to_list()
1062 int *width, in get_next_header() argument
1070 *width = uiout->table.header_next->width; in get_next_header()
[all …]
/freebsd-12.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-12.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-12.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-12.1/contrib/ncurses/ncurses/trace/
H A Dlib_tracedmp.c52 int i, j, n, width; in NCURSES_EXPORT() local
65 if (n > width) in NCURSES_EXPORT()
66 width = n; in NCURSES_EXPORT()
68 if (width < win->_maxx) in NCURSES_EXPORT()
69 ++width; in NCURSES_EXPORT()
86 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
108 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
115 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
131 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
161 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
[all …]
/freebsd-12.1/contrib/less/
H A Dcmdbuf.c152 int width; local
157 width = 1;
159 width = 0;
200 int width; local
210 width = 0;
274 int width; local
285 int width; local
338 int width; in cmd_lshift() local
344 int width; in cmd_lshift() local
377 int width; in cmd_rshift() local
[all …]
/freebsd-12.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-12.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-12.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-12.1/contrib/libpcap/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-12.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-12.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 …]

12345678910>>...79