Searched refs:dash (Results 1 - 5 of 5) sorted by relevance

/systemd/src/core/
H A Dslice.c54 char *a, *dash; local
67 dash = strrchr(a, '-');
68 if (dash)
69 strcpy(dash, ".slice");
/systemd/src/basic/
H A Dunit-name.c737 char *s, *dash; local
755 dash = strrchr(s, '-');
756 if (dash)
757 strcpy(dash, ".slice");
803 bool dash = false; local
819 /* Don't allow initial dash */
824 if (dash)
827 dash = true;
829 dash = false;
833 if (dash)
[all...]
H A Dcgroup-util.c1751 const char *dash; local
1777 dash = strchr(p, '-');
1780 if (dash == p)
1783 while (dash) {
1785 char n[dash - p + sizeof(".slice")];
1788 if (dash[1] == 0 || dash[1] == '-')
1791 strcpy(stpncpy(n, p, dash - p), ".slice");
1802 dash = strchr(dash
[all...]
/systemd/src/login/
H A Dlogind-core.c477 const char *status, *enabled, *dash, *nn, *i; local
499 * the sysfs name, as the second dash seperated item
504 dash = strchr(nn, '-');
505 if (!dash)
508 dash++;
513 if (startswith(dash, i)) {
/systemd/src/libsystemd/sd-bus/
H A Dsd-bus.c3690 const char *dash; local
3701 dash = strchr(n, '-');
3702 if (streq_ptr(dash, "-user")) {

Completed in 1207 milliseconds