Searched refs:first_word (Results 1 – 15 of 15) sorted by relevance
/systemd-251/src/shared/ |
D | uid-alloc-range.c | 60 if ((t = first_word(line, "SYS_UID_MIN"))) in read_login_defs() 62 else if ((t = first_word(line, "SYS_UID_MAX"))) in read_login_defs() 64 else if ((t = first_word(line, "SYS_GID_MIN"))) in read_login_defs() 66 else if ((t = first_word(line, "SYS_GID_MAX"))) in read_login_defs()
|
D | psi-util.c | 51 w = first_word(l, t); in read_resource_pressure()
|
D | efi-loader.c | 163 } else if (first_word(info, "systemd-boot")) { in efi_loader_get_features()
|
D | install.c | 3184 parameter = first_word(l, "enable"); in read_presets() 3203 parameter = first_word(l, "disable"); in read_presets()
|
/systemd-251/src/test/ |
D | test-string-util.c | 551 TEST(first_word) { in TEST() argument 552 assert_se(first_word("Hello", "")); in TEST() 553 assert_se(first_word("Hello", "Hello")); in TEST() 554 assert_se(first_word("Hello world", "Hello")); in TEST() 555 assert_se(first_word("Hello\tworld", "Hello")); in TEST() 556 assert_se(first_word("Hello\nworld", "Hello")); in TEST() 557 assert_se(first_word("Hello\rworld", "Hello")); in TEST() 558 assert_se(first_word("Hello ", "Hello")); in TEST() 560 assert_se(!first_word("Hello", "Hellooo")); in TEST() 561 assert_se(!first_word("Hello", "xxxxx")); in TEST() [all …]
|
/systemd-251/src/resolve/ |
D | resolvconf-compat.c | 242 a = first_word(l, "nameserver"); in resolvconf_parse_argv() 248 a = first_word(l, "domain"); in resolvconf_parse_argv() 250 a = first_word(l, "search"); in resolvconf_parse_argv()
|
D | resolved-resolv-conf.c | 140 a = first_word(l, "nameserver"); in manager_read_resolv_conf() 149 a = first_word(l, "domain"); in manager_read_resolv_conf() 151 a = first_word(l, "search"); in manager_read_resolv_conf()
|
/systemd-251/src/basic/ |
D | procfs-util.c | 145 p = first_word(first_line, "cpu"); in procfs_cpu_get_usage() 241 p = first_word(line, "MemTotal:"); in procfs_memory_get() 245 p = first_word(line, "MemAvailable:"); in procfs_memory_get()
|
D | string-util.h | 82 char *first_word(const char *s, const char *word) _pure_;
|
D | string-util.c | 23 char* first_word(const char *s, const char *word) { in first_word() function
|
D | cgroup-util.c | 1843 w = first_word(p, keys[i]); in cg_get_keyed_attribute_full()
|
/systemd-251/src/shutdown/ |
D | shutdown.c | 206 …if (!first_word(line, "NFS_Unstable:") && !first_word(line, "Writeback:") && !first_word(line, "Di… in sync_making_progress()
|
/systemd-251/src/locale/ |
D | keymap-util.c | 243 if (in_section && first_word(l, "Option")) { in x11_read_data() 266 } else if (!in_section && first_word(l, "Section")) { in x11_read_data() 276 } else if (in_section && first_word(l, "EndSection")) in x11_read_data()
|
/systemd-251/src/cgtop/ |
D | cgtop.c | 318 if (first_word(l, "Read")) { in process() 321 } else if (first_word(l, "Write")) { in process()
|
/systemd-251/src/network/ |
D | networkd-dhcp-server.c | 350 a = first_word(l, "nameserver"); in dhcp4_server_set_dns_from_resolve_conf()
|