/systemd-251/src/shared/ |
D | specifier.h | 6 typedef int (*SpecifierCallback)(char specifier, const void *data, const char *root, const void *us… 9 const char specifier; member 16 int specifier_string(char specifier, const void *data, const char *root, const void *userdata, char… 17 int specifier_real_path(char specifier, const void *data, const char *root, const void *userdata, c… 18 int specifier_real_directory(char specifier, const void *data, const char *root, const void *userda… 20 int specifier_machine_id(char specifier, const void *data, const char *root, const void *userdata, … 21 int specifier_boot_id(char specifier, const void *data, const char *root, const void *userdata, cha… 22 int specifier_hostname(char specifier, const void *data, const char *root, const void *userdata, ch… 23 int specifier_short_hostname(char specifier, const void *data, const char *root, const void *userda… 24 int specifier_pretty_hostname(char specifier, const void *data, const char *root, const void *userd… [all …]
|
D | specifier.c | 62 for (i = table; i->specifier; i++) in specifier_printf() 63 if (i->specifier == *f) in specifier_printf() 70 r = i->lookup(i->specifier, i->data, root, userdata, &w); in specifier_printf() 114 int specifier_string(char specifier, const void *data, const char *root, const void *userdata, char… in specifier_string() argument 129 int specifier_real_path(char specifier, const void *data, const char *root, const void *userdata, c… in specifier_real_path() argument 140 int specifier_real_directory(char specifier, const void *data, const char *root, const void *userda… in specifier_real_directory() argument 146 r = specifier_real_path(specifier, data, root, userdata, &path); in specifier_real_directory() 154 int specifier_machine_id(char specifier, const void *data, const char *root, const void *userdata, … in specifier_machine_id() argument 183 int specifier_boot_id(char specifier, const void *data, const char *root, const void *userdata, cha… in specifier_boot_id() argument 202 int specifier_hostname(char specifier, const void *data, const char *root, const void *userdata, ch… in specifier_hostname() argument [all …]
|
D | install-printf.c | 16 static int specifier_prefix_and_instance(char specifier, const void *data, const char *root, const … in specifier_prefix_and_instance() argument 38 static int specifier_name(char specifier, const void *data, const char *root, const void *userdata,… in specifier_name() argument 52 static int specifier_prefix(char specifier, const void *data, const char *root, const void *userdat… in specifier_prefix() argument 58 static int specifier_instance(char specifier, const void *data, const char *root, const void *userd… in specifier_instance() argument 77 static int specifier_last_component(char specifier, const void *data, const char *root, const void … in specifier_last_component() argument 84 r = specifier_prefix(specifier, data, root, userdata, &prefix); in specifier_last_component()
|
D | meson.build | 295 'specifier.c', 296 'specifier.h',
|
/systemd-251/src/core/ |
D | unit-printf.c | 15 static int specifier_prefix_and_instance(char specifier, const void *data, const char *root, const … in specifier_prefix_and_instance() argument 21 static int specifier_prefix(char specifier, const void *data, const char *root, const void *userdat… in specifier_prefix() argument 27 static int specifier_prefix_unescaped(char specifier, const void *data, const char *root, const voi… in specifier_prefix_unescaped() argument 39 static int specifier_instance_unescaped(char specifier, const void *data, const char *root, const v… in specifier_instance_unescaped() argument 45 static int specifier_last_component(char specifier, const void *data, const char *root, const void … in specifier_last_component() argument 57 return specifier_string(specifier, dash + 1, root, userdata, ret); in specifier_last_component() 63 static int specifier_last_component_unescaped(char specifier, const void *data, const char *root, c… in specifier_last_component_unescaped() argument 67 r = specifier_last_component(specifier, data, root, userdata, &p); in specifier_last_component_unescaped() 74 static int specifier_filename(char specifier, const void *data, const char *root, const void *userd… in specifier_filename() argument 83 static void bad_specifier(const Unit *u, char specifier) { in bad_specifier() argument [all …]
|
/systemd-251/test/test-execute/ |
D | exec-specifier.service | 7 ExecStart=test %n = exec-specifier.service 8 ExecStart=test %N = exec-specifier 9 ExecStart=test %p = exec-specifier 10 ExecStart=test %P = exec/specifier 13 ExecStart=test %j = specifier 14 ExecStart=test %J = specifier 15 ExecStart=test %f = /exec/specifier
|
D | exec-specifier@.service | 7 ExecStart=test %n = exec-specifier@foo-bar.service 8 ExecStart=test %N = exec-specifier@foo-bar 9 ExecStart=test %p = exec-specifier 10 ExecStart=test %P = exec/specifier 13 ExecStart=test %j = specifier 14 ExecStart=test %J = specifier
|
D | exec-standardinput-data.service | 6 …nge\nembedded\tcharacters\nand something with a exec-stdin-data.service specifier" > $d/text ; cmp… 20 StandardInputText=and something with a %n specifier
|
D | exec-specifier-credentials-dir.service | 8 # Test if the specifier is resolved correctly both before and after LoadCredential=
|
/systemd-251/test/testsuite-28.units/ |
D | specifier-j-wants.service | 3 Description=Wants with percent-j specifier 4 Wants=specifier-j-depends-%j.service 5 After=specifier-j-depends-%j.service 10 ExecStart=test -f /tmp/test-specifier-j-%j
|
D | specifier-j-depends-wants.service | 3 Description=Dependent service for percent-j specifier 8 ExecStart=touch /tmp/test-specifier-j-wants
|
/systemd-251/test/units/ |
D | testsuite-28.service | 5 Wants=specifier-j-wants.service 6 After=specifier-j-wants.service
|
/systemd-251/src/test/ |
D | test-specifier.c | 130 for (const Specifier *s = specifier_table; s->specifier; s++) { in TEST() 134 xsprintf(spec, "%%%c", s->specifier); in TEST() 138 log_info("%%%c → %s", s->specifier, resolved); in TEST()
|
D | meson.build | 268 [files('test-specifier.c')],
|
/systemd-251/src/resolve/ |
D | resolved-dnssd.c | 138 static int specifier_dnssd_hostname(char specifier, const void *data, const char *root, const void … in specifier_dnssd_hostname() argument
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 204 static int specifier_machine_id_safe(char specifier, const void *data, const char *root, const void… 205 static int specifier_directory(char specifier, const void *data, const char *root, const void *user… 207 static int specifier_machine_id_safe(char specifier, const void *data, const char *root, const void… in specifier_machine_id_safe() argument 213 r = specifier_machine_id(specifier, data, root, userdata, ret); in specifier_machine_id_safe() 220 static int specifier_directory(char specifier, const void *data, const char *root, const void *user… in specifier_directory() argument
|
/systemd-251/docs/ |
D | CREDENTIALS.md | 111 the `%d` specifier in unit files resolves to the service's credential 149 supplied as environment variable, use the `%d` specifier in the `Environment=`
|
D | CODING_STYLE.md | 498 - When applying C-style unescaping as well as specifier expansion on the same 499 string, always apply the C-style unescaping first, followed by the specifier 500 expansion. When doing the reverse, make sure to escape `%` in specifier-style
|
/systemd-251/ |
D | NEWS | 269 The new %q specifier resolves to the pretty hostname 272 The new %d specifier resolves to the credentials directory of a 453 * [Network] L2TP= setting was removed. Please use interface specifier in 3276 configuration files that support specifier expansion learnt six new 3595 specifier expansion. 5904 * Unit files and other configuration files that support specifier 6492 interpreted as the beginning of a specifier should be escaped by 6551 existing %t specifier, that resolves to the top-level runtime 8773 from User= assignment placed before the specifier into 11687 * %h, %s, %U specifier support is not available anymore when [all …]
|
D | TODO | 1381 * print a nicer explanation if people use variable/specifier expansion in ExecStart= for the first …
|