Lines Matching defs:patterns
333 static bool output_show_unit(const UnitInfo *u, char **patterns) {
334 if (!strv_fnmatch_or_empty(patterns, u->id, FNM_NOESCAPE))
526 char **patterns,
568 if (!output_show_unit(&u, patterns))
600 char **patterns,
619 c = get_unit_list(bus, NULL, patterns, &unit_infos, 0, &reply);
647 k = get_unit_list(container, *i, patterns, &unit_infos, c, &reply);
1278 static bool output_show_unit_file(const UnitFileList *u, char **patterns) {
1279 if (!strv_fnmatch_or_empty(patterns, basename(u->path), FNM_NOESCAPE))
1763 static bool output_show_machine(const char *name, char **patterns) {
1764 return strv_fnmatch_or_empty(patterns, name, FNM_NOESCAPE);
1770 char **patterns) {
1783 if (output_show_machine(hn, patterns)) {
1802 if (!output_show_machine(*i, patterns))
2124 static bool output_show_job(struct job_info *job, char **patterns) {
2125 return strv_fnmatch_or_empty(patterns, job->name, FNM_NOESCAPE);
4669 _cleanup_free_ char **patterns = NULL;
4677 if (strv_push(&patterns, *name) < 0)
4702 if (!strv_isempty(patterns)) {
4705 r = expand_names(bus, patterns, NULL, &names);