/systemd-251/src/shared/ |
D | qrcode-util.c | 30 static void print_border(FILE *output, unsigned width) { in print_border() argument 35 for (unsigned x = 0; x < 4 + width + 4; x++) in print_border() 48 print_border(output, qr->width); in write_qrcode() 50 for (unsigned y = 0; y < (unsigned) qr->width; y += 2) { in write_qrcode() 51 const uint8_t *row1 = qr->data + qr->width * y; in write_qrcode() 52 const uint8_t *row2 = row1 + qr->width; in write_qrcode() 58 for (unsigned x = 0; x < (unsigned) qr->width; x++) { in write_qrcode() 62 b = (y+1) < (unsigned) qr->width ? (row2[x] & 1) : false; in write_qrcode() 79 print_border(output, qr->width); in write_qrcode()
|
D | format-table.c | 136 … size_t width; /* If == 0 format this as wide as necessary. If SIZE_MAX format this to console member 168 .width = SIZE_MAX, in table_new_raw() 1079 void table_set_width(Table *t, size_t width) { in table_set_width() argument 1082 t->width = width; in table_set_width() 1848 size_t width, height; in table_data_requested_width_height() local 1867 r = console_width_height(t, &width, &height); in table_data_requested_width_height() 1871 if (d->maximum_width != SIZE_MAX && width > d->maximum_width) in table_data_requested_width_height() 1872 width = d->maximum_width; in table_data_requested_width_height() 1874 if (width < d->minimum_width) in table_data_requested_width_height() 1875 width = d->minimum_width; in table_data_requested_width_height() [all …]
|
D | bus-unit-procs.c | 157 int width; in dump_processes() local 168 width = DECIMAL_STR_WIDTH(pids[n-1]); in dump_processes() 181 k = MAX(LESS_BY(n_columns, 2U + width + 1U), 20U); in dump_processes() 195 width, pids[i], in dump_processes() 259 int width, r; in dump_extra_processes() local 294 width = DECIMAL_STR_WIDTH(pids[n-1]); in dump_extra_processes() 306 z = MAX(LESS_BY(n_columns, 2U + width + 1U), 20U); in dump_extra_processes() 316 width, pids[k], in dump_extra_processes()
|
D | ptyfwd.c | 644 int pty_forward_set_width_height(PTYForward *f, unsigned width, unsigned height) { in pty_forward_set_width_height() argument 649 if (width == UINT_MAX && height == UINT_MAX) in pty_forward_set_width_height() 652 if (width != UINT_MAX && in pty_forward_set_width_height() 653 (width == 0 || width > USHRT_MAX)) in pty_forward_set_width_height() 660 if (width == UINT_MAX || height == UINT_MAX) { in pty_forward_set_width_height() 664 if (width != UINT_MAX) in pty_forward_set_width_height() 665 ws.ws_col = width; in pty_forward_set_width_height() 671 .ws_col = width, in pty_forward_set_width_height()
|
D | ptyfwd.h | 40 int pty_forward_set_width_height(PTYForward *f, unsigned width, unsigned height);
|
D | format-table.h | 103 void table_set_width(Table *t, size_t width);
|
/systemd-251/src/analyze/ |
D | analyze-plot.c | 160 static int plot_unit_times(UnitTimes *u, double width, int y) { in plot_unit_times() argument 171 b = u->activating * SCALE_X < width / 2; in plot_unit_times() 190 double width; in verb_plot() local 216 width = SCALE_X * (boot->firmware_time + boot->finish_time); in verb_plot() 217 if (width < 800.0) in verb_plot() 218 width = 800.0; in verb_plot() 224 if (width < 1000.0) in verb_plot() 225 width = 1000.0; in verb_plot() 245 if (text_width > text_start && text_width + text_start > width) in verb_plot() 246 width = text_width + text_start; in verb_plot() [all …]
|
/systemd-251/docs/ |
D | favicon.svg | 1 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"> 4 …281" x="4128.568" height="90" width="90" fill="#201a26" transform="matrix(.17778 0 0 .17778 -1113.… 5 <g fill="none" stroke="#fff" stroke-width="2"> 6 <path d="M-377 513.02h-1.5v3h1.5M-367 513.02h1.5v3h-1.5" stroke-width="1"/>
|
D | style.css | 92 @media screen and (min-width: 650px) { 123 width: 40%; 129 width: 80%; 132 max-width: 720px; 157 width: 12.625em;
|
/systemd-251/src/basic/ |
D | hexdecoct.c | 656 int width) { in base64_append_width() argument 666 lines = DIV_ROUND_UP(len, width); in base64_append_width() 669 lines > (SSIZE_MAX - plen - 1 - 1) / (indent + width + 1)) in base64_append_width() 672 t = realloc(*prefix, (ssize_t) plen + 1 + 1 + (indent + width + 1) * lines); in base64_append_width() 679 int act = MIN(width, avail); in base64_append_width() 686 s = mempcpy(s, x + width * line, act); in base64_append_width() 699 int indent, int width) { in base64_append() argument 701 if (plen > width / 2 || plen + indent > width) in base64_append() 703 return base64_append_width(prefix, plen, '\n', indent, p, l, width - indent - 1); in base64_append() 706 return base64_append_width(prefix, plen, ' ', plen + 1, p, l, width - plen - 1); in base64_append()
|
D | hexdecoct.h | 43 int margin, int width);
|
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 213 .width = UINT_MAX, .height = UINT_MAX, in setup_remaining_vcs() 245 if (cfo.width > 32 || cfo.height > 32 || cfo.charcount > 512) in setup_remaining_vcs() 247 cfo.width, cfo.height, cfo.charcount); in setup_remaining_vcs() 255 fontbuf = malloc_multiply((cfo.width + 7) / 8 * 32, cfo.charcount); in setup_remaining_vcs()
|
/systemd-251/src/udev/ |
D | udev-builtin-input_id.c | 49 char width[DECIMAL_STR_MAX(int)], height[DECIMAL_STR_MAX(int)]; in extract_info() local 64 xsprintf(width, "%d", abs_size_mm(&xabsinfo)); in extract_info() 67 udev_builtin_add_property(dev, test, "ID_INPUT_WIDTH_MM", width); in extract_info()
|
/systemd-251/test/fuzz/fuzz-nspawn-oci/ |
D | crash-db0595479ee2e625fa5419a821009b5eb4d809b7 | 13 "width":6668
|
/systemd-251/ |
D | .editorconfig | 17 # Match config files, set indent to spaces with width of eight
|
D | .vimrc | 7 " Note that we set a line width of 109 for .c and XML files, but for everything
|
/systemd-251/docs/assets/ |
D | systemd-logo.svg | 1 <svg xmlns="http://www.w3.org/2000/svg" width="202" height="26" viewBox="0 0 202 26" id="systemd-lo…
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 133 static int show_menu(char **x, unsigned n_columns, unsigned width, unsigned percentage) { in show_menu() argument 160 e = ellipsize(x[j * per_column + i], width, percentage); in show_menu() 164 printf("%4zu) %-*s", j * per_column + i + 1, width, e); in show_menu()
|
/systemd-251/src/core/ |
D | manager.c | 168 static void draw_cylon(char buffer[], size_t buflen, unsigned width, unsigned pos) { in draw_cylon() argument 171 assert(buflen >= CYLON_BUFFER_EXTRA + width + 1); in draw_cylon() 172 assert(pos <= width+1); /* 0 or width+1 mean that the center light is behind the corner */ in draw_cylon() 182 if (pos > 0 && pos <= width) { in draw_cylon() 191 if (pos < width) { in draw_cylon() 195 if (pos < width-1) in draw_cylon() 196 p = mempset(p, ' ', width-1-pos); in draw_cylon()
|