Lines Matching defs:pc_

62       : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) {
169 // Reads a 8-bit unsigned integer (byte) and advances {pc_}.
174 // Reads a 16-bit unsigned integer (little endian) and advances {pc_}.
179 // Reads a single 32-bit unsigned integer (little endian) and advances {pc_}.
184 // Reads a LEB128 variable-length unsigned 32-bit integer and advances {pc_}.
188 read_leb<uint32_t, kFullValidation, kTrace>(pc_, &length, name);
189 pc_ += length;
193 // Reads a LEB128 variable-length signed 32-bit integer and advances {pc_}.
197 read_leb<int32_t, kFullValidation, kTrace>(pc_, &length, name);
198 pc_ += length;
202 // Reads a LEB128 variable-length unsigned 64-bit integer and advances {pc_}.
206 read_leb<uint64_t, kFullValidation, kTrace>(pc_, &length, name);
207 pc_ += length;
211 // Reads a LEB128 variable-length signed 64-bit integer and advances {pc_}.
215 read_leb<int64_t, kFullValidation, kTrace>(pc_, &length, name);
216 pc_ += length;
220 // Consume {size} bytes and send them to the bit bucket, advancing {pc_}.
225 pc_ += size;
227 pc_ = end_;
231 // Check that at least {size} bytes exist between {pc_} and {end_}.
233 DCHECK_LE(pc_, end_);
234 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) {
235 errorf(pc_, "expected %u bytes, fell off end", size);
293 traceByteRange(pc_, end_);
312 pc_ = start;
324 bool more() const { return pc_ < end_; }
328 const byte* pc() const { return pc_; }
330 return static_cast<uint32_t>(pc_ - start_);
338 uint32_t pc_offset() const { return pc_offset(pc_); }
351 DCHECK_LE(pc_, end_);
352 return end_ - pc_ > offset && pc_[offset] == expected;
357 const byte* pc_;
390 pc_ = end_;
393 IntType val = read_little_endian<IntType, kNoValidation>(pc_, name);
394 traceByteRange(pc_, pc_ + sizeof(IntType));
396 pc_ += sizeof(IntType);