• Home
  • Raw
  • Download

Lines Matching refs:section_code

155   inline SectionCode section_code() const { return section_code_; }  in section_code()  function in v8::internal::wasm::__anone95501b20211::WasmSectionIterator
208 uint8_t section_code = decoder_.consume_u8("section code"); in next() local
221 if (section_code == kUnknownSectionCode) { in next()
223 section_code = in next()
228 } else if (!IsValidSectionCode(section_code)) { in next()
230 section_code); in next()
231 section_code = kUnknownSectionCode; in next()
234 : static_cast<SectionCode>(section_code); in next()
331 void DecodeSection(SectionCode section_code, Vector<const uint8_t> bytes, in DecodeSection() argument
335 TRACE("Section: %s\n", SectionName(section_code)); in DecodeSection()
340 if (section_code < next_section_) { in DecodeSection()
341 errorf(pc(), "unexpected section: %s", SectionName(section_code)); in DecodeSection()
345 switch (section_code) { in DecodeSection()
360 next_section_ = section_code; in DecodeSection()
365 switch (section_code) { in DecodeSection()
408 errorf(pc(), "unexpected section: %s", SectionName(section_code)); in DecodeSection()
412 errorf(pc(), "unexpected section: %s", SectionName(section_code)); in DecodeSection()
872 if (section_iter.section_code() != SectionCode::kUnknownSectionCode) { in DecodeModule()
873 DecodeSection(section_iter.section_code(), section_iter.payload(), in DecodeModule()
1448 void ModuleDecoder::DecodeSection(SectionCode section_code, in DecodeSection() argument
1451 impl_->DecodeSection(section_code, bytes, offset, verify_functions); in DecodeSection()
1583 byte section_code = decoder.consume_u8("section code"); in DecodeCustomSections() local
1586 if (section_code != 0) { in DecodeCustomSections()
1612 bool FindSection(Decoder& decoder, SectionCode section_code) { in FindSection() argument
1619 section_iter.section_code() != kNameSectionCode) { in FindSection()