Lines Matching refs:end
55 Decoder(const byte* start, const byte* end, uint32_t buffer_offset = 0)
56 : Decoder(start, start, end, buffer_offset) {}
60 Decoder(const byte* start, const byte* pc, const byte* end,
62 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) {
64 DCHECK_LE(pc, end);
65 DCHECK_EQ(static_cast<uint32_t>(end - start), end - start);
235 errorf(pc_, "expected %u bytes, fell off end", size);
286 void traceByteRange(const byte* start, const byte* end) {
287 DCHECK_LE(start, end);
288 for (const byte* p = start; p < end; ++p) TRACE("%02x ", *p);
291 // Debugging helper to print bytes up to the end.
294 TRACE("<end>\n");
308 void Reset(const byte* start, const byte* end, uint32_t buffer_offset = 0) {
309 DCHECK_LE(start, end);
310 DCHECK_EQ(static_cast<uint32_t>(end - start), end - start);
313 end_ = end;
319 Reset(bytes.begin(), bytes.end(), buffer_offset);
346 const byte* end() const { return end_; }
347 void set_end(const byte* end) { end_ = end; }
464 TRACE_IF(trace, at_end ? "<end> " : "<length overflow> ");