Lines Matching refs:array
30 tracked_safe_allocation<T> array(10, libkern::allocate_memory); in tests() local
32 CHECK(array.data() != nullptr); in tests()
33 CHECK(array.size() == 10); in tests()
34 CHECK(array.begin() == array.data()); in tests()
35 CHECK(array.end() == array.data() + 10); in tests()
46 tracked_safe_allocation<T> array(max_n + 1, libkern::allocate_memory); in tests() local
47 CHECK(array.data() == nullptr); in tests()
48 CHECK(array.size() == 0); in tests()
49 CHECK(array.begin() == array.end()); in tests()
62 tracked_safe_allocation<TrackInit> array(10, libkern::allocate_memory); variable
64 CHECK(array[i].initialized == true);