Lines Matching refs:decoder_
98 : decoder_(decoder), in WasmSectionIterator()
106 return section_code_ != kUnknownSectionCode && decoder_.more(); in more()
128 if (decoder_.pc() != section_end_) { in advance()
129 const char* msg = decoder_.pc() < section_end_ ? "shorter" : "longer"; in advance()
130 decoder_.error(decoder_.pc(), decoder_.pc(), in advance()
134 static_cast<size_t>(decoder_.pc() - section_start_)); in advance()
140 Decoder& decoder_; member in v8::internal::wasm::__anon96a422e80111::WasmSectionIterator
150 if (!decoder_.more()) { in next()
154 uint8_t section_code = decoder_.consume_u8("section code"); in next()
156 uint32_t section_length = decoder_.consume_u32v("section length"); in next()
157 section_start_ = decoder_.pc(); in next()
159 if (decoder_.checkAvailable(section_length)) { in next()
169 uint32_t string_length = decoder_.consume_u32v("section name length"); in next()
170 const byte* section_name_start = decoder_.pc(); in next()
171 decoder_.consume_bytes(string_length, "section name"); in next()
172 if (decoder_.failed() || decoder_.pc() > section_end_) { in next()
177 payload_start_ = decoder_.pc(); in next()
180 static_cast<int>(section_name_start - decoder_.start()), in next()
191 decoder_.error(decoder_.pc(), decoder_.pc(), in next()
199 section_end_ > decoder_.pc()) { in next()
202 static_cast<uint32_t>(section_end_ - decoder_.pc()); in next()
203 decoder_.consume_bytes(remaining, "section payload"); in next()