Lines Matching refs:cp_offset
187 void RegExpMacroAssemblerARM::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
191 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
926 void RegExpMacroAssemblerARM::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
930 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
932 if (cp_offset >= 0) { in LoadCurrentCharacter()
933 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
935 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
938 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1012 int cp_offset) { in WriteCurrentPositionToRegister() argument
1013 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1016 __ add(r0, current_input_offset(), Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister()
1108 void RegExpMacroAssemblerARM::CheckPosition(int cp_offset, in CheckPosition() argument
1110 if (cp_offset >= 0) { in CheckPosition()
1111 __ cmp(current_input_offset(), Operand(-cp_offset * char_size())); in CheckPosition()
1115 __ add(r0, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition()
1198 void RegExpMacroAssemblerARM::LoadCurrentCharacterUnchecked(int cp_offset, in LoadCurrentCharacterUnchecked() argument
1201 if (cp_offset != 0) { in LoadCurrentCharacterUnchecked()
1203 __ add(r4, current_input_offset(), Operand(cp_offset * char_size())); in LoadCurrentCharacterUnchecked()