Home
last modified time | relevance | path

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

/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DOpenSSLPBEParametersGenerator.java46 int bytesNeeded) in generateDerivedKey() argument
49 byte[] key = new byte[bytesNeeded]; in generateDerivedKey()
59 int len = (bytesNeeded > buf.length) ? buf.length : bytesNeeded; in generateDerivedKey()
64 bytesNeeded -= len; in generateDerivedKey()
65 if (bytesNeeded == 0) in generateDerivedKey()
/external/webkit/WebCore/platform/cf/
DBinaryPropertyList.cpp417 static int bytesNeeded(size_t count) in bytesNeeded() function
420 int bytesNeeded = 1; in bytesNeeded() local
422 ++bytesNeeded; in bytesNeeded()
423 return bytesNeeded; in bytesNeeded()
488 , m_objectReferenceSize(bytesNeeded(m_plan.objectCount())) in BinaryPropertyListSerializer()
490 , m_offsetSize(bytesNeeded(m_offsetTableStart)) in BinaryPropertyListSerializer()
/external/skia/src/core/
DSkGlyphCache.cpp624 size_t bytesNeeded) { in InternalFreeCache() argument
632 if (bytesNeeded < minToPurge) in InternalFreeCache()
633 bytesNeeded = minToPurge; in InternalFreeCache()
636 while (cache != NULL && bytesFreed < bytesNeeded) { in InternalFreeCache()
DSkGlyphCache.h237 static size_t InternalFreeCache(SkGlyphCache_Globals*, size_t bytesNeeded);