Home | History | Annotate | Download | only in core

Lines Matching defs:memory

25 // Write random data to allocated memory
27 // Check that we can memset the entire memory
30 // Do some memory allocation to check that the arena doesn't mess up
31 // the internal memory allocator
39 // Free up the allocated memory;
44 // Check that we can memset the entire memory
50 char* memory = a.Alloc(100);
51 ASSERT_NE(memory, nullptr);
52 TestMemory(memory, 100);
55 memory = a.Alloc(100);
56 ASSERT_NE(memory, nullptr);
57 TestMemory(memory, 100);
78 char* memory = a.Alloc(1024);
79 ASSERT_NE(memory, nullptr);
80 TestMemory(memory, 1024);
94 char* memory = a.Alloc(768);
95 ASSERT_NE(memory, nullptr);
96 TestMemory(memory, 768);
108 char* memory = a.Alloc(10240);
109 ASSERT_NE(memory, nullptr);
110 TestMemory(memory, 10240);