Searched defs:escaped (Results 1 - 16 of 16) sorted by relevance

/systemd/src/shared/
H A Dgenerator.c41 _cleanup_free_ char *device = NULL, *escaped = NULL; local
46 escaped = cescape(what);
47 if (!escaped)
79 escaped);
H A Dconf-parser.c319 bool escaped = false; local
345 if (escaped)
346 escaped = false;
348 escaped = true;
351 if (escaped) {
H A Ddns-domain.c186 /* The '.' was not escaped */
449 char escaped[DNS_LABEL_ESCAPED_MAX]; local
451 r = dns_label_escape(label, r, escaped, sizeof(escaped));
986 char escaped[DNS_LABEL_ESCAPED_MAX]; local
1003 r = dns_label_escape(name, strlen(name), escaped, sizeof(escaped));
1011 return dns_name_concat(escaped, n, ret);
H A Dbus-util.c737 _cleanup_free_ char *escaped = NULL; local
739 escaped = xescape(s, "\n");
740 if (!escaped)
743 printf("%s=%s\n", name, escaped);
847 _cleanup_free_ char *escaped = NULL; local
852 escaped = xescape(str, "\n ");
853 if (!escaped)
856 printf("%s%s", first ? "" : " ", escaped);
/systemd/src/machine/
H A Dmachine.c148 _cleanup_free_ char *escaped; local
150 escaped = cescape(m->unit);
151 if (!escaped) {
156 fprintf(f, "SCOPE=%s\n", escaped); /* We continue to call this "SCOPE=" because it is internal only, and we want to stay compatible with old files */
163 _cleanup_free_ char *escaped; local
165 escaped = cescape(m->service);
166 if (!escaped) {
170 fprintf(f, "SERVICE=%s\n", escaped);
174 _cleanup_free_ char *escaped; local
176 escaped
360 _cleanup_free_ char *escaped = NULL; local
[all...]
/systemd/src/journal/
H A Djournald-stream.c174 _cleanup_free_ char *escaped; local
176 escaped = cescape(s->identifier);
177 if (!escaped) {
182 fprintf(f, "IDENTIFIER=%s\n", escaped);
186 _cleanup_free_ char *escaped; local
188 escaped = cescape(s->unit_id);
189 if (!escaped) {
194 fprintf(f, "UNIT=%s\n", escaped);
/systemd/src/libsystemd/sd-bus/
H A Dbus-match.c816 bool escaped = false, quoted; local
846 if (!escaped) {
848 escaped = true;
874 escaped = false;
/systemd/src/basic/
H A Dstring-util.c125 bool escaped = false; local
129 if (escaped)
130 escaped = false;
132 escaped = true;
138 return n - escaped;
H A Dcgroup-util.c1784 _cleanup_free_ char *escaped = NULL; local
1795 escaped = cg_escape(n);
1796 if (!escaped)
1799 if (!strextend(&s, escaped, "/", NULL))
/systemd/src/bootchart/
H A Dsvg.c1024 _cleanup_free_ char *enc_name = NULL, *escaped = NULL; local
1030 escaped = utf8_escape_non_printable(ps->name);
1032 enc_name = xml_comment_encode(escaped ? escaped : ps->name);
1121 escaped ? escaped : ps->name,
/systemd/src/login/
H A Dlogind-session.c221 _cleanup_free_ char *escaped; local
223 escaped = cescape(s->remote_host);
224 if (!escaped) {
229 fprintf(f, "REMOTE_HOST=%s\n", escaped);
233 _cleanup_free_ char *escaped; local
235 escaped = cescape(s->remote_user);
236 if (!escaped) {
241 fprintf(f, "REMOTE_USER=%s\n", escaped);
245 _cleanup_free_ char *escaped; local
247 escaped
257 _cleanup_free_ char *escaped; local
[all...]
/systemd/src/resolve/
H A Dresolve-tool.c722 _cleanup_free_ char *escaped = NULL; local
724 escaped = cescape_length(p, sz);
725 if (!escaped)
728 printf("%*s%s\n", (int) indent, "", escaped);
/systemd/src/core/
H A Dcgroup.c713 _cleanup_free_ char *escaped = NULL, *slice = NULL; local
727 escaped = cg_escape(u->id);
728 if (!escaped)
732 return strjoin(u->manager->cgroup_root, "/", slice, "/", escaped, NULL);
734 return strjoin(u->manager->cgroup_root, "/", escaped, NULL);
H A Dunit.c2400 _cleanup_free_ char *prefix = NULL, *escaped = NULL; local
2409 /* The prefix is already escaped, but it might include
2412 escaped = unit_name_escape(prefix);
2413 if (!escaped)
2417 b = strjoin("system-", escaped, ".slice", NULL);
2419 b = strappend(escaped, ".slice");
/systemd/src/libsystemd/sd-login/
H A Dsd-login.c608 _cleanup_free_ char *escaped = NULL; local
614 r = session_get_string(session, "DESKTOP", &escaped);
618 r = cunescape(escaped, 0, &t);
/systemd/src/test/
H A Dtest-util.c614 _cleanup_free_ char *escaped; local
616 assert_se(escaped = cescape("abc\\\"\b\f\n\r\t\v\a\003\177\234\313"));
617 assert_se(streq(escaped, "abc\\\\\\\"\\b\\f\\n\\r\\t\\v\\a\\003\\177\\234\\313"));

Completed in 71 milliseconds