Lines Matching refs:decoder_
175 : decoder_(decoder), in WasmSectionIterator()
182 bool more() const { return decoder_->ok() && decoder_->more(); } in more()
207 if (move_to_section_end && decoder_->pc() < section_end_) { in advance()
208 decoder_->consume_bytes( in advance()
209 static_cast<uint32_t>(section_end_ - decoder_->pc())); in advance()
211 if (decoder_->pc() != section_end_) { in advance()
212 const char* msg = decoder_->pc() < section_end_ ? "shorter" : "longer"; in advance()
213 decoder_->errorf(decoder_->pc(), in advance()
217 static_cast<size_t>(decoder_->pc() - section_start_)); in advance()
223 Decoder* decoder_; member in v8::internal::wasm::__anond2c9f3f70211::WasmSectionIterator
232 if (!decoder_->more()) { in next()
236 section_start_ = decoder_->pc(); in next()
237 uint8_t section_code = decoder_->consume_u8("section code"); in next()
239 uint32_t section_length = decoder_->consume_u32v("section length"); in next()
241 payload_start_ = decoder_->pc(); in next()
242 if (decoder_->checkAvailable(section_length)) { in next()
256 const byte* module_end = decoder_->end(); in next()
257 decoder_->set_end(section_end_); in next()
258 section_code = IdentifyUnknownSectionInternal(decoder_); in next()
259 if (decoder_->ok()) decoder_->set_end(module_end); in next()
262 payload_start_ = decoder_->pc(); in next()
264 decoder_->errorf(decoder_->pc(), "unknown section code #0x%02x", in next()
268 section_code_ = decoder_->failed() ? kUnknownSectionCode in next()
271 if (section_code_ == kUnknownSectionCode && section_end_ > decoder_->pc()) { in next()
273 uint32_t remaining = static_cast<uint32_t>(section_end_ - decoder_->pc()); in next()
274 decoder_->consume_bytes(remaining, "section payload"); in next()