Lines Matching refs:pc_
53 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in start_()
148 return read_leb<uint32_t, kValidate, kAdvancePc, kTrace>(pc_, &length,
155 return read_leb<int32_t, kValidate, kAdvancePc, kTrace>(pc_, &length, name);
163 pc_ += size;
165 pc_ = end_;
171 DCHECK_LE(pc_, end_); in checkAvailable()
172 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) { in checkAvailable()
173 errorf(pc_, "expected %u bytes, fell off end", size); in checkAvailable()
179 void error(const char* msg) { errorf(pc_, "%s", msg); } in error()
216 traceByteRange(pc_, end_); in traceOffEnd()
236 pc_ = start;
249 bool more() const { return pc_ < end_; } in more()
252 const byte* pc() const { return pc_; } in pc()
253 uint32_t position() const { return static_cast<uint32_t>(pc_ - start_); } in position()
255 return static_cast<uint32_t>(pc_ - start_) + buffer_offset_; in pc_offset()
268 const byte* pc_; variable
291 pc_ = end_; in consume_little_endian()
294 IntType val = read_little_endian<IntType, false>(pc_, name); in consume_little_endian()
295 traceByteRange(pc_, pc_ + sizeof(IntType)); in consume_little_endian()
297 pc_ += sizeof(IntType); in consume_little_endian()
305 DCHECK_IMPLIES(advance_pc, pc == pc_);
337 if (advance_pc) pc_ = pc + (at_end ? 0 : 1); in read_leb_tail()