Lines Matching refs:string
28 using std::string;
37 bool file_exists(const string&);
38 bool is_regular_file(const string&);
39 bool is_dir(const string&);
40 bool dir_exists(const string&);
41 bool dir_is_empty(const string &);
42 bool decl_names_equal(const string&, const string&);
43 bool maybe_get_symlink_target_file_path(const string& file_path,
44 string& target_path);
45 bool base_name(string const& path,
46 string& file_name);
47 bool dir_name(string const &path,
48 string& path_dir_name,
50 void real_path(const string&path, string& realpath);
51 bool ensure_dir_path_created(const string&);
52 bool ensure_parent_dir_created(const string&);
53 ostream& emit_prefix(const string& prog_name, ostream& out);
54 bool check_file(const string& path, ostream& out, const string& prog_name = "");
55 bool check_dir(const string& path, ostream& out, const string& prog_name="");
56 bool string_ends_with(const string&, const string&);
57 bool string_begins_with(const string&, const string&);
58 bool string_is_ascii(const string&);
59 bool string_is_ascii_identifier(const string&);
60 bool split_string(const string&, const string&, vector<string>&);
61 bool string_suffix(const string&, const string&, string&);
62 bool sorted_strings_common_prefix(vector<string>&, string&);
63 string get_library_version_string();
64 string get_abixml_version_string();
65 bool execute_command_and_get_output(const string&, vector<string>&);
66 bool get_dsos_provided_by_rpm(const string& rpm_path,
67 set<string>& provided_dsos);
68 string trim_white_space(const string&);
69 string trim_leading_string(const string& from, const string& to_trim);
74 gen_suppr_spec_from_headers(const string& hdrs_root_dir);
77 gen_suppr_spec_from_headers(const string& hdrs_root_dir,
78 const vector<string>& hdr_files);
81 gen_suppr_spec_from_headers(const vector<string>& headers_root_dirs,
82 const vector<string>& header_files);
86 (const vector<string>& abi_whitelist_paths);
89 get_vmlinux_path_from_kernel_dist(const string& from,
90 string& vmlinux_path);
93 get_binary_paths_from_kernel_dist(const string& dist_root,
94 const string& debug_info_root_path,
95 string& vmlinux_path,
96 vector<string>& module_paths);
99 get_binary_paths_from_kernel_dist(const string& dist_root,
100 string& vmlinux_path,
101 vector<string>& module_paths);
103 string
106 string
116 find_file_under_dir(const string& root_dir,
117 const string& file_path_to_look_for,
118 string& result);
161 string
270 string value_as_string() const;
281 file_type guess_file_type(const string& file_path);
284 get_rpm_name(const string& str, string& name);
287 get_rpm_arch(const string& str, string& arch);
290 get_deb_name(const string& str, string& name);
293 file_is_kernel_package(const string& file_path,
297 file_is_kernel_debuginfo_package(const string& file_path,
307 build_corpus_group_from_kernel_dist_under(const string& root,
308 const string debug_info_root,
309 const string& vmlinux_path,
310 vector<string>& suppr_paths,
311 vector<string>& kabi_wl_paths,