Searched refs:unique (Results 1 - 14 of 14) sorted by relevance

/systemd/src/libudev/
H A Dlibudev-list.c94 void udev_list_init(struct udev *udev, struct udev_list *list, bool unique) argument
98 list->unique = unique;
147 if (list->unique) {
183 if (list->unique) {
301 if (!list_entry->list->unique)
H A Dlibudev-private.h95 bool unique; member in struct:udev_list
109 void udev_list_init(struct udev *udev, struct udev_list *list, bool unique);
/systemd/src/libsystemd/sd-bus/
H A Dbus-internal.c131 bool dot, found_dot = false, unique; local
136 unique = p[0] == ':';
138 for (dot = true, q = unique ? p+1 : p; *q; q++)
150 ((!dot || unique) && *q >= '0' && *q <= '9') ||
H A Dtest-bus-zero-copy.c41 const char *unique; local
84 r = sd_bus_get_unique_name(a, &unique);
87 r = sd_bus_message_new_method_call(b, &m, unique, "/a/path", "an.inter.face", "AMethod");
H A Dbus-control.c41 _public_ int sd_bus_get_unique_name(sd_bus *bus, const char **unique) { argument
45 assert_return(unique, -EINVAL);
55 *unique = bus->unique_name;
756 const char *unique = NULL; local
776 r = sd_bus_message_read(reply_unique, "s", &unique);
786 if ((mask & SD_BUS_CREDS_UNIQUE_NAME) && unique) {
787 c->unique_name = strdup(unique);
815 unique ? unique : name);
844 unique
[all...]
H A Dtest-bus-benchmark.c252 const char *unique; local
322 r = sd_bus_get_unique_name(b, &unique);
325 server_name = strdup(unique);
H A Dtest-bus-chat.c66 const char *unique; local
82 r = sd_bus_get_unique_name(bus, &unique);
84 log_error_errno(r, "Failed to get unique name: %m");
89 log_info("Unique ID: %s", unique);
H A Dbusctl.c169 const char *unique, *session, *unit, *cn; local
198 r = sd_bus_creds_get_unique_name(creds, &unique);
200 printf(" %-13s", unique);
1697 " --unique Only show unique names\n"
1763 { "unique", no_argument, NULL, ARG_UNIQUE },
/systemd/src/bus-proxyd/
H A Dproxy.c167 const char *unique; local
173 r = sd_bus_get_unique_name(p->destination_bus, &unique);
175 return log_error_errno(r, "Failed to get unique name: %m");
183 unique,
200 unique,
213 unique,
566 * name's policy we used, and to which unique ID it
569 * it refuses the operation should the name and unique
618 * the callback reply and the NameAcquired for the unique
646 return log_error_errno(r, "Failed to append unique nam
[all...]
/systemd/src/core/
H A Ddbus.c766 const char *unique; local
775 r = sd_bus_creds_get_unique_name(creds, &unique);
777 log_error_errno(r, "Failed to get unique name for %s: %m", name);
786 if (!streq_ptr(unique, s->bus_name_owner))
787 UNIT_VTABLE(u)->bus_name_owner_change(u, name, s->bus_name_owner, unique);
/systemd/src/run/
H A Drun.c685 const char *unique, *id; local
693 r = sd_bus_get_unique_name(bus, &unique);
697 /* We couldn't get the unique name, which is a pretty
712 /* We managed to get the unique name, then let's use that to
715 id = startswith(unique, ":1.");
717 log_error("Unique name %s has unexpected format.", unique);
/systemd/src/boot/efi/
H A Dboot.c1303 /* generate a unique title, avoiding non-distinguishable menu entries */
1306 BOOLEAN unique; local
1319 unique = TRUE;
1327 unique = FALSE;
1332 if (unique)
1335 /* add version to non-unique titles */
1350 unique = TRUE;
1358 unique = FALSE;
1363 if (unique)
1366 /* add machine-id to non-unique title
[all...]
/systemd/src/shared/
H A Dbus-util.c85 const char *unique; local
97 r = sd_bus_get_unique_name(bus, &unique);
109 "arg2=''", name, unique);
2210 * bus_path_encode_unique() - encode unique object path
2213 * @sender_id: unique-name of client, or NULL
2218 * server-side objects, we need to provide a unique name for these objects. If
2224 * Therefore, many APIs allow the client to choose the unique name for newly
2228 * to choose unique object names without interference.
2230 * able to choose unique object names without interference.
2232 * unique
[all...]
/systemd/src/systemd/
H A Dsd-bus.h294 int sd_bus_get_unique_name(sd_bus *bus, const char **unique);

Completed in 94 milliseconds