Lines Matching refs:quantum
242 MagickExport void *AcquireAlignedMemory(const size_t count,const size_t quantum) in AcquireAlignedMemory() argument
256 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireAlignedMemory()
259 size=count*quantum; in AcquireAlignedMemory()
543 MagickExport void *AcquireQuantumMemory(const size_t count,const size_t quantum) in AcquireQuantumMemory() argument
548 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireQuantumMemory()
550 extent=count*quantum; in AcquireQuantumMemory()
582 const size_t quantum) in AcquireVirtualMemory() argument
593 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireVirtualMemory()
615 extent=count*quantum; in AcquireVirtualMemory()
619 ((count*quantum) <= GetMaxMemoryRequest())) in AcquireVirtualMemory()
631 if ((count*quantum) <= GetMaxMemoryRequest()) in AcquireVirtualMemory()
995 const size_t quantum) in HeapOverflowSanityCheck() argument
1000 size=count*quantum; in HeapOverflowSanityCheck()
1001 if ((count == 0) || (quantum != (size/count))) in HeapOverflowSanityCheck()
1355 const size_t quantum) in ResizeQuantumMemory() argument
1360 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in ResizeQuantumMemory()
1365 extent=count*quantum; in ResizeQuantumMemory()