Searched refs:strreplace (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/test/ |
D | test-replace-var.c | 23 TEST(strreplace) { in TEST() argument 26 assert_se(r = strreplace("XYZFFFFXYZFFFFXYZ", "XYZ", "ABC")); in TEST()
|
D | test-path.c | 70 assert_se(tmp = strreplace(UNIT(path)->id, ".path", ".service")); in service_for_path()
|
/systemd-251/src/xdg-autostart-generator/ |
D | xdg-autostart-service.c | 441 raw = strreplace(c, "%%", "%"); in xdg_autostart_format_exec_start() 444 percent = strreplace(raw, "%", "%%"); in xdg_autostart_format_exec_start()
|
/systemd-251/src/shared/ |
D | specifier.h | 99 return strreplace(string, "%", "%%"); in specifier_escape()
|
D | logs-show.c | 72 z = strreplace(strstrip(t), "\n", newline); in print_catalog()
|
/systemd-251/src/id128/ |
D | id128.c | 75 id = strreplace(name, "-", "_"); in show_one()
|
/systemd-251/src/basic/ |
D | string-util.h | 159 char *strreplace(const char *text, const char *old_string, const char *new_string);
|
D | string-util.c | 524 char *strreplace(const char *text, const char *old_string, const char *new_string) { in strreplace() function
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 190 commented_contents = strreplace(strstrip(contents), "\n", "\n# "); in create_edit_temp_file()
|
/systemd-251/src/creds/ |
D | creds.c | 511 indented = strreplace(base64_buf, "\n", " \\\n "); in verb_encrypt()
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 760 m = strreplace(message, "\n", "\n "); in print_info()
|
/systemd-251/src/core/ |
D | execute.c | 2808 sub_id = strreplace(path, "/", "_"); in load_cred_recurse_dir_cb()
|