Lines Matching refs:ALIGNMENT
13 #define ALIGNMENT EIGEN_MAX_ALIGN_BYTES macro
15 #define ALIGNMENT 1 macro
25 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_handmade_aligned_malloc()
34 for(int i = ALIGNMENT; i < 1000; i++) in check_aligned_malloc()
37 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_malloc()
46 for(int i = ALIGNMENT; i < 1000; i++) in check_aligned_new()
49 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_new()
58 for(int i = ALIGNMENT; i < 400; i++) in check_aligned_stack_alloc()
61 VERIFY(internal::UIntPtr(p)%ALIGNMENT==0); in check_aligned_stack_alloc()
87 if(T::SizeAtCompileTime % ALIGNMENT == 0) in check_dynaligned()
91 VERIFY(internal::UIntPtr(obj)%ALIGNMENT==0); in check_dynaligned()
151 MyStruct foo0; VERIFY(internal::UIntPtr(foo0.avec.data())%ALIGNMENT==0); in test_dynalloc()
152 MyClassA fooA; VERIFY(internal::UIntPtr(fooA.avec.data())%ALIGNMENT==0); in test_dynalloc()
158 MyStruct *foo0 = new MyStruct(); VERIFY(internal::UIntPtr(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
159 MyClassA *fooA = new MyClassA(); VERIFY(internal::UIntPtr(fooA->avec.data())%ALIGNMENT==0); in test_dynalloc()
168 MyStruct *foo0 = new MyStruct[N]; VERIFY(internal::UIntPtr(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
169 MyClassA *fooA = new MyClassA[N]; VERIFY(internal::UIntPtr(fooA->avec.data())%ALIGNMENT==0); in test_dynalloc()