Home
last modified time | relevance | path

Searched refs:max_match (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/regexp/
Dregexp-ast.h195 virtual int max_match() = 0;
220 int max_match() override { return max_match_; } in max_match() function
244 int max_match() override { return max_match_; } in max_match() function
272 int max_match() override { return 0; } in max_match() function
291 int max_match() override { return 1; } in max_match() function
327 int max_match() override { return data_.length(); } in max_match() function
346 int max_match() override { return length_; } in max_match() function
369 if (max > 0 && body->max_match() > kInfinity / max) { in RegExpQuantifier()
372 max_match_ = max * body->max_match(); in RegExpQuantifier()
384 int max_match() override { return max_match_; } in max_match() function
[all …]
Dregexp-ast.cc82 if (node->max_match() > 0) { in IsAnchoredAtStart()
97 if (node->max_match() > 0) { in IsAnchoredAtEnd()
303 max_match_ = first_alternative->max_match(); in RegExpDisjunction()
307 max_match_ = Max(max_match_, alternative->max_match()); in RegExpDisjunction()
330 int node_max_match = node->max_match(); in RegExpAlternative()
Dregexp-parser.cc1160 if (atom->max_match() == 0) { in AddQuantifierToAtom()
Djsregexp.cc6292 int max_length = data->tree->max_match(); in Compile()
/external/elfutils/libdw/
Ddwarf_getsrc_file.c51 size_t max_match = *nsrcs ?: ~0u; in dwarf_getsrc_file() local
138 if (cur_match < max_match) in dwarf_getsrc_file()
162 if (cur_match == max_match) in dwarf_getsrc_file()
/external/elfutils/libdwfl/
Ddwfl_module_getsrc_file.c68 size_t max_match = *nsrcs ?: ~0u; in dwfl_module_getsrc_file() local
137 if (cur_match < max_match) in dwfl_module_getsrc_file()
/external/v8/test/cctest/
Dtest-regexp.cc136 int max_match; member
150 int max_match = result.tree->max_match(); in CheckMinMaxMatch() local
151 MinMaxPair pair = { min_match, max_match }; in CheckMinMaxMatch()
161 CHECK_EQ(max, min_max.max_match); \