Lines Matching refs:m_pMemory
54 char *m_pMemory; member in rtl_alloc::Memory
59 :m_pMemory(NULL), in Memory()
68 m_pMemory = (char*) rtl_allocateMemory( m_nSizeOfMemory ); in setUp()
74 rtl_freeMemory(m_pMemory); in tearDown()
75 m_pMemory = NULL; in tearDown()
84 CPPUNIT_ASSERT_MESSAGE( "Can get zero memory.", m_pMemory != NULL); in rtl_allocateMemory_001()
85 memset(m_pMemory, 1, m_nSizeOfMemory); in rtl_allocateMemory_001()
86 …CPPUNIT_ASSERT_MESSAGE( "memory contains wrong value.", checkMemory(m_pMemory, m_nSizeOfMemory, 1)… in rtl_allocateMemory_001()
93 m_pMemory = (char*)rtl_reallocateMemory(m_pMemory, nSize); in rtl_reallocateMemory_001()
95 CPPUNIT_ASSERT_MESSAGE( "Can reallocate memory.", m_pMemory != NULL); in rtl_reallocateMemory_001()
96 memset(m_pMemory, 2, nSize); in rtl_reallocateMemory_001()
97 … CPPUNIT_ASSERT_MESSAGE( "memory contains wrong value.", checkMemory(m_pMemory, nSize, 2) == true); in rtl_reallocateMemory_001()