Lines Matching refs:offset
89 bool FileMap::create(const char* origFileName, int fd, off_t offset, size_t length, bool readOnly)
113 adjust = offset % mPageSize;
114 adjOffset = offset - adjust;
139 assert(offset >= 0);
156 adjust = offset % mPageSize;
158 adjOffset = offset - adjust;
168 // Cygwin does not seem to like file mapping files from an offset.
169 // So if we fail, try again with offset zero
171 adjust = offset;
184 mDataOffset = offset;