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