Searched defs:kMemorySize (Results 1 - 6 of 6) sorted by relevance

/external/google-breakpad/src/client/linux/minidump_writer/
H A Dminidump_writer_unittest.cc440 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); local
443 uint8_t* memory = new uint8_t[kMemorySize];
448 for (uint32_t i = 0; i < kMemorySize; ++i) {
480 app_memory.length = kMemorySize;
496 EXPECT_EQ(kMemorySize, region->GetSize());
499 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize));
/external/google-breakpad/src/client/mac/tests/
H A Dexception_handler_test.cc314 const uint32_t kMemorySize = 256; // bytes local
315 const int kOffset = kMemorySize / 2;
326 kMemorySize,
390 EXPECT_EQ(kMemorySize, region->GetSize());
395 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)];
413 const uint32_t kMemorySize = 256; // bytes local
425 kMemorySize,
489 EXPECT_EQ(kMemorySize / 2, region->GetSize());
493 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)];
512 const uint32_t kMemorySize local
[all...]
/external/google-breakpad/src/client/windows/unittests/
H A Dexception_handler_test.cc400 const uint32_t kMemorySize = si.dwPageSize; local
403 uint8_t* memory = new uint8_t[kMemorySize];
408 for (uint32_t i = 0; i < kMemorySize; ++i) {
422 handler.RegisterAppMemory(memory, kMemorySize);
441 EXPECT_EQ(kMemorySize, region->GetSize());
444 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize));
454 const uint32_t kMemorySize = si.dwPageSize; local
457 uint8_t* memory = new uint8_t[kMemorySize];
462 for (uint32_t i = 0; i < kMemorySize; ++i) {
476 handler.RegisterAppMemory(memory, kMemorySize);
[all...]
H A Dexception_handler_death_test.cc326 const uint32_t kMemorySize = 256; // bytes local
327 const int kOffset = kMemorySize / 2;
331 kMemorySize,
382 EXPECT_EQ(kMemorySize, region->GetSize());
387 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)];
415 const uint32_t kMemorySize = 256; // bytes local
477 EXPECT_EQ(kMemorySize / 2, region->GetSize());
481 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)];
/external/google-breakpad/src/processor/
H A Dstatic_map_unittest.cc88 memset(data, 0, kMemorySize);
92 static const int kMemorySize = 40; member in class:TestInvalidMap
93 char data[kMemorySize];
/external/google-breakpad/src/client/linux/handler/
H A Dexception_handler_unittest.cc498 const uint32_t kMemorySize = 256; // bytes local
499 const int kOffset = kMemorySize / 2;
510 kMemorySize,
522 FlushInstructionCache(memory, kMemorySize);
564 EXPECT_EQ(kMemorySize, region->GetSize());
569 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)];
590 const uint32_t kMemorySize = 256; // bytes local
602 kMemorySize,
614 FlushInstructionCache(memory, kMemorySize);
656 EXPECT_EQ(kMemorySize /
681 const uint32_t kMemorySize = 4096; // bytes local
813 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); local
1073 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); local
1117 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); local
[all...]

Completed in 113 milliseconds