Home
last modified time | relevance | path

Searched refs:cp_offset (Results 1 – 25 of 30) sorted by relevance

12

/external/v8/src/
Dregexp-macro-assembler-irregexp.cc108 int register_index, int cp_offset) { in WriteCurrentPositionToRegister() argument
112 Emit32(cp_offset); // Current position offset. in WriteCurrentPositionToRegister()
233 void RegExpMacroAssemblerIrregexp::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
237 ASSERT(cp_offset >= kMinCPOffset); in LoadCurrentCharacter()
238 ASSERT(cp_offset <= kMaxCPOffset); in LoadCurrentCharacter()
259 Emit(bytecode, cp_offset); in LoadCurrentCharacter()
387 int cp_offset, in CheckCharacters() argument
390 ASSERT(cp_offset >= kMinCPOffset); in CheckCharacters()
391 ASSERT(cp_offset + str.length() - 1 <= kMaxCPOffset); in CheckCharacters()
396 Emit(BC_LOAD_CURRENT_CHAR, cp_offset + i); in CheckCharacters()
[all …]
Dregexp-macro-assembler-tracer.cc152 int cp_offset) { in WriteCurrentPositionToRegister() argument
155 cp_offset); in WriteCurrentPositionToRegister()
156 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); in WriteCurrentPositionToRegister()
184 void RegExpMacroAssemblerTracer::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
190 cp_offset, in LoadCurrentCharacter()
194 assembler_->LoadCurrentCharacter(cp_offset, in LoadCurrentCharacter()
311 int cp_offset, in CheckCharacters() argument
320 cp_offset, LabelToInt(on_failure)); in CheckCharacters()
321 assembler_->CheckCharacters(str, cp_offset, on_failure, check_end_of_string); in CheckCharacters()
Dregexp-macro-assembler.h93 int cp_offset,
121 virtual void CheckPosition(int cp_offset, Label* on_outside_input) { in CheckPosition() argument
122 LoadCurrentCharacter(cp_offset, on_outside_input, true); in CheckPosition()
145 virtual void LoadCurrentCharacter(int cp_offset,
162 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset) = 0;
Dregexp-macro-assembler-tracer.h54 int cp_offset,
80 virtual void LoadCurrentCharacter(int cp_offset,
95 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
Dregexp-macro-assembler-irregexp.h70 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
75 virtual void LoadCurrentCharacter(int cp_offset,
101 int cp_offset,
Djsregexp.cc947 bool Trace::GetStoredPosition(int reg, int* cp_offset) { in GetStoredPosition() argument
948 ASSERT_EQ(0, *cp_offset); in GetStoredPosition()
954 *cp_offset = static_cast<DeferredCapture*>(action)->cp_offset(); in GetStoredPosition()
1063 store_position = pc->cp_offset(); in PerformDeferredActions()
1386 int cp_offset, in EmitSimpleCharacter() argument
1393 cp_offset, in EmitSimpleCharacter()
1409 int cp_offset, in EmitAtomNonLetter() argument
1429 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomNonLetter()
1481 int cp_offset,
1491 int cp_offset, in EmitAtomLetter() argument
[all …]
/external/v8/src/ia32/
Dregexp-macro-assembler-ia32.h62 int cp_offset,
83 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
92 virtual void LoadCurrentCharacter(int cp_offset,
107 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
148 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-ia32.cc208 int cp_offset, in CheckCharacters() argument
219 int byte_offset = cp_offset * char_size(); in CheckCharacters()
928 void RegExpMacroAssemblerIA32::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
932 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
933 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
935 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
937 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1005 int cp_offset) { in WriteCurrentPositionToRegister() argument
1006 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1009 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
[all …]
/external/v8/src/arm/
Dregexp-macro-assembler-arm.h63 int cp_offset,
84 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
94 virtual void LoadCurrentCharacter(int cp_offset,
109 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
156 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-arm.cc233 int cp_offset, in CheckCharacters() argument
244 CheckPosition(cp_offset + str.length() - 1, on_failure); in CheckCharacters()
248 if (cp_offset != 0) { in CheckCharacters()
249 int byte_offset = cp_offset * char_size(); in CheckCharacters()
866 void RegExpMacroAssemblerARM::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
870 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
871 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
873 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
875 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
977 int cp_offset) { in WriteCurrentPositionToRegister() argument
[all …]
/external/v8/src/mips/
Dregexp-macro-assembler-mips.h65 int cp_offset,
86 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
96 virtual void LoadCurrentCharacter(int cp_offset,
111 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
158 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-mips.cc232 int cp_offset, in CheckCharacters() argument
243 CheckPosition(cp_offset + str.length() - 1, on_failure); in CheckCharacters()
247 if (cp_offset != 0) { in CheckCharacters()
248 int byte_offset = cp_offset * char_size(); in CheckCharacters()
879 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
883 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
884 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter()
886 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
888 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
911 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local
[all …]
/external/v8/src/x64/
Dregexp-macro-assembler-x64.h59 int cp_offset,
80 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
90 virtual void LoadCurrentCharacter(int cp_offset,
105 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
195 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-x64.cc224 int cp_offset, in CheckCharacters() argument
235 int byte_offset = cp_offset * char_size(); in CheckCharacters()
1021 void RegExpMacroAssemblerX64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
1025 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
1026 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
1028 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
1030 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1100 int cp_offset) { in WriteCurrentPositionToRegister() argument
1101 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1104 __ lea(rax, Operand(rdi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
[all …]
/external/chromium_org/v8/src/
Dregexp-macro-assembler-tracer.cc154 int cp_offset) { in WriteCurrentPositionToRegister() argument
157 cp_offset); in WriteCurrentPositionToRegister()
158 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); in WriteCurrentPositionToRegister()
186 void RegExpMacroAssemblerTracer::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
192 cp_offset, in LoadCurrentCharacter()
196 assembler_->LoadCurrentCharacter(cp_offset, in LoadCurrentCharacter()
Dregexp-macro-assembler-irregexp.cc110 int register_index, int cp_offset) { in WriteCurrentPositionToRegister() argument
114 Emit32(cp_offset); // Current position offset. in WriteCurrentPositionToRegister()
236 void RegExpMacroAssemblerIrregexp::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
240 ASSERT(cp_offset >= kMinCPOffset); in LoadCurrentCharacter()
241 ASSERT(cp_offset <= kMaxCPOffset); in LoadCurrentCharacter()
262 Emit(bytecode, cp_offset); in LoadCurrentCharacter()
Dregexp-macro-assembler.h122 virtual void CheckPosition(int cp_offset, Label* on_outside_input) { in CheckPosition() argument
123 LoadCurrentCharacter(cp_offset, on_outside_input, true); in CheckPosition()
146 virtual void LoadCurrentCharacter(int cp_offset,
164 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset) = 0;
/external/chromium_org/v8/src/ia32/
Dregexp-macro-assembler-ia32.h80 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
89 virtual void LoadCurrentCharacter(int cp_offset,
104 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
150 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-ia32.cc968 void RegExpMacroAssemblerIA32::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
972 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
973 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
975 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
977 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1047 int cp_offset) { in WriteCurrentPositionToRegister() argument
1048 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1051 __ lea(eax, Operand(edi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
1205 void RegExpMacroAssemblerIA32::CheckPosition(int cp_offset, in CheckPosition() argument
1207 __ cmp(edi, -cp_offset * char_size()); in CheckPosition()
[all …]
/external/chromium_org/v8/src/arm/
Dregexp-macro-assembler-arm.h81 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
91 virtual void LoadCurrentCharacter(int cp_offset,
106 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
155 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-arm.cc916 void RegExpMacroAssemblerARM::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
920 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
921 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
923 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
925 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
999 int cp_offset) { in WriteCurrentPositionToRegister() argument
1000 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1003 __ add(r0, current_input_offset(), Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister()
1174 void RegExpMacroAssemblerARM::CheckPosition(int cp_offset, in CheckPosition() argument
1176 __ cmp(current_input_offset(), Operand(-cp_offset * char_size())); in CheckPosition()
[all …]
/external/chromium_org/v8/src/mips/
Dregexp-macro-assembler-mips.h83 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
93 virtual void LoadCurrentCharacter(int cp_offset,
108 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
157 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-mips.cc929 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
933 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
934 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter()
936 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
938 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
962 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local
966 if (is_int16(cp_offset)) { in PushBacktrack()
967 __ lw(a0, MemOperand(code_pointer(), cp_offset)); in PushBacktrack()
969 __ Addu(a0, code_pointer(), cp_offset); in PushBacktrack()
1032 int cp_offset) { in WriteCurrentPositionToRegister() argument
[all …]
/external/chromium_org/v8/src/x64/
Dregexp-macro-assembler-x64.h83 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
93 virtual void LoadCurrentCharacter(int cp_offset,
108 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
207 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-x64.cc1044 void RegExpMacroAssemblerX64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
1048 ASSERT(cp_offset >= -1); // ^ and \b can look behind one character. in LoadCurrentCharacter()
1049 ASSERT(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
1051 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
1053 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1124 int cp_offset) { in WriteCurrentPositionToRegister() argument
1125 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
1128 __ lea(rax, Operand(rdi, cp_offset * char_size())); in WriteCurrentPositionToRegister()
1294 void RegExpMacroAssemblerX64::CheckPosition(int cp_offset, in CheckPosition() argument
1296 __ cmpl(rdi, Immediate(-cp_offset * char_size())); in CheckPosition()
[all …]

12