Home
last modified time | relevance | path

Searched refs:startswith (Results 1 – 25 of 183) sorted by relevance

12345678

/systemd-251/src/core/
Dmanager-serialize.c340 if ((val = startswith(l, "current-job-id="))) { in manager_deserialize()
348 } else if ((val = startswith(l, "n-installed-jobs="))) { in manager_deserialize()
356 } else if ((val = startswith(l, "n-failed-jobs="))) { in manager_deserialize()
364 } else if ((val = startswith(l, "taint-usr="))) { in manager_deserialize()
373 } else if ((val = startswith(l, "ready-sent="))) { in manager_deserialize()
382 } else if ((val = startswith(l, "taint-logged="))) { in manager_deserialize()
391 } else if ((val = startswith(l, "service-watchdogs="))) { in manager_deserialize()
400 } else if ((val = startswith(l, "honor-device-enumeration="))) { in manager_deserialize()
409 } else if ((val = startswith(l, "show-status-overridden="))) { in manager_deserialize()
418 } else if ((val = startswith(l, "log-level-override="))) { in manager_deserialize()
[all …]
Dfuzz-unit-file.c51 ll = startswith(l, UTF8_BYTE_ORDER_MARK) ?: l; in LLVMFuzzerTestOneInput()
54 if (HAS_FEATURE_MEMORY_SANITIZER && startswith(ll, "ListenNetlink")) { in LLVMFuzzerTestOneInput()
Dkmod-setup.c59 if (startswith(alias, "pci:v00001AF4d00001005")) in has_virtio_rng_recurse_dir_cb()
62 if (startswith(alias, "pci:v00001AF4d00001044")) in has_virtio_rng_recurse_dir_cb()
/systemd-251/src/libsystemd/sd-bus/
Dbus-match.c569 if (n == 4 && startswith(k, "type")) in bus_match_node_type_from_string()
571 if (n == 6 && startswith(k, "sender")) in bus_match_node_type_from_string()
573 if (n == 11 && startswith(k, "destination")) in bus_match_node_type_from_string()
575 if (n == 9 && startswith(k, "interface")) in bus_match_node_type_from_string()
577 if (n == 6 && startswith(k, "member")) in bus_match_node_type_from_string()
579 if (n == 4 && startswith(k, "path")) in bus_match_node_type_from_string()
581 if (n == 14 && startswith(k, "path_namespace")) in bus_match_node_type_from_string()
584 if (n == 4 && startswith(k, "arg")) { in bus_match_node_type_from_string()
594 if (n == 5 && startswith(k, "arg")) { in bus_match_node_type_from_string()
610 if (n == 8 && startswith(k, "arg") && startswith(k + 4, "path")) { in bus_match_node_type_from_string()
[all …]
Dbus-creds.c818 p = startswith(line, "PPid:"); in bus_creds_add_more()
837 p = startswith(line, "Uid:"); in bus_creds_add_more()
860 p = startswith(line, "Gid:"); in bus_creds_add_more()
883 p = startswith(line, "Groups:"); in bus_creds_add_more()
909 p = startswith(line, "CapEff:"); in bus_creds_add_more()
921 p = startswith(line, "CapPrm:"); in bus_creds_add_more()
933 p = startswith(line, "CapInh:"); in bus_creds_add_more()
945 p = startswith(line, "CapBnd:"); in bus_creds_add_more()
/systemd-251/src/cryptsetup/
Dcryptsetup.c121 if (startswith(option, "keyfile-timeout=")) in parse_one_option()
124 if ((val = startswith(option, "cipher="))) { in parse_one_option()
129 } else if ((val = startswith(option, "size="))) { in parse_one_option()
144 } else if ((val = startswith(option, "sector-size="))) { in parse_one_option()
162 } else if ((val = startswith(option, "key-slot=")) || in parse_one_option()
163 (val = startswith(option, "keyslot="))) { in parse_one_option()
172 } else if ((val = startswith(option, "tcrypt-keyfile="))) { in parse_one_option()
181 } else if ((val = startswith(option, "keyfile-size="))) { in parse_one_option()
189 } else if ((val = startswith(option, "keyfile-offset="))) { in parse_one_option()
197 } else if ((val = startswith(option, "keyfile-erase="))) { in parse_one_option()
[all …]
/systemd-251/src/integritysetup/
Dintegrity-util.c37 } else if ((val = startswith(word, "journal-watermark="))) { in parse_integrity_options()
43 } else if ((val = startswith(word, "journal-commit-time="))) { in parse_integrity_options()
50 } else if ((val = startswith(word, "data-device="))) { in parse_integrity_options()
56 } else if ((val = startswith(word, "integrity-algorithm="))) { in parse_integrity_options()
/systemd-251/src/shared/
Dpsi-util.c67 if ((v = startswith(w, "avg10="))) { in read_resource_pressure()
73 } else if ((v = startswith(w, "avg60="))) { in read_resource_pressure()
79 } else if ((v = startswith(w, "avg300="))) { in read_resource_pressure()
85 } else if ((v = startswith(w, "total="))) { in read_resource_pressure()
Dfstab-util.c125 x = startswith(*s, name); in fstab_filter_options()
275 if (startswith(p, "LABEL=")) in fstab_node_to_udev_node()
278 if (startswith(p, "UUID=")) in fstab_node_to_udev_node()
281 if (startswith(p, "PARTUUID=")) in fstab_node_to_udev_node()
284 if (startswith(p, "PARTLABEL=")) in fstab_node_to_udev_node()
Dgenerate-syscall-list.py11 if line.startswith('s390_') and not s390:
13 if line.startswith('arm_') and not arm:
Djournal-importer.c220 value = startswith(line, "__CURSOR="); in process_special_field()
225 value = startswith(line, "__REALTIME_TIMESTAMP="); in process_special_field()
242 value = startswith(line, "__MONOTONIC_TIMESTAMP="); in process_special_field()
260 value = startswith(line, "_BOOT_ID="); in process_special_field()
271 value = startswith(line, "__"); in process_special_field()
Dcondition.c134 f = startswith(word, c->parameter); in condition_test_kernel_command_line()
174 e = startswith(*s, prefix[i]); in parse_order()
564 } else if ((dtc = startswith(c->parameter, "device-tree-compatible("))) { in condition_test_firmware()
693 p = startswith(line, "CapBnd:"); in condition_test_capability()
833 f = startswith(*i, c->parameter); in condition_test_environment()
1061 if (startswith(timespan, "10sec")) in condition_test_psi()
1063 else if (startswith(timespan, "1min")) in condition_test_psi()
1065 else if (startswith(timespan, "5min")) in condition_test_psi()
/systemd-251/tools/
Danalyze-dump-sort.py35 if line.startswith('->'):
39 elif line.startswith('\t'):
42 if same and same[0].startswith(header):
Dmake-directive-index.py31 if text.startswith('-'):
56 if absolute_only and not (name.text and name.text.startswith('/')):
64 if not name.text.startswith('.'):
84 if name.text.startswith('('): # a cast, strip it
Dcatalog-report.py39 if k.startswith('SD_MESSAGE')}
51 if k.startswith('CODE_') or k in {'MESSAGE_ID', 'MESSAGE'}:
/systemd-251/src/journal/
Djournald-native.c47 startswith(p, "PRIORITY=") && in server_process_entry_meta()
52 startswith(p, "SYSLOG_FACILITY=") && in server_process_entry_meta()
57 startswith(p, "SYSLOG_FACILITY=") && in server_process_entry_meta()
63 startswith(p, "SYSLOG_IDENTIFIER=")) { in server_process_entry_meta()
73 startswith(p, "MESSAGE=")) { in server_process_entry_meta()
84 startswith(p, "OBJECT_PID=") && in server_process_entry_meta()
/systemd-251/src/veritysetup/
Dveritysetup.c46 if (path_is_absolute(option) || startswith(option, "base64:")) { in save_roothashsig_option()
107 else if ((val = startswith(word, "root-hash-signature="))) { in parse_options()
192 if ((value = startswith(arg_root_hash_signature, "base64:"))) { in run()
/systemd-251/src/basic/
Dsignal-util.c187 if (startswith(s, "SIG")) in signal_from_string()
197 p = startswith(s, "RTMIN"); in signal_from_string()
216 p = startswith(s, "RTMAX"); in signal_from_string()
Dmountpoint-util.c125 p = startswith(fdinfo, "mnt_id:"); in fd_fdinfo_mnt_id()
365 x = startswith(fstype, "fuse."); in fstype_is_network()
401 x = startswith(fstype, "fuse."); in fstype_is_blockdev_backed()
478 if (startswith(e + 3, "devtmpfs")) in dev_is_devtmpfs()
Dfileio.c848 if (!startswith(line, "#!")) in executable_is_script()
966 if ((p = startswith(mode, "r+"))) in fopen_mode_to_flags()
968 else if ((p = startswith(mode, "r"))) in fopen_mode_to_flags()
970 else if ((p = startswith(mode, "w+"))) in fopen_mode_to_flags()
972 else if ((p = startswith(mode, "w"))) in fopen_mode_to_flags()
974 else if ((p = startswith(mode, "a+"))) in fopen_mode_to_flags()
976 else if ((p = startswith(mode, "a"))) in fopen_mode_to_flags()
/systemd-251/src/test/
Dtest-serialize.c87 assert_se(startswith(line2, "usec3=")); in TEST()
125 const char *t = startswith(line, "strv3="); in TEST()
182 assert_se(startswith(l, "env=")); in TEST()
Dtest-tmpfile-util.c21 assert_se(suffix = startswith(s, expect)); in test_tempfn_random_one()
64 assert_se(suffix = startswith(s, expect)); in test_tempfn_xxxxxx_one()
/systemd-251/src/locale/
Dlocalectl.c311 if (startswith(l, "! model")) in list_x11_keymaps()
313 else if (startswith(l, "! layout")) in list_x11_keymaps()
315 else if (startswith(l, "! variant")) in list_x11_keymaps()
317 else if (startswith(l, "! option")) in list_x11_keymaps()
/systemd-251/
D.ycm_extra_conf.py174 if not flag.startswith("/"):
182 if flag.startswith(path_flag):
/systemd-251/src/analyze/
Danalyze-condition.c23 p = startswith(line, name); in parse_condition()
28 p = startswith(line, name); in parse_condition()

12345678