/systemd-251/src/test/ |
D | test-strxcpyx.c | 14 bool truncated; in TEST() local 17 space_left = strpcpy_full(&s, space_left, "12345", &truncated); in TEST() 18 assert_se(!truncated); in TEST() 19 space_left = strpcpy_full(&s, space_left, "hey hey hey", &truncated); in TEST() 20 assert_se(!truncated); in TEST() 21 space_left = strpcpy_full(&s, space_left, "waldo", &truncated); in TEST() 22 assert_se(!truncated); in TEST() 23 space_left = strpcpy_full(&s, space_left, "ba", &truncated); in TEST() 24 assert_se(!truncated); in TEST() 25 space_left = strpcpy_full(&s, space_left, "r", &truncated); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | strxcpyx.c | 22 bool truncated = false; in strnpcpy_full() local 37 truncated = true; in strnpcpy_full() 44 *ret_truncated = truncated; in strnpcpy_full() 58 bool truncated = false; in strpcpyf_full() local 74 truncated = i > 0; in strpcpyf_full() 78 *ret_truncated = truncated; in strpcpyf_full() 84 bool truncated = false; in strpcpyl_full() local 95 truncated = truncated || t; in strpcpyl_full() 101 *ret_truncated = truncated; in strpcpyl_full() 123 bool truncated = false; in strscpyl_full() local [all …]
|
D | process-util.c | 336 bool truncated = false; in rename_process() local 361 truncated = true; in rename_process() 370 truncated = true; in rename_process() 387 truncated = true; in rename_process() 398 return !truncated; in rename_process()
|
D | fileio.c | 409 bool truncated = false; in read_virtual_file_fd() local 504 truncated = true; in read_virtual_file_fd() 547 return !truncated; in read_virtual_file_fd()
|
/systemd-251/src/udev/ |
D | udev-rules.c | 1378 bool truncated; in token_match_attr() local 1390 (void) udev_event_apply_format(event, name, nbuf, sizeof(nbuf), false, &truncated); in token_match_attr() 1391 if (truncated) { in token_match_attr() 1502 bool truncated; in attr_subst_subdir() local 1515 size -= strnpcpy_full(&p, size, attr, len, &truncated); in attr_subst_subdir() 1516 if (truncated) in attr_subst_subdir() 1527 strscpyl_full(p, size, &truncated, de->d_name, tail, NULL); in attr_subst_subdir() 1528 if (truncated) in attr_subst_subdir() 1660 bool truncated; in udev_rule_apply_token_to_event() local 1662 … (void) udev_event_apply_format(event, token->data, buf, sizeof(buf), false, &truncated); in udev_rule_apply_token_to_event() [all …]
|
D | udev-event.c | 53 bool truncated; member 246 bool truncated = false; in udev_event_subst_format() local 255 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format() 261 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format() 269 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format() 277 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format() 287 strpcpy_full(&s, l, val, &truncated); in udev_event_subst_format() 296 …strpcpyf_full(&s, l, &truncated, "%u", r < 0 ? 0 : type == FORMAT_SUBST_MAJOR ? major(devnum) : mi… in udev_event_subst_format() 315 strpcpy_full(&s, l, event->program_result, &truncated); in udev_event_subst_format() 337 strpcpy_full(&s, l, start, &truncated); in udev_event_subst_format() [all …]
|
D | udevadm-test.c | 138 bool truncated; in test_main() local 140 … (void) udev_event_apply_format(event, cmd, program, sizeof(program), false, &truncated); in test_main() 141 if (truncated) in test_main()
|
/systemd-251/test/units/ |
D | testsuite-22.03.sh | 97 echo "This should be truncated" >/tmp/F/truncated 98 echo "This should be truncated" >/tmp/F/truncated-with-content 103 F /tmp/F/truncated 0666 daemon daemon - - 104 F /tmp/F/truncated-with-content 0666 daemon daemon - new content 110 test -f /tmp/F/truncated; test ! -s /tmp/F/truncated 112 test -s /tmp/F/truncated-with-content
|
/systemd-251/src/resolve/ |
D | resolved-dns-stub.c | 358 bool *truncated) { in dns_stub_add_reply_packet_body() argument 391 if (!truncated) in dns_stub_add_reply_packet_body() 394 *truncated = true; in dns_stub_add_reply_packet_body() 588 bool truncated, edns0_do; in dns_stub_send_reply() local 599 &truncated); in dns_stub_send_reply() 611 &truncated); in dns_stub_send_reply() 619 truncated, in dns_stub_send_reply() 643 bool truncated; in dns_stub_send_failure() local 653 &truncated); in dns_stub_send_failure() 661 truncated, in dns_stub_send_failure()
|
D | resolved-dns-packet.h | 197 void dns_packet_set_flags(DnsPacket *p, bool dnssec_checking_disabled, bool truncated);
|
D | resolved-dns-packet.c | 97 void dns_packet_set_flags(DnsPacket *p, bool dnssec_checking_disabled, bool truncated) { in dns_packet_set_flags() argument 107 assert(!truncated); in dns_packet_set_flags() 124 truncated /* tc */, in dns_packet_set_flags() 133 assert(!truncated); in dns_packet_set_flags()
|
/systemd-251/src/coredump/ |
D | coredump.c | 347 bool truncated, storage_on_tmpfs; in save_external_coredump() local 453 truncated = r == 1; in save_external_coredump() 477 if (truncated && storage_on_tmpfs) { in save_external_coredump() 506 *ret_truncated = truncated; in save_external_coredump() 513 if (truncated) in save_external_coredump() 532 *ret_truncated = truncated; in save_external_coredump() 778 bool truncated = false; in submit_coredump() local 792 &coredump_size, &coredump_compressed_size, &truncated); in submit_coredump() 854 if (truncated) in submit_coredump()
|
D | coredumpctl.c | 473 *filename = NULL, *truncated = NULL, *coredump = NULL; in print_list() local 499 RETRIEVE(d, l, "COREDUMP_TRUNCATED", truncated); in print_list() 527 … if (STRPTR_IN_SET(present, "present", "journal") && truncated && parse_boolean(truncated) > 0) in print_list() 555 *truncated = NULL, *coredump = NULL, in print_info() local 585 RETRIEVE(d, l, "COREDUMP_TRUNCATED", truncated); in print_info() 708 … if (STRPTR_IN_SET(state, "present", "journal") && truncated && parse_boolean(truncated) > 0) in print_info()
|
/systemd-251/src/shared/ |
D | discover-image.c | 555 _cleanup_free_ char *truncated = NULL; in image_discover() local 580 truncated = strndup(de->d_name, e - de->d_name); in image_discover() 581 if (!truncated) in image_discover() 584 pretty = truncated; in image_discover()
|
D | format-table.c | 1846 _cleanup_free_ char *truncated = NULL; in table_data_requested_width_height() local 1858 r = string_truncate_lines(t, table->cell_height_max, &truncated); in table_data_requested_width_height() 1864 t = truncated; in table_data_requested_width_height()
|
/systemd-251/catalog/ |
D | systemd.ru.catalog.in | 91 # Subject: Core file was truncated to @SIZE_LIMIT@ bytes
|
D | systemd.catalog.in | 78 Subject: Core file was truncated to @SIZE_LIMIT@ bytes. 86 about the file being truncated.
|
D | systemd.it.catalog.in | 83 # Subject: Core file was truncated to @SIZE_LIMIT@ bytes
|
/systemd-251/docs/ |
D | PORTABLE_SERVICES.md | 99 (with `.raw` removed), truncated at the first underscore if there is one.
|
/systemd-251/ |
D | TODO | 1808 … the full size that the process had, and make a metadata field so we can report truncated coredumps
|
D | NEWS | 2179 to be truncated for output (as "truncate:<path>"). 3280 the kernel truncated at the first dot. 4014 "alternative" names) based on the container name is truncated, a 5894 service name truncated after all inner dashes. This scheme allows 7472 * coredumpctl will now show additional information about truncated and
|