Searched refs:bytesNeeded (Results 1 – 5 of 5) 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()
578 size_t bytesNeeded = 0; in internalPurge() local580 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()582 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge()583 if (bytesNeeded) { in internalPurge()585 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()596 if (!countNeeded && !bytesNeeded) { in internalPurge()607 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
1110 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local1111 SkASSERT(bytesNeeded == n); in finish()
226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
528 int bytesNeeded = nonceLength / mEncoder.symbolsPerByte(); in doPairingPhase() local530 byte[] nonce = new byte[bytesNeeded]; in doPairingPhase()