Home
last modified time | relevance | path

Searched refs:fBufferSize (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/utils/
DSkFrontBufferedStream.cpp41 const size_t fBufferSize; member in FrontBufferedStream
79 , fBufferSize(bufferSize) in FrontBufferedStream()
94 if (fOffset <= fBufferSize) { in rewind()
125 const size_t bytesToBuffer = SkTMin(size, fBufferSize - fBufferedSoFar); in bufferAndWriteTo()
131 SkASSERT(fBufferedSoFar <= fBufferSize); in bufferAndWriteTo()
144 SkASSERT(fBufferSize == fBufferedSoFar && fOffset >= fBufferSize); in readDirectlyFromStream()
162 if (start >= fBufferSize) { in peek()
167 size = SkTMin(size, fBufferSize - start); in peek()
195 if (size > 0 && fBufferedSoFar < fBufferSize && !fStream->isAtEnd()) { in read()
/external/skia/client_utils/android/
DFrontBufferedStream.cpp48 const size_t fBufferSize; member in __anon027e42c60111::FrontBufferedStream
99 , fBufferSize(bufferSize) in FrontBufferedStream()
121 if (fOffset <= fBufferSize) { in rewind()
152 const size_t bytesToBuffer = std::min(size, fBufferSize - fBufferedSoFar); in bufferAndWriteTo()
158 SkASSERT(fBufferedSoFar <= fBufferSize); in bufferAndWriteTo()
171 SkASSERT(fBufferSize == fBufferedSoFar && fOffset >= fBufferSize); in readDirectlyFromStream()
190 if (start >= fBufferSize) { in peek()
195 size = std::min(size, fBufferSize - start); in peek()
223 if (size > 0 && fBufferedSoFar < fBufferSize && !fStream->isAtEnd()) { in read()
/external/zstd/examples/
Dmultiple_simple_compression.c20 size_t fBufferSize; member
45 ress.fBufferSize = maxFileSize; in createResources_orDie()
50 ress.fBuffer = malloc_orDie(ress.fBufferSize); in createResources_orDie()
68 size_t fSize = loadFile_orDie(fname, ress.fBuffer, ress.fBufferSize); in compressFile_orDie()
/external/dng_sdk/source/
Ddng_stream.cpp39 , fBufferSize (bufferSize) in dng_stream()
63 , fBufferSize (count) in dng_stream()
273 if (count > fBufferSize) in Get()
297 if (fBufferSize >= 4096) in Get()
306 fBufferEnd = Min_uint64 (fBufferStart + fBufferSize, Length ()); in Get()
352 fBufferLimit = fBufferSize; in Flush()
414 if (count >= fBufferSize) in Put()
432 fBufferLimit = fBufferStart + fBufferSize; in Put()
Ddng_stream.h73 uint32 fBufferSize; variable
162 return fBufferSize; in BufferSize()
Ddng_read_image.cpp1009 uint32 fBufferSize; member in dng_image_spooler
1060 , fBufferSize (0) in dng_image_spooler()
1079 fBufferSize = bytesPerRow * stripLength; in dng_image_spooler()
1099 uint32 block = Min_uint32 (count, fBufferSize - fBufferCount); in Spool()
1116 if (fBufferCount == fBufferSize) in Spool()
1145 fBufferSize = fTileStrip.W () * in Spool()
/external/skia/gm/
Dimage.cpp112 size_t fBufferSize; member in ImageGM
121 fBufferSize = RB * H; in ImageGM()
122 fBuffer = sk_malloc_throw(fBufferSize); in ImageGM()
159 sk_bzero(fBuffer, fBufferSize); in onDraw()
/external/skqp/gm/
Dimage.cpp86 size_t fBufferSize; member in ImageGM
95 fBufferSize = RB * H; in ImageGM()
96 fBuffer = sk_malloc_throw(fBufferSize); in ImageGM()
133 sk_bzero(fBuffer, fBufferSize); in onDraw()
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp30 uint64_t fBufferSize; member
34 : fBufferSize(bufferSize), releaseProc(releaseProc) {} in ReleaseSkDataContext()
40 UnmapMemory(buffer, releaseSkDataContext->fBufferSize); in ReleaseSkData()
/external/skia/src/ports/
DSkFontMgr_fuchsia.cpp30 uint64_t fBufferSize; member
34 : fBufferSize(bufferSize), releaseProc(releaseProc) {} in ReleaseSkDataContext()
40 UnmapMemory(buffer, releaseSkDataContext->fBufferSize); in ReleaseSkData()