Searched refs:bytesNeeded (Results 1 – 7 of 7) sorted by relevance
50 int bytesNeeded) in generateDerivedKey() argument53 byte[] key = new byte[bytesNeeded]; in generateDerivedKey()63 int len = (bytesNeeded > buf.length) ? buf.length : bytesNeeded; in generateDerivedKey()68 bytesNeeded -= len; in generateDerivedKey()69 if (bytesNeeded == 0) in generateDerivedKey()
671 size_t bytesNeeded = 0; in internalPurge() local673 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()675 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge()676 if (bytesNeeded) { in internalPurge()678 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()689 if (!countNeeded && !bytesNeeded) { in internalPurge()700 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
1110 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local1111 SkASSERT(bytesNeeded == n); in finish()
160 @property (nonatomic, assign) size_t bytesNeeded; property171 …anner:(stream_scanner)scanner handler:(data_callback)handler bytesNeeded:(size_t)bytesNeeded readT…1129 …[_consumers addObject:[_consumerPool consumerWithScanner:nil handler:callback bytesNeeded:dataLeng…1136 …[_consumers addObject:[_consumerPool consumerWithScanner:consumer handler:callback bytesNeeded:dat…1194 size_t bytesNeeded = consumer.bytesNeeded;1201 assert(consumer.bytesNeeded);1202 if (curSize >= bytesNeeded) {1203 foundSize = bytesNeeded;1263 consumer.bytesNeeded -= foundSize;1265 if (consumer.bytesNeeded == 0) {[all …]
226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
269 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local270 SkAutoMalloc storage(bytesNeeded); in test_write()272 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write()
528 int bytesNeeded = nonceLength / mEncoder.symbolsPerByte(); in doPairingPhase() local530 byte[] nonce = new byte[bytesNeeded]; in doPairingPhase()