Lines Matching refs:tools_utils
113 using abigail::tools_utils::maybe_get_symlink_target_file_path;
114 using abigail::tools_utils::file_exists;
115 using abigail::tools_utils::is_dir;
116 using abigail::tools_utils::emit_prefix;
117 using abigail::tools_utils::check_file;
118 using abigail::tools_utils::ensure_dir_path_created;
119 using abigail::tools_utils::guess_file_type;
120 using abigail::tools_utils::string_ends_with;
121 using abigail::tools_utils::dir_name;
122 using abigail::tools_utils::real_path;
123 using abigail::tools_utils::string_suffix;
124 using abigail::tools_utils::sorted_strings_common_prefix;
125 using abigail::tools_utils::file_type;
126 using abigail::tools_utils::make_path_absolute;
127 using abigail::tools_utils::base_name;
128 using abigail::tools_utils::get_rpm_arch;
129 using abigail::tools_utils::file_is_kernel_package;
130 using abigail::tools_utils::gen_suppr_spec_from_headers;
131 using abigail::tools_utils::get_default_system_suppression_file_path;
132 using abigail::tools_utils::get_default_user_suppression_file_path;
133 using abigail::tools_utils::get_vmlinux_path_from_kernel_dist;
134 using abigail::tools_utils::get_dsos_provided_by_rpm;
135 using abigail::tools_utils::build_corpus_group_from_kernel_dist_under;
136 using abigail::tools_utils::load_default_system_suppressions;
137 using abigail::tools_utils::load_default_user_suppressions;
138 using abigail::tools_utils::abidiff_status;
139 using abigail::tools_utils::create_best_elf_based_reader;
294 abigail::tools_utils::base_name(path, name); in elf_file()
355 abigail::tools_utils::file_type type_;
380 if (type_ == abigail::tools_utils::FILE_TYPE_DIR) in package()
407 abigail::tools_utils::base_name(path(), name); in base_name()
464 abigail::tools_utils::file_type
471 void type(abigail::tools_utils::file_type t) in type()
690 if (!abigail::tools_utils::ensure_parent_dir_created(abi_path)) in create_abi_file_path()
703 if (type() == abigail::tools_utils::FILE_TYPE_DIR) in erase_extraction_directory()
1107 case abigail::tools_utils::FILE_TYPE_RPM: in extract_package()
1123 case abigail::tools_utils::FILE_TYPE_DEB: in extract_package()
1140 case abigail::tools_utils::FILE_TYPE_DIR: in extract_package()
1145 case abigail::tools_utils::FILE_TYPE_TAR: in extract_package()
1326 return abigail::tools_utils::ABIDIFF_OK; in compare()
1434 return abigail::tools_utils::ABIDIFF_ERROR; in compare()
1533 return abigail::tools_utils::ABIDIFF_ERROR; in compare()
1556 abidiff_status s = abigail::tools_utils::ABIDIFF_OK; in compare()
1558 s |= abigail::tools_utils::ABIDIFF_ABI_CHANGE; in compare()
1560 s |= abigail::tools_utils::ABIDIFF_ABI_INCOMPATIBLE_CHANGE; in compare()
1641 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
1665 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
1686 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
1708 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
1726 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
1751 abidiff_status s = abigail::tools_utils::ABIDIFF_OK; in compare_to_self()
1753 s |= abigail::tools_utils::ABIDIFF_ABI_CHANGE; in compare_to_self()
1755 s |= abigail::tools_utils::ABIDIFF_ABI_INCOMPATIBLE_CHANGE; in compare_to_self()
1760 << (s == abigail::tools_utils::ABIDIFF_OK ? "SUCCEEDED" : "FAILED") in compare_to_self()
1796 if (devel_pkg->type() == abigail::tools_utils::FILE_TYPE_RPM in create_private_types_suppressions()
1797 ||devel_pkg->type() == abigail::tools_utils::FILE_TYPE_DEB) in create_private_types_suppressions()
1836 if (pkg.type() == abigail::tools_utils::FILE_TYPE_RPM) in maybe_create_public_dso_sonames_set()
1851 if (pkg.type() == abigail::tools_utils::FILE_TYPE_RPM in must_compare_public_dso_only()
1943 if (pkg.type() != abigail::tools_utils::FILE_TYPE_RPM) in maybe_handle_kabi_whitelist_pkg()
2063 : status(abigail::tools_utils::ABIDIFF_OK) in compare_task()
2068 status(abigail::tools_utils::ABIDIFF_OK) in compare_task()
2094 if ((status & abigail::tools_utils::ABIDIFF_ABI_CHANGE) in perform()
2114 if (status & abigail::tools_utils::ABIDIFF_ERROR) in perform()
2167 if (status == abigail::tools_utils::ABIDIFF_OK) in perform()
2169 else if ((status & abigail::tools_utils::ABIDIFF_ABI_CHANGE) in perform()
2184 if (status & abigail::tools_utils::ABIDIFF_ERROR) in perform()
2246 abigail::tools_utils::base_name(path, name); in maybe_update_package_content()
2252 if (guess_file_type(path) == abigail::tools_utils::FILE_TYPE_ELF) in maybe_update_package_content()
2657 status(abigail::tools_utils::ABIDIFF_OK) in comparison_done_notify()
2675 if (status != abigail::tools_utils::ABIDIFF_OK) in operator ()()
2679 if (status & abigail::tools_utils::ABIDIFF_ABI_CHANGE) in operator ()()
2729 abidiff_status status = abigail::tools_utils::ABIDIFF_OK; in compare_prepared_userspace_packages()
2787 status |= abigail::tools_utils::ABIDIFF_ABI_INCOMPATIBLE_CHANGE; in compare_prepared_userspace_packages()
2788 status |= abigail::tools_utils::ABIDIFF_ABI_CHANGE; in compare_prepared_userspace_packages()
2900 abidiff_status status = abigail::tools_utils::ABIDIFF_OK; in self_compare_prepared_userspace_package()
2942 return abigail::tools_utils::ABIDIFF_OK; in self_compare_prepared_userspace_package()
3013 abidiff_status status = abigail::tools_utils::ABIDIFF_OK; in compare_prepared_linux_kernel_packages()
3032 return abigail::tools_utils::ABIDIFF_ERROR; in compare_prepared_linux_kernel_packages()
3035 return abigail::tools_utils::ABIDIFF_ERROR; in compare_prepared_linux_kernel_packages()
3057 return abigail::tools_utils::ABIDIFF_ERROR; in compare_prepared_linux_kernel_packages()
3069 return abigail::tools_utils::ABIDIFF_ERROR; in compare_prepared_linux_kernel_packages()
3077 status |= abigail::tools_utils::ABIDIFF_ABI_CHANGE; in compare_prepared_linux_kernel_packages()
3079 status |= abigail::tools_utils::ABIDIFF_ABI_INCOMPATIBLE_CHANGE; in compare_prepared_linux_kernel_packages()
3081 if (status & abigail::tools_utils::ABIDIFF_ABI_CHANGE) in compare_prepared_linux_kernel_packages()
3118 abidiff_status status = abigail::tools_utils::ABIDIFF_OK; in compare_prepared_package()
3120 if (abigail::tools_utils::file_is_kernel_package(first_package.base_name(), in compare_prepared_package()
3152 abidiff_status status = abigail::tools_utils::ABIDIFF_OK; in self_compare_prepared_package()
3185 return abigail::tools_utils::ABIDIFF_ERROR; in compare()
3203 return abigail::tools_utils::ABIDIFF_ERROR; in compare_to_self()
3280 (abigail::tools_utils::make_path_absolute(argv[j]).get()); in parse_command_line()
3294 (abigail::tools_utils::make_path_absolute(argv[j]).get()); in parse_command_line()
3308 abigail::tools_utils::make_path_absolute(argv[j]).get(); in parse_command_line()
3322 abigail::tools_utils::make_path_absolute(argv[j]).get(); in parse_command_line()
3410 if (guess_file_type(argv[j]) == abigail::tools_utils::FILE_TYPE_RPM) in parse_command_line()
3476 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3477 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3485 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3486 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3496 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3497 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3504 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3505 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3511 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3512 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3518 << abigail::tools_utils::get_library_version_string() in main()
3538 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3539 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3558 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3559 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3566 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3567 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3623 case abigail::tools_utils::FILE_TYPE_RPM: in main()
3625 && second_package->type() != abigail::tools_utils::FILE_TYPE_RPM) in main()
3630 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3631 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3635 abigail::tools_utils::FILE_TYPE_RPM) in main()
3637 abigail::tools_utils::FILE_TYPE_RPM)) in main()
3640 abigail::tools_utils::FILE_TYPE_RPM) in main()
3642 abigail::tools_utils::FILE_TYPE_RPM)) in main()
3647 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3648 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3658 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3659 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3675 case abigail::tools_utils::FILE_TYPE_DEB: in main()
3677 && second_package->type() != abigail::tools_utils::FILE_TYPE_DEB) in main()
3682 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3683 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3687 case abigail::tools_utils::FILE_TYPE_DIR: in main()
3689 && second_package->type() != abigail::tools_utils::FILE_TYPE_DIR) in main()
3694 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3695 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3699 case abigail::tools_utils::FILE_TYPE_TAR: in main()
3701 && second_package->type() != abigail::tools_utils::FILE_TYPE_TAR) in main()
3706 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3707 | abigail::tools_utils::ABIDIFF_ERROR); in main()
3715 return (abigail::tools_utils::ABIDIFF_USAGE_ERROR in main()
3716 | abigail::tools_utils::ABIDIFF_ERROR); in main()