Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkBlockAllocatorTest.cpp72 return br.fBlock->ptr(br.fAlignedOffset); in alloc_byte()
109 uintptr_t pt = reinterpret_cast<uintptr_t>(br.fBlock->ptr(br.fAlignedOffset)); in DEF_TEST()
118 REPORTER_ASSERT(r, pool->currentBlock() == br.fBlock); in DEF_TEST()
123 reinterpret_cast<uintptr_t>(prevBR->fBlock->ptr(prevBR->fEnd - 1)); in DEF_TEST()
129 std::memset(br.fBlock->ptr(br.fAlignedOffset), 0xFF, br.fEnd - br.fAlignedOffset); in DEF_TEST()
188 REPORTER_ASSERT(r, p.fBlock->avail<4>() > 16); in DEF_TEST()
189 REPORTER_ASSERT(r, p.fBlock->resize(p.fStart, p.fEnd, 16)); in DEF_TEST()
192 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x11, p.fEnd - p.fAlignedOffset); in DEF_TEST()
196 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(pNext.fAlignedOffset)) - in DEF_TEST()
197 reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(p.fAlignedOffset)) == 32); in DEF_TEST()
[all …]
/third_party/skia/src/core/
DSkTBlockList.h259 br.fBlock->setMetadata(br.fAlignedOffset); in pushItem()
261 return br.fBlock->ptr(br.fAlignedOffset); in pushItem()
326 memcpy(target.fBlock->ptr(target.fAlignedOffset), src->ptr(start), n * sizeof(T)); in concat()
327 target.fBlock->setMetadata(target.fAlignedOffset + (n - 1) * sizeof(T)); in concat()
385 return other.fBlock != fBlock || (SkToBool(*fBlock) && other.fIndex != fIndex);
389 SkASSERT(*fBlock);
390 return Resolve(*fBlock, fIndex);
394 const auto* block = *fBlock;
400 ++fBlock;
410 Item(BlockItem block) : fBlock(block) { in Item()
[all …]
DSkBlockAllocator.h73 Block* fBlock; // Owning block member
703 bool operator!=(const Item& other) const { return fBlock != other.fBlock; }
705 BlockT* operator*() const { return fBlock; }
718 fBlock = block; in advance()
728 BlockT* fBlock; variable
/third_party/skia/src/utils/
DSkJSONWriter.h50 : 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
/third_party/skia/src/gpu/
DGrMemoryPool.cpp68 Header* header = static_cast<Header*>(alloc.fBlock->ptr(alloc.fAlignedOffset - sizeof(Header))); in allocate()
73 alloc.fBlock->setMetadata(alloc.fBlock->metadata() + 1); in allocate()
93 return alloc.fBlock->ptr(alloc.fAlignedOffset); in allocate()
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp60 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()
DChromeTracingTracer.h61 BlockPtr fBlock; member
/third_party/gstreamer/gstplugins_good/gst/goom/
Dgoomsl_yacc.y110 s->fBlock[0].size = 0; in gsl_prepare_struct()
111 s->fBlock[0].data = 0; in gsl_prepare_struct()
129 for(j=0;substruct->fBlock[j].size>0;++j) { in gsl_prepare_struct()
130 s->fBlock[fblk].data = consumed + substruct->fBlock[j].data; in gsl_prepare_struct()
131 s->fBlock[fblk].size = substruct->fBlock[j].size; in gsl_prepare_struct()
165 if (s->fBlock[fblk].size == 0) { in gsl_prepare_struct()
166 s->fBlock[fblk].size = 1; in gsl_prepare_struct()
167 s->fBlock[fblk].data = consumed; in gsl_prepare_struct()
169 s->fBlock[fblk].size += 1; in gsl_prepare_struct()
177 s->fBlock[fblk].size = 0; in gsl_prepare_struct()
[all …]
/third_party/skia/third_party/externals/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()