Lines Matching refs:string

16 #include <string>
29 using std::string;
38 bool file_exists(const string&);
39 bool is_regular_file(const string&);
40 bool file_has_dwarf_debug_info(const string& elf_file_path,
42 bool file_has_ctf_debug_info(const string& elf_file_path,
44 bool is_dir(const string&);
45 bool dir_exists(const string&);
46 bool dir_is_empty(const string &);
47 bool decl_names_equal(const string&, const string&);
48 bool maybe_get_symlink_target_file_path(const string& file_path,
49 string& target_path);
50 bool base_name(string const& path,
51 string& file_name);
52 bool dir_name(string const &path,
53 string& path_dir_name,
55 void real_path(const string&path, string& realpath);
56 bool ensure_dir_path_created(const string&);
57 bool ensure_parent_dir_created(const string&);
58 ostream& emit_prefix(const string& prog_name, ostream& out);
59 bool check_file(const string& path, ostream& out, const string& prog_name = "");
60 bool check_dir(const string& path, ostream& out, const string& prog_name="");
61 bool string_ends_with(const string&, const string&);
62 bool string_begins_with(const string&, const string&);
63 bool string_is_ascii(const string&);
64 bool string_is_ascii_identifier(const string&);
65 bool split_string(const string&, const string&, vector<string>&);
66 bool string_suffix(const string&, const string&, string&);
67 bool sorted_strings_common_prefix(vector<string>&, string&);
68 string get_library_version_string();
69 string get_abixml_version_string();
70 bool execute_command_and_get_output(const string&, vector<string>&);
71 bool get_dsos_provided_by_rpm(const string& rpm_path,
72 set<string>& provided_dsos);
73 string trim_white_space(const string&);
74 string trim_leading_string(const string& from, const string& to_trim);
79 gen_suppr_spec_from_headers(const string& hdrs_root_dir);
82 gen_suppr_spec_from_headers(const string& hdrs_root_dir,
83 const vector<string>& hdr_files);
86 gen_suppr_spec_from_headers(const vector<string>& headers_root_dirs,
87 const vector<string>& header_files);
91 (const vector<string>& abi_whitelist_paths);
94 get_vmlinux_path_from_kernel_dist(const string& from,
95 string& vmlinux_path);
98 get_binary_paths_from_kernel_dist(const string& dist_root,
99 const string& debug_info_root_path,
100 string& vmlinux_path,
101 vector<string>& module_paths);
104 get_binary_paths_from_kernel_dist(const string& dist_root,
105 string& vmlinux_path,
106 vector<string>& module_paths);
108 string
111 string
121 find_file_under_dir(const string& root_dir,
122 const string& file_path_to_look_for,
123 string& result);
166 string
275 string value_as_string() const;
286 file_type guess_file_type(const string& file_path);
289 get_rpm_name(const string& str, string& name);
292 get_rpm_arch(const string& str, string& arch);
295 get_deb_name(const string& str, string& name);
298 file_is_kernel_package(const string& file_path,
302 file_is_kernel_debuginfo_package(const string& file_path,
312 build_corpus_group_from_kernel_dist_under(const string& root,
313 const string debug_info_root,
314 const string& vmlinux_path,
315 vector<string>& suppr_paths,
316 vector<string>& kabi_wl_paths,
323 create_best_elf_based_reader(const string& elf_file_path,