Searched refs:endswith_no_case (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/basic/ |
D | hostname-util.c | 190 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()
|
D | time-util.c | 696 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/ |
D | test-string-util.c | 458 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/ |
D | string-util-fundamental.h | 58 sd_char *endswith_no_case(const sd_char *s, const sd_char *postfix) _pure_;
|
D | string-util-fundamental.c | 59 sd_char* endswith_no_case(const sd_char *s, const sd_char *postfix) { in endswith_no_case() function
|
/systemd-251/src/boot/ |
D | bootctl.c | 437 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/ |
D | drivers.c | 110 if (!endswith_no_case(dirent->FileName, EFI_MACHINE_TYPE_NAME L".efi")) in load_drivers()
|
D | cpio.c | 387 if (match_suffix && !endswith_no_case(dirent->FileName, match_suffix)) in pack_cpio()
|
D | boot.c | 1665 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/ |
D | bootspec.c | 82 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()
|
D | calendarspec.c | 898 utc = endswith_no_case(p, " UTC"); in calendar_spec_from_string() 915 e = endswith_no_case(p, tzname[j]); in calendar_spec_from_string()
|