Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 110) sorted by relevance

12345

/systemd-251/man/
Dvtable-example.c12 #define check(x) ({ \ macro
34 check(sd_bus_message_read(m, "s", &string)); in method()
35 check(sd_bus_reply_method_return(m, "s", string)); in method()
91 check((object.name = strdup("name")) != NULL); in main()
93 check(sd_bus_add_object_vtable(bus, NULL, in main()
99 check(sd_bus_request_name(bus, in main()
104 check(sd_bus_wait(bus, UINT64_MAX)); in main()
105 check(sd_bus_process(bus, NULL)); in main()
108 check(sd_bus_release_name(bus, "org.freedesktop.systemd.VtableExample")); in main()
Dmeson.build108 have_lxml = run_command(xml_helper_py, check: false).returncode() == 0
229 suite : 'dist-check',
/systemd-251/src/libsystemd-network/
Ddhcp-packet.c120 packet->ip.check = packet->udp.len; in dhcp_packet_append_ip_headers()
121 packet->udp.check = dhcp_packet_checksum((uint8_t*)&packet->ip.ttl, len - 8); in dhcp_packet_append_ip_headers()
124 packet->ip.check = 0; in dhcp_packet_append_ip_headers()
125 packet->ip.check = dhcp_packet_checksum((uint8_t*)&packet->ip, DHCP_IP_SIZE); in dhcp_packet_append_ip_headers()
180 if (checksum && packet->udp.check) { in dhcp_packet_verify_headers()
181 packet->ip.check = packet->udp.len; in dhcp_packet_verify_headers()
Dtest-dhcp-client.c205 ip_check = discover->ip.check; in dhcp_network_send_raw_socket()
208 discover->ip.check = discover->udp.len; in dhcp_network_send_raw_socket()
214 discover->ip.check = ip_check; in dhcp_network_send_raw_socket()
/systemd-251/test/
Dmeson.build111 rule_syntax_check_py = find_program('rule-syntax-check.py')
113 test('rule-syntax-check',
115 suite : 'dist-check',
166 suite : 'dist-check',
183 check: true)
187 check: true)
196 suite : 'dist-check',
Dmkosi-check-and-shutdown.service13 ExecStart=/usr/lib/systemd/mkosi-check-and-shutdown.sh
/systemd-251/test/units/
Dtestsuite-14.sh13 function check { function
27 check expected "$r/etc/machine-id"
39 check "$r/etc/machine-id" "$r/run/machine-id"
Dtestsuite-17.06.sh18 function check() { function
49 check
59 check
Dtestsuite-72.sh99 "$SYSUPDATE" --definitions=/var/tmp/72-defs --verify=no check-new
101 ( ! "$SYSUPDATE" --definitions=/var/tmp/72-defs --verify=no check-new )
/systemd-251/src/test/
Dtest-io-util.c14 char check[n]; in test_sparse_write_one() local
24 assert_se(read(fd, check, n) == (ssize_t) n); in test_sparse_write_one()
26 assert_se(memcmp(buffer, check, n) == 0); in test_sparse_write_one()
Dtest-strv.c639 STRV_FOREACH(check, a) in TEST()
640 assert_se(streq(*check, input_table_multiple[i++])); in TEST()
651 STRV_FOREACH_BACKWARDS(check, a) in TEST()
652 assert_se(streq_ptr(*check, input_table_multiple[i--])); in TEST()
654 STRV_FOREACH_BACKWARDS(check, (char**) NULL) in TEST()
657 STRV_FOREACH_BACKWARDS(check, STRV_MAKE_EMPTY) in TEST()
661 STRV_FOREACH_BACKWARDS(check, STRV_MAKE("ONE")) in TEST()
/systemd-251/src/udev/
Dudevadm-wait.c73 static bool check(void) { in check() function
102 if (check()) in check_and_exit()
351 if (check()) in wait_main()
371 if (check()) in wait_main()
/systemd-251/src/core/
Ddbus-util.h38 #define BUS_DEFINE_SET_TRANSIENT_IS_VALID(function, bus_type, type, cast_type, fmt, check) \ argument
56 if (!check(v)) \
204 #define BUS_DEFINE_SET_TRANSIENT_STRING_WITH_CHECK(function, check) \ argument
222 if (!isempty(v) && !check(v)) \
/systemd-251/tools/
Ddbus_exporter.py11 check=True,
20 check=True,
/systemd-251/units/
Dsystemd-boot-check-no-failures.service.in12 Documentation=man:systemd-boot-check-no-failures.service(8)
21 ExecStart={{ROOTLIBEXECDIR}}/systemd-boot-check-no-failures
/systemd-251/test/fuzz/
Dmeson.build25 check: true)
27 …ut = run_command(sh, '-c', 'cd "@0@"; echo test/fuzz/*/*'.format(project_source_root), check: true)
/systemd-251/
Dmeson.build31 check : true).stdout().strip()
67 git_hook = run_command(add_git_hook_sh, check : false)
622 # If -Dxxx-path option is found, use that. Otherwise, check in $PATH,
652 if run_command(ln, '--relative', '--help', check : false).returncode() != 0
659 if run_command(python, '-c', 'import jinja2', check : false).returncode() != 0
673 check : true)
756 … time_epoch = run_command(sh, '-c', 'echo "$SOURCE_DATE_EPOCH"', check : true).stdout().strip()
760 check : false)
765 check : false).stdout()
771 check : true).stdout()
[all …]
D.gitattributes10 # Use 'git check-attr generated -- <path>' to query the attribute.
/systemd-251/docs/
DAUTOMATIC_BOOT_ASSESSMENT.md39 …[`systemd-boot-check-no-failures.service(8)`](https://www.freedesktop.org/software/systemd/man/sys…
40 service is a simple health check tool that determines whether the boot
49 consider a boot successful (example: `systemd-boot-check-no-failures.service`
132 successful. One such unit is `systemd-boot-check-no-failures.service`.
134 9. `systemd-boot-check-no-failures.service` is run after all its own
/systemd-251/src/boot/efi/
Dmeson.build57 objcopy = run_command(cc.cmd_array(), '-print-prog-name=objcopy', check: true).stdout().strip()
70 check: false
74 check: false
148 value = run_command(sh, '-c', cmd, check: true).stdout().strip()
285 if run_command('grep', '-q', '__CTOR_LIST__', efi_lds, check: false).returncode() == 0
/systemd-251/test/test-sysusers/
Dtest-10.input2 # check that 'm' lines do not conflicts 'u' line
/systemd-251/.lgtm/cpp-queries/
DUninitializedVariableWithCleanup.ql79 /* The attribute check is "just" a complexity optimization */
92 * for this check to exclude them.
/systemd-251/src/shared/
Dformat-table.c991 goto check; in table_add_many_internal()
997 goto check; in table_add_many_internal()
1003 goto check; in table_add_many_internal()
1009 goto check; in table_add_many_internal()
1015 goto check; in table_add_many_internal()
1021 goto check; in table_add_many_internal()
1027 goto check; in table_add_many_internal()
1040 goto check; in table_add_many_internal()
1046 goto check; in table_add_many_internal()
1052 goto check; in table_add_many_internal()
[all …]
/systemd-251/rules.d/
D64-btrfs.rules.in8 # let the kernel know about this btrfs filesystem, and check if it is complete
/systemd-251/test/fuzz/fuzz-udev-rules/
D64-btrfs.rules8 # let the kernel know about this btrfs filesystem, and check if it is complete

12345