Home | History | Annotate | Download | only in src

Lines Matching defs:at

324   // If we had a compilation error the last time this is saved at the
655 // if input string matches at current position
666 // at the point where they are needed by a recursive call to Emit(). If
680 // A choice node looks at the following character and eliminates some of
748 text->AddElement(elements()->at(i));
1213 // Now that we have unwound the stack we find at the top of the stack the
1561 CharacterRange& range = ranges->at(last_valid_range);
1582 ranges->at(0).IsEverything(max_char)) {
1601 CharacterRange& range = ranges->at(i);
1624 CharacterRange& range = ranges->at(last_valid_range);
1724 // If we know we are not at the start and we are asked "how many characters
1752 // We are not at start after this node so we set the last argument to 'true'.
1765 RegExpNode* node = alternatives_->at(1).node();
1777 RegExpNode* node = alternatives_->at(1).node();
1790 RegExpNode* node = alternatives_->at(i).node();
1945 TextElement elm = elms_->at(k);
1969 // a match at this character position.
1983 // whether we have a match at this character position. Otherwise
1994 // determine definitely whether we have a match at this character
2020 while (ranges->at(first_range).from() > char_mask) {
2028 CharacterRange range = ranges->at(first_range);
2044 CharacterRange range = ranges->at(i);
2175 alternatives_->at(0).node()->GetQuickCheckDetails(details,
2181 RegExpNode* node = alternatives_->at(i).node();
2230 // ok if we are at the start.
2233 // We already checked that we are not at the start of input so it must be
2326 // decided if we are at the start.
2329 // We already checked that we are not at the start of input so it must be
2342 // decided if we are at the start.
2345 // We already checked that we are not at the start of input so it must be
2457 // or obviate the need for further checks at some character positions.
2471 TextElement elm = elms_->at(i);
2638 TextElement elm = elms_->at(i);
2647 ranges->at(j).AddCaseEquivalents(ranges, is_ascii);
2655 TextElement elm = elms_->at(elms_->length() - 1);
2709 GreedyLoopTextLengthForAlternative(&(alternatives_->at(0)));
2784 AlternativeGeneration* at(int i) {
2879 GuardedAlternative alternative = alternatives_->at(i);
2883 ASSERT(!trace->mentions_reg(guards->at(j)->reg()));
2902 int text_length = GreedyLoopTextLengthForAlternative(&(alternatives_->at(0)));
2929 alternatives_->at(0).node()->Emit(compiler, &greedy_match_trace);
2950 GuardedAlternative alternative = alternatives_->at(i);
2951 AlternativeGeneration* alt_gen = alt_gens.at(i);
3012 GenerateGuard(macro_assembler, guards->at(j), &new_trace);
3023 // Otherwise try the second priority at an earlier position.
3028 // At this point we need to generate slow checks for the alternatives where
3032 AlternativeGeneration* alt_gen = alt_gens.at(i);
3042 alternatives_->at(i),
3045 alt_gens.at(i + 1)->expects_preload);
3070 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
3085 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
3313 choice()->alternatives()->at(i).node());
3413 GuardedAlternative alt = that->alternatives()->at(i);
3418 GuardedAlternative alt = that->alternatives()->at(i);
3428 TextElement elm = that->elements()->at(i);
3440 CharacterRange range = node->ranges()->at(j);
3639 CharacterRange range = ranges->at(0);
3647 range = ranges->at((i >> 1) + 1);
3666 CharacterRange range = ranges->at(i >> 1);
3728 GuardedAlternative alternative(alternatives->at(i)->ToNode(compiler,
4062 current = children->at(i)->ToNode(compiler, current);
4179 table.AddRange(base->at(i), CharacterRangeSplitter::kInBase);
4210 // expanding contiguous subranges (blocks) one at a time.
4258 int max = ranges->at(0).to();
4260 CharacterRange next_range = ranges->at(i);
4278 CharacterRange argument_range = range->at(0);
4326 argument_range = range->at(j);
4367 list->at(to + i) = list->at(from + i);
4371 list->at(to + i) = list->at(from + i);
4381 // by from value and non-overlapping and non-adjacent, using at most
4390 CharacterRange current = list->at(i);
4399 // Inserted range overlaps, or is adjacent to, ranges at positions
4400 // [start_pos..end_pos[. Ranges before start_pos or at or after end_pos are
4407 // Insert between existing ranges at position start_pos.
4411 list->at(start_pos) = insert;
4415 // Replace single existing range at position start_pos.
4416 CharacterRange to_replace = list->at(start_pos);
4419 list->at(start_pos) = CharacterRange(new_from, new_to);
4425 int new_from = Min(list->at(start_pos).from(), from);
4426 int new_to = Max(list->at(end_pos - 1).to(), to);
4430 list->at(start_pos) = CharacterRange(new_from, new_to);
4448 int max = character_ranges->at(0).to();
4451 CharacterRange current = character_ranges->at(i);
4461 // The ranges at index i and forward are not canonicalized. Make them so by
4471 character_ranges->at(read));
4480 // Utility function for CharacterRange::Merge. Adds a range at the end of
4485 ASSERT(set->length() == 0 || set->at(set->length() - 1).to() < range.from());
4488 CharacterRange lastRange = set->at(n - 1);
4490 set->at(n - 1) = CharacterRange(lastRange.from(), range.to());
4558 (i1 < n1 && first_set->at(i1).from() < second_set->at(i2).from())) {
4560 next_range = first_set->at(i1++);
4564 next_range = second_set->at(i2++);
4597 // Range included: |current| , possibly ending at same character.
4606 // If ranges end at same character, both ranges are consumed completely.
4626 if (range_count > 0 && ranges->at(0).from() == 0) {
4627 from = ranges->at(0).to();
4631 CharacterRange range = ranges->at(i);
4690 OutSet* successor = successors()->at(i);
4798 // Bail out if the last interval ended at 0xFFFF since otherwise
4859 TextElement& elm = elements()->at(i);
4895 RegExpNode* node = that->alternatives()->at(i).node();
4908 RegExpNode* node = that->alternatives()->at(i).node();
4989 GuardedAlternative alternative = alternatives()->at(i);
4992 Guard* guard = guards->at(0);
5029 GuardedAlternative successor = this->alternatives()->at(1);
5087 // at this point.
5100 TextElement text = elements()->at(0);
5119 if (ranges->at(0).from() == 0) new_length--;
5120 if (ranges->at(length - 1).to() == String::kMaxUtf16CodeUnit) {
5152 alternatives->at(i).node()->Accept(this);
5206 CharacterRange range = ranges->at(i);
5222 TextElement elm = that->elements()->at(0);
5236 AddRange(ranges->at(i));
5272 // Add a .*? at the beginning, outside the body capture, unless
5273 // this expression is anchored at the beginning.
5285 // at the start of input.