/external/v8/src/regexp/ |
D | regexp-macro-assembler-tracer.cc | 137 int cp_offset) { in WriteCurrentPositionToRegister() argument 140 cp_offset); in WriteCurrentPositionToRegister() 141 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); in WriteCurrentPositionToRegister() 169 void RegExpMacroAssemblerTracer::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 175 cp_offset, in LoadCurrentCharacter() 179 assembler_->LoadCurrentCharacter(cp_offset, in LoadCurrentCharacter() 245 void RegExpMacroAssemblerTracer::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 247 PrintF(" CheckNotAtStart(cp_offset=%d, label[%08x]);\n", cp_offset, in CheckNotAtStart() 249 assembler_->CheckNotAtStart(cp_offset, on_not_at_start); in CheckNotAtStart() 373 void RegExpMacroAssemblerTracer::CheckPosition(int cp_offset, in CheckPosition() argument [all …]
|
D | regexp-macro-assembler-irregexp.cc | 88 int register_index, int cp_offset) { in WriteCurrentPositionToRegister() argument 92 Emit32(cp_offset); // Current position offset. in WriteCurrentPositionToRegister() 214 void RegExpMacroAssemblerIrregexp::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 218 DCHECK_LE(kMinCPOffset, cp_offset); in LoadCurrentCharacter() 219 DCHECK_GE(kMaxCPOffset, cp_offset); in LoadCurrentCharacter() 240 Emit(bytecode, cp_offset); in LoadCurrentCharacter() 276 void RegExpMacroAssemblerIrregexp::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 278 Emit(BC_CHECK_NOT_AT_START, cp_offset); in CheckNotAtStart()
|
D | regexp-macro-assembler-tracer.h | 33 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 54 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 64 virtual void LoadCurrentCharacter(int cp_offset, 79 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
|
D | regexp-macro-assembler.h | 83 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start) = 0; 116 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 135 virtual void LoadCurrentCharacter(int cp_offset, 153 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset) = 0; 164 void CheckNotInSurrogatePair(int cp_offset, Label* on_failure);
|
D | regexp-macro-assembler.cc | 92 void RegExpMacroAssembler::CheckNotInSurrogatePair(int cp_offset, in CheckNotInSurrogatePair() argument 96 LoadCurrentCharacter(cp_offset, &ok); in CheckNotInSurrogatePair() 99 LoadCurrentCharacter(cp_offset - 1, &ok); in CheckNotInSurrogatePair() 104 void RegExpMacroAssembler::CheckPosition(int cp_offset, in CheckPosition() argument 106 LoadCurrentCharacter(cp_offset, on_outside_input, true); in CheckPosition()
|
D | regexp-macro-assembler-irregexp.h | 53 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 58 virtual void LoadCurrentCharacter(int cp_offset, 70 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
|
D | jsregexp.cc | 1120 bool Trace::GetStoredPosition(int reg, int* cp_offset) { in GetStoredPosition() argument 1121 DCHECK_EQ(0, *cp_offset); in GetStoredPosition() 1126 *cp_offset = static_cast<DeferredCapture*>(action)->cp_offset(); in GetStoredPosition() 1237 store_position = pc->cp_offset(); in PerformDeferredActions() 1578 int cp_offset, in EmitSimpleCharacter() argument 1585 cp_offset, in EmitSimpleCharacter() 1601 int cp_offset, in EmitAtomNonLetter() argument 1622 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomNonLetter() 1672 int cp_offset, 1682 int cp_offset, in EmitAtomLetter() argument [all …]
|
D | jsregexp.h | 1253 cp_offset_(trace->cp_offset()), in DeferredCapture() 1255 int cp_offset() { return cp_offset_; } in cp_offset() function 1260 void set_cp_offset(int cp_offset) { cp_offset_ = cp_offset; } in set_cp_offset() argument 1305 int cp_offset() { return cp_offset_; } in cp_offset() function 1335 bool GetStoredPosition(int reg, int* cp_offset);
|
D | regexp-ast.h | 170 int cp_offset() const { return cp_offset_; } in cp_offset() function 171 void set_cp_offset(int cp_offset) { cp_offset_ = cp_offset; } in set_cp_offset() argument
|
/external/v8/src/regexp/s390/ |
D | regexp-macro-assembler-s390.cc | 187 void RegExpMacroAssemblerS390::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 191 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 968 void RegExpMacroAssemblerS390::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 972 DCHECK(cp_offset < (1 << 30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter() 974 if (cp_offset >= 0) { in LoadCurrentCharacter() 975 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 977 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 980 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1048 int cp_offset) { in WriteCurrentPositionToRegister() argument 1049 if (cp_offset == 0) { in WriteCurrentPositionToRegister() [all …]
|
D | regexp-macro-assembler-s390.h | 35 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 53 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 62 virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input, 76 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 123 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
/external/v8/src/regexp/arm64/ |
D | regexp-macro-assembler-arm64.h | 36 int cp_offset, 42 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 66 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 76 virtual void LoadCurrentCharacter(int cp_offset, 91 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 144 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
D | regexp-macro-assembler-arm64.cc | 212 void RegExpMacroAssemblerARM64::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 215 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 227 int cp_offset, in CheckCharacters() argument 234 CheckPosition(cp_offset + str.length() - 1, on_failure); in CheckCharacters() 242 if (cp_offset != 0) { in CheckCharacters() 243 __ Add(characters_address, characters_address, cp_offset * char_size()); in CheckCharacters() 1115 void RegExpMacroAssemblerARM64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 1122 DCHECK(cp_offset < (1<<30)); in LoadCurrentCharacter() 1124 if (cp_offset >= 0) { in LoadCurrentCharacter() 1125 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() [all …]
|
/external/v8/src/regexp/mips64/ |
D | regexp-macro-assembler-mips64.cc | 225 void RegExpMacroAssemblerMIPS::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 229 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 988 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 992 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter() 994 if (cp_offset >= 0) { in LoadCurrentCharacter() 995 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 997 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 1000 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1024 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local 1028 if (is_int16(cp_offset)) { in PushBacktrack() [all …]
|
D | regexp-macro-assembler-mips64.h | 36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 60 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 70 virtual void LoadCurrentCharacter(int cp_offset, 85 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 137 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
/external/v8/src/regexp/mips/ |
D | regexp-macro-assembler-mips.cc | 188 void RegExpMacroAssemblerMIPS::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 192 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 950 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 954 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter() 956 if (cp_offset >= 0) { in LoadCurrentCharacter() 957 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 959 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 962 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 986 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local 990 if (is_int16(cp_offset)) { in PushBacktrack() [all …]
|
D | regexp-macro-assembler-mips.h | 36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 60 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 70 virtual void LoadCurrentCharacter(int cp_offset, 85 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 133 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
/external/v8/src/regexp/ia32/ |
D | regexp-macro-assembler-ia32.cc | 169 void RegExpMacroAssemblerIA32::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 171 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart() 982 void RegExpMacroAssemblerIA32::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 986 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter() 988 if (cp_offset >= 0) { in LoadCurrentCharacter() 989 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 991 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 994 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1064 int cp_offset) { in WriteCurrentPositionToRegister() argument 1065 if (cp_offset == 0) { in WriteCurrentPositionToRegister() [all …]
|
D | regexp-macro-assembler-ia32.h | 36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 60 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 69 virtual void LoadCurrentCharacter(int cp_offset, 84 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 130 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
/external/v8/src/regexp/x64/ |
D | regexp-macro-assembler-x64.cc | 183 void RegExpMacroAssemblerX64::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 185 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart() 1051 void RegExpMacroAssemblerX64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 1055 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter() 1057 if (cp_offset >= 0) { in LoadCurrentCharacter() 1058 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 1060 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 1063 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1152 int cp_offset) { in WriteCurrentPositionToRegister() argument 1153 if (cp_offset == 0) { in WriteCurrentPositionToRegister() [all …]
|
D | regexp-macro-assembler-x64.h | 38 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 62 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 72 virtual void LoadCurrentCharacter(int cp_offset, 87 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 187 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
/external/v8/src/regexp/arm/ |
D | regexp-macro-assembler-arm.h | 37 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 61 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 71 virtual void LoadCurrentCharacter(int cp_offset, 86 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 133 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
D | regexp-macro-assembler-arm.cc | 184 void RegExpMacroAssemblerARM::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 188 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 934 void RegExpMacroAssemblerARM::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 938 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter() 940 if (cp_offset >= 0) { in LoadCurrentCharacter() 941 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 943 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 946 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1020 int cp_offset) { in WriteCurrentPositionToRegister() argument 1021 if (cp_offset == 0) { in WriteCurrentPositionToRegister() [all …]
|
/external/v8/src/regexp/ppc/ |
D | regexp-macro-assembler-ppc.h | 36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); 54 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 63 virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input, 77 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 123 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
|
D | regexp-macro-assembler-ppc.cc | 195 void RegExpMacroAssemblerPPC::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument 199 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart() 978 void RegExpMacroAssemblerPPC::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument 982 DCHECK(cp_offset < (1 << 30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter() 984 if (cp_offset >= 0) { in LoadCurrentCharacter() 985 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter() 987 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter() 990 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter() 1064 int cp_offset) { in WriteCurrentPositionToRegister() argument 1065 if (cp_offset == 0) { in WriteCurrentPositionToRegister() [all …]
|