Home
last modified time | relevance | path

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

12345678910>>...24

/dflybsd-src/contrib/mdocml/
H A Dout.c126 size_t ewidth, min1, min2, wanted, width, xwidth; in tblcalc() local
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()
181 width = tblcalc_data(tbl, in tblcalc()
185 dp->layout->width ? dp->layout->width : in tblcalc()
204 g->wanted = width; in tblcalc()
208 } else if ((*gp)->wanted < width) in tblcalc()
209 (*gp)->wanted = width; in tblcalc()
[all …]
/dflybsd-src/lib/libvgl/
H A Dbitmap.c46 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument
58 end_offset = (x + width) & 0x07; in WriteVerticalLine()
59 i = (width + start_offset) / 8; in WriteVerticalLine()
69 while (pos < width) { in WriteVerticalLine()
71 while (pos < last && pos < width) in WriteVerticalLine()
89 width+=8; in WriteVerticalLine()
90 width /= 8; in WriteVerticalLine()
104 bcopy(&VGLPlane[i][0], dst->Bitmap + pos, width); in WriteVerticalLine()
113 for (last = width; ; ) { in WriteVerticalLine()
115 bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len); in WriteVerticalLine()
[all …]
/dflybsd-src/sys/kern/
H A Dsubr_scanf.c106 size_t width; /* field width, or 0 */ in kvsscanf() local
141 width = 0; in kvsscanf()
178 width = width * 10 + c - '0'; in kvsscanf()
287 if (width == 0) in kvsscanf()
288 width = 1; in kvsscanf()
292 if ((n = inr) < width) { in kvsscanf()
294 width -= n; in kvsscanf()
300 sum += width; in kvsscanf()
301 inr -= width; in kvsscanf()
302 inp += width; in kvsscanf()
[all …]
/dflybsd-src/lib/libc/stdio/
H A Dvfscanf.c129 convert_char(FILE *fp, char * p, int width) in convert_char() argument
136 if ((n = fp->pub._r) < width) { in convert_char()
138 width -= n; in convert_char()
146 sum += width; in convert_char()
147 fp->pub._r -= width; in convert_char()
148 fp->pub._p += width; in convert_char()
154 size_t r = __fread(p, 1, width, fp); in convert_char()
163 convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wchar() argument
171 while (width-- != 0 && in convert_wchar()
183 convert_ccl(FILE *fp, char * p, int width, const char *ccltab) in convert_ccl() argument
[all …]
H A Dvfwscanf.c141 convert_char(FILE *fp, char * mbp, int width, locale_t locale) in convert_char() argument
150 while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) { in convert_char()
165 convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wchar() argument
171 while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) { in convert_wchar()
182 convert_ccl(FILE *fp, char * mbp, int width, const struct ccl *ccl, in convert_ccl() argument
193 width-- != 0 && inccl(ccl, wi)) { in convert_ccl()
210 convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl, in convert_wccl() argument
220 width-- != 0 && inccl(ccl, wi)) in convert_wccl()
227 width-- != 0 && inccl(ccl, wi)) in convert_wccl()
240 convert_string(FILE *fp, char * mbp, int width, locale_t locale) in convert_string() argument
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dui-out.c35 int width; member
156 static void default_table_header (struct ui_out *uiout, int width,
165 static void default_field_int (struct ui_out *uiout, int fldno, int width,
169 static void default_field_skip (struct ui_out *uiout, int fldno, int width,
172 static void default_field_string (struct ui_out *uiout, int fldno, int width,
177 int width, enum ui_align align,
234 static void uo_table_header (struct ui_out *uiout, int width,
243 static void uo_field_int (struct ui_out *uiout, int fldno, int width,
245 static void uo_field_skip (struct ui_out *uiout, int fldno, int width,
247 static void uo_field_fmt (struct ui_out *uiout, int fldno, int width,
[all …]
/dflybsd-src/bin/ps/
H A Dprint.c90 printf("%-*s", vent->width, vent->header); in printheader()
92 printf("%*s", vent->width, vent->header); in printheader()
118 printf("%-*s/%s", vent->width, in command()
122 printf("%-*s", vent->width, in command()
155 left = termwidth - (totwidth - vent->width); in command()
157 left = vent->width; in command()
174 printf("%-*.*s", vent->width, vent->width, vis_args); in command()
193 printf("%-*s/%s", vent->width, in ucomm()
197 printf("%-*s", vent->width, in ucomm()
208 printf("%-*s", vent->width, *s != '\0' ? s : "-"); in logname()
[all …]
/dflybsd-src/contrib/dialog/
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()
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 Dmsgbox.c35 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 Dyesno.c34 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 …]
H A Dtimebox.c47 int width; member
80 data->height + (2 * MARGIN), data->width + (2 * MARGIN), in draw_cell()
92 int width, int height, in init_object() argument
101 data->width = width; in init_object()
107 data->height, data->width, in init_object()
113 dlg_mouse_mkregion(y, x, height, width, code); in init_object()
138 int width, in dialog_timebox() argument
173 int old_width = width; in dialog_timebox()
192 DLG_TRACE2N("width", width); in dialog_timebox()
212 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dialog_timebox()
[all …]
H A Dinputbox.c49 dialog_inputbox(const char *title, const char *cprompt, int height, int width, in dialog_inputbox() argument
72 int old_width = width; in dialog_inputbox()
97 DLG_TRACE2N("width", width); in dialog_inputbox()
115 partauto = ((height == 0) ^ (width == 0)); in dialog_inputbox()
118 &height, &width, in dialog_inputbox()
126 &height, &width, in dialog_inputbox()
130 dlg_button_layout(buttons, &width); in dialog_inputbox()
131 dlg_print_size(height, width); in dialog_inputbox()
132 dlg_ctl_size(height, width); in dialog_inputbox()
134 xorg = dlg_box_x_ordinate(width); in dialog_inputbox()
[all …]
H A Dguage.c45 int width; member
125 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
132 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
136 2 + MARGIN, obj->width - 2 * (2 + MARGIN), in repaint_text()
149 for (i = 0; i < (obj->width - 2 * (3 + MARGIN)); i++) in repaint_text()
152 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); in repaint_text()
160 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100; in repaint_text()
302 int width, in dlg_reallocate_gauge() argument
317 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dlg_reallocate_gauge()
318 dlg_print_size(height, width); in dlg_reallocate_gauge()
[all …]
H A Dmixedgauge.c43 int width, old_width, min_width; member
111 int limit_x = dlg->width; in myprint_status()
187 mydraw_mixed_box(WINDOW *win, int y, int x, int height, int width, in mydraw_mixed_box() argument
190 dlg_draw_box(win, y, x, height, width, boxchar, borderchar); in mydraw_mixed_box()
197 dlg_print_text(win, message, width, &attr); in mydraw_mixed_box()
228 for (i = 0; i < (dlg->width - 2 * (3 + MARGIN)); i++) in dlg_update_mixedgauge()
231 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2); in dlg_update_mixedgauge()
239 x = (percent * (dlg->width - 2 * (3 + MARGIN))) / 100; in dlg_update_mixedgauge()
281 dlg->width = dlg->old_width = aWidth; in dlg_begin_mixedgauge()
311 dlg->width = dlg->old_width; in dlg_begin_mixedgauge()
[all …]
/dflybsd-src/usr.bin/dsynth/
H A Dprogress.css64 width: 1030px;
79 width: 1030px;
104 width: 350px;
109 width: 650px;
128 width: 514px;
135 width: 16.66%;
139 width: 428px;
146 width: 20%;
164 width: 60px;
169 width: 200px;
[all …]
/dflybsd-src/usr.bin/fold/
H A Dfold.c60 int rval, width; in main() local
64 width = -1; in main()
75 if ((width = atoi(optarg)) <= 0) { in main()
89 width = width * 10 + (ch - '0'); in main()
98 if (width == -1) in main()
99 width = ch - '0'; in main()
111 if (width == -1) in main()
112 width = DEFLINEWIDTH; in main()
115 fold(width); in main()
121 fold(width); in main()
[all …]
/dflybsd-src/contrib/ncurses/ncurses/trace/
H A Dlib_tracedmp.c53 int i, j, n, width; in NCURSES_EXPORT() local
56 for (width = i = 0; i <= win->_maxy; ++i) { in NCURSES_EXPORT()
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()
71 if (++width + 1 > (int) my_length) { in NCURSES_EXPORT()
72 my_length = (unsigned) (2 * (width + 1)); in NCURSES_EXPORT()
87 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
109 for (j = 0; j < width; ++j) in NCURSES_EXPORT()
[all …]
/dflybsd-src/tools/tools/ath/athstats/
H A Dstatfoo.c96 fprintf(fd, "%*s", f->width, f->label); in statfoo_print_header()
113 fprintf(fd, "%*s", f->width, buf); in statfoo_print_current()
130 fprintf(fd, "%*s", f->width, buf); in statfoo_print_total()
142 int i, width; in statfoo_print_verbose() local
144 width = 0; in statfoo_print_verbose()
147 if (f->width > width) in statfoo_print_verbose()
148 width = f->width; in statfoo_print_verbose()
153 fprintf(fd, "%-*s %s\n", width, s, f->desc); in statfoo_print_verbose()
160 int i, w, width; in statfoo_print_fields() local
162 width = 0; in statfoo_print_fields()
[all …]
/dflybsd-src/usr.sbin/installer/dfuife_curses/
H A Dcurses_form.c79 cf->width = strlen(title) + 4; in curses_form_new()
151 w->x = (cf->width - w->width) / 2; in curses_form_widget_prepare()
158 w->x, w->width, cf->width); in curses_form_widget_prepare()
159 if ((w->x + w->width + 1) > cf->width) in curses_form_widget_prepare()
160 cf->width = w->x + w->width + 1; in curses_form_widget_prepare()
161 dfui_debug("new cf->width=%d\n", cf->width); in curses_form_widget_prepare()
173 unsigned int width, widget_t type, in curses_form_widget_add() argument
179 w = curses_widget_new(x, y, width, type, text, size, flags); in curses_form_widget_add()
200 unsigned int width, widget_t type, in curses_form_widget_insert_after() argument
206 w = curses_widget_new(x, y, width, type, text, size, flags); in curses_form_widget_insert_after()
[all …]
/dflybsd-src/tools/tools/net80211/wlanstats/
H A Dstatfoo.c103 fprintf(fd, "%*s", f->width, f->label); in statfoo_print_header()
121 fprintf(fd, "%*s", f->width, buf); in statfoo_print_current()
139 fprintf(fd, "%*s", f->width, buf); in statfoo_print_total()
151 int i, width; in statfoo_print_verbose() local
153 width = 0; in statfoo_print_verbose()
156 if (f->width > width) in statfoo_print_verbose()
157 width = f->width; in statfoo_print_verbose()
162 fprintf(fd, "%-*s %s\n", width, s, f->desc); in statfoo_print_verbose()
169 int i, w, width; in statfoo_print_fields() local
171 width = 0; in statfoo_print_fields()
[all …]
/dflybsd-src/sys/netproto/802_11/wlan/
H A Dieee80211_radiotap.c296 size_t align, width; in radiotap_offset() member
300 .width = sizeof(uint64_t), in radiotap_offset()
304 .width = sizeof(uint8_t), in radiotap_offset()
308 .width = sizeof(uint8_t), in radiotap_offset()
312 .width = 2*sizeof(uint16_t), in radiotap_offset()
316 .width = sizeof(uint16_t), in radiotap_offset()
320 .width = sizeof(uint8_t), in radiotap_offset()
324 .width = sizeof(uint8_t), in radiotap_offset()
328 .width = sizeof(uint16_t), in radiotap_offset()
332 .width = sizeof(uint16_t), in radiotap_offset()
[all …]
/dflybsd-src/lib/libcam/
H A Dscsi_cmdparse.c103 int width; in do_buff_decode() local
123 (void *)((long)(ARG)), width, \ in do_buff_decode()
179 width = strtol(fmt, &intendp, 10); in do_buff_decode()
181 if (width > 8) in do_buff_decode()
188 value = (bits >> (shift - width)) & in do_buff_decode()
189 mask[width]; in do_buff_decode()
193 shift, bits, value, width, mask[width]); in do_buff_decode()
198 shift -= width; in do_buff_decode()
205 width = strtol(fmt, &intendp, 10); in do_buff_decode()
207 switch(width) { in do_buff_decode()
[all …]
/dflybsd-src/libexec/rtld-elf/
H A Drtld_printf.c130 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; in kvprintf() local
146 width = 0; in kvprintf()
174 width = va_arg(ap, int); in kvprintf()
175 if (width < 0) { in kvprintf()
177 width = -width; in kvprintf()
199 width = n; in kvprintf()
230 if (!width) in kvprintf()
231 width = 16; in kvprintf()
232 while(width--) { in kvprintf()
236 if (width) in kvprintf()
[all …]
/dflybsd-src/contrib/less/
H A Dcmdbuf.c152 int width; in cmd_putstr() local
157 width = 1; in cmd_putstr()
159 width = 0; in cmd_putstr()
161 width = is_wide_char(ch) ? 2 : 1; in cmd_putstr()
162 cmd_col += width; in cmd_putstr()
163 prompt_col += width; in cmd_putstr()
193 int width; in cmd_step_common() local
198 width = (int) strlen(pr); in cmd_step_common()
203 width = 0; in cmd_step_common()
205 width = (int) strlen(pr); in cmd_step_common()
[all …]
/dflybsd-src/lib/libc/stdlib/
H A Dlsearch.c23 void *lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument
27 return (lwork(key, base, nelp, width, compar, 1)); in lsearch()
30 void *lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument
34 return (lwork(key, base, nelp, width, compar, 0)); in lfind()
38 lwork(const void *key, const void *base, size_t *nelp, size_t width, in lwork() argument
48 for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) { in lwork()
61 memcpy(endp, key, width); in lwork()

12345678910>>...24