Home
last modified time | relevance | path

Searched refs:bytesNeeded (Results 1 – 5 of 5) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DOpenSSLPBEParametersGenerator.java50 int bytesNeeded) in generateDerivedKey() argument
53 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()
/external/skia/src/core/
DSkGlyphCache.cpp578 size_t bytesNeeded = 0; in internalPurge() local
580 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()
DSkAAClip.cpp1110 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local
1111 SkASSERT(bytesNeeded == n); in finish()
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.h226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local
227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingSession.java528 int bytesNeeded = nonceLength / mEncoder.symbolsPerByte(); in doPairingPhase() local
530 byte[] nonce = new byte[bytesNeeded]; in doPairingPhase()