Lines Matching refs:array
78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); in TEST() local
90 memcpy(array, model, array_size); in TEST()
92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST()
95 ASSERT_TRUE(reallocated_ptr != array); in TEST()
99 array = reallocated_ptr; in TEST()
101 memcpy(array, model, 2*array_size); in TEST()
103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST()
105 ASSERT_TRUE(reallocated_ptr == array); in TEST()
107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST()
110 ASSERT_TRUE(reallocated_ptr != array); in TEST()
115 array = reallocated_ptr; in TEST()
117 memcpy(array, model, 4000); in TEST()
119 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 64000)); in TEST()
122 ASSERT_TRUE(reallocated_ptr != array); in TEST()