Home
last modified time | relevance | path

Searched refs:fBlock (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkChunkAlloc.cpp63 fBlock = nullptr; in SkChunkAlloc()
77 Block::FreeChain(fBlock); in reset()
78 fBlock = nullptr; in reset()
89 Block* largest = fBlock; in rewind()
111 fBlock = largest; in rewind()
142 if (!fBlock || bytes > fBlock->fFreeSize) { in addBlockIfNecessary()
148 if (fBlock) { in addBlockIfNecessary()
149 fTotalLost += fBlock->fFreeSize; in addBlockIfNecessary()
152 block->fNext = fBlock; in addBlockIfNecessary()
153 fBlock = block; in addBlockIfNecessary()
[all …]
DSkRWBuffer.cpp59 SkBufferBlock fBlock; member
71 head->fBlock.fNext = nullptr; in Alloc()
72 head->fBlock.fUsed = 0; in Alloc()
73 head->fBlock.fCapacity = capacity; in Alloc()
87 SkBufferBlock* block = fBlock.fNext; in unref()
101 const SkBufferBlock* block = &fBlock; in validate()
140 fBlock = &buffer->fHead->fBlock; in reset()
143 fBlock = nullptr; in reset()
149 return fRemaining ? fBlock->startData() : nullptr; in data()
153 if (!fBlock) { in size()
[all …]
DSkVarAlloc.cpp27 , fBlock(nullptr) {} in SkVarAlloc()
34 , fBlock(nullptr) {} in SkVarAlloc()
37 Block* b = fBlock; in ~SkVarAlloc()
53 fBlock = Block::Alloc(fBlock, alloc); in makeSpace()
54 fByte = fBlock->data(); in makeSpace()
DSkTLList.h34 Block* fBlock; // owning block. member
45 fFirstBlock.fNodes[i].fBlock = &fFirstBlock; in SkTLList()
56 Block* block = node->fBlock; in ~SkTLList()
230 ++node->fBlock->fNodesInUse; in createNode()
238 node->fBlock = block; in createNode()
243 block->fNodes[i].fBlock = block; in createNode()
254 Block* block = node->fBlock; in removeNode()
284 Block* block = freeNode->fBlock; in validate()
306 Block* block = activeNode->fBlock; in validate()
DSkVarAlloc.h51 Block* fBlock; variable
DSkRWBuffer.h54 const SkBufferBlock* fBlock;
/external/skia/experimental/DrawingBoard/
DSkNetPipeController.cpp10 fBlock = NULL; in SkNetPipeController()
18 sk_free(fBlock); in ~SkNetPipeController()
23 return sockfd->writePacket(fBlock, fBytesWritten, type); in writeToSocket()
29 sk_free(fBlock); in requestBlock()
32 fBlock = sk_malloc_throw(fBlockSize); in requestBlock()
35 return fBlock; in requestBlock()
42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); in notifyWritten()
DSkNetPipeController.h28 void* fBlock; variable
/external/skia/src/gpu/
DGrTRecorder.h253 Iter(GrTRecorder& recorder) : fBlock(recorder.fHeadBlock), fPosition(0), fItem(nullptr) {} in Iter()
256 while (fPosition >= fBlock->fBack) { in next()
257 SkASSERT(fPosition == fBlock->fBack); in next()
258 if (!fBlock->fNext) { in next()
261 fBlock = fBlock->fNext; in next()
265 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]); in next()
266 fItem = reinterpret_cast<TBase*>(&(*fBlock)[fPosition + length_of<Header>::kValue]); in next()
279 MemBlock* fBlock;
298 : fBlock(recorder.fTailBlock), in ReverseIter()
302 fPosition = fBlock->fBack - lastHeader->fTotalLength; in ReverseIter()
[all …]
/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp1078 ASTCBlock fBlock; // the block data member
1628 fPartIndex = static_cast<int>(read_astc_bits(fBlock, 11, 23)); in decode()
1647 fDualPlane = static_cast<int>(read_astc_bits(fBlock, bitLoc - 2, bitLoc)); in decodeDualPlane()
1665 fCEM[0] = static_cast<ColorEndpointMode>(read_astc_bits(fBlock, 13, 17)); in decodeColorData()
1680 const int baseCEM = static_cast<int>(read_astc_bits(fBlock, 23, 25)); in decodeColorData()
1684 static_cast<ColorEndpointMode>(read_astc_bits(fBlock, 25, 29)); in decodeColorData()
1718 const int lowCEM = static_cast<int>(read_astc_bits(fBlock, 23, 29)); in decodeColorData()
1721 int fullCEM = static_cast<int>(read_astc_bits(fBlock, dualPlaneBitLoc, lastWeight)); in decodeColorData()
1788 const int blockMode = static_cast<int>(read_astc_bits(fBlock, 0, 11)); in decodeBlockMode()
1912 dst->fBlock.fLow = SkEndian_SwapLE64(qword[0]); in read_astc_block()
[all …]
/external/skia/include/core/
DSkChunkAlloc.h64 Block* fBlock; variable
/external/dng_sdk/source/
Ddng_read_image.cpp1000 dng_memory_block &fBlock; member in dng_image_spooler
1054 , fBlock (block) in dng_image_spooler()
1067 fBlock.LogicalSize () / bytesPerRow, in dng_image_spooler()
1076 fBuffer = (uint8 *) fBlock.Buffer (); in dng_image_spooler()
/external/sqlite/dist/
Dsqlite3.c51110 static int walLockExclusive(Wal *pWal, int lockIdx, int n, int fBlock){
51113 if( fBlock ) sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_WAL_BLOCK, 0);
/external/sqlite/dist/orig/
Dsqlite3.c51092 static int walLockExclusive(Wal *pWal, int lockIdx, int n, int fBlock){
51095 if( fBlock ) sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_WAL_BLOCK, 0);