/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20020715-1.c | 10 int width; local 14 if (width) 18 width *= bytes;
|
H A D | 921126-1.c | 4 int width; local 8 if (a0s & (1LL << width))
|
/openbsd-current/gnu/llvm/lldb/examples/customization/bin-utils/ |
H A D | binutils.py | 3 def binary(n, width=None): 6 If you specify a width, it must be > 0, otherwise it is ignored. The list 7 could be padded with 0 bits if width is specified. 10 if width and width <= 0: 11 width = None 16 if width: 17 for i in range(width - len(l)): 24 def twos_complement(n, width): 26 Return a list of (0|1)'s for the binary representation of a width [all...] |
/openbsd-current/usr.bin/lam/ |
H A D | utf8.c | 22 * Measure the display width of the multibyte string. 23 * Treat invalid bytes and non-printable characters as width 1. 24 * Truncate the string to a display width of maxwidth. 25 * Return the total width, possibly after truncation. 31 int len, width, sum; local 36 len = width = 1; 37 else if ((width = wcwidth(wc)) < 0) 38 width = 1; 39 if (sum + width > maxwidth) { 43 sum += width; [all...] |
/openbsd-current/lib/libc/stdlib/ |
H A D | lsearch.c | 42 lsearch(const void *key, void *base, size_t *nelp, size_t width, argument 45 void *element = lfind(key, base, nelp, width, compar); 52 element = memmove((char *)base + *nelp * width, key, width); 59 lfind(const void *key, const void *base, size_t *nelp, size_t width, argument 64 end = (const char *)base + *nelp * width; 65 for (element = base; element < end; element += width)
|
/openbsd-current/bin/ps/ |
H A D | utf8.c | 32 int width; /* display width of a single Unicode char */ local 33 int total_width; /* display width of what is printed */ 43 width = vis(buf, mbs[0], 45 else if ((width = wcwidth(wc)) == -1) { 48 width = 1; 53 if (total_width + width > maxwidth) 56 total_width += width;
|
/openbsd-current/sys/dev/pci/drm/include/drm/ |
H A D | drm_utils.h | 15 int drm_get_panel_orientation_quirk(int width, int height);
|
/openbsd-current/gnu/usr.bin/perl/cpan/podlators/t/text/ |
H A D | color.t | 26 my @snippets = qw(escape-wrapping tag-width tag-wrapping width wrapping);
|
H A D | overstrike.t | 27 my @snippets = qw(tag-width wrapping);
|
/openbsd-current/usr.bin/colrm/ |
H A D | colrm.c | 56 int ch, len, width; local 95 width = 0; 108 * after a double-width character. 112 column > stop + (width > 1))) { 114 if (width > 1 && p[1] == '\b') 117 if (width > 1 && p[1] == '\b') 119 column -= width; 149 width = 1; 150 } else if ((width = wcwidth(wc)) == -1) 151 width [all...] |
/openbsd-current/usr.bin/mandoc/ |
H A D | out.c | 112 * used for the actual width calculations. 125 size_t ewidth, min1, min2, wanted, width, xwidth; local 159 /* Handle explicit width specifications. */ 162 dp->layout->width == 0 && 165 dp->layout->width = 167 if (col->width < dp->layout->width) 168 col->width = dp->layout->width; 175 * Calculate an automatic width [all...] |
/openbsd-current/usr.bin/fold/ |
H A D | fold.c | 59 unsigned int width; local 67 width = 0; 80 width = strtonum(optarg, 1, UINT_MAX, &errstr); 82 errx(1, "illegal width value, %s: %s", errstr, 88 width = 0; 91 if (width > UINT_MAX / 10 - 1) 92 errx(1, "illegal width value, too large"); 93 width = (width * 10) + (ch - '0'); 94 if (width < 149 int width; /* Display width of wc. */ local [all...] |
/openbsd-current/regress/usr.bin/ssh/unittests/utf8/ |
H A D | tests.c | 20 int len, width; local 22 width = 1; 24 len = snmprintf(buf, sizeof(buf), &width, "\377"); 27 ASSERT_INT_EQ(width, 0); 32 one(int utf8, const char *name, const char *mbs, int width, argument 44 wp = wantwidth == -2 ? NULL : &width; 48 ASSERT_INT_EQ(width, wantwidth);
|
/openbsd-current/bin/ls/ |
H A D | utf8.c | 31 int width; /* display width of a single Unicode char */ local 32 int total_width; /* display width of the whole string */ 41 } else if ((width = wcwidth(wc)) == -1) { 52 total_width += width;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | operators8.C | 17 width = width_; 24 int width; member in class:square 33 width = width_; 41 int width; member in class:triangle
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | net19.C | 11 int width; member in class:Value
|
/openbsd-current/etc/examples/ |
H A D | man.conf | 12 output width 78
|
/openbsd-current/lib/libform/ |
H A D | fty_alnum.c | 45 int width; member in struct:__anon50 69 argp->width = *((int *)arg); 164 int width = ((const thisARG *)argp)->width; local 166 bool result = (width < 0); 168 Check_CTYPE_Field(result, bp, width, Check_This_Character);
|
H A D | fty_alpha.c | 45 int width; member in struct:__anon51 69 argp->width = *((int *)arg); 164 int width = ((const thisARG *)argp)->width; local 166 bool result = (width < 0); 168 Check_CTYPE_Field(result, bp, width, Check_This_Character);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dpp.c | 43 int line_size = scl_data->viewport.width < scl_data->recout.width ? 44 scl_data->viewport.width : scl_data->recout.width; 45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? 46 scl_data->viewport_c.width : scl_data->recout.width; 67 if (scl_data->viewport.width == scl_data->h_active && 81 if (scl_data->viewport.width [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20021010-2.c | 24 int width; local 32 width = saveRect.maxx - saveRect.minx; 34 if (width != expectedwidth)
|
H A D | 20000412-4.c | 1 void f(int i, int j, int radius, int width, int N) argument 8 int idx = ((k-i+radius)*width-j+radius);
|
/openbsd-current/usr.bin/rs/ |
H A D | utf8.c | 28 int total_width; /* Display width of the whole string. */ 29 int width; /* Display width of a single Unicode char. */ local 49 } else if ((width = wcwidth(wc)) == -1) { 54 total_width += width;
|
/openbsd-current/gnu/usr.bin/binutils/gdb/rdi-share/ |
H A D | logging.c | 90 int width = 0; /* No field width by default */ local 94 * Check if the format has a width specified. NOTE: We do 111 width = ((width * 10) + (fch - '0')); 138 if ((width == 0) || (width > 8)) 139 width = 8; 141 for(loop = (width * 4); (loop != 0); loop -= 4) 194 * fixed width fiel [all...] |
/openbsd-current/usr.bin/tmux/ |
H A D | utf8.c | 235 #define UTF8_SET_WIDTH(width) ((((utf8_char)(width)) + 1) << 29) 318 if (ud->width > 2) 319 fatalx("invalid UTF-8 width: %u", ud->width); 329 *uc = UTF8_SET_SIZE(ud->size)|UTF8_SET_WIDTH(ud->width)|index; 330 log_debug("%s: (%d %d %.*s) -> %08x", __func__, ud->width, ud->size, 335 if (ud->width == 0) 337 else if (ud->width == 1) 353 ud->width 402 utf8_width(struct utf8_data *ud, int *width) argument 471 int width; local 643 u_int width = 0; local 706 u_int width; local 729 utf8_padcstr(const char *s, u_int width) argument 750 utf8_rpadcstr(const char *s, u_int width) argument [all...] |