Searched refs:setAllocationCanFail (Results 1 – 1 of 1) sorted by relevance
37 void setAllocationCanFail(bool c) { m_allocationCanFail = c; } in setAllocationCanFail() function62 …il() : m_old(memoryManager()->allocationCanFail()) { memoryManager()->setAllocationCanFail(true); } in MemoryAllocationCanFail()63 ~MemoryAllocationCanFail() { memoryManager()->setAllocationCanFail(m_old); } in ~MemoryAllocationCanFail()70 …l() : m_old(memoryManager()->allocationCanFail()) { memoryManager()->setAllocationCanFail(false); } in MemoryAllocationCannotFail()71 ~MemoryAllocationCannotFail() { memoryManager()->setAllocationCanFail(m_old); } in ~MemoryAllocationCannotFail()