Lines Matching refs:offset_
31 :path_(path), size_(size), offset_(offset), mode_(mode), hint_(hint) {} in MappedFile()
35 off_t max = RoundSize(stb.st_size) - offset_; // Avoid mapped size excessing in ValidMappedSize()
146 if (offset_ < 0 || (offset_ % PageSize() != 0)) { in Normalize()
147 …"%{public}s: Failed. Invalid offset: %{public}lld", __FUNCTION__, static_cast<long long>(offset_)); in Normalize()
226 offset_); in Map()
281 } else if (offset_ + newSize <= stb.st_size) { in SyncFileSize()
284 if (ftruncate(fd_, offset_ + newSize) == -1) { in SyncFileSize()
389 off_t oldOff = offset_; in TurnNext()
403 offset_ += oldSize; in TurnNext()
412 offset_ = oldOff; in TurnNext()
425 offset_ += oldSize; in TurnNext()
430 offset_ += PageSize(); in TurnNext()
447 offset_ = 0; in Reset()
494 …offset_(other.offset_), mode_(other.mode_), fd_(other.fd_), mapProt_(other.mapProt_), mapFlag_(oth… in MappedFile()
512 offset_ = other.offset_; in operator =()
527 if (offset_ != val) { in ChangeOffset()
529 offset_ = val; in ChangeOffset()