Lines Matching defs:result
192 bool Parse(RegExpCompileData* result);
219 // stores the result in the output parameter and returns true. If
246 // Only use if the result of the parse is a single atom node.
399 base::uc32 result = c0;
406 result = unibrow::Utf16::CombineSurrogatePair(c0, c1);
411 return result;
512 RegExpTree* result = ParseDisjunction(CHECK_FAILED);
515 // If the result of parsing is a literal string atom, and it has the
517 if (result->IsAtom() && result->AsAtom()->length() == input_length()) {
520 return result;
568 // Build result of subexpression.
1408 bool result = ParseHexEscape(4, value);
1409 if (result && unicode() && unibrow::Utf16::IsLeadSurrogate(*value) &&
1425 return result;
1464 ZoneList<CharacterRange>* result, Zone* zone) {
1491 result->Add(
1505 ZoneList<CharacterRange>* result,
1512 result->Add(CharacterRange::Everything(), zone);
1515 result->Add(negate ? CharacterRange::Range(0x80, String::kMaxCodePoint)
1520 !negate, result, zone);
2028 bool RegExpParserImpl<CharT>::Parse(RegExpCompileData* result) {
2029 DCHECK_NOT_NULL(result);
2035 result->error = error_;
2036 result->error_pos = error_pos_;
2048 result->tree = tree;
2050 result->simple = tree->IsAtom() && simple() && capture_count == 0;
2051 result->contains_anchor = contains_anchor();
2052 result->capture_count = capture_count;
2053 result->named_captures = GetNamedCaptures();
2334 RegExpCompileData* result) {
2342 .Parse(result);
2347 .Parse(result);
2356 RegExpCompileData* result,
2360 .Parse(result);
2373 RegExpCompileData* result,
2375 return ParseRegExpFromHeapString(isolate, zone, input, flags, result);