Lines Matching refs:fData
260 fData = SkData::MakeEmpty(); in SkMemoryStream()
265 fData = SkData::MakeUninitialized(size); in SkMemoryStream()
270 fData = newFromParams(src, size, copyData); in SkMemoryStream()
274 SkMemoryStream::SkMemoryStream(sk_sp<SkData> data) : fData(std::move(data)) { in SkMemoryStream()
275 if (nullptr == fData) { in SkMemoryStream()
276 fData = SkData::MakeEmpty(); in SkMemoryStream()
282 fData = SkData::MakeFromMalloc(src, size); in setMemoryOwned()
287 fData = newFromParams(src, size, copyData); in setMemory()
293 fData = SkData::MakeEmpty(); in setData()
295 fData = data; in setData()
306 size_t dataSize = fData->size(); in read()
312 memcpy(buffer, fData->bytes() + fOffset, size); in read()
329 return fOffset == fData->size(); in isAtEnd()
337 SkMemoryStream* SkMemoryStream::duplicate() const { return new SkMemoryStream(fData); } in duplicate()
344 fOffset = position > fData->size() in seek()
345 ? fData->size() in seek()
361 return fData->size(); in getLength()
365 return fData->data(); in getMemoryBase()
369 return fData->bytes() + fOffset; in getAtPos()