Searched refs:delete_trailing_chars (Results 1 – 14 of 14) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 476 TEST(delete_trailing_chars) { in TEST() argument 482 s = delete_trailing_chars(input1, WHITESPACE); in TEST() 486 s = delete_trailing_chars(input2, "kt"); in TEST() 490 s = delete_trailing_chars(input3, WHITESPACE); in TEST() 494 s = delete_trailing_chars(input3, "fe"); in TEST() 505 assert_se(streq(delete_trailing_chars(s1, "_"), "foobar//")); in TEST() 506 assert_se(streq(delete_trailing_chars(s1, "/"), "foobar")); in TEST() 507 assert_se(streq(delete_trailing_chars(s2, "/"), "foobar")); in TEST() 508 assert_se(streq(delete_trailing_chars(s3, "/"), "foobar")); in TEST() 509 assert_se(streq(delete_trailing_chars(s4, "/"), "")); in TEST()
|
/systemd-251/src/basic/ |
D | sysctl-util.c | 115 delete_trailing_chars(*ret, NEWLINE); in sysctl_read()
|
D | string-util.h | 106 char *delete_trailing_chars(char *s, const char *bad);
|
D | string-util.c | 126 return delete_trailing_chars(skip_leading_chars(s, WHITESPACE), WHITESPACE); in strstrip() 152 char *delete_trailing_chars(char *s, const char *bad) { in delete_trailing_chars() function
|
D | chase-symlinks.c | 164 delete_trailing_chars(root, "/"); in chase_symlinks()
|
D | process-util.c | 240 delete_trailing_chars(t, WHITESPACE); in get_process_cmdline() 1474 delete_trailing_chars(t, WHITESPACE); in get_oom_score_adjust()
|
D | unit-name.c | 409 delete_trailing_chars(p, "/"); in unit_name_path_escape()
|
/systemd-251/src/shared/ |
D | pretty-print.c | 242 delete_trailing_chars(n, "/"); in guess_type()
|
D | watchdog.c | 75 delete_trailing_chars(*ret_gov, WHITESPACE); in get_pretimeout_governor()
|
D | bootspec.c | 523 delete_trailing_chars(tmp.options[0], WHITESPACE); in boot_entry_load_unified()
|
D | format-table.c | 2325 delete_trailing_chars(aligned, NULL); in table_print()
|
/systemd-251/src/udev/ |
D | udev-event.c | 372 delete_trailing_chars(vbuf, NULL); in udev_event_subst_format()
|
D | udev-rules.c | 1421 delete_trailing_chars(vbuf, NULL); in token_match_attr() 1743 delete_trailing_chars(result, "\n"); in udev_rule_apply_token_to_event()
|
/systemd-251/src/core/ |
D | cgroup.c | 3373 delete_trailing_chars(m->cgroup_root, "/"); in manager_setup_cgroup()
|