/systemd/src/basic/ |
H A D | xml.c | 151 e = strpbrk(b, WHITESPACE "/>"); 168 b = c + strspn(c, WHITESPACE); 174 e = b + strcspn(b, WHITESPACE "=/>"); 234 b = strpbrk(c, WHITESPACE ">");
|
H A D | parse-util.c | 76 s += strspn(s, WHITESPACE); 173 p += strspn(p, WHITESPACE); 203 e += strspn(e, WHITESPACE); 327 s += strspn(s, WHITESPACE); 371 s += strspn(s, WHITESPACE); 411 s += strspn(s, WHITESPACE); 435 s += strspn(s, WHITESPACE);
|
H A D | time-util.c | 722 p += strspn(p, WHITESPACE); 725 s += strspn(s, WHITESPACE); 739 p += strspn(p, WHITESPACE); 776 e += strspn(e, WHITESPACE); 855 p += strspn(p, WHITESPACE); 858 s += strspn(s, WHITESPACE); 871 p += strspn(p, WHITESPACE); 908 e += strspn(e, WHITESPACE); 974 p += strcspn(p, WHITESPACE); 975 p += strspn(p, WHITESPACE); [all...] |
H A D | cpu-set-util.c | 82 r = extract_first_word(&rvalue, &word, WHITESPACE ",", EXTRACT_QUOTES);
|
H A D | string-util.h | 30 #define WHITESPACE " \t\n\r" macro 96 _FOREACH_WORD(word, length, s, WHITESPACE, false, state) 102 _FOREACH_WORD(word, length, s, WHITESPACE, true, state)
|
H A D | process-util.c | 269 r = get_proc_field(p, "CapEff", WHITESPACE, capeff); 336 l += strspn(l, WHITESPACE); 338 l[strcspn(l, WHITESPACE)] = 0;
|
H A D | string-util.c | 117 if (!strchr(WHITESPACE, *p)) 120 p += strspn(p, WHITESPACE); 283 s += strspn(s, WHITESPACE); 286 if (!strchr(WHITESPACE, e[-1]))
|
H A D | extract-word.c | 55 separators = WHITESPACE;
|
H A D | mount-util.c | 72 p += strspn(p, WHITESPACE); 73 p[strcspn(p, WHITESPACE)] = 0;
|
H A D | fileio.c | 339 else if (!strchr(WHITESPACE, c)) { 361 if (!strchr(WHITESPACE, c)) 403 else if (!strchr(WHITESPACE, c)) { 446 if (!strchr(WHITESPACE, c)) 776 if (string_has_cc(p, NULL) || chars_intersect(p, WHITESPACE SHELL_NEED_QUOTES)) {
|
H A D | virt.c | 249 r = get_proc_field("/proc/sysinfo", "VM00 Control Program", WHITESPACE, &t);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | busctl-introspect.c | 136 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 267 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 343 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 402 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 469 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 552 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 609 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 681 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 779 } else if (r != XML_TEXT || !in_charset(name, WHITESPACE)) {
|
/systemd/src/core/ |
H A D | locale-setup.c | 38 r = parse_env_file("/proc/cmdline", WHITESPACE,
|
H A D | load-fragment.c | 591 rvalue += strspn(rvalue, WHITESPACE); 617 r = extract_first_word_and_warn(&p, &firstword, WHITESPACE, EXTRACT_QUOTES|EXTRACT_CUNESCAPE, unit, filename, line, rvalue); 679 if (p[0] == ';' && (!p[1] || strchr(WHITESPACE, p[1]))) { 681 p += strspn(p, WHITESPACE); 689 if (p[0] == '\\' && p[1] == ';' && (!p[2] || strchr(WHITESPACE, p[2]))) { 691 p += strspn(p, WHITESPACE); 702 r = extract_first_word_and_warn(&p, &word, WHITESPACE, EXTRACT_QUOTES|EXTRACT_CUNESCAPE, unit, filename, line, rvalue); 1880 access_str = strpbrk(id_str, WHITESPACE); 1888 access_str += strspn(access_str, WHITESPACE); 1932 access_str = strpbrk(name, WHITESPACE); [all...] |
/systemd/src/shared/ |
H A D | sleep-config.c | 131 FOREACH_WORD_SEPARATOR(word, l, p, WHITESPACE, state) 160 FOREACH_WORD_SEPARATOR(word, l, p, WHITESPACE, state) { 238 r = get_proc_field("/proc/meminfo", "Active(anon)", WHITESPACE, &active);
|
/systemd/src/test/ |
H A D | test-fileio.c | 246 assert_se(get_proc_field("/proc/self/status", "Threads", WHITESPACE, &t) == 0); 250 r = get_proc_field("/proc/meminfo", "MemTotal", WHITESPACE, &p); 257 r = get_proc_field("/proc/meminfo", "Buffers", WHITESPACE, &s); 268 r = get_proc_field("/proc/meminfo", "Seccomp", WHITESPACE, &z);
|
H A D | test-strv.c | 168 r = strv_split_extract(&s, quoted, WHITESPACE, EXTRACT_QUOTES); 185 r = strv_split_extract(&s, quoted, WHITESPACE, EXTRACT_QUOTES); 202 r = strv_split_extract(&s, quoted, WHITESPACE, EXTRACT_QUOTES);
|
/systemd/src/nspawn/ |
H A D | nspawn-setuid.c | 227 x += strcspn(x, WHITESPACE); 228 x += strspn(x, WHITESPACE);
|
/systemd/src/journal/ |
H A D | journald-audit.c | 280 p += strspn(p, WHITESPACE); 332 p += strcspn(p, WHITESPACE); 374 p += strspn(p, WHITESPACE);
|
H A D | journald-syslog.c | 207 p += strspn(p, WHITESPACE); 208 l = strcspn(p, WHITESPACE); 242 if (strchr(WHITESPACE, p[e]))
|
/systemd/src/locale/ |
H A D | localectl.c | 101 r = parse_env_file("/proc/cmdline", WHITESPACE, 446 w = l + strcspn(l, WHITESPACE); 456 w += strspn(w, WHITESPACE);
|
/systemd/src/import/ |
H A D | curl-util.c | 400 while (sz > 0 && strchr(WHITESPACE, p[0])) { 406 while (sz > 0 && strchr(WHITESPACE, p[sz-1]))
|
/systemd/src/libsystemd/sd-path/ |
H A D | sd-path.c | 126 p += strspn(p, WHITESPACE); 132 p += strspn(p, WHITESPACE);
|
/systemd/src/bus-proxyd/ |
H A D | bus-xml-policy.c | 133 else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 156 else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 201 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) { 440 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) {
|
/systemd/src/vconsole/ |
H A D | vconsole-setup.c | 301 r = parse_env_file("/proc/cmdline", WHITESPACE,
|