Home
last modified time | relevance | path

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

12345678910>>...49

/openbsd/usr.bin/tmux/
H A Dutf8.c31 u_int width; member
356 uw->width = width;
527 *width = uw->width;
541 if (*width >= 0 && *width <= 0xff)
579 ud->width = width;
612 int width; local
631 ud->width = width;
791 width += s[i].width;
852 width = 0;
858 width += tmp.width;
[all …]
H A Dformat-draw.c111 u_int width) in format_draw_put() argument
154 if (start + width < list->cx && width > list_right->cx) { in format_draw_put_list()
652 *width = 0; in format_leading_hashes()
809 width[current] += ud->width; in format_draw()
1098 width += ud.width; in format_width()
1102 width++; in format_width()
1154 if (width + ud.width <= limit) { in format_trim_left()
1158 width += ud.width; in format_trim_left()
1166 width++; in format_trim_left()
1228 width += ud.width; in format_trim_right()
[all …]
/openbsd/gnu/llvm/lldb/examples/customization/bin-utils/
H A Dbinutils.py3 def binary(n, width=None): argument
10 if width and width <= 0:
11 width = None
16 if width:
29 val = 2**(width - 1)
56 def positions(width): argument
71 width = None
74 if width < 0:
75 width = 0
104 if width < 0:
[all …]
/openbsd/usr.bin/mandoc/
H A Dout.c159 if (col->width < dp->layout->width) in tblcalc()
160 col->width = dp->layout->width; in tblcalc()
175 dp->layout->width ? dp->layout->width : in tblcalc()
213 col->width = 1; in tblcalc()
233 width = tbl->cols[icol].width; in tblcalc()
273 min1 = width; in tblcalc()
274 } else if (min1 < width && min2 > width) in tblcalc()
275 min2 = width; in tblcalc()
294 width = min2; in tblcalc()
296 wanted = width; in tblcalc()
[all …]
/openbsd/usr.bin/fold/
H A Dfold.c67 width = 0; in main()
88 width = 0; in main()
93 width = (width * 10) + (ch - '0'); in main()
94 if (width < 1) in main()
107 if (width == 0) in main()
113 fold(width); in main()
119 fold(width); in main()
211 width = 1; in fold()
220 width = len; in fold()
222 width = 1; in fold()
[all …]
/openbsd/bin/ps/
H A Dprint.c130 left = v->width; in command()
132 left = v->width; in command()
236 while (n++ < v->width) in logname()
239 (void)printf("%-*s", v->width, "-"); in logname()
325 (void)printf("%-*s", v->width, buf); in printstate()
347 (void)printf("%-*s", v->width, buf); in printpledge()
485 (void)printf("%*.*s%c", v->width-1, v->width-1, ttname, in tname()
539 (void)printf("%-*s", v->width, buf); in started()
603 (void)printf("%*s", v->width, buf); in elapsed()
626 (void)printf("%*llu", v->width, in vsize()
[all …]
/openbsd/usr.bin/colrm/
H A Dcolrm.c56 int ch, len, width; in main() local
95 width = 0; in main()
112 column > stop + (width > 1))) { in main()
114 if (width > 1 && p[1] == '\b') in main()
117 if (width > 1 && p[1] == '\b') in main()
119 column -= width; in main()
149 width = 1; in main()
150 } else if ((width = wcwidth(wc)) == -1) in main()
151 width = 1; in main()
168 else if (width > 1 && p[len] != '\b' && in main()
[all …]
/openbsd/lib/libc/stdio/
H A Dvfscanf.c141 width = 0; in __svfscanf()
196 width = width * 10 + c - '0'; in __svfscanf()
341 width = 1; in __svfscanf()
367 width--; in __svfscanf()
458 width--; in __svfscanf()
609 if (width == 0 || width > sizeof(buf) - 1) in __svfscanf()
615 width++; in __svfscanf()
618 for (p = buf; width; width--) { in __svfscanf()
765 if (width == 0 || width > sizeof(buf) - 1) in __svfscanf()
771 width++; in __svfscanf()
[all …]
H A Dvfwscanf.c154 width = 0; in __vfwscanf()
210 width = width * 10 + c - '0'; in __vfwscanf()
354 if (width == 0) in __vfwscanf()
355 width = 1; in __vfwscanf()
398 width -= nconv; in __vfwscanf()
412 if (width == 0) in __vfwscanf()
477 if (width == 0) in __vfwscanf()
538 if (width == 0 || width > sizeof(buf) / in __vfwscanf()
542 for (p = buf; width; width--) { in __vfwscanf()
687 if (width == 0 || width > sizeof(buf) / in __vfwscanf()
[all …]
/openbsd/gnu/usr.bin/binutils/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 …]
/openbsd/sys/arch/luna88k/dev/
H A Domrasops1.c131 width = -width; in om1_windowmove()
151 pdst += width; in om1_windowmove()
152 psrc += width; in om1_windowmove()
213 pdstLine += width; in om1_windowmove()
214 psrcLine += width; in om1_windowmove()
254 pdstLine += width; in om1_windowmove()
255 psrcLine += width; in om1_windowmove()
296 width = -width; in om4_windowmove()
319 pdst += width; in om4_windowmove()
320 psrc += width; in om4_windowmove()
[all …]
/openbsd/sys/lib/libsa/
H A Dprintf.c101 int ch, lflag, width, n; in kdoprnt() local
112 width = 0; in kdoprnt()
130 width = n; in kdoprnt()
141 kprintn(put, ul, *p++, width, padchar); in kdoprnt()
177 kprintn64(put, ull, 10, width, padchar); in kdoprnt()
187 kprintn(put, ul, 10, width, padchar); in kdoprnt()
193 kprintn64(put, ull, 8, width, padchar); in kdoprnt()
199 kprintn(put, ul, 8, width, padchar); in kdoprnt()
211 kprintn(put, ul, 10, width, padchar); in kdoprnt()
235 while ((p - buf) < width && in kdoprnt()
[all …]
/openbsd/sys/dev/pci/drm/
H A Ddrm_panel_orientation_quirks.c27 int width; member
34 .width = 720,
42 .width = 1200,
50 .width = 1200,
58 .width = 1200,
66 .width = 720,
75 .width = 720,
83 .width = 800,
97 .width = 720,
103 .width = 800,
[all …]
/openbsd/regress/usr.bin/mandoc/mdoc/Bl/
H A Doffset.out_markdown29 > Bl tag width Ds offset empty
33 > Bl tag width Ds offset left
37 > Bl tag width Ds offset indent
41 > Bl tag width Ds offset indent-two
45 > Bl tag width Ds offset 0.36i
49 > Bl tag width Ds offset mystring
53 > Bl tag width Ds offset Ds
57 > Bl tag width Ds offset 78n
61 > Bl tag width Ds offset -0.26i
H A Doffset.out_ascii28 tag Bl tag width Ds offset empty
30 tag Bl tag width Ds offset left
32 tag Bl tag width Ds offset indent
34 tag Bl tag width Ds offset indent-two
36 tag Bl tag width Ds offset 0.36i
38 tag Bl tag width Ds offset mystring
40 tag Bl tag width Ds offset Ds
44 width
49 tag Bl tag width Ds offset -0.26i
/openbsd/gnu/usr.bin/perl/cpan/Term-Table/lib/Term/
H A DTable.pm67 my %new_col = (width => 0, count => $has_header ? -1 : 0);
89 my $rs = $r->width;
90 $c->{width} = $rs if $rs > $c->{width};
101 my $current = sum(map {$_->{width}} @$cols);
115 if ($c->{width} > $fair) {
119 $under += $c->{width};
131 $_->{width} = $fair for @fix;
146 my $width = sum(BORDER_SIZE, $self->{+PAD}, DIV_SIZE * @$cols, map { $_->{width} } @$cols);
173 $vw = $col->{width} - $lw - $rw;
177 ($v, $vw) = $r->break->next($col->{width});
[all …]
/openbsd/gnu/usr.bin/perl/cpan/podlators/lib/Pod/Text/
H A DTermcap.pm48 my ($bold, $undl, $norm, $width);
55 $width = $$term{_co};
56 $width =~ s/^\#//;
65 unless (defined $args{width}) {
66 $args{width} = $ENV{COLUMNS} || $width || 80;
67 $args{width} -= 2;
148 my $width = $$self{opt_width} - $$self{MARGIN};
162 my $shortchar = '^(' . $char . "{0,$width}(?>$code*)" . ')(?:\s+|\z)';
163 my $longchar = '^(' . $char . "{$width})";
164 while (length > $width) {
/openbsd/lib/libc/stdlib/
H A Dlsearch.c42 lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument
45 void *element = lfind(key, base, nelp, width, compar); in lsearch()
52 element = memmove((char *)base + *nelp * width, key, width); in lsearch()
59 lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument
64 end = (const char *)base + *nelp * width; in lfind()
65 for (element = base; element < end; element += width) in lfind()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_dpp.c43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
/openbsd/sys/ddb/
H A Ddb_examine.c77 int width; in db_examine() local
89 width = 12; in db_examine()
104 width = 4; in db_examine()
108 width = 8; in db_examine()
112 width = 12; in db_examine()
117 width = 20; in db_examine()
128 db_printf("%-*s", width, tmpfmt); in db_examine()
132 db_printf("%*lx", width, (long)value); in db_examine()
173 db_printf("%-*s", width, tmpfmt); in db_examine()
177 db_printf("%-*ld", width, (long)value); in db_examine()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/rdi-share/
H A Dlogging.c90 int width = 0; /* No field width by default */ in va_warn0() local
111 width = ((width * 10) + (fch - '0')); in va_warn0()
138 if ((width == 0) || (width > 8)) in va_warn0()
139 width = 8; in va_warn0()
141 for(loop = (width * 4); (loop != 0); loop -= 4) in va_warn0()
196 if (width != 0) in va_warn0()
198 width -= count; in va_warn0()
200 for (; (width != 0); width--) in va_warn0()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D20020430-1.c70 int width, height; member
96 Dimension width, height; member
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
142 if (x_root == ((((w)->core.screen))->width) - 1 && in GetEventEntry()
143 …(((RectObj)w)->rectangle.x) + (((RectObj)w)->rectangle.width) + ((((RectObj)w)->rectangle.border_w… in GetEventEntry()
148 + (((RectObj)smw->simple_menu.entry_set)->rectangle.width) + 1, in GetEventEntry()
152 warp = -(int)(((RectObj)entry)->rectangle.width) >> 1; in GetEventEntry()
157 move = ((((w)->core.screen))->width) - in GetEventEntry()
163 move = ((((w)->core.screen))->width) - in GetEventEntry()
164 …((((RectObj)w)->rectangle.x) + (((RectObj)w)->rectangle.width) + ((((RectObj)w)->rectangle.border_… in GetEventEntry()
[all …]
/openbsd/usr.bin/lam/
H A Dutf8.c31 int len, width, sum; in mbswidth_truncate() local
36 len = width = 1; in mbswidth_truncate()
37 else if ((width = wcwidth(wc)) < 0) in mbswidth_truncate()
38 width = 1; in mbswidth_truncate()
39 if (sum + width > maxwidth) { in mbswidth_truncate()
43 sum += width; in mbswidth_truncate()
/openbsd/usr.bin/systat/
H A Dengine.c342 tw += fld->width; in print_bar_title()
482 if (width <= 1) in field_setup()
486 width--; in field_setup()
492 fld->width = width; in field_setup()
493 width = 0; in field_setup()
495 width -= fwid; in field_setup()
509 width += fld->width - w; in field_setup()
675 len = fld->width; in print_fld_age()
731 len = fld->width; in print_fld_sdiv()
776 len = fld->width; in print_fld_ssdiv()
[all …]
/openbsd/usr.bin/less/
H A Dcmdbuf.c231 int width; in cmd_repaint() local
241 int width; in cmd_repaint() local
243 if (width > 0) in cmd_repaint()
292 int width; in cmd_lshift() local
294 cols += width; in cmd_lshift()
297 int width; in cmd_lshift() local
300 if (width > 0) in cmd_lshift()
329 int width; in cmd_rshift() local
331 cols += width; in cmd_rshift()
348 int width; in cmd_right() local
[all …]

12345678910>>...49