Home
last modified time | relevance | path

Searched refs:buffer_offset_ (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/wasm/
Dstreaming-decoder.cc208 buffer_offset_(buffer_offset), in DecodeFunctionLength()
219 size_t buffer_offset_; member in v8::internal::wasm::StreamingDecoder::DecodeFunctionLength
230 buffer_offset_(buffer_offset), in DecodeFunctionBody()
238 return section_buffer_->bytes() + buffer_offset_; in buffer()
245 size_t buffer_offset_; member in v8::internal::wasm::StreamingDecoder::DecodeFunctionBody
385 if (section_buffer_->length() >= buffer_offset_ + bytes_consumed_) { in NextWithValue()
386 memcpy(section_buffer_->bytes() + buffer_offset_, buffer(), in NextWithValue()
395 } else if (buffer_offset_ + bytes_consumed_ + value_ > in NextWithValue()
402 section_buffer_, buffer_offset_ + bytes_consumed_, value_, in NextWithValue()
417 section_buffer_, buffer_offset_ + size(), num_remaining_functions_); in Next()
[all …]
Ddecoder.h53 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in start_()
201 error_offset_ = static_cast<uint32_t>(pc - start_) + buffer_offset_; in errorf()
238 buffer_offset_ = buffer_offset;
255 return static_cast<uint32_t>(pc_ - start_) + buffer_offset_; in pc_offset()
257 uint32_t buffer_offset() const { return buffer_offset_; } in buffer_offset()
261 DCHECK_LE(buffer_offset_, offset); in GetBufferRelativeOffset()
262 return offset - buffer_offset_; in GetBufferRelativeOffset()
271 uint32_t buffer_offset_; variable
Dmodule-decoder.cc807 Decoder inner(start_, pc_, end_, buffer_offset_); in DecodeNameSection()
949 return static_cast<uint32_t>(ptr - start_) + buffer_offset_; in off()