Home
last modified time | relevance | path

Searched refs:endswith_no_case (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/basic/
Dhostname-util.c190 endswith_no_case(hostname, ".localhost") || in is_localhost()
191 endswith_no_case(hostname, ".localhost.") || in is_localhost()
192 endswith_no_case(hostname, ".localhost.localdomain") || in is_localhost()
193 endswith_no_case(hostname, ".localhost.localdomain."); in is_localhost()
Dtime-util.c696 utc = endswith_no_case(t, " UTC"); in parse_timestamp_impl()
717 e = endswith_no_case(t, tzname[j]); in parse_timestamp_impl()
909 if (!tz || endswith_no_case(t, " UTC")) in parse_timestamp()
/systemd-251/src/test/
Dtest-string-util.c458 TEST(endswith_no_case) { in TEST() argument
459 assert_se(endswith_no_case("fooBAR", "bar")); in TEST()
460 assert_se(endswith_no_case("foobar", "")); in TEST()
461 assert_se(endswith_no_case("foobar", "FOOBAR")); in TEST()
462 assert_se(endswith_no_case("", "")); in TEST()
464 assert_se(!endswith_no_case("foobar", "FOO")); in TEST()
465 assert_se(!endswith_no_case("foobar", "FOOBARFOOFOO")); in TEST()
/systemd-251/src/fundamental/
Dstring-util-fundamental.h58 sd_char *endswith_no_case(const sd_char *s, const sd_char *postfix) _pure_;
Dstring-util-fundamental.c59 sd_char* endswith_no_case(const sd_char *s, const sd_char *postfix) { in endswith_no_case() function
/systemd-251/src/boot/
Dbootctl.c437 if (!endswith_no_case(de->d_name, ".efi")) in enumerate_binaries()
807 s = endswith_no_case(dest_name, ".signed"); in copy_one_file()
843 … if (!endswith_no_case(de->d_name, ".efi") && !endswith_no_case(de->d_name, ".efi.signed")) in install_binaries()
847 if (endswith_no_case(de->d_name, ".efi")) { in install_binaries()
1040 if (!endswith_no_case(de->d_name, ".efi")) in remove_boot_efi()
/systemd-251/src/boot/efi/
Ddrivers.c110 if (!endswith_no_case(dirent->FileName, EFI_MACHINE_TYPE_NAME L".efi")) in load_drivers()
Dcpio.c387 if (match_suffix && !endswith_no_case(dirent->FileName, match_suffix)) in pack_cpio()
Dboot.c1665 if (!endswith_no_case(f->FileName, L".conf")) in config_load_entries()
2190 if (!endswith_no_case(f->FileName, L".efi")) in config_entry_add_linux()
/systemd-251/src/shared/
Dbootspec.c82 c = endswith_no_case(id, ".conf"); in boot_entry_load_type1()
417 if (!endswith_no_case(de->d_name, ".conf")) in boot_entries_find_type1()
669 if (!endswith_no_case(de->d_name, ".efi")) in boot_entries_find_unified()
Dcalendarspec.c898 utc = endswith_no_case(p, " UTC"); in calendar_spec_from_string()
915 e = endswith_no_case(p, tzname[j]); in calendar_spec_from_string()