Home
last modified time | relevance | path

Searched refs:specifier (Results 1 – 20 of 20) sorted by relevance

/systemd-251/src/shared/
Dspecifier.h6 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 …]
Dspecifier.c62 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 …]
Dinstall-printf.c16 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()
Dmeson.build295 'specifier.c',
296 'specifier.h',
/systemd-251/src/core/
Dunit-printf.c15 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/
Dexec-specifier.service7 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
Dexec-specifier@.service7 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
Dexec-standardinput-data.service6 …nge\nembedded\tcharacters\nand something with a exec-stdin-data.service specifier" > $d/text ; cmp…
20 StandardInputText=and something with a %n specifier
Dexec-specifier-credentials-dir.service8 # Test if the specifier is resolved correctly both before and after LoadCredential=
/systemd-251/test/testsuite-28.units/
Dspecifier-j-wants.service3 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
Dspecifier-j-depends-wants.service3 Description=Dependent service for percent-j specifier
8 ExecStart=touch /tmp/test-specifier-j-wants
/systemd-251/test/units/
Dtestsuite-28.service5 Wants=specifier-j-wants.service
6 After=specifier-j-wants.service
/systemd-251/src/test/
Dtest-specifier.c130 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()
Dmeson.build268 [files('test-specifier.c')],
/systemd-251/src/resolve/
Dresolved-dnssd.c138 static int specifier_dnssd_hostname(char specifier, const void *data, const char *root, const void … in specifier_dnssd_hostname() argument
/systemd-251/src/tmpfiles/
Dtmpfiles.c204 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/
DCREDENTIALS.md111 the `%d` specifier in unit files resolves to the service's credential
149 supplied as environment variable, use the `%d` specifier in the `Environment=`
DCODING_STYLE.md498 - 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/
DNEWS269 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 …]
DTODO1381 * print a nicer explanation if people use variable/specifier expansion in ExecStart= for the first …