Lines Matching defs:end
246 // The section would extend beyond the end of the module.
253 // To identify the unknown section we set the end of the decoder bytes to
254 // the end of the custom section, so that we do not read the section name
255 // beyond the end of the section.
256 const byte* module_end = decoder_->end();
272 // skip to the end of the unknown section.
297 error(start_, "end is less than start");
316 size_t hash = base::hash_range(module_bytes.begin(), module_bytes.end());
399 TRACE("Decode Section %p - %p\n", bytes.begin(), bytes.end());
549 if (pc() != bytes.end()) {
550 const char* msg = pc() < bytes.end() ? "shorter" : "longer";
700 // use the type vector's capacity to mark the end of the current
1048 std::stable_sort(sorted_exports.begin(), sorted_exports.end(), cmp_less);
1052 for (auto end = sorted_exports.end(); it != end; last = &*it++) {
1503 base::Vector<const byte> orig_bytes(start(), end() - start());
1504 DecodeModuleHeader(base::VectorOf(start(), end() - start()), offset);
1877 error("Beyond end of code");
1941 this->pc_ = decoder.end();
1949 error("Initializer expression is missing 'end'");
1954 offset, static_cast<uint32_t>(decoder.end() - decoder.start()));
2337 const byte* end) {
2338 ModuleDecoderImpl decoder(enabled, start, end, kWasmOrigin);
2344 const byte* end,
2346 ModuleDecoderImpl decoder(enabled, start, end, kWasmOrigin);
2406 // The last entry is the function end marker.
2426 const byte* end) {
2427 Decoder decoder(start, end);
2475 // Reset the decoder to not read beyond the name section end.
2545 std::stable_sort(names.begin(), names.end(), NameAssoc::IndexLess{});
2584 std::stable_sort(names.begin(), names.end(), NameAssoc::IndexLess{});
2588 std::stable_sort(entries.begin(), entries.end(),