• Home
  • Raw
  • Download

Lines Matching full:offset

129 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const  in DumpOpCode()
131 out << offset << ":\t" in DumpOpCode()
132 << "save_start\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
133 return offset + GetSize(); in DumpOpCode()
144 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
146 out << offset << ":\t" in DumpOpCode()
147 << "save_end\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
148 return offset + GetSize(); in DumpOpCode()
159 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
161 out << offset << ":\t" in DumpOpCode()
162 << "char\t" << static_cast<char>(buf.GetU16(offset + 1)) << std::endl; in DumpOpCode()
163 return offset + GetSize(); in DumpOpCode()
173 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
175 out << offset << ":\t" in DumpOpCode()
176 << "char32\t" << static_cast<char>(buf.GetU32(offset + 1)) << std::endl; in DumpOpCode()
177 return offset + GetSize(); in DumpOpCode()
187 void GotoOpCode::UpdateOpPara(DynChunk *buf, uint32_t offset, uint32_t para) const in UpdateOpPara() argument
189 buf->PutU32(offset + 1, para); in UpdateOpPara()
192 uint32_t GotoOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
194 out << offset << ":\t" in DumpOpCode()
195 << "goto\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
196 return offset + GetSize(); in DumpOpCode()
199 uint32_t SplitNextOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
201 buf->Insert(offset, GetSize()); in InsertOpCode()
202 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
203 buf->PutU32(offset + 1, para); in InsertOpCode()
207 uint32_t SplitNextOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
209 out << offset << ":\t" in DumpOpCode()
210 << "split_next\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
211 return offset + GetSize(); in DumpOpCode()
214 uint32_t SplitFirstOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
216 buf->Insert(offset, GetSize()); in InsertOpCode()
217 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
218 buf->PutU32(offset + 1, para); in InsertOpCode()
222 uint32_t SplitFirstOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
224 out << offset << ":\t" in DumpOpCode()
225 << "split_first\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
226 return offset + GetSize(); in DumpOpCode()
238 uint32_t LoopOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
240 out << offset << ":\t" in DumpOpCode()
241 << "loop\t" << buf.GetU32(offset + 1) + offset + GetSize() << "\t" in DumpOpCode()
242 …<< buf.GetU32(offset + RegExpOpCode::OP_SIZE_FIVE) << "\t" << buf.GetU32(offset + RegExpOpCode::OP… in DumpOpCode()
244 return offset + GetSize(); in DumpOpCode()
256 uint32_t LoopGreedyOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
258 out << offset << ":\t" in DumpOpCode()
259 << "greedy_loop\t" << buf.GetU32(offset + 1) + offset + GetSize() << "\t" in DumpOpCode()
260 …<< buf.GetU32(offset + RegExpOpCode::OP_SIZE_FIVE) << "\t" << buf.GetU32(offset + RegExpOpCode::OP… in DumpOpCode()
262 return offset + GetSize(); in DumpOpCode()
265 uint32_t PushCharOpCode::InsertOpCode(DynChunk *buf, uint32_t offset) const in InsertOpCode()
267 buf->Insert(offset, GetSize()); in InsertOpCode()
268 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
272 …rOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
274 out << offset << ":\t" in DumpOpCode()
276 return offset + GetSize(); in DumpOpCode()
279 uint32_t PushOpCode::InsertOpCode(DynChunk *buf, uint32_t offset) const in InsertOpCode()
281 buf->Insert(offset, GetSize()); in InsertOpCode()
282 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
286 …hOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
288 out << offset << ":\t" in DumpOpCode()
290 return offset + GetSize(); in DumpOpCode()
299 …pOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
301 out << offset << ":\t" in DumpOpCode()
303 return offset + GetSize(); in DumpOpCode()
306 uint32_t CheckCharOpCode::EmitOpCode(DynChunk *buf, uint32_t offset) const in EmitOpCode()
309 buf->EmitU32(offset); in EmitOpCode()
313 uint32_t CheckCharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
315 out << offset << ":\t" in DumpOpCode()
316 << "check_char\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
317 return offset + GetSize(); in DumpOpCode()
320 uint32_t SaveResetOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t start, uint32_t end… in InsertOpCode() argument
324 buf->Insert(offset, GetSize()); in InsertOpCode()
325 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
326 buf->PutU8(offset + RegExpOpCode::OP_SIZE_ONE, captureStart); in InsertOpCode()
327 buf->PutU8(offset + RegExpOpCode::OP_SIZE_TWO, captureEnd); in InsertOpCode()
331 uint32_t SaveResetOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
333 out << offset << ":\t" in DumpOpCode()
334 << "save_reset\t" << buf.GetU8(offset + RegExpOpCode::OP_SIZE_ONE) << "\t" in DumpOpCode()
335 << buf.GetU8(offset + RegExpOpCode::OP_SIZE_TWO) << std::endl; in DumpOpCode()
336 return offset + GetSize(); in DumpOpCode()
345 …hOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
347 out << offset << ":\t" in DumpOpCode()
349 return offset + GetSize(); in DumpOpCode()
358 …dOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
360 out << offset << ":\t" in DumpOpCode()
362 return offset + GetSize(); in DumpOpCode()
371 …tOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
373 out << offset << ":\t" in DumpOpCode()
375 return offset + GetSize(); in DumpOpCode()
384 …dOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
386 out << offset << ":\t" in DumpOpCode()
388 return offset + GetSize(); in DumpOpCode()
397 …yOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
399 out << offset << ":\t" in DumpOpCode()
401 return offset + GetSize(); in DumpOpCode()
411 uint32_t offset) const in DumpOpCode()
413 out << offset << ":\t" in DumpOpCode()
415 return offset + GetSize(); in DumpOpCode()
424 …lOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
426 out << offset << ":\t" in DumpOpCode()
428 return offset + GetSize(); in DumpOpCode()
437 …sOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
439 out << offset << ":\t" in DumpOpCode()
441 return offset + GetSize(); in DumpOpCode()
444 uint32_t MatchAheadOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
446 out << offset << ":\t" in DumpOpCode()
447 << "match_ahead\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
448 return offset + GetSize(); in DumpOpCode()
451 uint32_t RangeOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
453 out << offset << ":\t" in DumpOpCode()
455 size_t size = buf.GetU16(offset + 1); in DumpOpCode()
457 … out << buf.GetU16(offset + RegExpOpCode::OP_SIZE_THREE + (i * RegExpOpCode::OP_SIZE_FOUR)) << "\t" in DumpOpCode()
458 << buf.GetU16(offset + RegExpOpCode::OP_SIZE_THREE + in DumpOpCode()
463 return offset + size * RegExpOpCode::OP_SIZE_FOUR + RegExpOpCode::OP_SIZE_THREE; in DumpOpCode()
478 uint32_t Range32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
480 out << offset << ":\t" in DumpOpCode()
482 size_t size = buf.GetU16(offset + 1); in DumpOpCode()
484 …out << buf.GetU32(offset + RegExpOpCode::OP_SIZE_THREE + (i * RegExpOpCode::OP_SIZE_EIGHT)) << "\t" in DumpOpCode()
485 << buf.GetU32(offset + RegExpOpCode::OP_SIZE_THREE + in DumpOpCode()
490 return offset + size * +RegExpOpCode::OP_SIZE_EIGHT + RegExpOpCode::OP_SIZE_THREE; in DumpOpCode()
505 uint32_t MatchAheadOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
507 buf->Insert(offset, GetSize()); in InsertOpCode()
508 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
509 buf->PutU32(offset + 1, para); in InsertOpCode()
513 …NegativeMatchAheadOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
515 out << offset << ":\t" in DumpOpCode()
516 << "negative_match_ahead\t" << buf.GetU32(offset + 1) + offset + GetSize() << std::endl; in DumpOpCode()
517 return offset + GetSize(); in DumpOpCode()
520 uint32_t NegativeMatchAheadOpCode::InsertOpCode(DynChunk *buf, uint32_t offset, uint32_t para) const in InsertOpCode() argument
522 buf->Insert(offset, GetSize()); in InsertOpCode()
523 buf->PutU8(offset, GetOpCode()); in InsertOpCode()
524 buf->PutU32(offset + 1, para); in InsertOpCode()
534 …vOpCode::DumpOpCode(std::ostream &out, [[maybe_unused]] const DynChunk &buf, uint32_t offset) const in DumpOpCode()
536 out << offset << ":\t" in DumpOpCode()
538 return offset + GetSize(); in DumpOpCode()
549 uint32_t BackReferenceOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) c… in DumpOpCode()
551 out << offset << ":\t" in DumpOpCode()
552 << "backreference\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
553 return offset + GetSize(); in DumpOpCode()
564 …kwardBackReferenceOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
566 out << offset << ":\t" in DumpOpCode()
567 << "backward_backreference\t" << buf.GetU8(offset + 1) << std::endl; in DumpOpCode()
568 return offset + GetSize(); in DumpOpCode()