Lines Matching defs:names
80 _cleanup_hashmap_free_ Hashmap *names = NULL;
96 return log_error_errno(r, "Failed to list names: %m");
100 names = hashmap_new(&string_hash_ops);
101 if (!names)
107 r = hashmap_put(names, *i, NAME_IS_ACQUIRED);
115 r = hashmap_put(names, *i, NAME_IS_ACTIVATABLE);
120 merged = new(char*, hashmap_size(names) + 1);
121 HASHMAP_FOREACH_KEY(v, k, names, iterator)
141 if (hashmap_get(names, *i) == NAME_IS_ACTIVATABLE) {
434 _cleanup_strv_free_ char **names = NULL;
437 r = sd_bus_list_names(bus, &names, NULL);
443 STRV_FOREACH(i, names) {
1697 " --unique Only show unique names\n"
1698 " --acquired Only show acquired names\n"
1699 " --activatable Only show activatable names\n"
1712 " list List bus names\n"