Lines Matching full:filesize
39 size_t fileSize = this->getLength(); in read() local
41 if (fPos + size > fileSize) { in read()
42 size_t skipped = fileSize - fPos; in read()
43 fPos = fileSize; in read()
62 size_t fileSize = this->getLength(); in read() local
63 if (fPos + size <= fileSize) { in read()
68 size_t read = fileSize - fPos; in read()
73 fPos = fileSize; in read()
128 UINT64 fileSize; in getMemoryBase() local
129 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase()
130 HRNM(fFontFileStream->ReadFileFragment(&fLockedMemory, 0, fileSize, &fFragmentLock), in getMemoryBase()
182 UINT64 fileSize; in ReadFileFragment() local
183 this->GetFileSize(&fileSize); in ReadFileFragment()
184 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
224 HRESULT STDMETHODCALLTYPE SkDWriteFontFileStreamWrapper::GetFileSize(UINT64* fileSize) { in GetFileSize() argument
225 *fileSize = fStream->getLength(); in GetFileSize()