3 #include "testing/testing.h"
62 stream <<
value.value;
101 TEST(cpp_type, DefaultConstruction)
141 TEST(cpp_type, CopyToUninitialized)
143 int buffer1[10] = {0};
144 int buffer2[10] = {0};
172 TEST(cpp_type, CopyToInitialized)
174 int buffer1[10] = {0};
175 int buffer2[10] = {0};
203 TEST(cpp_type, RelocateToUninitialized)
205 int buffer1[10] = {0};
206 int buffer2[10] = {0};
234 TEST(cpp_type, RelocateToInitialized)
236 int buffer1[10] = {0};
237 int buffer2[10] = {0};
265 TEST(cpp_type, FillInitialized)
268 int buffer2[10] = {0};
291 TEST(cpp_type, FillUninitialized)
294 int buffer2[10] = {0};
320 std::stringstream ss;
321 CPPType::get<int32_t>().debug_print((
void *)&value, ss);
322 std::string text = ss.str();
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
#define MAKE_CPP_TYPE(IDENTIFIER, TYPE_NAME)
void construct_default(void *ptr) const
void relocate_to_uninitialized_indices(void *src, void *dst, IndexMask mask) const
void copy_to_initialized_n(const void *src, void *dst, int64_t n) const
void copy_to_initialized_indices(const void *src, void *dst, IndexMask mask) const
void destruct_indices(void *ptr, IndexMask mask) const
int64_t alignment() const
void construct_default_indices(void *ptr, IndexMask mask) const
void fill_initialized(const void *value, void *dst, int64_t n) const
void construct_default_n(void *ptr, int64_t n) const
void fill_initialized_indices(const void *value, void *dst, IndexMask mask) const
void relocate_to_uninitialized_n(void *src, void *dst, int64_t n) const
void copy_to_uninitialized_n(const void *src, void *dst, int64_t n) const
void relocate_to_uninitialized(void *src, void *dst) const
void copy_to_uninitialized_indices(const void *src, void *dst, IndexMask mask) const
void fill_uninitialized_indices(const void *value, void *dst, IndexMask mask) const
void relocate_to_initialized_indices(void *src, void *dst, IndexMask mask) const
void destruct(void *ptr) const
void copy_to_initialized(const void *src, void *dst) const
void relocate_to_initialized(void *src, void *dst) const
void destruct_n(void *ptr, int64_t n) const
void fill_uninitialized(const void *value, void *dst, int64_t n) const
void copy_to_uninitialized(const void *src, void *dst) const
void relocate_to_initialized_n(void *src, void *dst, int64_t n) const
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer
static const int move_assigned_value
static const int move_constructed_from_value
static const int move_assigned_from_value
static const int copy_constructed_from_value
static const int default_constructed_value
static const int destructed_value
static const int move_constructed_value
static const int copy_constructed_value
static const int copy_assigned_value
static const CPPType & CPPType_TestType
static const int copy_assigned_from_value
unsigned __int64 uint64_t
TestType(TestType &&other) noexcept
TestType & operator=(const TestType &other)
friend std::ostream & operator<<(std::ostream &stream, const TestType &value)
TestType & operator=(TestType &&other) noexcept
friend bool operator==(const TestType &UNUSED(a), const TestType &UNUSED(b))
TestType(const TestType &other)