Home
last modified time | relevance | path

Searched refs:content (Results 1 – 22 of 22) sorted by relevance

/systemd-251/test/units/
Dtestsuite-22.03.sh98 echo "This should be truncated" >/tmp/F/truncated-with-content
102 F /tmp/F/created-with-content 0644 - - - new content
104 F /tmp/F/truncated-with-content 0666 daemon daemon - new content
108 test -f /tmp/F/created-with-content
112 test -s /tmp/F/truncated-with-content
193 w /tmp/w/unexistent 0644 - - - new content
204 w /tmp/w/overwritten 0644 - - - old content
211 w /tmp/w/overwritten 0644 - - - new content
227 w /dev/null - - - - new content
/systemd-251/test/
Dtest-exec-deserialization.py92 content = self.unit_files[unit_file_change]
95 f.write(content)
174 content = '''
180 f.write(content)
187 content = '''
194 f.write(content)
Dtest-systemd-tmpfiles.py84 content = open(arg).read()
85 print('expect: {!r}\nactual: {!r}'.format(expected, content))
86 assert content == expected
163 content = 'file-' + subpath.split('/')[1]
167 f.write(content.encode())
/systemd-251/src/test/
Dtest-capability.c36 _cleanup_free_ char *content = NULL; in test_last_cap_file() local
40 r = read_one_line_file("/proc/sys/kernel/cap_last_cap", &content); in test_last_cap_file()
45 r = safe_atolu(content, &val); in test_last_cap_file()
232 _cleanup_free_ char *content = NULL; in test_ensure_cap_64bit() local
236 r = read_one_line_file("/proc/sys/kernel/cap_last_cap", &content); in test_ensure_cap_64bit()
241 assert_se(safe_atolu(content, &p) >= 0); in test_ensure_cap_64bit()
Dtest-journal-importer.c14 static void assert_iovec_entry(const struct iovec *iovec, const char* content) { in assert_iovec_entry() argument
15 assert_se(strlen(content) == iovec->iov_len); in assert_iovec_entry()
16 assert_se(memcmp(content, iovec->iov_base, iovec->iov_len) == 0); in assert_iovec_entry()
/systemd-251/src/pstore/
Dpstore.c98 char *content; member
109 free(list->entries[i].content); in pstore_entries_reset()
148 memcpy(stpcpy(field, "FILE="), pe->content, pe->content_size); in move_file()
312 if (pe->content) { in process_dmesg_files()
313 memcpy(dmesg + dmesg_size, pe->content, pe->content_size); in process_dmesg_files()
354 .content = TAKE_PTR(buf), in list_files()
/systemd-251/src/boot/efi/
Dboot.c1072 CHAR8 *content, in line_get_key_value() argument
1081 assert(content); in line_get_key_value()
1088 line = content + *pos; in line_get_key_value()
1098 if (content[*pos]) in line_get_key_value()
1145 static void config_defaults_load_from_file(Config *config, CHAR8 *content) { in config_defaults_load_from_file() argument
1152 assert(content); in config_defaults_load_from_file()
1154 while ((line = line_get_key_value(content, (CHAR8 *)" \t", &pos, &key, &value))) { in config_defaults_load_from_file()
1428 CHAR8 *content, in config_entry_add_from_file() argument
1443 assert(content); in config_entry_add_from_file()
1451 while ((line = line_get_key_value(content, (CHAR8 *)" \t", &pos, &key, &value))) { in config_entry_add_from_file()
[all …]
Dsplash.c257 EFI_STATUS graphics_splash(const UINT8 *content, UINTN len, const EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ba… in graphics_splash() argument
271 assert(content); in graphics_splash()
286 err = bmp_parse_header(content, len, &dib, &map, &pixmap); in graphics_splash()
Dcpio.c430 _cleanup_freepool_ CHAR8 *content = NULL; in pack_cpio() local
433 err = file_read(extra_dir, items[i], 0, 0, &content, &contentsize); in pack_cpio()
441 content, contentsize, in pack_cpio()
Dsplash.h6 EFI_STATUS graphics_splash(const UINT8 *content, UINTN len, const EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ba…
Dutil.h69 EFI_STATUS file_read(EFI_FILE *dir, const CHAR16 *name, UINTN off, UINTN size, CHAR8 **content, UIN…
/systemd-251/src/basic/
Dcapability-util.c37 _cleanup_free_ char *content = NULL; in cap_last_cap() local
45 r = read_one_line_file("/proc/sys/kernel/cap_last_cap", &content); in cap_last_cap()
47 r = safe_atolu(content, &p); in cap_last_cap()
Dcgroup-util.c95 _cleanup_free_ char *events = NULL, *content = NULL; in cg_read_event() local
102 r = read_full_virtual_file(events, &content, NULL); in cg_read_event()
106 for (const char *p = content;;) { in cg_read_event()
/systemd-251/src/libsystemd/sd-login/
Dsd-login.c334 _cleanup_free_ char *filename = NULL, *content = NULL; in sd_uid_is_on_seat() local
345 &content); in sd_uid_is_on_seat()
350 if (isempty(content)) in sd_uid_is_on_seat()
356 return string_contains_word(content, NULL, t); in sd_uid_is_on_seat()
/systemd-251/docs/
Dstyle.css135 /* Custom content */
184 content: " ➜";
DCOREDUMP_PACKAGE_METADATA.md41 listed here. When corresponding to the content of os-release, the values should match, again for co…
DJOURNAL_NATIVE_PROTOCOL.md85 particular with tools such as `strace` that can show datagram content as text
/systemd-251/
DREADME.md31 …ee the [Code Map](docs/ARCHITECTURE.md) for information about this repository's layout and content.
DTODO806 content. After all it is constant vendor data.
DNEWS2723 * journalctl's --output=cat option (which outputs the log content
/systemd-251/shell-completion/zsh/
D_udevadm15 '--export-db[Export the content of the udev database.]' \
/systemd-251/hwdb.d/
D80-ieee1394-unit-function.hwdb6 # typical content of configuration ROM is defined by 1394 Trading Association, many nodes have own