Searched refs:section_iter (Results 1 – 2 of 2) sorted by relevance
867 WasmSectionIterator section_iter(decoder); in DecodeModule() local869 while (ok() && section_iter.more()) { in DecodeModule()871 offset += section_iter.payload_start() - section_iter.section_start(); in DecodeModule()872 if (section_iter.section_code() != SectionCode::kUnknownSectionCode) { in DecodeModule()873 DecodeSection(section_iter.section_code(), section_iter.payload(), in DecodeModule()877 offset += section_iter.payload_length(); in DecodeModule()878 section_iter.advance(true); in DecodeModule()1616 WasmSectionIterator section_iter(decoder); in FindSection() local1618 while (decoder.ok() && section_iter.more() && in FindSection()1619 section_iter.section_code() != kNameSectionCode) { in FindSection()[all …]
818 auto section_iter = sections.begin(); in ReadMetadata() local821 data->SeekSet(section_iter->offset); in ReadMetadata()822 u64 size = section_iter->size; in ReadMetadata()909 ++section_iter; in ReadMetadata()