Searched refs:parse_os_release (Results 1 – 15 of 15) sorted by relevance
/systemd-251/src/test/ |
D | test-os-util.c | 18 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()
|
D | test-condition.c | 966 if (parse_os_release(NULL, "VERSION_ID", &version_id) <= 0) in TEST()
|
/systemd-251/src/basic/ |
D | os-util.h | 29 #define parse_os_release(root, ...) _parse_os_release(root, __VA_ARGS__, NULL) macro
|
D | hostname-util.c | 28 r = parse_os_release(NULL, "DEFAULT_HOSTNAME", &f); in get_default_hostname()
|
/systemd-251/src/shared/ |
D | specifier.c | 284 r = parse_os_release(root, id, &v); in parse_os_release_specifier()
|
D | condition.c | 306 r = parse_os_release(NULL, key, &actual_value); in condition_test_osrelease()
|
/systemd-251/src/boot/ |
D | bootctl.c | 243 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/ |
D | sysupdate.c | 989 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/ |
D | sysext.c | 474 r = parse_os_release( in merge_subprocess()
|
/systemd-251/src/journal-remote/ |
D | journal-gatewayd.c | 771 (void) parse_os_release(NULL, "PRETTY_NAME", &os_name); in request_handler_machine()
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 110 r = parse_os_release( in print_welcome()
|
/systemd-251/src/core/ |
D | namespace.c | 1207 r = parse_os_release( in mount_image() 1369 r = parse_os_release( in apply_one_mount()
|
D | main.c | 1322 r = parse_os_release(NULL, in status_welcome()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 165 r = parse_os_release(NULL, in context_read_os_release()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1341 r = parse_os_release(NULL, "PRETTY_NAME", &osname); in verb_capture()
|