Searched refs:kPrefixSize (Results 1 – 4 of 4) sorted by relevance
98 const size_t kPrefixSize = sizeof(kPrefix) - 1; in allocate() local101 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()
570 const size_t kPrefixSize = 128; // bytes in TEST_F() local571 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()
589 const size_t kPrefixSize = 128; // bytes in TEST_F() local590 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()
825 const size_t kPrefixSize = 128; // bytes in TEST() local826 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()