Home
last modified time | relevance | path

Searched refs:parse_os_release (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/test/
Dtest-os-util.c18 TEST(parse_os_release) { in TEST() argument
21 assert_se(parse_os_release(NULL, "ID", &id) == 0); in TEST()
25 assert_se(parse_os_release(NULL, "ID", &id2) == 0); in TEST()
34 assert_se(parse_os_release(NULL, "ID", &id, "NAME", &name) == 0); in TEST()
46 assert_se(parse_os_release(NULL, "ID", &id, "NAME", &name) == 0); in TEST()
51 assert_se(parse_os_release(NULL, "FOOBAR", &foobar) == 0); in TEST()
Dtest-condition.c966 if (parse_os_release(NULL, "VERSION_ID", &version_id) <= 0) in TEST()
/systemd-251/src/basic/
Dos-util.h29 #define parse_os_release(root, ...) _parse_os_release(root, __VA_ARGS__, NULL) macro
Dhostname-util.c28 r = parse_os_release(NULL, "DEFAULT_HOSTNAME", &f); in get_default_hostname()
/systemd-251/src/shared/
Dspecifier.c284 r = parse_os_release(root, id, &v); in parse_os_release_specifier()
Dcondition.c306 r = parse_os_release(NULL, key, &actual_value); in condition_test_osrelease()
/systemd-251/src/boot/
Dbootctl.c243 r = parse_os_release(NULL, in settle_entry_token()
281 r = parse_os_release(NULL, "IMAGE_ID", &buf); in settle_entry_token()
295 r = parse_os_release(NULL, "ID", &buf); in settle_entry_token()
/systemd-251/src/sysupdate/
Dsysupdate.c989 r = parse_os_release(arg_root, "IMAGE_VERSION", &booted_version); in verb_update()
1046 r = parse_os_release(arg_root, "IMAGE_VERSION", &booted_version); in verb_pending_or_reboot()
/systemd-251/src/sysext/
Dsysext.c474 r = parse_os_release( in merge_subprocess()
/systemd-251/src/journal-remote/
Djournal-gatewayd.c771 (void) parse_os_release(NULL, "PRETTY_NAME", &os_name); in request_handler_machine()
/systemd-251/src/firstboot/
Dfirstboot.c110 r = parse_os_release( in print_welcome()
/systemd-251/src/core/
Dnamespace.c1207 r = parse_os_release( in mount_image()
1369 r = parse_os_release( in apply_one_mount()
Dmain.c1322 r = parse_os_release(NULL, in status_welcome()
/systemd-251/src/hostname/
Dhostnamed.c165 r = parse_os_release(NULL, in context_read_os_release()
/systemd-251/src/busctl/
Dbusctl.c1341 r = parse_os_release(NULL, "PRETTY_NAME", &osname); in verb_capture()