Searched refs:bytesNeeded (Results 1 – 4 of 4) sorted by relevance
46 int bytesNeeded) in generateDerivedKey() argument49 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()
417 static int bytesNeeded(size_t count) in bytesNeeded() function420 int bytesNeeded = 1; in bytesNeeded() local422 ++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()
624 size_t bytesNeeded) { in InternalFreeCache() argument632 if (bytesNeeded < minToPurge) in InternalFreeCache()633 bytesNeeded = minToPurge; in InternalFreeCache()636 while (cache != NULL && bytesFreed < bytesNeeded) { in InternalFreeCache()
237 static size_t InternalFreeCache(SkGlyphCache_Globals*, size_t bytesNeeded);