Lines Matching refs:matches
59 static bool unit_match(const char *unit, char **matches) { in unit_match() argument
70 if (strv_isempty(matches)) in unit_match()
74 STRV_FOREACH(i, matches) in unit_match()
171 char **matches, in extract_now() argument
260 if (!unit_match(de->d_name, matches)) in extract_now()
324 char **matches, in portable_extract_by_path() argument
347 … r = extract_now(path, matches, image_name, path_is_extension, -1, &os_release, &unit_files); in portable_extract_by_path()
420 … r = extract_now(tmpdir, matches, m->image_name, path_is_extension, seq[1], NULL, NULL); in portable_extract_by_path()
512 char **matches, in extract_image_and_extensions() argument
563 …r = portable_extract_by_path(image->path, /* path_is_extension= */ false, matches, &os_release, &u… in extract_image_and_extensions()
603 …r = portable_extract_by_path(ext->path, /* path_is_extension= */ true, matches, &extension_release… in extract_image_and_extensions()
676 char **matches, in portable_extract() argument
695 matches, in portable_extract()
1264 static bool prefix_matches_compatible(char **matches, char **valid_prefixes) { in prefix_matches_compatible() argument
1267 STRV_FOREACH(m, matches) in prefix_matches_compatible()
1277 char **matches, in portable_attach() argument
1295 matches, in portable_attach()
1308 if (valid_prefixes && !prefix_matches_compatible(matches, valid_prefixes)) { in portable_attach()
1311 matches_joined = strv_join(matches, "', '"); in portable_attach()