Home | History | Annotate | Download | only in minidump_writer

Lines Matching defs:memory

154   // Get some memory.
155 char* memory =
162 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory);
163 ASSERT_TRUE(memory);
183 // Add information about the mapped memory.
200 // the mmap'ed |memory| is listed with the given module name
275 char* memory =
282 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory);
283 ASSERT_TRUE(memory);
302 // Add information about the mapped memory. Report it as being larger than
320 // the mmap'ed |memory| is listed with the given module name
433 // Test that an additional memory region can be added to the minidump.
442 // Get some heap memory.
443 uint8_t* memory = new uint8_t[kMemorySize];
444 const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory);
445 ASSERT_TRUE(memory);
447 // Stick some data into the memory so the contents can be verified.
449 memory[i] = i % 255;
477 // Add the memory region to the list of memory to be included.
479 app_memory.ptr = memory;
485 // Read the minidump. Ensure that the memory region is present
498 // Verify memory contents.
499 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize));
501 delete[] memory;
529 // be an invalid memory address for the child process (stack or otherwise).
554 // Read the minidump. Ensure that the memory region is present
562 // GetThreadList() shows the error: "ERROR: MinidumpThread has a memory
664 MinidumpMemoryRegion* memory = thread->GetMemory();
665 ASSERT_TRUE(memory != NULL);
666 total_normal_stack_size += memory->GetSize();
732 MinidumpMemoryRegion* memory = thread->GetMemory();
733 ASSERT_TRUE(memory != NULL);
734 total_limit_stack_size += memory->GetSize();