Home
last modified time | relevance | path

Searched refs:allow_globs (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/test/
Dtest-unit-name.c201 static void test_unit_name_mangle_one(bool allow_globs, const char *pattern, const char *expect, in… in test_unit_name_mangle_one() argument
204 …assert_se(unit_name_mangle(pattern, (allow_globs * UNIT_NAME_MANGLE_GLOB) | UNIT_NAME_MANGLE_WARN,… in test_unit_name_mangle_one()
212 (allow_globs && string_is_glob(t))); in test_unit_name_mangle_one()
214 …assert_se(unit_name_mangle(t, (allow_globs * UNIT_NAME_MANGLE_GLOB) | UNIT_NAME_MANGLE_WARN, &k) =… in test_unit_name_mangle_one()
/systemd-251/src/basic/
Dunit-name.c669 static bool do_escape_mangle(const char *f, bool allow_globs, char *t) { in do_escape_mangle() argument
681 valid_chars = allow_globs ? VALID_CHARS_GLOB : VALID_CHARS_WITH_AT; in do_escape_mangle()