Searched refs:mangled (Results 1 – 13 of 13) sorted by relevance
/systemd-251/src/basic/ |
D | recovery-key.c | 22 _cleanup_(erase_and_freep) char *mangled = NULL; in normalize_recovery_key() 34 mangled = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); in normalize_recovery_key() 35 if (!mangled) in normalize_recovery_key() 61 mangled[j++] = modhex_alphabet[a]; in normalize_recovery_key() 62 mangled[j++] = modhex_alphabet[b]; in normalize_recovery_key() 65 mangled[j++] = '-'; in normalize_recovery_key() 68 mangled[RECOVERY_KEY_MODHEX_FORMATTED_LENGTH-1] = 0; in normalize_recovery_key() 70 *ret = TAKE_PTR(mangled); in normalize_recovery_key()
|
D | unit-name.c | 671 bool mangled = false; in do_escape_mangle() local 686 mangled = true; in do_escape_mangle() 689 mangled = true; in do_escape_mangle() 694 return mangled; in do_escape_mangle() 706 bool mangled, suggest_escape = true; in unit_name_mangle_with_suffix() local 753 mangled = do_escape_mangle(name, flags & UNIT_NAME_MANGLE_GLOB, s); in unit_name_mangle_with_suffix() 754 if (mangled) in unit_name_mangle_with_suffix()
|
D | user-util.c | 864 char *mangled; in mangle_gecos() local 870 mangled = strdup(d); in mangle_gecos() 871 if (!mangled) in mangle_gecos() 874 for (char *i = mangled; *i; i++) { in mangle_gecos() 891 return mangled; in mangle_gecos()
|
/systemd-251/src/systemctl/ |
D | systemctl-util.c | 236 _cleanup_strv_free_ char **mangled = NULL, **globs = NULL; in expand_unit_names() local 253 r = strv_consume(&mangled, t); in expand_unit_names() 269 n = strv_length(mangled); in expand_unit_names() 272 if (!GREEDY_REALLOC(mangled, n+2)) in expand_unit_names() 275 mangled[n] = strdup(unit_infos[i].id); in expand_unit_names() 276 if (!mangled[n]) in expand_unit_names() 279 mangled[++n] = NULL; in expand_unit_names() 286 *ret = TAKE_PTR(mangled); in expand_unit_names()
|
/systemd-251/src/shared/ |
D | user-record-nss.c | 74 _cleanup_free_ char *mangled = NULL; in nss_passwd_to_user_record() local 76 mangled = mangle_gecos(pwd->pw_gecos); in nss_passwd_to_user_record() 77 if (!mangled) in nss_passwd_to_user_record() 80 free_and_replace(hr->real_name, mangled); in nss_passwd_to_user_record()
|
D | format-table.c | 2665 _cleanup_free_ char *mangled = NULL; in table_to_json() local 2687 mangled = string_to_json_field_name(formatted); in table_to_json() 2688 if (!mangled) { in table_to_json() 2692 n = mangled; in table_to_json()
|
/systemd-251/src/analyze/ |
D | analyze.c | 475 _cleanup_free_ char *mangled = NULL; in parse_argv() local 477 r = unit_name_mangle(optarg, UNIT_NAME_MANGLE_WARN, &mangled); in parse_argv() 481 free_and_replace(arg_unit, mangled); in parse_argv()
|
D | analyze-security.c | 2865 _cleanup_free_ char *mangled = NULL, *instance = NULL; in analyze_security() local 2873 r = unit_name_mangle(*i, 0, &mangled); in analyze_security() 2877 if (!endswith(mangled, ".service")) in analyze_security() 2882 if (unit_name_is_valid(mangled, UNIT_NAME_TEMPLATE)) { in analyze_security() 2883 r = unit_name_replace_instance(mangled, "test-instance", &instance); in analyze_security() 2889 name = mangled; in analyze_security()
|
/systemd-251/test/fuzz/ |
D | meson.build | 34 # Also, backslashes get mangled, so skip test. See
|
/systemd-251/src/home/ |
D | user-record-util.c | 598 _cleanup_(erase_and_freep) char *mangled = NULL; in user_record_test_recovery_key() 606 r = normalize_recovery_key(*i, &mangled); in user_record_test_recovery_key() 612 p = mangled; in user_record_test_recovery_key()
|
D | homework.c | 1143 _cleanup_(erase_and_freep) char *mangled = NULL; in user_record_compile_effective_passwords() 1148 r = normalize_recovery_key(*j, &mangled); in user_record_compile_effective_passwords() 1154 p = mangled; in user_record_compile_effective_passwords()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 1002 _cleanup_free_ char *mangled = NULL; in parse_argv() local 1004 … r = unit_name_mangle_with_suffix(optarg, NULL, UNIT_NAME_MANGLE_WARN, ".slice", &mangled); in parse_argv() 1008 free_and_replace(arg_slice, mangled); in parse_argv()
|
/systemd-251/ |
D | NEWS | 5597 tree is automatically mangled and moved one level up.
|