Searched refs:allow_globs (Results 1 – 2 of 2) sorted by relevance
201 static void test_unit_name_mangle_one(bool allow_globs, const char *pattern, const char *expect, in… in test_unit_name_mangle_one() argument204 …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()
669 static bool do_escape_mangle(const char *f, bool allow_globs, char *t) { in do_escape_mangle() argument681 valid_chars = allow_globs ? VALID_CHARS_GLOB : VALID_CHARS_WITH_AT; in do_escape_mangle()