Searched refs:startswith (Results 1 - 25 of 109) sorted by relevance

12345

/systemd/src/basic/
H A Dweb-util.c33 if (!startswith(etag, "\"") && !startswith(etag, "W/\""))
45 p = startswith(url, "http://");
47 p = startswith(url, "https://");
66 p = startswith(url, "file:/");
68 p = startswith(url, "info:");
70 p = startswith(url, "man:");
H A Dproc-cmdline.c69 if (!in_initrd() && startswith(word, "rd."))
109 if (!in_initrd() && startswith(word, "rd."))
113 e = startswith(word, key);
H A Dxml.c106 if (startswith(b, "!--")) {
189 if (startswith(b, "/>")) {
H A Dsignal-util.c252 if (startswith(s, "RTMIN+")) {
270 if (startswith(s, "SIG"))
H A Dterminal-util.c562 if (!startswith(name, "/dev/"))
581 if (!startswith(name, "/dev/tty"))
648 if (startswith(tty, "/dev/"))
659 if (startswith(tty, "/dev/"))
662 if (!startswith(tty, "tty") )
716 if (startswith(tty, "/dev/"))
864 p = startswith(path, "/dev/");
971 if (startswith(s, "/dev/"))
973 else if (startswith(s, "../"))
/systemd/src/udev/
H A Dudevadm-util.c28 if (prefix && !startswith(id, prefix))
31 if (startswith(id, "/dev/")) {
46 } else if (startswith(id, "/sys/"))
H A Dudevadm-test-builtin.c83 if (!startswith(syspath, "/sys"))
H A Dudevadm-test.c115 if (!startswith(syspath, "/sys"))
/systemd/src/import/
H A Daufs-util.c41 original = startswith(fn, ".wh.");
50 if (!startswith(fn, ".wh..wh.")) {
/systemd/src/shared/
H A Dfstab-util.c107 x = startswith(*s, name);
170 arg = startswith(*s, name);
250 if (startswith(p, "LABEL="))
253 if (startswith(p, "UUID="))
256 if (startswith(p, "PARTUUID="))
259 if (startswith(p, "PARTLABEL="))
/systemd/
H A D.ycm_extra_conf.py29 if not flag.startswith('/'):
37 if flag.startswith(path_flag):
/systemd/src/libsystemd/sd-bus/
H A Dbus-match.c653 if (n == 4 && startswith(k, "type"))
655 if (n == 6 && startswith(k, "sender"))
657 if (n == 11 && startswith(k, "destination"))
659 if (n == 9 && startswith(k, "interface"))
661 if (n == 6 && startswith(k, "member"))
663 if (n == 4 && startswith(k, "path"))
665 if (n == 14 && startswith(k, "path_namespace"))
668 if (n == 4 && startswith(k, "arg")) {
678 if (n == 5 && startswith(k, "arg")) {
694 if (n == 8 && startswith(
[all...]
/systemd/src/cryptsetup/
H A Dcryptsetup.c77 if (startswith(option, "cipher=")) {
87 } else if (startswith(option, "size=")) {
101 } else if (startswith(option, "key-slot=")) {
109 } else if (startswith(option, "tcrypt-keyfile=")) {
118 } else if (startswith(option, "keyfile-size=")) {
125 } else if (startswith(option, "keyfile-offset=")) {
132 } else if (startswith(option, "hash=")) {
142 } else if (startswith(option, "header=")) {
159 } else if (startswith(option, "tries=")) {
184 else if (startswith(optio
[all...]
H A Dcryptsetup-generator.c306 d = get_crypto_device(startswith(value, "luks-") ? value+5 : value);
402 uuid = startswith(device, "UUID=");
406 uuid = startswith(name, "luks-");
/systemd/test/
H A Drule-syntax-check.py58 if not line or line.startswith('#'):
/systemd/src/journal/
H A Djournald-native.c168 startswith(p, "PRIORITY=") &&
173 startswith(p, "SYSLOG_FACILITY=") &&
178 startswith(p, "SYSLOG_FACILITY=") &&
184 startswith(p, "SYSLOG_IDENTIFIER=")) {
194 startswith(p, "MESSAGE=")) {
205 startswith(p, "OBJECT_PID=") &&
/systemd/src/nspawn/
H A Dnspawn-expose-ports.c45 if ((e = startswith(s, "tcp:")))
47 else if ((e = startswith(s, "udp:")))
/systemd/src/test/
H A Dtest-namespace.c35 assert_se(startswith(a, A));
36 assert_se(startswith(b, B));
/systemd/src/backlight/
H A Dbacklight.c54 c = startswith(sysname, "card");
62 if (!startswith(c, "-LVDS-") &&
63 !startswith(c, "-Embedded DisplayPort-"))
/systemd/tools/
H A Dmake-directive-index.py220 if absolute_only and not (name.text and name.text.startswith('/')):
228 if not name.text.startswith('.'):
249 if name.text.startswith('('): # a cast, strip it
/systemd/src/delta/
H A Ddelta.c378 assert(!startswith(suffix, "/"));
411 if (!onlyprefix || startswith(o, onlyprefix)) {
426 if (!onlyprefix || startswith(o, onlyprefix))
471 suffix = startswith(arg, p);
/systemd/src/journal-remote/
H A Djournal-remote-parse.c281 timestamp = startswith(line, "__CURSOR=");
286 timestamp = startswith(line, "__REALTIME_TIMESTAMP=");
298 timestamp = startswith(line, "__MONOTONIC_TIMESTAMP=");
310 timestamp = startswith(line, "__");
/systemd/src/locale/
H A Dlocalectl.c429 if (startswith(l, "! model"))
431 else if (startswith(l, "! layout"))
433 else if (startswith(l, "! variant"))
435 else if (startswith(l, "! option"))
/systemd/src/login/
H A Dlogind-utmp.c68 if (!startswith(tty, "/dev/"))
/systemd/src/core/
H A Dmanager.c239 if (startswith(de->d_name, "ask."))
2091 p = startswith(s, "/org/freedesktop/systemd1/job/");
2350 if (startswith(l, "current-job-id=")) {
2358 } else if (startswith(l, "n-installed-jobs=")) {
2366 } else if (startswith(l, "n-failed-jobs=")) {
2374 } else if (startswith(l, "taint-usr=")) {
2383 } else if (startswith(l, "firmware-timestamp="))
2385 else if (startswith(l, "loader-timestamp="))
2387 else if (startswith(l, "kernel-timestamp="))
2389 else if (startswith(
[all...]

Completed in 5464 milliseconds

12345