Lines Matching refs:cp_offset
1136 bool Trace::GetStoredPosition(int reg, int* cp_offset) { in GetStoredPosition() argument
1137 DCHECK_EQ(0, *cp_offset); in GetStoredPosition()
1143 *cp_offset = static_cast<DeferredCapture*>(action)->cp_offset(); in GetStoredPosition()
1256 store_position = pc->cp_offset(); in PerformDeferredActions()
1598 int cp_offset, in EmitSimpleCharacter() argument
1605 cp_offset, in EmitSimpleCharacter()
1621 int cp_offset, in EmitAtomNonLetter() argument
1642 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomNonLetter()
1692 int cp_offset,
1702 int cp_offset, in EmitAtomLetter() argument
1713 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomLetter()
2098 Label* on_failure, int cp_offset, bool check_offset, in EmitCharClass() argument
2128 macro_assembler->CheckPosition(cp_offset, on_failure); in EmitCharClass()
2140 macro_assembler->CheckPosition(cp_offset, on_failure); in EmitCharClass()
2150 macro_assembler->CheckPosition(cp_offset, on_failure); in EmitCharClass()
2156 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check_offset); in EmitCharClass()
2445 DCHECK(trace->cp_offset() == bounds_check_trace->cp_offset()); in EmitQuickCheck()
2450 assembler->LoadCurrentCharacter(trace->cp_offset(), in EmitQuickCheck()
3005 if (new_trace.cp_offset() == 0) { in EmitHat()
3012 assembler->LoadCurrentCharacter(new_trace.cp_offset() -1, in EmitHat()
3060 assembler->LoadCurrentCharacter(trace->cp_offset(), &before_non_word); in EmitBoundaryCheck()
3099 if (new_trace.cp_offset() == 0) { in BacktrackIfPrevious()
3106 assembler->LoadCurrentCharacter(new_trace.cp_offset() - 1, &dummy, false); in BacktrackIfPrevious()
3134 assembler->CheckPosition(trace->cp_offset(), &ok); in Emit()
3145 assembler->CheckNotAtStart(trace->cp_offset(), trace->backtrack()); in Emit()
3224 int cp_offset = trace->cp_offset() + elm.cp_offset() + backward_offset; in TextEmitPass() local
3229 if (DeterminedAlready(quick_check, elm.cp_offset() + j)) continue; in TextEmitPass()
3252 bool bounds_check = *checked_up_to < cp_offset + j || read_backward(); in TextEmitPass()
3255 cp_offset + j, bounds_check, preloaded); in TextEmitPass()
3256 if (bound_checked) UpdateBoundsCheck(cp_offset + j, checked_up_to); in TextEmitPass()
3263 if (DeterminedAlready(quick_check, elm.cp_offset())) continue; in TextEmitPass()
3265 bool bounds_check = *checked_up_to < cp_offset || read_backward(); in TextEmitPass()
3266 EmitCharClass(assembler, cc, one_byte, backtrack, cp_offset, in TextEmitPass()
3268 UpdateBoundsCheck(cp_offset, checked_up_to); in TextEmitPass()
3277 DCHECK(elm.cp_offset() >= 0); in Length()
3278 return elm.cp_offset() + elm.length(); in Length()
3303 if (trace->cp_offset() + Length() > RegExpMacroAssembler::kMaxCPOffset) { in Emit()
3314 int bound_checked_to = trace->cp_offset() - 1; in Emit()
3475 DCHECK(trace->cp_offset() == text_length); in Emit()
4200 macro_assembler->LoadCurrentCharacter(trace->cp_offset(), in EmitOutOfLineContinuation()
4276 if (know_dist && !has_minimum && stored_pos == trace->cp_offset()) { in Emit()
4280 } else if (know_dist && stored_pos < trace->cp_offset()) { in Emit()
5983 int cp_offset = 0; in CalculateOffsets() local
5986 elm.set_cp_offset(cp_offset); in CalculateOffsets()
5987 cp_offset += elm.length(); in CalculateOffsets()