/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 498 const uint32_t kMemorySize = 256; // bytes in TEST() local 499 const int kOffset = kMemorySize / 2; in TEST() 510 kMemorySize, in TEST() 522 FlushInstructionCache(memory, kMemorySize); in TEST() 564 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST() 569 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)]; in TEST() 590 const uint32_t kMemorySize = 256; // bytes in TEST() local 602 kMemorySize, in TEST() 614 FlushInstructionCache(memory, kMemorySize); in TEST() 656 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST() [all …]
|
/external/google-breakpad/src/client/windows/unittests/ |
D | exception_handler_test.cc | 400 const uint32_t kMemorySize = si.dwPageSize; in TEST_F() local 403 uint8_t* memory = new uint8_t[kMemorySize]; in TEST_F() 408 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST_F() 422 handler.RegisterAppMemory(memory, kMemorySize); in TEST_F() 441 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST_F() 444 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize)); in TEST_F() 454 const uint32_t kMemorySize = si.dwPageSize; in TEST_F() local 457 uint8_t* memory = new uint8_t[kMemorySize]; in TEST_F() 462 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST_F() 476 handler.RegisterAppMemory(memory, kMemorySize); in TEST_F()
|
D | exception_handler_death_test.cc | 326 const uint32_t kMemorySize = 256; // bytes in TEST_F() local 327 const int kOffset = kMemorySize / 2; in TEST_F() 331 kMemorySize, in TEST_F() 382 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST_F() 387 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 415 const uint32_t kMemorySize = 256; // bytes in TEST_F() local 477 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST_F() 481 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)]; in TEST_F()
|
/external/google-breakpad/src/client/mac/tests/ |
D | exception_handler_test.cc | 314 const uint32_t kMemorySize = 256; // bytes in TEST_F() local 315 const int kOffset = kMemorySize / 2; in TEST_F() 326 kMemorySize, in TEST_F() 390 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST_F() 395 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F() 413 const uint32_t kMemorySize = 256; // bytes in TEST_F() local 425 kMemorySize, in TEST_F() 489 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST_F() 493 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)]; in TEST_F() 512 const uint32_t kMemorySize = 4096; // bytes in TEST_F() local [all …]
|
/external/libchrome/base/debug/ |
D | activity_tracker_unittest.cc | 48 const int kMemorySize = 1 << 20; // 1MiB member in base::debug::ActivityTrackerTest 206 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F() 291 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F() 330 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F() 380 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F() 447 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F() 484 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
|
/external/skia/tests/ |
D | TraceMemoryDumpTest.cpp | 77 const size_t kMemorySize = 1024; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 79 GrGLBuffer::Make(gpu, kMemorySize, GrGpuBufferType::kVertex, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 81 ValidateMemoryDumps(reporter, context, kMemorySize, true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | TraceMemoryDumpTest.cpp | 77 const size_t kMemorySize = 1024; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 79 GrGLBuffer::Make(gpu, kMemorySize, kVertex_GrBufferType, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 81 ValidateMemoryDumps(reporter, context, kMemorySize, true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest.cc | 440 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); in TEST() local 443 uint8_t* memory = new uint8_t[kMemorySize]; in TEST() 448 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST() 480 app_memory.length = kMemorySize; in TEST() 496 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST() 499 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize)); in TEST()
|
/external/google-breakpad/src/processor/ |
D | static_map_unittest.cc | 88 memset(data, 0, kMemorySize); in SetUp() 92 static const int kMemorySize = 40; member in TestInvalidMap 93 char data[kMemorySize];
|