/external/skia/tests/ |
D | GrBlockAllocatorTest.cpp | 64 return br.fBlock->ptr(br.fAlignedOffset); in alloc_byte() 100 uintptr_t pt = reinterpret_cast<uintptr_t>(br.fBlock->ptr(br.fAlignedOffset)); in DEF_TEST() 109 REPORTER_ASSERT(r, pool->currentBlock() == br.fBlock); in DEF_TEST() 114 reinterpret_cast<uintptr_t>(prevBR->fBlock->ptr(prevBR->fEnd - 1)); in DEF_TEST() 120 std::memset(br.fBlock->ptr(br.fAlignedOffset), 0xFF, br.fEnd - br.fAlignedOffset); in DEF_TEST() 179 REPORTER_ASSERT(r, p.fBlock->avail<4>() > 16); in DEF_TEST() 180 REPORTER_ASSERT(r, p.fBlock->resize(p.fStart, p.fEnd, 16)); in DEF_TEST() 183 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x11, p.fEnd - p.fAlignedOffset); in DEF_TEST() 187 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(pNext.fAlignedOffset)) - in DEF_TEST() 188 reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(p.fAlignedOffset)) == 32); in DEF_TEST() [all …]
|
/external/skqp/src/gpu/ |
D | GrTRecorder.h | 254 Iter(GrTRecorder& recorder) : fBlock(recorder.fHeadBlock), fPosition(0), fItem(nullptr) {} in Iter() 257 while (fPosition >= fBlock->fBack) { in next() 258 SkASSERT(fPosition == fBlock->fBack); in next() 259 if (!fBlock->fNext) { in next() 262 fBlock = fBlock->fNext; in next() 266 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]); in next() 267 fItem = reinterpret_cast<TBase*>(&(*fBlock)[fPosition + length_of<Header>::kValue]); in next() 280 MemBlock* fBlock; 299 : fBlock(recorder.fTailBlock), in ReverseIter() 303 fPosition = fBlock->fBack - lastHeader->fTotalLength; in ReverseIter() [all …]
|
/external/skqp/src/core/ |
D | SkRWBuffer.cpp | 69 SkBufferBlock fBlock; member 71 SkBufferHead(size_t capacity) : fRefCnt(1), fBlock(capacity) {} in SkBufferHead() 95 SkBufferBlock* block = fBlock.fNext; in unref() 109 const SkBufferBlock* block = &fBlock; in validate() 159 fBlock = &buffer->fHead->fBlock; in reset() 162 fBlock = nullptr; in reset() 168 return fRemaining ? fBlock->startData() : nullptr; in data() 172 if (!fBlock) { in size() 175 return SkTMin(fBlock->fCapacity, fRemaining); in size() 181 if (fBuffer->fTail == fBlock) { in next() [all …]
|
D | SkTLList.h | 37 Block* fBlock; // owning block. member 55 Block* block = node->fBlock; in ~SkTLList() 231 fFirstBlock.fNodes[i].fBlock = &fFirstBlock; in delayedInit() 244 ++node->fBlock->fNodesInUse; in createNode() 252 node->fBlock = block; in createNode() 257 block->fNodes[i].fBlock = block; in createNode() 268 Block* block = node->fBlock; in removeNode() 304 Block* block = freeNode->fBlock; in validate() 326 Block* block = activeNode->fBlock; in validate()
|
/external/skia/src/gpu/ |
D | GrTBlockList.h | 258 br.fBlock->setMetadata(br.fAlignedOffset); in pushItem() 260 return br.fBlock->ptr(br.fAlignedOffset); in pushItem() 330 memcpy(target.fBlock->ptr(target.fAlignedOffset), src->ptr(start), n * sizeof(T)); in concat() 331 target.fBlock->setMetadata(target.fAlignedOffset + (n - 1) * sizeof(T)); in concat() 389 return other.fBlock != fBlock || (SkToBool(*fBlock) && other.fIndex != fIndex); 393 SkASSERT(*fBlock); 394 return Resolve(*fBlock, fIndex); 398 const auto* block = *fBlock; 404 ++fBlock; 414 Item(BlockItem block) : fBlock(block) { in Item() [all …]
|
D | GrMemoryPool.cpp | 69 Header* header = static_cast<Header*>(alloc.fBlock->ptr(alloc.fAlignedOffset - sizeof(Header))); in allocate() 74 alloc.fBlock->setMetadata(alloc.fBlock->metadata() + 1); in allocate() 94 return alloc.fBlock->ptr(alloc.fAlignedOffset); in allocate()
|
D | GrBlockAllocator.h | 66 Block* fBlock; // Owning block member 697 bool operator!=(const Item& other) const { return fBlock != other.fBlock; } 699 BlockT* operator*() const { return fBlock; } 712 fBlock = block; in advance() 722 BlockT* fBlock; variable
|
/external/skqp/src/utils/ |
D | SkJSONWriter.h | 50 : fBlock(new char[kBlockSize]) in fBlock() function 51 , fWrite(fBlock) in fBlock() 52 , fBlockEnd(fBlock + kBlockSize) in fBlock() 62 delete[] fBlock; in ~SkJSONWriter() 71 if (fWrite != fBlock) { in flush() 72 fStream->write(fBlock, fWrite - fBlock); in flush() 73 fWrite = fBlock; in flush() 347 char* fBlock; variable
|
/external/skia/src/utils/ |
D | SkJSONWriter.h | 50 : fBlock(new char[kBlockSize]) in fBlock() function 51 , fWrite(fBlock) in fBlock() 52 , fBlockEnd(fBlock + kBlockSize) in fBlock() 62 delete[] fBlock; in ~SkJSONWriter() 71 if (fWrite != fBlock) { in flush() 72 fStream->write(fBlock, fWrite - fBlock); in flush() 73 fWrite = fBlock; in flush() 347 char* fBlock; variable
|
/external/skia/src/core/ |
D | SkTLList.h | 37 Block* fBlock; // owning block. member 55 Block* block = node->fBlock; in ~SkTLList() 231 fFirstBlock.fNodes[i].fBlock = &fFirstBlock; in delayedInit() 244 ++node->fBlock->fNodesInUse; in createNode() 252 node->fBlock = block; in createNode() 257 block->fNodes[i].fBlock = block; in createNode() 268 Block* block = node->fBlock; in removeNode() 304 Block* block = freeNode->fBlock; in validate() 326 Block* block = activeNode->fBlock; in validate()
|
/external/skia/tools/trace/ |
D | ChromeTracingTracer.cpp | 60 fCurBlock.fBlock = BlockPtr(new uint8_t[kBlockSize]); in createBlock() 73 memcpy(fCurBlock.fBlock.get() + fCurBlockUsed, data, size); in appendEvent() 74 Handle handle = reinterpret_cast<Handle>(fCurBlock.fBlock.get() + fCurBlockUsed); in appendEvent() 288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush() 290 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush() 298 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
|
D | ChromeTracingTracer.h | 61 BlockPtr fBlock; member
|
/external/skqp/tools/trace/ |
D | SkChromeTracingTracer.cpp | 66 fCurBlock.fBlock = BlockPtr(new uint8_t[kBlockSize]); in createBlock() 79 memcpy(fCurBlock.fBlock.get() + fCurBlockUsed, data, size); in appendEvent() 80 Handle handle = reinterpret_cast<Handle>(fCurBlock.fBlock.get() + fCurBlockUsed); in appendEvent() 305 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush() 307 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush() 314 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
|
D | SkChromeTracingTracer.h | 61 BlockPtr fBlock; member
|
/external/skqp/include/core/ |
D | SkRWBuffer.h | 55 const SkBufferBlock* fBlock;
|
/external/dng_sdk/source/ |
D | dng_read_image.cpp | 1000 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()
|