Lines Matching refs:cp_offset
167 void RegExpMacroAssemblerX87::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
169 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
969 void RegExpMacroAssemblerX87::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
973 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
975 if (cp_offset >= 0) { in LoadCurrentCharacter()
976 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
978 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
981 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1051 int cp_offset) { in WriteCurrentPositionToRegister() argument
1052 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1055 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
1130 void RegExpMacroAssemblerX87::CheckPosition(int cp_offset, in CheckPosition() argument
1132 if (cp_offset >= 0) { in CheckPosition()
1133 __ cmp(edi, -cp_offset * char_size()); in CheckPosition()
1136 __ lea(eax, Operand(edi, cp_offset * char_size())); in CheckPosition()
1231 void RegExpMacroAssemblerX87::LoadCurrentCharacterUnchecked(int cp_offset, in LoadCurrentCharacterUnchecked() argument
1235 __ mov(current_character(), Operand(esi, edi, times_1, cp_offset)); in LoadCurrentCharacterUnchecked()
1237 __ movzx_w(current_character(), Operand(esi, edi, times_1, cp_offset)); in LoadCurrentCharacterUnchecked()
1240 __ movzx_b(current_character(), Operand(esi, edi, times_1, cp_offset)); in LoadCurrentCharacterUnchecked()
1246 Operand(esi, edi, times_1, cp_offset * sizeof(uc16))); in LoadCurrentCharacterUnchecked()
1250 Operand(esi, edi, times_1, cp_offset * sizeof(uc16))); in LoadCurrentCharacterUnchecked()