Home
last modified time | relevance | path

Searched refs:kPrefixSize (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalMac.hpp98 const size_t kPrefixSize = sizeof(kPrefix) - 1; in allocate() local
101 char name[kPrefixSize + kRandomSize + 1u]; in allocate()
102 memcpy(name, kPrefix, kPrefixSize); in allocate()
111 name[kPrefixSize + pos] = '0' + (r % 8); in allocate()
113 name[kPrefixSize + kRandomSize] = '\0'; in allocate()
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_death_test.cc570 const size_t kPrefixSize = 128; // bytes in TEST_F() local
571 EXPECT_EQ(kPrefixSize + sizeof(instructions), region->GetSize()); in TEST_F()
575 uint8_t prefix_bytes[kPrefixSize]; in TEST_F()
578 EXPECT_EQ(0, memcmp(bytes + kPrefixSize, in TEST_F()
/external/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc589 const size_t kPrefixSize = 128; // bytes in TEST_F() local
590 EXPECT_EQ(kPrefixSize + sizeof(instructions), region->GetSize()); in TEST_F()
594 uint8_t prefix_bytes[kPrefixSize]; in TEST_F()
597 EXPECT_TRUE(memcmp(bytes + kPrefixSize, in TEST_F()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc825 const size_t kPrefixSize = 128; // bytes in TEST() local
826 EXPECT_EQ(kPrefixSize + sizeof(kIllegalInstruction), region->GetSize()); in TEST()
830 uint8_t prefix_bytes[kPrefixSize]; in TEST()
833 EXPECT_TRUE(memcmp(bytes + kPrefixSize, in TEST()