Home
last modified time | relevance | path

Searched refs:bytesUsed (Results 1 – 25 of 46) sorted by relevance

12

/external/skqp/src/core/
DSkResourceCache.cpp167 make_size_str(rec->bytesUsed(), &bytesStr); in add()
179 size_t used = rec->bytesUsed(); in remove()
356 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
375 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
389 used += rec->bytesUsed(); in validate()
399 SkASSERT(used >= rec->bytesUsed()); in validate()
400 used -= rec->bytesUsed(); in validate()
574 rec.getCategory(), rec.bytesUsed(), rec.diagnostic_only_getDiscardable()); in dump_visitor()
590 dump->dumpNumericValue(dumpName.c_str(), "discardable_size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
592 dump->dumpNumericValue(dumpName.c_str(), "size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
DSkBigPicture.cpp59 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
60 if (fBBH) { bytes += fBBH->bytesUsed(); } in approximateBytesUsed()
DSkBBoxHierarchy.h34 virtual size_t bytesUsed() const = 0;
DSkRecord.cpp25 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
DSkMaskCache.cpp53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
144 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkRTree.h45 size_t bytesUsed() const override;
DSkBitmapCache.cpp90 size_t bytesUsed() const override { in bytesUsed() function in SkBitmapCache::Rec
245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() function
DSkYUVPlanesCache.cpp50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
/external/skia/src/core/
DSkResourceCache.cpp170 make_size_str(rec->bytesUsed(), &bytesStr); in add()
182 size_t used = rec->bytesUsed(); in remove()
359 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
378 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
392 used += rec->bytesUsed(); in validate()
402 SkASSERT(used >= rec->bytesUsed()); in validate()
403 used -= rec->bytesUsed(); in validate()
585 rec.getCategory(), rec.bytesUsed(), rec.diagnostic_only_getDiscardable()); in dump_visitor()
601 dump->dumpNumericValue(dumpName.c_str(), "discardable_size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
603 dump->dumpNumericValue(dumpName.c_str(), "size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
DSkBigPicture.cpp80 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
81 if (fBBH) { bytes += fBBH->bytesUsed(); } in approximateBytesUsed()
DSkRecord.cpp25 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
DSkRTree.h36 size_t bytesUsed() const override;
DSkMaskCache.cpp53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
144 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkBitmapCache.cpp90 size_t bytesUsed() const override { in bytesUsed() function in SkBitmapCache::Rec
245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() function
DSkYUVPlanesCache.cpp53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
/external/OpenCSD/decoder/tests/ext_dcd_test_eg/c_api_echo_test/
Dext_dcd_echo_test.c215 uint32_t bytesUsed = 0; in echo_dcd_process_data() local
217 while (OCSD_DATA_RESP_IS_CONT(resp) && (bytesUsed < dataBlockSize)) in echo_dcd_process_data()
234 if (pDataBlock[bytesUsed] == 0x00) in echo_dcd_process_data()
236 bytesUsed++; in echo_dcd_process_data()
244 …decoder->curr_pkt_idx = index + bytesUsed; /* record the correct start of packet index in the buf… in echo_dcd_process_data()
245 … decoder->data_in[decoder->data_in_count++] = pDataBlock[bytesUsed++]; in echo_dcd_process_data()
257 *numBytesProcessed = bytesUsed; in echo_dcd_process_data()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java157 int bytesUsed = 0; in writeDataBuffer() local
167 bytesUsed += 2; in writeDataBuffer()
169 mOutputStream.write(buffer, 0, bytesUsed); in writeDataBuffer()
/external/skqp/src/gpu/
DGrBufferAllocPool.cpp253 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack() local
254 if (bytes >= bytesUsed) { in putBack()
255 bytes -= bytesUsed; in putBack()
256 fBytesInUse -= bytesUsed; in putBack()
/external/skia/include/core/
DSkBBHFactory.h36 virtual size_t bytesUsed() const = 0;
/external/skia/src/gpu/
DGrBufferAllocPool.cpp293 size_t bytesUsed = block.fBuffer->size() - block.fBytesFree; in putBack() local
294 if (bytes >= bytesUsed) { in putBack()
295 bytes -= bytesUsed; in putBack()
296 fBytesInUse -= bytesUsed; in putBack()
/external/skia/tests/
DPromiseImageTest.cpp321 size_t bytesUsed; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
323 dContext->getResourceCacheUsage(nullptr, &bytesUsed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 REPORTER_ASSERT(reporter, bytesUsed > kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/bench/
DImageCacheBench.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
/external/skia/bench/
DImageCacheBench.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
/external/OpenCSD/decoder/source/etmv3/
Dtrc_pkt_proc_etmv3_impl.cpp1125 int bytesUsed = 0; in extractDataValue() local
1127 while(bytesUsed < bytesReq) in extractDataValue()
1130 dataVal |= (((uint32_t)m_currPacketData[m_currPktIdx++]) << (bytesUsed * 8)); in extractDataValue()
1131 bytesUsed++; in extractDataValue()
/external/v4l2_codec2/components/
DV4L2Encoder.cpp726 size_t bytesUsed = 0; in enqueueInputBuffer() local
728 bytesUsed = allocationSize(format, mInputLayout->mCodedSize); in enqueueInputBuffer()
730 bytesUsed = ::base::checked_cast<size_t>( in enqueueInputBuffer()
738 bytesUsed += planes[i].mOffset; in enqueueInputBuffer()
741 buffer->setPlaneBytesUsed(i, bytesUsed); in enqueueInputBuffer()

12