Searched refs:code_buff (Results 1 – 3 of 3) sorted by relevance
61 void *code_buff = ca.AllocateCode(sizeof(buff), static_cast<void *>(&buff[0])); variable63 ASSERT_EQ(static_cast<uint8_t *>(code_buff)[i], 0xCC);65 ASSERT_TRUE(IsAligned(code_buff, 4 * SIZE_1K));
47 void *CodeAllocator::AllocateCode(size_t size, const void *code_buff) in AllocateCode() argument51 if (UNLIKELY(code_ptr == nullptr || memcpy_s(code_ptr, size, code_buff, size) != EOK)) { in AllocateCode()
40 [[nodiscard]] void *AllocateCode(size_t size, const void *code_buff);