• Home
  • Raw
  • Download

Lines Matching full:offset

131 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const  in DumpOpCode()
133 out << offset << ":\t" in DumpOpCode()
134 << "save_start\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
135 return offset + GetSize(); in DumpOpCode()
146 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
148 out << offset << ":\t" in DumpOpCode()
149 << "save_end\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
150 return offset + GetSize(); in DumpOpCode()
161 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
163 out << offset << ":\t" in DumpOpCode()
164 << "char\t" << static_cast<char>(buf.GetU16(offset + 1)) << std::endl; in DumpOpCode()
165 return offset + GetSize(); in DumpOpCode()
175 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
177 out << offset << ":\t" in DumpOpCode()
178 << "char32\t" << static_cast<char>(buf.GetU32(offset + 1)) << std::endl; in DumpOpCode()
179 return offset + GetSize(); in DumpOpCode()
189 void GotoOpCode::UpdateOpPara(DynChunk *buf, uint32_t offset, uint32_t para) const in UpdateOpPara() argument
191 buf->PutU32(offset + 1, para); in UpdateOpPara()
194 uint32_t GotoOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
196 out << offset << ":\t" in DumpOpCode()
197 << "goto\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
198 return offset + GetSize(); in DumpOpCode()
201 uint32_t SplitNextOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
203 buf->Insert(offset, GetSize()); in InsertOpCode()
204 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
205 buf->PutU32(offset + 1, para); in InsertOpCode()
216 uint32_t SplitNextOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
218 out << offset << ":\t" in DumpOpCode()
219 << "split_next\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
220 return offset + GetSize(); in DumpOpCode()
223 uint32_t SplitFirstOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
225 buf->Insert(offset, GetSize()); in InsertOpCode()
226 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
227 buf->PutU32(offset + 1, para); in InsertOpCode()
238 uint32_t SplitFirstOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
240 out << offset << ":\t" in DumpOpCode()
241 << "split_first\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
242 return offset + GetSize(); in DumpOpCode()
254 uint32_t LoopOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
256 out << offset << ":\t" in DumpOpCode()
257 << "loop\t" << buf.GetU32(offset + 1) + offset + GetSize() << "\t" in DumpOpCode()
258 …<< buf.GetU32(offset + RegExpOpCode::OP_SIZE_FIVE) << "\t" << buf.GetU32(offset + RegExpOpCode::OP… in DumpOpCode()
260 return offset + GetSize(); in DumpOpCode()
272 uint32_t LoopGreedyOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
274 out << offset << ":\t" in DumpOpCode()
275 << "greedy_loop\t" << buf.GetU32(offset + 1) + offset + GetSize() << "\t" in DumpOpCode()
276 …<< buf.GetU32(offset + RegExpOpCode::OP_SIZE_FIVE) << "\t" << buf.GetU32(offset + RegExpOpCode::OP… in DumpOpCode()
278 return offset + GetSize(); in DumpOpCode()
281 uint32_t PushCharOpCode::InsertOpCode(DynChunk *buf, uint32_t offset) const in InsertOpCode()
283 buf->Insert(offset, GetSize()); in InsertOpCode()
284 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
288 …rOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
290 out << offset << ":\t" in DumpOpCode()
292 return offset + GetSize(); in DumpOpCode()
295 uint32_t PushOpCode::InsertOpCode(DynChunk *buf, uint32_t offset) const in InsertOpCode()
297 buf->Insert(offset, GetSize()); in InsertOpCode()
298 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
302 …hOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
304 out << offset << ":\t" in DumpOpCode()
306 return offset + GetSize(); in DumpOpCode()
315 …pOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
317 out << offset << ":\t" in DumpOpCode()
319 return offset + GetSize(); in DumpOpCode()
322 uint32_t CheckCharOpCode::EmitOpCode(DynChunk *buf, uint32_t offset) const in EmitOpCode()
325 buf->EmitU32(offset); in EmitOpCode()
329 uint32_t CheckCharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
331 out << offset << ":\t" in DumpOpCode()
332 << "check_char\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
333 return offset + GetSize(); in DumpOpCode()
336 uint32_t SaveResetOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t start, uint32_t end… in InsertOpCode() argument
340 buf->Insert(offset, GetSize()); in InsertOpCode()
341 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
342 buf->PutU8(offset + RegExpOpCode::OP_SIZE_ONE, captureStart); in InsertOpCode()
343 buf->PutU8(offset + RegExpOpCode::OP_SIZE_TWO, captureEnd); in InsertOpCode()
347 uint32_t SaveResetOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
349 out << offset << ":\t" in DumpOpCode()
350 << "save_reset\t" << buf.GetU8(offset + RegExpOpCode::OP_SIZE_ONE) << "\t" in DumpOpCode()
351 << buf.GetU8(offset + RegExpOpCode::OP_SIZE_TWO) << std::endl; in DumpOpCode()
352 return offset + GetSize(); in DumpOpCode()
361 …hOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
363 out << offset << ":\t" in DumpOpCode()
365 return offset + GetSize(); in DumpOpCode()
374 …dOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
376 out << offset << ":\t" in DumpOpCode()
378 return offset + GetSize(); in DumpOpCode()
387 …tOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
389 out << offset << ":\t" in DumpOpCode()
391 return offset + GetSize(); in DumpOpCode()
400 …dOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
402 out << offset << ":\t" in DumpOpCode()
404 return offset + GetSize(); in DumpOpCode()
413 …yOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
415 out << offset << ":\t" in DumpOpCode()
417 return offset + GetSize(); in DumpOpCode()
427 uint32_t offset) const in DumpOpCode()
429 out << offset << ":\t" in DumpOpCode()
431 return offset + GetSize(); in DumpOpCode()
440 …lOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
442 out << offset << ":\t" in DumpOpCode()
444 return offset + GetSize(); in DumpOpCode()
453 …sOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
455 out << offset << ":\t" in DumpOpCode()
457 return offset + GetSize(); in DumpOpCode()
460 uint32_t MatchAheadOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
462 out << offset << ":\t" in DumpOpCode()
463 << "match_ahead\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
464 return offset + GetSize(); in DumpOpCode()
467 uint32_t RangeOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
469 out << offset << ":\t" in DumpOpCode()
471 size_t size = buf.GetU16(offset + 1); in DumpOpCode()
473 … out << buf.GetU16(offset + RegExpOpCode::OP_SIZE_THREE + (i * RegExpOpCode::OP_SIZE_FOUR)) << "\t" in DumpOpCode()
474 << buf.GetU16(offset + RegExpOpCode::OP_SIZE_THREE + in DumpOpCode()
479 return offset + size * RegExpOpCode::OP_SIZE_FOUR + RegExpOpCode::OP_SIZE_THREE; in DumpOpCode()
494 uint32_t Range32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
496 out << offset << ":\t" in DumpOpCode()
498 size_t size = buf.GetU16(offset + 1); in DumpOpCode()
500 …out << buf.GetU32(offset + RegExpOpCode::OP_SIZE_THREE + (i * RegExpOpCode::OP_SIZE_EIGHT)) << "\t" in DumpOpCode()
501 << buf.GetU32(offset + RegExpOpCode::OP_SIZE_THREE + in DumpOpCode()
506 return offset + size * +RegExpOpCode::OP_SIZE_EIGHT + RegExpOpCode::OP_SIZE_THREE; in DumpOpCode()
521 uint32_t SparseOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
523 out << offset << ":\t" in DumpOpCode()
525 size_t size = buf.GetU16(offset + 1); in DumpOpCode()
527 …out << static_cast<char>(buf.GetU16(offset + RegExpOpCode::OP_SIZE_THREE + (i * RegExpOpCode::OP_S… in DumpOpCode()
528 << "\t" << buf.GetU32(offset + RegExpOpCode::OP_SIZE_THREE + in DumpOpCode()
530 offset + size * RegExpOpCode::OP_SIZE_SIX + RegExpOpCode::OP_SIZE_THREE in DumpOpCode()
534 return offset + size * RegExpOpCode::OP_SIZE_SIX + RegExpOpCode::OP_SIZE_THREE; in DumpOpCode()
537 uint32_t MatchAheadOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
539 buf->Insert(offset, GetSize()); in InsertOpCode()
540 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
541 buf->PutU32(offset + 1, para); in InsertOpCode()
545 …NegativeMatchAheadOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
547 out << offset << ":\t" in DumpOpCode()
548 << "negative_match_ahead\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
549 return offset + GetSize(); in DumpOpCode()
552 uint32_t NegativeMatchAheadOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
554 buf->Insert(offset, GetSize()); in InsertOpCode()
555 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
556 buf->PutU32(offset + 1, para); in InsertOpCode()
566 …vOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
568 out << offset << ":\t" in DumpOpCode()
570 return offset + GetSize(); in DumpOpCode()
581 uint32_t BackReferenceOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) c… in DumpOpCode()
583 out << offset << ":\t" in DumpOpCode()
584 << "backreference\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
585 return offset + GetSize(); in DumpOpCode()
596 …kwardBackReferenceOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
598 out << offset << ":\t" in DumpOpCode()
599 << "backward_backreference\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
600 return offset + GetSize(); in DumpOpCode()