• Home
  • Raw
  • Download

Lines Matching refs:opCode

81     inline bool HandleOpAll(uint8_t opCode)  in HandleOpAll()  argument
87 if ((opCode == RegExpOpCode::OP_DOTS) && IsTerminator(currentChar)) { in HandleOpAll()
90 Advance(opCode); in HandleOpAll()
94 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
97 if (opCode == RegExpOpCode::OP_CHAR32) { in HandleOpChar()
110 Advance(opCode); in HandleOpChar()
119 inline bool HandleOpWordBoundary(uint8_t opCode) in HandleOpWordBoundary() argument
127 if (((opCode == RegExpOpCode::OP_WORD_BOUNDARY) && in HandleOpWordBoundary()
129 ((opCode == RegExpOpCode::OP_NOT_WORD_BOUNDARY) && in HandleOpWordBoundary()
131 Advance(opCode); in HandleOpWordBoundary()
140 inline bool HandleOpLineStart(uint8_t opCode) in HandleOpLineStart() argument
145 Advance(opCode); in HandleOpLineStart()
154 inline bool HandleOpLineEnd(uint8_t opCode) in HandleOpLineEnd() argument
159 Advance(opCode); in HandleOpLineEnd()
168 inline void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveStart() argument
175 Advance(opCode); in HandleOpSaveStart()
178 inline void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveEnd() argument
185 Advance(opCode); in HandleOpSaveEnd()
188 inline void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveReset() argument
198 Advance(opCode); in HandleOpSaveReset()
201 inline void HandleOpMatch(const DynChunk &byteCode, uint8_t opCode) in HandleOpMatch() argument
203 auto type = static_cast<StateType>(opCode - RegExpOpCode::OP_SPLIT_NEXT); in HandleOpMatch()
206 Advance(opCode); in HandleOpMatch()
211 inline void HandleOpSplitFirst(const DynChunk &byteCode, uint8_t opCode) in HandleOpSplitFirst() argument
214 Advance(opCode); in HandleOpSplitFirst()
219 inline bool HandleOpPrev(uint8_t opCode) in HandleOpPrev() argument
227 Advance(opCode); in HandleOpPrev()
232 inline void HandleOpLoop(const DynChunk &byteCode, uint8_t opCode) in HandleOpLoop() argument
237 Advance(opCode); in HandleOpLoop()
240 bool isGreedy = opCode == RegExpOpCode::OP_LOOP_GREEDY; in HandleOpLoop()
326 inline bool HandleOpBackReference(const DynChunk &byteCode, uint8_t opCode) in HandleOpBackReference() argument
337 Advance(opCode); in HandleOpBackReference()
341 if (opCode == RegExpOpCode::OP_BACKREFERENCE) { in HandleOpBackReference()
366 Advance(opCode); in HandleOpBackReference()
393 Advance(opCode); in HandleOpBackReference()
399 inline void Advance(uint8_t opCode, uint32_t offset = 0)
401 … currentPc_ += offset + static_cast<uint32_t>(RegExpOpCode::GetRegExpOpCode(opCode)->GetSize());