Lines Matching refs:mLength
35 mLength(-1), in FileSource()
45 mLength = lseek64(mFd, 0, SEEK_END); in FileSource()
54 mLength(length), in FileSource()
62 if (mLength < 0) { in FileSource()
63 mLength = 0; in FileSource()
65 if (mLength > INT64_MAX - mOffset) { in FileSource()
66 mLength = INT64_MAX - mOffset; in FileSource()
72 mLength = 0; in FileSource()
74 if (mOffset + mLength > s.st_size) { in FileSource()
75 mLength = s.st_size - mOffset; in FileSource()
78 if (mOffset != offset || mLength != length) { in FileSource()
81 (long long) mOffset, (long long) mLength); in FileSource()
88 (long long) mLength); in FileSource()
109 if (mLength >= 0) { in readAt()
110 if (offset >= mLength) { in readAt()
113 uint64_t numAvailable = mLength - offset; in readAt()
138 *size = mLength; in getSize()