Lines Matching full:bytecode
61 bool ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd);
98 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
102 expectedChar = byteCode.GetU32(GetCurrentPC() + 1); in HandleOpChar()
104 expectedChar = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpChar()
173 inline void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveStart() argument
175 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveStart()
185 inline void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveEnd() argument
187 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveEnd()
197 inline void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveReset() argument
199 uint32_t catpureStartIndex = byteCode.GetU8(GetCurrentPC() + SAVE_RESET_START); in HandleOpSaveReset()
200 uint32_t catpureEndIndex = byteCode.GetU8(GetCurrentPC() + SAVE_RESET_END); in HandleOpSaveReset()
216 inline void HandleOpMatch(const DynChunk &byteCode, uint8_t opCode) in HandleOpMatch() argument
220 uint32_t offset = byteCode.GetU32(GetCurrentPC() + 1); in HandleOpMatch()
226 inline void HandleOpSplitFirst(const DynChunk &byteCode, uint8_t opCode) in HandleOpSplitFirst() argument
228 uint32_t offset = byteCode.GetU32(GetCurrentPC() + 1); in HandleOpSplitFirst()
247 inline void HandleOpLoop(const DynChunk &byteCode, uint8_t opCode) in HandleOpLoop() argument
249 uint32_t quantifyMin = byteCode.GetU32(GetCurrentPC() + LOOP_MIN_OFFSET); in HandleOpLoop()
250 uint32_t quantifyMax = byteCode.GetU32(GetCurrentPC() + LOOP_MAX_OFFSET); in HandleOpLoop()
251 uint32_t pcOffset = byteCode.GetU32(GetCurrentPC() + LOOP_PC_OFFSET); in HandleOpLoop()
275 inline bool HandleOpRange32(const DynChunk &byteCode) in HandleOpRange32() argument
284 uint16_t rangeCount = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpRange32()
291 byteCode.GetU32(GetCurrentPC() + RANGE32_HEAD_OFFSET + idxMax * RANGE32_MAX_OFFSET + in HandleOpRange32()
296 … low = byteCode.GetU32(GetCurrentPC() + RANGE32_HEAD_OFFSET + static_cast<uint32_t>(idx) * in HandleOpRange32()
298 … high = byteCode.GetU32(GetCurrentPC() + RANGE32_HEAD_OFFSET + static_cast<uint32_t>(idx) * in HandleOpRange32()
321 inline bool HandleOpRange(const DynChunk &byteCode) in HandleOpRange() argument
327 uint16_t rangeCount = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpRange()
328 bool flag = IsFoundOpRange(GetCurrentPC(), currentChar, byteCode, rangeCount); in HandleOpRange()
331 flag = IsFoundOpRange(GetCurrentPC(), currentChar, byteCode, rangeCount); in HandleOpRange()
343 inline bool HandleOpSparse(const DynChunk &byteCode) in HandleOpSparse() argument
352 uint16_t sparseCount = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpSparse()
354 …uint32_t sparseChar = byteCode.GetU16(GetCurrentPC() + SPARSE_HEAD_OFFSET + i * SPARSE_MAX_OFFSET); in HandleOpSparse()
356 … uint32_t offset = byteCode.GetU32(GetCurrentPC() + SPARSE_HEAD_OFFSET + i * SPARSE_MAX_OFFSET + in HandleOpSparse()
365 inline bool HandleOpBackReference(const DynChunk &byteCode, uint8_t opCode) in HandleOpBackReference() argument
367 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpBackReference()
611 const DynChunk &byteCode, const uint16_t rangeCount) in IsFoundOpRange() argument
618 uint32_t high = byteCode.GetU16(currentPc + RANGE32_HEAD_OFFSET + in IsFoundOpRange()
623 low = byteCode.GetU16(currentPc + RANGE32_HEAD_OFFSET + static_cast<uint32_t>(idx) * in IsFoundOpRange()
625 … high = byteCode.GetU16(currentPc + RANGE32_HEAD_OFFSET + static_cast<uint32_t>(idx) * in IsFoundOpRange()