Searched refs:width (Results 51 - 75 of 583) sorted by relevance

1234567891011>>

/freebsd-9.3-release/tools/tools/net80211/wlanstats/
H A Dstatfoo.c103 fprintf(fd, "%*s", f->width, f->label);
121 fprintf(fd, "%*s", f->width, buf);
139 fprintf(fd, "%*s", f->width, buf);
151 int i, width; local
153 width = 0;
156 if (f->width > width)
157 width = f->width;
162 fprintf(fd, "%-*s %s\n", width,
169 int i, w, width; local
[all...]
/freebsd-9.3-release/tools/tools/npe/npestats/
H A Dstatfoo.c96 fprintf(fd, "%*s", f->width, f->label);
113 fprintf(fd, "%*s", f->width, buf);
130 fprintf(fd, "%*s", f->width, buf);
142 int i, width; local
144 width = 0;
147 if (f->width > width)
148 width = f->width;
153 fprintf(fd, "%-*s %s\n", width,
160 int i, w, width; local
[all...]
/freebsd-9.3-release/usr.sbin/pciconf/
H A Dpciconf.h40 uint32_t read_config(int fd, struct pcisel *sel, long reg, int width);
/freebsd-9.3-release/lib/libc/stdio/
H A Dvfscanf.c142 size_t width; /* field width, or 0 */ local
178 width = 0;
231 width = width * 10 + c - '0';
366 if (width == 0)
367 width = 1;
374 while (width != 0) {
392 width--;
410 if ((n = fp->_r) < width) {
[all...]
H A Dvfwscanf.c140 size_t width; /* field width, or 0 */ local
181 width = 0;
235 width = width * 10 + c - '0';
368 if (width == 0)
369 width = 1;
374 while (width-- != 0 &&
390 while (width != 0 &&
392 if (width >
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Dinputbox.c44 dialog_inputbox(const char *title, const char *cprompt, int height, int width, argument
65 int old_width = width;
98 dlg_auto_size(title, prompt, &height, &width, 5,
104 dlg_auto_size(title, prompt, &height, &width, 5, 26);
106 dlg_button_layout(buttons, &width);
107 dlg_print_size(height, width);
108 dlg_ctl_size(height, width);
110 xorg = dlg_box_x_ordinate(width);
113 dialog = dlg_new_window(height, width, yorg, xorg);
119 dlg_draw_box(dialog, 0, 0, height, width, dialog_att
[all...]
H A Dguage.c47 int width; member in struct:_my_obj
125 dlg_draw_box(dialog, 0, 0, obj->height, obj->width, dialog_attr, border_attr);
131 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width);
135 2 + MARGIN, obj->width - 2 * (2 + MARGIN),
147 for (i = 0; i < (obj->width - 2 * (3 + MARGIN)); i++)
150 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2);
158 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100;
286 int width,
296 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE);
297 dlg_print_size(height, width);
283 dlg_allocate_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
351 dialog_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
[all...]
H A Dtailbox.c84 print_line(MY_OBJ * obj, WINDOW *win, int row, int width) argument
92 (void) waddnstr(win, line, MIN((int) strlen(line), width - 2));
94 line[MIN((int) strlen(line), width - 2)] = '\0';
100 for (i = 0; i < width - x; i++)
170 print_page(MY_OBJ * obj, int height, int width) argument
175 print_line(obj, obj->text, i, width);
283 dialog_tailbox(const char *title, const char *file, int height, int width, int bg_task) argument
303 int old_width = width;
320 dlg_auto_sizefile(title, file, &height, &width, 2, min_width);
321 dlg_print_size(height, width);
[all...]
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c76 int height, width, min_width; local
103 height = width = 0;
107 dlg_auto_size(title, prompt, &height, &width, 2, min_width);
109 partlist_width = width - 2*MARGIN;
110 dlg_print_size(height, width);
111 dlg_ctl_size(height, width);
113 x = dlg_box_x_ordinate(width);
116 dialog = dlg_new_window(height, width, y, x);
120 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
134 cur_button, FALSE, width);
[all...]
/freebsd-9.3-release/contrib/libpcap/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
166 width -= len;
168 width--;
169 while(width-- > 0){
204 width -= len;
205 while(width-- > 0){
224 int width,
229 width -= prec;
231 width -= strlen((char *)arg);
233 while(width
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
253 append_char(struct state *state, unsigned char arg, int width, int flags) argument
296 int width = 0; local
[all...]
/freebsd-9.3-release/contrib/tcpdump/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
166 width -= len;
168 width--;
169 while(width-- > 0){
204 width -= len;
205 while(width-- > 0){
224 int width,
229 width -= prec;
231 width -= strlen((char *)arg);
233 while(width
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
253 append_char(struct state *state, unsigned char arg, int width, int flags) argument
296 int width = 0; local
[all...]
/freebsd-9.3-release/lib/libcam/
H A Dscsi_cmdparse.c108 int width; local
128 (void *)((long)(ARG)), width, \
184 width = strtol(fmt, &intendp, 10);
186 if (width > 8)
193 value = (bits >> (shift - width)) &
194 mask[width];
197 printf("shift %2d bits %02x value %02x width %2d mask %02x\n",
198 shift, bits, value, width, mask[width]);
203 shift -= width;
548 int width, value, error, suppress; local
[all...]
/freebsd-9.3-release/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c237 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local
251 width = 0;
281 width = va_arg(ap, int);
282 if (width < 0) {
284 width = -width;
306 width = n;
337 if (!width)
338 width = 16;
339 while(width
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dprint.c77 unsigned long width; local
115 width = precision = 0;
148 width = va_arg(ap, int);
152 width = strtoul(format, &e, 10);
307 if (precision != 0U || width != 0U) {
311 else if (length < width && zero)
312 zeropad = width - length;
313 if (width != 0U) {
314 pad = width - length -
373 if (width !
[all...]
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_radiotap.c266 size_t align, width; member in struct:__anon9634
270 .width = sizeof(uint64_t),
274 .width = sizeof(uint8_t),
278 .width = sizeof(uint8_t),
282 .width = 2*sizeof(uint16_t),
286 .width = sizeof(uint16_t),
290 .width = sizeof(uint8_t),
294 .width = sizeof(uint8_t),
298 .width = sizeof(uint16_t),
302 .width
[all...]
/freebsd-9.3-release/contrib/nvi/tk/
H A Dinit.tcl399 # This is the width of the edcompatible button.
408 -width $buttonwidth -anchor w
412 -width $buttonwidth -anchor w
416 -width $buttonwidth -anchor w
420 -width $buttonwidth -anchor w
424 -width $buttonwidth -anchor w
437 -width $buttonwidth -anchor w
441 -width $buttonwidth -anchor w
445 -width $buttonwidth -anchor w
449 -width
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dui-out.c37 int width; member in struct:ui_out_hdr
157 static void default_table_header (struct ui_out *uiout, int width,
166 static void default_field_int (struct ui_out *uiout, int fldno, int width,
170 static void default_field_skip (struct ui_out *uiout, int fldno, int width,
173 static void default_field_string (struct ui_out *uiout, int fldno, int width,
178 int width, enum ui_align align,
233 static void uo_table_header (struct ui_out *uiout, int width,
242 static void uo_field_int (struct ui_out *uiout, int fldno, int width,
244 static void uo_field_skip (struct ui_out *uiout, int fldno, int width,
246 static void uo_field_string (struct ui_out *uiout, int fldno, int width,
340 ui_out_table_header(struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr) argument
390 int width; local
461 int width; local
478 int width; local
529 int width; local
543 int width; local
559 int width; local
767 default_table_header(struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr) argument
789 default_field_int(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, int value) argument
796 default_field_skip(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname) argument
802 default_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
812 default_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
876 uo_table_header(struct ui_out *uiout, int width, enum ui_align align, const char *col_name, const char *colhdr) argument
907 uo_field_int(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, int value) argument
917 uo_field_skip(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname) argument
926 uo_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
937 uo_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
1020 append_header_to_list(struct ui_out *uiout, int width, int alignment, const char *col_name, const char *colhdr) argument
1060 get_next_header(struct ui_out *uiout, int *colno, int *width, int *alignment, char **colhdr) argument
1084 verify_field(struct ui_out *uiout, int *fldno, int *width, int *align) argument
[all...]
H A Dcli-out.c45 static void cli_table_header (struct ui_out *uiout, int width,
51 static void cli_field_int (struct ui_out *uiout, int fldno, int width,
53 static void cli_field_skip (struct ui_out *uiout, int fldno, int width,
55 static void cli_field_string (struct ui_out *uiout, int fldno, int width,
59 int width, enum ui_align align,
150 cli_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument
157 cli_field_string (uiout, 0, width, alignment, 0, colhdr);
188 cli_field_int (struct ui_out *uiout, int fldno, int width, argument
198 cli_field_string (uiout, fldno, width, alignment, fldname, buffer);
204 cli_field_skip (struct ui_out *uiout, int fldno, int width, argument
218 cli_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
269 cli_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
[all...]
H A Dmemattr.h55 enum mem_access_width width; member in struct:mem_attrib
/freebsd-9.3-release/tools/tools/mwl/mwlstats/
H A Dstatfoo.c96 fprintf(fd, "%*s", f->width, f->label);
113 fprintf(fd, "%*s", f->width, buf);
130 fprintf(fd, "%*s", f->width, buf);
152 int i, w, width; local
154 width = 0;
157 if (w > width)
158 width = w;
162 if (f->width != 0)
163 fprintf(fd, "%-*s %s\n", width, f->name, f->desc);
/freebsd-9.3-release/contrib/gdb/gdb/tui/
H A Dtui-out.c47 static void tui_table_header (struct ui_out *uiout, int width,
53 static void tui_field_int (struct ui_out *uiout, int fldno, int width,
55 static void tui_field_skip (struct ui_out *uiout, int fldno, int width,
57 static void tui_field_string (struct ui_out *uiout, int fldno, int width,
61 int width, enum ui_align align,
151 tui_table_header (struct ui_out *uiout, int width, enum ui_align alignment, argument
158 tui_field_string (uiout, 0, width, alignment, 0, colhdr);
189 tui_field_int (struct ui_out *uiout, int fldno, int width, argument
208 tui_field_string (uiout, fldno, width, alignment, fldname, buffer);
214 tui_field_skip (struct ui_out *uiout, int fldno, int width, argument
228 tui_field_string(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string) argument
290 tui_field_fmt(struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *format, va_list args) argument
[all...]
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A Dkeymap101 local height width
102 f_dialog_inputbox_size height width \
112 $height $width \
145 width=67 first_pass=1 back_from_testing=
146 [ "$USE_XDIALOG" ] && width=70
203 $height $width $rows \
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/
H A DAMDGPUAsmPrinter.cpp188 unsigned width = 0; local
211 width = 1;
214 width = 1;
217 width = 2;
220 width = 2;
223 width = 3;
226 width = 4;
229 width = 4;
232 width = 8;
235 width
[all...]
/freebsd-9.3-release/share/examples/ppp/
H A Dlogin-auth34 set pwidth 11; # Prompt field width
35 set vwidth 20; # Value field width
36 set fxpad 7; # Value field width
37 set fypad 3; # Value field width
48 text .l.prompt -width $pwidth -height 1 -relief flat;
52 text .l.value -width $vwidth -height 1;
59 text .p.prompt -width $pwidth -height 1 -relief flat;
63 entry .p.value -show "*" -width $vwidth;
/freebsd-9.3-release/usr.bin/banner/
H A Dbanner.c1025 int width = DWIDTH; /* -w option: scrunch letters to 80 columns */ variable
1043 width = atoi(optarg);
1044 if (width <= 0 || width > DWIDTH)
1054 for (i = 0; i < width; i++) {
1055 j = i * DWIDTH / width;
1160 x = (x*width + (DWIDTH/2)) / DWIDTH;
1161 y = (y*width + (DWIDTH/2)) / DWIDTH;
1179 fprintf(stderr, "usage: banner [-d] [-t] [-w width] message ...\n");

Completed in 446 milliseconds

1234567891011>>