Searched refs:mmapped_buffer_ (Results 1 – 4 of 4) sorted by relevance
35 : Allocation(error_reporter), mmapped_buffer_(MAP_FAILED) { in MMAPAllocation()44 mmapped_buffer_ = in MMAPAllocation()46 if (mmapped_buffer_ == MAP_FAILED) { in MMAPAllocation()54 munmap(const_cast<void*>(mmapped_buffer_), buffer_size_bytes_); in ~MMAPAllocation()59 const void* MMAPAllocation::base() const { return mmapped_buffer_; } in base()63 bool MMAPAllocation::valid() const { return mmapped_buffer_ != MAP_FAILED; } in valid()
35 reinterpret_cast<const uint8_t*>(mmapped_buffer_); in offset()
57 const void* mmapped_buffer_; variable
52 if (mmapped_buffer_ != MAP_FAILED) in NNAPIAllocation()