Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 112) sorted by relevance

12345

/systemd-251/test/
Dnetworkd-test.py170 out = subprocess.check_output(['networkctl', '--no-legend']).rstrip()
171 for line in out.decode('utf-8').split('\n'):
320 out = subprocess.check_output(['journalctl', '-b', '--quiet',
323 self.assertTrue(out.startswith('-- cursor:'))
324 self.journal_cursor = out.split()[-1]
398 out = subprocess.check_output(['ip', 'a', 'show', 'dev', self.iface])
399 …if b'state UP' in out and b'inet6 2600' in out and b'inet 192.168' in out and b'tentative' not in
405 self.assertRegex(out, b'inet6 2600::.* scope global .*dynamic')
406 self.assertRegex(out, b'inet6 fe80::.* scope link')
409 out = subprocess.check_output(['ip', '-6', 'a', 'show', 'dev', self.iface])
[all …]
Dtest-fstab-generator.sh21 out=$(mktemp --tmpdir --directory "test-fstab-generator.XXXXXXXXXX")
23 trap "rm -rf '$out'" EXIT INT QUIT PIPE
26 …g SYSTEMD_IN_INITRD=yes SYSTEMD_PROC_CMDLINE="fstab=no $(cat "$f")" $generator "$out" "$out" "$out"
28 if [[ -f "$out"/systemd-fsck-root.service ]]; then
30 …tart=/lib/systemd/systemd-fsck:ExecStart=/usr/lib/systemd/systemd-fsck:' "$out"/systemd-fsck-root.…
35 …if ! diff -u <(find "$out" -printf '%P\n' | sort) <(find "${f%.input}.expected" -printf '%P\n' | s…
Dtest-network-generator-conversion.sh21 out=$(mktemp --tmpdir --directory "test-network-generator-conversion.XXXXXXXXXX")
23 trap "rm -rf '$out'" EXIT INT QUIT PIPE
26 $generator --root "$out" -- $(cat "$f")
28 if ! diff -u "$out/run/systemd/network" "${f%.input}.expected"; then
/systemd-251/src/boot/efi/
Dsplash.c178 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *out; in bmp_to_blt() local
181 out = &buf[(dib->y - y - 1) * dib->x]; in bmp_to_blt()
182 for (UINTN x = 0; x < dib->x; x++, in++, out++) { in bmp_to_blt()
186 out->Red = map[((*in) >> (7 - i)) & 1].red; in bmp_to_blt()
187 out->Green = map[((*in) >> (7 - i)) & 1].green; in bmp_to_blt()
188 out->Blue = map[((*in) >> (7 - i)) & 1].blue; in bmp_to_blt()
189 out++; in bmp_to_blt()
192 out--; in bmp_to_blt()
201 out->Red = map[i].red; in bmp_to_blt()
202 out->Green = map[i].green; in bmp_to_blt()
[all …]
/systemd-251/hwdb.d/
Dids_parser.py150 with open('20-usb-vendor-model.hwdb', 'wt') as out:
151 header(out, 'http://www.linux-usb.org/usb.ids')
159 f' ID_{n}_FROM_DATABASE={items[key]}', sep='\n', file=out)
185 with open('20-usb-classes.hwdb', 'wt') as out:
186 header(out, 'http://www.linux-usb.org/usb.ids')
196 f' ID_USB_{n}_FROM_DATABASE={items[key]}', sep='\n', file=out)
223 with open('20-pci-vendor-model.hwdb', 'wt') as out:
224 header(out, 'http://pci-ids.ucw.cz/v2.2/pci.ids')
234 f' ID_{n}_FROM_DATABASE={items[key]}', sep='\n', file=out)
256 with open('20-pci-classes.hwdb', 'wt') as out:
[all …]
/systemd-251/src/basic/
Dmissing_syscalls.py131 def print_syscall_def(syscall, tables, out): argument
135 file=out)
137 def print_syscall_defs(syscalls, tables, out): argument
147 file=out)
148 print(ARCH_CHECK, file=out)
150 print_syscall_def(syscall, tables, out)
155 out = open(output_file, 'wt') variable
158 print_syscall_defs(SYSCALLS, tables, out)
Dgcrypt-util.h21 int string_hashsum(const char *s, size_t len, int md_algorithm, char **out);
24 static inline int string_hashsum_sha224(const char *s, size_t len, char **out) { in string_hashsum_sha224() argument
26 return string_hashsum(s, len, GCRY_MD_SHA224, out); in string_hashsum_sha224()
32 static inline int string_hashsum_sha256(const char *s, size_t len, char **out) { in string_hashsum_sha256() argument
34 return string_hashsum(s, len, GCRY_MD_SHA256, out); in string_hashsum_sha256()
Dcompress.c230 char* out; in decompress_blob_lz4() local
244 out = greedy_realloc(dst, size, 1); in decompress_blob_lz4()
245 if (!out) in decompress_blob_lz4()
248 r = LZ4_decompress_safe((char*)src + 8, out, src_size - 8, size); in decompress_blob_lz4()
556 uint8_t buf[BUFSIZ], out[BUFSIZ]; in compress_stream_xz() local
593 s.next_out = out; in compress_stream_xz()
594 s.avail_out = sizeof(out); in compress_stream_xz()
606 n = sizeof(out) - s.avail_out; in compress_stream_xz()
608 k = loop_write(fdt, out, n, false); in compress_stream_xz()
723 uint8_t buf[BUFSIZ], out[BUFSIZ]; in decompress_stream_xz() local
[all …]
Dlocale-util.c284 goto out; in is_locale_utf8()
288 goto out; in is_locale_utf8()
294 goto out; in is_locale_utf8()
299 goto out; in is_locale_utf8()
307 goto out; in is_locale_utf8()
318 out: in is_locale_utf8()
/systemd-251/src/xdg-autostart-generator/
Dxdg-autostart-service.c101 char *out; in xdg_unescape_string() local
105 in = out = str; in xdg_unescape_string()
107 for (; *in; in++, out++) { in xdg_unescape_string()
114 *out = ' '; in xdg_unescape_string()
117 *out = '\n'; in xdg_unescape_string()
120 *out = '\t'; in xdg_unescape_string()
123 *out = '\r'; in xdg_unescape_string()
126 *out = '\\'; in xdg_unescape_string()
130 *out = ';'; in xdg_unescape_string()
139 *out = *in; in xdg_unescape_string()
[all …]
Dtest-xdg-autostart.c20 _cleanup_free_ char* out = NULL; in test_xdg_format_exec_start_one() local
22 xdg_autostart_format_exec_start(exec, &out); in test_xdg_format_exec_start_one()
23 log_info("In: '%s', out: '%s', expected: '%s'", exec, out, expected); in test_xdg_format_exec_start_one()
24 assert_se(streq(out, expected)); in test_xdg_format_exec_start_one()
/systemd-251/src/test/
Dtest-device-nodes.c14 char *out = malloc(out_len); in do_encode_string() local
16 assert_se(out); in do_encode_string()
17 assert_se(encode_devnode_name(in, out, out_len) >= 0); in do_encode_string()
18 puts(out); in do_encode_string()
20 return out; in do_encode_string()
Dtest-siphash24.c11 uint64_t out; in test_alignment_one() local
14 out = siphash24(in, len, key); in test_alignment_one()
15 assert_se(out == 0xa129ca6149be45e5); in test_alignment_one()
28 out = siphash24_finalize(&state); in test_alignment_one()
29 assert_se(out == 0xa129ca6149be45e5); in test_alignment_one()
43 out = siphash24_finalize(&state); in test_alignment_one()
44 assert_se(out == 0xa129ca6149be45e5); in test_alignment_one()
/systemd-251/src/shared/
Dbus-object.c103 FILE *out, in list_paths() argument
107 fprintf(out, "%s\t%s\n", bus_objects[i]->path, bus_objects[i]->interface); in list_paths()
109 list_paths(out, bus_objects[i]->children); in list_paths()
114 FILE *out, in bus_introspect_implementations() argument
123 list_paths(out, bus_objects); in bus_introspect_implementations()
175 fputs(s, out); in bus_introspect_implementations()
Dnuma-util.c37 _cleanup_free_ unsigned long *out = NULL; in numa_policy_to_mempolicy() local
53 out = new0(unsigned long, DIV_ROUND_UP(policy->nodes.allocated, sizeof(unsigned long))); in numa_policy_to_mempolicy()
54 if (!out) in numa_policy_to_mempolicy()
61 out[node / ulong_bits] |= 1ul << (node % ulong_bits); in numa_policy_to_mempolicy()
63 *ret_nodes = TAKE_PTR(out); in numa_policy_to_mempolicy()
Dqrcode-util.c83 int print_qrcode(FILE *out, const char *header, const char *string) { in print_qrcode() argument
101 fprintf(out, "\n%s:\n\n", header); in print_qrcode()
103 write_qrcode(out, qr); in print_qrcode()
105 fputc('\n', out); in print_qrcode()
Dcpu-set-util.c260 uint8_t *out; in cpu_set_to_dbus() local
265 out = new0(uint8_t, set->allocated); in cpu_set_to_dbus()
266 if (!out) in cpu_set_to_dbus()
271 out[cpu / 8] |= 1u << (cpu % 8); in cpu_set_to_dbus()
273 *ret = out; in cpu_set_to_dbus()
Dqrcode-util.h10 int print_qrcode(FILE *out, const char *header, const char *string);
12 static inline int print_qrcode(FILE *out, const char *header, const char *string) { in print_qrcode() argument
/systemd-251/tools/
Dcheck-version.sh32 out="$("$BINARY" --version)"
33 if ! grep -F "$VERSION" >/dev/null <<<"$out"; then
34 echo "$(basename "$BINARY") --version output does not match '$VERSION': $out"
Dcoverity.sh76 -o,--out-dir Specify Coverity intermediate directory (defaults to 'cov-int')
130 --silent --write-out "\n%{http_code}\n" \
163 TEMP=`getopt -o ho:t --long help,out-dir:,tar -n '$0' -- "$@"`
193 -o|--out-dir)
/systemd-251/src/udev/scsi_id/
Dscsi_id.c403 goto out; in scsi_id()
410 goto out; in scsi_id()
446 goto out; in scsi_id()
451 goto out; in scsi_id()
460 goto out; in scsi_id()
464 out: in scsi_id()
/systemd-251/test/fuzz/
Dmeson.build22 out = run_command(env, '-u', 'GIT_WORK_TREE', variable
27out = run_command(sh, '-c', 'cd "@0@"; echo test/fuzz/*/*'.format(project_source_root), check: tru… variable
31 foreach p : out.stdout().split()
/systemd-251/src/udev/
Dudevadm-test.c114 goto out; in test_main()
120 goto out; in test_main()
147 out: in test_main()
/systemd-251/src/network/
Dnetworkd-bridge-fdb.c187 Link *out = NULL; in bridge_fdb_is_ready_to_configure() local
197 if (link_get_by_name(link->manager, fdb->outgoing_ifname, &out) < 0) in bridge_fdb_is_ready_to_configure()
200 fdb->outgoing_ifindex = out->ifindex; in bridge_fdb_is_ready_to_configure()
202 if (link_get_by_index(link->manager, fdb->outgoing_ifindex, &out) < 0) in bridge_fdb_is_ready_to_configure()
205 if (out && !link_is_ready_to_configure(out, false)) in bridge_fdb_is_ready_to_configure()
/systemd-251/src/libsystemd/sd-network/
Dnetwork-util.c93 int parse_operational_state_range(const char *str, LinkOperationalStateRange *out) { in parse_operational_state_range() argument
99 assert(out); in parse_operational_state_range()
134 *out = range; in parse_operational_state_range()

12345