Lines Matching refs:on_success
1496 RegExpNode* on_success) {
1498 new(on_success->zone()) ActionNode(SET_REGISTER, on_success);
1505 ActionNode* ActionNode::IncrementRegister(int reg, RegExpNode* on_success) {
1507 new(on_success->zone()) ActionNode(INCREMENT_REGISTER, on_success);
1515 RegExpNode* on_success) {
1517 new(on_success->zone()) ActionNode(STORE_POSITION, on_success);
1525 RegExpNode* on_success) {
1527 new(on_success->zone()) ActionNode(CLEAR_CAPTURES, on_success);
1536 RegExpNode* on_success) {
1538 new(on_success->zone()) ActionNode(BEGIN_SUBMATCH, on_success);
1549 RegExpNode* on_success) {
1551 new(on_success->zone()) ActionNode(POSITIVE_SUBMATCH_SUCCESS, on_success);
1563 RegExpNode* on_success) {
1565 new(on_success->zone()) ActionNode(EMPTY_MATCH_CHECK, on_success);
2294 return on_success()->EatsAtLeast(still_to_find,
2305 on_success()->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start);
2321 return on_success()->EatsAtLeast(still_to_find,
2331 on_success()->FillInBMInfo(isolate, offset, budget - 1, bm, not_at_start);
2341 return on_success()->EatsAtLeast(still_to_find,
2355 return answer + on_success()->EatsAtLeast(still_to_find - answer,
2689 on_success()-> GetQuickCheckDetails(details,
3027 RegExpNode* on_success,
3056 on_success->Emit(compiler, &new_trace);
3141 on_success()->Emit(compiler, &new_trace);
3153 return on_success()->GetQuickCheckDetails(details,
3179 on_success()->Emit(compiler, &at_start_trace);
3185 EmitHat(compiler, on_success(), trace);
3193 on_success()->Emit(compiler, trace);
3326 RegExpNode* on_success) {
3332 return new (zone) TextNode(elms, read_backward, on_success);
3339 RegExpNode* on_success) {
3349 return new (zone) TextNode(elms, read_backward, on_success);
3412 on_success()->Emit(compiler, &successor_trace);
3468 return ranges->length() == 0 ? on_success() : NULL;
3477 return ranges->at(0).IsEverything(max_char) ? on_success() : NULL;
3502 node = seq_node->on_success();
4294 on_success()->Emit(compiler, &new_trace);
4302 on_success()->Emit(compiler, &new_trace);
4310 on_success()->Emit(compiler, &new_trace);
4319 on_success()->Emit(compiler, &new_trace);
4330 on_success()->Emit(compiler, trace);
4346 on_success()->Emit(compiler, trace);
4362 on_success()->Emit(compiler, trace);
4377 on_success()->Emit(compiler, trace);
4384 on_success()->Emit(compiler, &new_trace);
4428 on_success()->Emit(compiler, trace);
4644 os_ << " n" << that << " -> n" << that->on_success() << ";\n";
4645 Visit(that->on_success());
4653 os_ << " n" << that << " -> n" << that->on_success() << ";\n";
4654 Visit(that->on_success());
4685 RegExpNode* successor = that->on_success();
4728 RegExpNode* successor = that->on_success();
4784 RegExpNode* on_success) {
4789 TextNode(elms, compiler->read_backward(), on_success);
4794 RegExpNode* on_success) {
4796 TextNode(elements(), compiler->read_backward(), on_success);
4949 RegExpNode* on_success, UnicodeRangeSplitter* splitter) {
4953 compiler->zone(), bmp, compiler->read_backward(), on_success)));
4958 RegExpNode* on_success,
4984 on_success)));
4992 compiler->read_backward(), on_success)));
5001 compiler->read_backward(), on_success)));
5010 compiler->read_backward(), on_success)));
5019 ZoneList<CharacterRange>* match, RegExpNode* on_success,
5023 zone, match, read_backward, on_success);
5036 ZoneList<CharacterRange>* lookahead, RegExpNode* on_success,
5041 RegExpLookaround::Builder lookaround(false, on_success, stack_register,
5051 RegExpNode* on_success,
5065 compiler, trail_surrogates, lead_surrogates, on_success, true);
5070 compiler, lead_surrogates, trail_surrogates, on_success, false);
5077 RegExpNode* on_success,
5091 compiler, trail_surrogates, lead_surrogates, on_success, true);
5096 compiler, lead_surrogates, trail_surrogates, on_success, false);
5102 RegExpNode* on_success) {
5112 return TextNode::CreateForCharacterRanges(zone, range, false, on_success);
5156 RegExpNode* on_success) {
5174 return new (zone) TextNode(fail, compiler->read_backward(), on_success);
5177 return UnanchoredAdvance(compiler, on_success);
5181 AddBmpCharacters(compiler, result, on_success, &splitter);
5182 AddNonBmpSurrogatePairs(compiler, result, on_success, &splitter);
5183 AddLoneLeadSurrogates(compiler, result, on_success, &splitter);
5184 AddLoneTrailSurrogates(compiler, result, on_success, &splitter);
5188 return new (zone) TextNode(this, compiler->read_backward(), on_success);
5420 RegExpNode* on_success) {
5428 return alternatives->at(0)->ToNode(compiler, on_success);
5438 on_success));
5446 RegExpNode* on_success) {
5452 on_success);
5499 RegExpNode* on_success,
5523 if (max == 0) return on_success; // This can happen due to recursion.
5543 0, new_max, is_greedy, body, compiler, on_success, true);
5558 RegExpNode* answer = on_success;
5564 alternation->AddAlternative(GuardedAlternative(on_success));
5566 alternation->AddAlternative(GuardedAlternative(on_success));
5615 GuardedAlternative rest_alt(on_success);
5636 RegExpNode* on_success) {
5642 return AssertionNode::AfterNewline(on_success);
5644 return AssertionNode::AtStart(on_success);
5646 return AssertionNode::AtBoundary(on_success);
5648 return AssertionNode::AtNonBoundary(on_success);
5650 return AssertionNode::AtEnd(on_success);
5669 on_success));
5678 GuardedAlternative end_alternative(AssertionNode::AtEnd(on_success));
5685 return on_success;
5690 RegExpNode* on_success) {
5694 compiler->read_backward(), on_success);
5699 RegExpNode* on_success) {
5700 return on_success;
5704 RegExpLookaround::Builder::Builder(bool is_positive, RegExpNode* on_success,
5710 on_success_(on_success),
5746 RegExpNode* on_success) {
5759 Builder builder(is_positive(), on_success, stack_pointer_register,
5769 RegExpNode* on_success) {
5770 return ToNode(body(), index(), compiler, on_success);
5777 RegExpNode* on_success) {
5782 RegExpNode* store_end = ActionNode::StorePosition(end_reg, true, on_success);
5789 RegExpNode* on_success) {
5791 RegExpNode* current = on_success;
6331 EnsureAnalyzed(that->on_success());
6339 RegExpNode* target = that->on_success();
6382 EnsureAnalyzed(that->on_success());
6387 EnsureAnalyzed(that->on_success());
6474 on_success()->FillInBMInfo(isolate, offset, budget - 1, bm,
6532 RegExpNode* target = that->on_success();
6589 RegExpNode* target = that->on_success();
6595 RegExpNode* on_success) {
6610 zone, lead_surrogates, true, on_success);
6618 optional_step_back->AddAlternative(GuardedAlternative(on_success));