Lines Matching +defs:match +defs:string

29 #include <string>
63 const std::string&
98 increment_offset(std::string section_name, uint64_t amount,
169 std::string name_;
199 bool match = true;
206 match = false;
211 match = false;
220 match = false;
225 match = false;
232 return match;
287 output_section_init(const std::string& name, Output_section*,
376 Orphan_section_placement::output_section_init(const std::string& name,
602 // this section is constrained, and the input sections do not match,
810 uint64_t*, uint64_t*, Output_section**, std::string*,
819 // Return a fill string that is LENGTH bytes long, filling it with
821 std::string
822 get_fill_string(const std::string* fill, section_size_type length) const;
825 std::string
826 Output_section_element::get_fill_string(const std::string* fill,
829 std::string this_fill;
869 Output_section**, std::string*, Input_section_list*)
908 Output_section**, std::string*, Input_section_list*);
934 std::string* fill,
951 std::string this_fill = this->get_fill_string(fill, length);
1102 std::string*, Input_section_list*);
1128 std::string*,
1185 std::string* fill, Input_section_list*)
1229 // See whether we match FILE_NAME and SECTION_NAME as an input
1238 Output_section**, std::string* fill,
1249 std::string pattern;
1265 typedef std::vector<std::pair<std::string, bool> > Filename_exclusions;
1270 match(const char* string, const char* pattern, bool is_wildcard_pattern)
1273 ? fnmatch(pattern, string, 0) == 0
1274 : strcmp(string, pattern) == 0);
1277 // See if we match a file name.
1281 // The file name pattern. If this is the empty string, we match all
1283 std::string filename_pattern_;
1304 // parsing is complete. We make sure they are in std::string objects.
1319 // it into the empty string.
1350 // See whether we match FILE_NAME.
1357 // If we were called with no filename, we refuse to match a
1362 if (!match(file_name, this->filename_pattern_.c_str(),
1376 if (match(file_name, p->first.c_str(), p->second))
1384 // See whether we match FILE_NAME and SECTION_NAME.
1393 // If there are no section name patterns, then we match.
1397 // See whether we match the section name patterns.
1403 if (match(section_name, p->pattern.c_str(), p->pattern_is_wildcard))
1407 // We didn't match any section names, so we didn't match.
1437 const std::string&
1443 set_section_name(const std::string name)
1470 std::string section_name_;
1524 // match this spec, sort them as specified, and add them to the output
1536 std::string* fill,
1539 // We build a list of sections which match each
1598 if (match(isi.section_name().c_str(), isp.pattern.c_str(),
1660 std::string this_fill = this->get_fill_string(fill, length);
1867 // this section is constrained, and the input sections do not match,
1917 const std::string&
1928 std::string name_;
2146 // We found a match for NAME, which means that it should go
2425 std::string fill;
2518 // this section is constrained, and the input sections do not match,
2927 const std::string&
3000 std::string name_;
4023 typedef std::map<std::string, Output_segment*> Name_to_segment;