Lines Matching refs:cp_offset
200 void RegExpMacroAssemblerPPC::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
204 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
971 void RegExpMacroAssemblerPPC::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
975 DCHECK(cp_offset < (1 << 30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
977 if (cp_offset >= 0) { in LoadCurrentCharacter()
978 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
980 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
983 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1057 int cp_offset) { in WriteCurrentPositionToRegister() argument
1058 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1061 __ mov(r0, Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister()
1172 void RegExpMacroAssemblerPPC::CheckPosition(int cp_offset, in CheckPosition() argument
1174 if (cp_offset >= 0) { in CheckPosition()
1175 __ Cmpi(current_input_offset(), Operand(-cp_offset * char_size()), r0); in CheckPosition()
1179 __ addi(r3, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition()
1268 void RegExpMacroAssemblerPPC::LoadCurrentCharacterUnchecked(int cp_offset, in LoadCurrentCharacterUnchecked() argument
1271 if (cp_offset != 0) { in LoadCurrentCharacterUnchecked()
1273 __ addi(r25, current_input_offset(), Operand(cp_offset * char_size())); in LoadCurrentCharacterUnchecked()