Home | History | Annotate | Download | only in LD

Lines Matching defs:rule

26 // SectionRules::Rule
28 SectionRules::Rule::Rule(const std::string& pSubStr, LDSection* pSection)
48 RuleList::iterator rule, rEnd = m_RuleList.end();
49 for (rule = m_RuleList.begin(); rule != rEnd; ++rule) {
50 if (pName.size() < rule->substr.size())
52 if (!StringHash<ES>::may_include(rule->hash, hash))
55 if (0 == strncmp(pName.c_str(), rule->substr.c_str(), rule->substr.size()))
56 return rule;
58 return rule;
64 RuleList::const_iterator rule, rEnd = m_RuleList.end();
65 for (rule = m_RuleList.begin(); rule != rEnd; ++rule) {
66 if (pName.size() < rule->substr.size())
68 if (!StringHash<ES>::may_include(rule->hash, hash))
71 if (0 == strncmp(pName.c_str(), rule->substr.c_str(), rule->substr.size()))
72 return rule;
74 return rule;
107 Rule rule(it->from, NULL);
108 m_RuleList.push_back(rule);