Searched refs:_map_offset (Results 1 – 2 of 2) sorted by relevance
/external/ComputeLibrary/src/core/utils/misc/ |
D | MMappedFile.cpp | 77 : _filename(), _file_size(0), _map_size(0), _map_offset(0), _fp(nullptr), _data(nullptr) in MMappedFile() 82 …: _filename(std::move(filename)), _file_size(0), _map_size(size), _map_offset(offset), _fp(nullptr… in MMappedFile() 84 map(_filename, _map_size, _map_offset); in MMappedFile() 119 _map_offset = offset; in map() 122 if((_map_offset > _file_size) || (_map_offset % get_page_size() != 0)) in map() 129 if(_map_offset + _map_size > _file_size) in map() 131 _map_size = _file_size - _map_offset; in map() 135 _data = ::mmap(nullptr, _map_size, PROT_WRITE, MAP_SHARED, fd, _map_offset); in map() 167 _map_offset = 0; in release()
|
/external/ComputeLibrary/arm_compute/core/utils/misc/ |
D | MMappedFile.h | 101 size_t _map_offset; variable
|