/systemd-251/src/test/ |
D | test-string-util.c | 12 TEST(string_erase) { in TEST() function 43 TEST(free_and_strndup) { in TEST() function 90 TEST(ascii_strcasecmp_n) { in TEST() function 116 TEST(ascii_strcasecmp_nn) { in TEST() function 133 TEST(cellescape) { in TEST() function 214 TEST(streq_ptr) { in TEST() function 219 TEST(strstrip) { in TEST() function 226 TEST(strextend) { in TEST() function 237 TEST(strextend_with_separator) { in TEST() function 260 TEST(strrep) { in TEST() function [all …]
|
D | test-util.c | 20 TEST(LOG2ULL) { in TEST() function 31 TEST(CONST_LOG2ULL) { in TEST() function 42 TEST(NONCONST_LOG2ULL) { in TEST() function 53 TEST(log2u64) { in TEST() function 64 TEST(log2u) { in TEST() function 76 TEST(log2i) { in TEST() function 88 TEST(protect_errno) { in TEST() function 103 TEST(unprotect_errno) { in TEST() function 119 TEST(eqzero) { in TEST() function 131 TEST(raw_clone) { in TEST() function [all …]
|
D | test-parse-util.c | 15 TEST(parse_boolean) { in TEST() function 41 TEST(parse_pid) { in TEST() function 75 TEST(parse_mode) { in TEST() function 97 TEST(parse_size_iec) { in TEST() function 167 TEST(parse_size_si) { in TEST() function 237 TEST(parse_range) { in TEST() function 420 TEST(safe_atolli) { in TEST() function 471 TEST(safe_atou16) { in TEST() function 505 TEST(safe_atoi16) { in TEST() function 552 TEST(safe_atoux16) { in TEST() function [all …]
|
D | test-time-util.c | 11 TEST(parse_sec) { in TEST() function 73 TEST(parse_sec_fix_0) { in TEST() function 86 TEST(parse_sec_def_infinity) { in TEST() function 104 TEST(parse_time) { in TEST() function 129 TEST(parse_nsec) { in TEST() function 237 TEST(format_timespan) { in TEST() function 243 TEST(verify_timezone) { in TEST() function 252 TEST(timezone_is_valid) { in TEST() function 258 TEST(get_timezones) { in TEST() function 272 TEST(usec_add) { in TEST() function [all …]
|
D | test-percent-util.c | 7 TEST(parse_percent) { in TEST() function 27 TEST(parse_percent_unbounded) { in TEST() function 32 TEST(parse_permille) { in TEST() function 70 TEST(parse_permille_unbounded) { in TEST() function 86 TEST(parse_permyriad) { in TEST() function 131 TEST(parse_permyriad_unbounded) { in TEST() function 154 TEST(scale) { in TEST() function
|
D | test-utf8.c | 10 TEST(utf8_is_printable) { in TEST() function 20 TEST(utf8_n_is_valid) { in TEST() function 37 TEST(utf8_is_valid) { in TEST() function 43 TEST(ascii_is_valid) { in TEST() function 49 TEST(ascii_is_valid_n) { in TEST() function 69 TEST(utf8_to_ascii) { in TEST() function 84 TEST(utf8_encoded_valid_unichar) { in TEST() function 102 TEST(utf8_escape_invalid) { in TEST() function 118 TEST(utf8_escape_non_printable) { in TEST() function 146 TEST(utf8_escape_non_printable_full) { in TEST() function [all …]
|
D | test-strv.c | 10 TEST(str_in_set) { in TEST() function 17 TEST(strptr_in_set) { in TEST() function 29 TEST(startswith_set) { in TEST() function 97 TEST(strv_find) { in TEST() function 102 TEST(strv_find_prefix) { in TEST() function 110 TEST(strv_find_startswith) { in TEST() function 126 TEST(strv_join) { in TEST() function 160 TEST(strv_join_full) { in TEST() function 224 TEST(strv_unquote) { in TEST() function 253 TEST(invalid_unquote) { in TEST() function [all …]
|
D | test-hexdecoct.c | 12 TEST(hexchar) { in TEST() function 17 TEST(unhexchar) { in TEST() function 23 TEST(base32hexchar) { in TEST() function 30 TEST(unbase32hexchar) { in TEST() function 38 TEST(base64char) { in TEST() function 44 TEST(unbase64char) { in TEST() function 56 TEST(octchar) { in TEST() function 61 TEST(unoctchar) { in TEST() function 66 TEST(decchar) { in TEST() function 71 TEST(undecchar) { in TEST() function [all …]
|
D | test-path-util.c | 21 TEST(print_paths) { in TEST() function 26 TEST(path) { in TEST() function 66 TEST(path_simplify) { in TEST() function 126 TEST(path_compare) { in TEST() function 154 TEST(path_equal_root) { in TEST() function 196 TEST(find_executable_full) { in TEST() function 246 TEST(find_executable) { in TEST() function 306 TEST(find_executable_exec) { in TEST() function 315 TEST(prefixes) { in TEST() function 374 TEST(path_join) { in TEST() function [all …]
|
D | test-stat-util.c | 21 TEST(null_or_empty_path) { in TEST() function 29 TEST(null_or_empty_path_with_root) { in TEST() function 45 TEST(files_same) { in TEST() function 63 TEST(is_symlink) { in TEST() function 80 TEST(path_is_fs_type) { in TEST() function 93 TEST(path_is_temporary_fs) { in TEST() function 110 TEST(path_is_read_only_fs) { in TEST() function 127 TEST(fd_is_ns) { in TEST() function 152 TEST(dir_is_empty) { in TEST() function
|
D | test-env-util.c | 15 TEST(strv_env_delete) { in TEST() function 35 TEST(strv_env_get) { in TEST() function 43 TEST(strv_env_pairs_get) { in TEST() function 52 TEST(strv_env_unset) { in TEST() function 65 TEST(strv_env_merge) { in TEST() function 90 TEST(strv_env_replace_strdup) { in TEST() function 104 TEST(strv_env_replace_strdup_passthrough) { in TEST() function 123 TEST(strv_env_assign) { in TEST() function 137 TEST(env_strv_get_n) { in TEST() function 227 TEST(replace_env) { in TEST() function [all …]
|
D | test-user-util.c | 27 TEST(uid_to_name) { in TEST() function 47 TEST(gid_to_name) { in TEST() function 55 TEST(parse_uid) { in TEST() function 140 TEST(uid_ptr) { in TEST() function 148 TEST(valid_user_group_name_relaxed) { in TEST() function 187 TEST(valid_user_group_name) { in TEST() function 227 TEST(valid_user_group_name_or_numeric_relaxed) { in TEST() function 263 TEST(valid_user_group_name_or_numeric) { in TEST() function 299 TEST(valid_gecos) { in TEST() function 308 TEST(valid_home) { in TEST() function [all …]
|
D | test-seccomp.c | 49 TEST(parse_syscall_and_errno) { in TEST() function 107 TEST(seccomp_arch_to_string) { in TEST() function 119 TEST(architecture_table) { in TEST() function 152 TEST(syscall_filter_set_find) { in TEST() function 163 TEST(filter_sets) { in TEST() function 225 TEST(filter_sets_ordered) { in TEST() function 258 TEST(restrict_namespace) { in TEST() function 359 TEST(protect_sysctl) { in TEST() function 411 TEST(protect_syslog) { in TEST() function 451 TEST(restrict_address_families) { in TEST() function [all …]
|
D | test-set.c | 10 TEST(set_steal_first) { in TEST() function 37 TEST(set_free_with_destructor) { in TEST() function 55 TEST(set_free_with_hash_ops) { in TEST() function 71 TEST(set_put) { in TEST() function 93 TEST(set_put_strdup) { in TEST() function 104 TEST(set_put_strdupv) { in TEST() function 112 TEST(set_ensure_allocated) { in TEST() function 121 TEST(set_copy) { in TEST() function 151 TEST(set_ensure_put) { in TEST() function 163 TEST(set_ensure_consume) { in TEST() function [all …]
|
D | test-format-table.c | 12 TEST(issue_9549) { in TEST() function 36 TEST(multiline) { in TEST() function 148 TEST(strv) { in TEST() function 260 TEST(strv_wrapped) { in TEST() function 362 TEST(json) { in TEST() function 395 TEST(table) { in TEST() function
|
D | test-condition.c | 41 TEST(condition_test_path) { in TEST() function 130 TEST(condition_test_control_group_hierarchy) { in TEST() function 152 TEST(condition_test_control_group_controller) { in TEST() function 221 TEST(condition_test_ac_power) { in TEST() function 240 TEST(condition_test_host) { in TEST() function 276 TEST(condition_test_architecture) { in TEST() function 303 TEST(condition_test_kernel_command_line) { in TEST() function 321 TEST(condition_test_kernel_version) { in TEST() function 464 TEST(condition_test_cpufeature) { in TEST() function 484 TEST(condition_test_security) { in TEST() function [all …]
|
D | test-macro.c | 9 TEST(saturate_add) { in TEST() function 18 TEST(align_power2) { in TEST() function 60 TEST(max) { in TEST() function 142 TEST(container_of) { in TEST() function 162 TEST(div_round_up) { in TEST() function 195 TEST(ptr_to_int) { in TEST() function 204 TEST(in_set) { in TEST() function 214 TEST(foreach_pointer) { in TEST() function 293 TEST(align_to) { in TEST() function 332 TEST(flags) { in TEST() function [all …]
|
D | test-locale-util.c | 11 TEST(get_locales) { in TEST() function 25 TEST(locale_is_valid) { in TEST() function 38 TEST(locale_is_installed) { in TEST() function 58 TEST(keymaps) { in TEST() function 85 TEST(dump_special_glyphs) { in TEST() function
|
D | test-dns-domain.c | 35 TEST(dns_label_unescape) { in TEST() function 75 TEST(dns_name_to_wire_format) { in TEST() function 142 TEST(dns_label_unescape_suffix) { in TEST() function 179 TEST(dns_label_escape) { in TEST() function 199 TEST(dns_name_normalize) { in TEST() function 221 TEST(dns_name_equal) { in TEST() function 249 TEST(dns_name_between) { in TEST() function 274 TEST(dns_name_endswith) { in TEST() function 296 TEST(dns_name_startswith) { in TEST() function 311 TEST(dns_name_is_root) { in TEST() function [all …]
|
D | test-proc-cmdline.c | 24 TEST(proc_cmdline_parse) { in TEST() function 28 TEST(proc_cmdline_override) { in TEST() function 103 TEST(test_proc_cmdline_given) { in TEST() function 109 TEST(proc_cmdline_get_key) { in TEST() function 154 TEST(proc_cmdline_get_bool) { in TEST() function 176 TEST(proc_cmdline_get_bool_efi) { in TEST() function 198 TEST(proc_cmdline_get_key_many) { in TEST() function 221 TEST(proc_cmdline_key_streq) { in TEST() function 236 TEST(proc_cmdline_key_startswith) { in TEST() function
|
D | test-hashmap-plain.c | 13 TEST(hashmap_replace) { in TEST() function 51 TEST(hashmap_copy) { in TEST() function 86 TEST(hashmap_get_strv) { in TEST() function 123 TEST(hashmap_move_one) { in TEST() function 162 TEST(hashmap_move) { in TEST() function 204 TEST(hashmap_update) { in TEST() function 231 TEST(hashmap_put) { in TEST() function 252 TEST(hashmap_remove1) { in TEST() function 276 TEST(hashmap_remove2) { in TEST() function 307 TEST(hashmap_remove_value) { in TEST() function [all …]
|
D | test-unit-name.c | 41 TEST(unit_name_is_valid) { in TEST() function 97 TEST(unit_name_replace_instance) { in TEST() function 130 TEST(unit_name_is_hashed) { in TEST() function 143 TEST(unit_name_from_path) { in TEST() function 172 TEST(unit_name_from_path_instance) { in TEST() function 190 TEST(unit_name_to_path) { in TEST() function 219 TEST(unit_name_mangle) { in TEST() function 416 TEST(unit_instance_is_valid) { in TEST() function 429 TEST(unit_prefix_is_valid) { in TEST() function 443 TEST(unit_name_change_suffix) { in TEST() function [all …]
|
D | test-pretty-print.c | 14 TEST(terminal_urlify) { in TEST() function 26 TEST(cat_files) { in TEST() function 34 TEST(red_green_cross_check_mark) { in TEST() function 47 TEST(print_separator) { in TEST() function
|
D | test-env-file.c | 62 TEST(load_env_file_1) { in TEST() function 77 TEST(load_env_file_2) { in TEST() function 87 TEST(load_env_file_3) { in TEST() function 96 TEST(load_env_file_4) { in TEST() function 108 TEST(load_env_file_5) { in TEST() function 119 TEST(load_env_file_6) { in TEST() function 132 TEST(write_and_load_env_file) { in TEST() function
|
D | test-fdset.c | 13 TEST(fdset_new_fill) { in TEST() function 26 TEST(fdset_put_dup) { in TEST() function 45 TEST(fdset_cloexec) { in TEST() function 71 TEST(fdset_close_others) { in TEST() function 95 TEST(fdset_remove) { in TEST() function 115 TEST(fdset_iterate) { in TEST() function 142 TEST(fdset_isempty) { in TEST() function 160 TEST(fdset_steal_first) { in TEST() function 180 TEST(fdset_new_array) { in TEST() function
|