/external/eigen/test/ |
D | dynalloc.cpp | 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() [all …]
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | BindingsHelper.java | 17 public static final int ALIGNMENT = 8; field in BindingsHelper 79 return (size + ALIGNMENT - 1) & ~(ALIGNMENT - 1); in align() 86 return (size + ALIGNMENT - 1) & ~(ALIGNMENT - 1); in align()
|
D | Encoder.java | 58 assert bufferSize % BindingsHelper.ALIGNMENT == 0; in EncoderState() 344 byte[] bytes = new byte[(v.length + 7) / BindingsHelper.ALIGNMENT]; in encode() 346 for (int j = 0; j < BindingsHelper.ALIGNMENT; ++j) { in encode() 347 int booleanIndex = BindingsHelper.ALIGNMENT * i + j; in encode()
|
D | Decoder.java | 78 if (start % BindingsHelper.ALIGNMENT != 0) { in claimMemory() 334 byte[] bytes = new byte[(si.elementsOrVersion + 7) / BindingsHelper.ALIGNMENT]; in readBooleans() 339 for (int j = 0; j < BindingsHelper.ALIGNMENT; ++j) { in readBooleans() 340 int booleanIndex = i * BindingsHelper.ALIGNMENT + j; in readBooleans()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | BindingsHelperTest.java | 53 for (int i = 0; i < 3 * BindingsHelper.ALIGNMENT; ++i) { in testAlign() 56 Assert.assertTrue(j % BindingsHelper.ALIGNMENT == 0); in testAlign() 57 Assert.assertTrue(j - i < BindingsHelper.ALIGNMENT); in testAlign()
|
/external/libdrm/libkms/ |
D | radeon.c | 42 #define ALIGNMENT 512 macro 99 pitch = (pitch + ALIGNMENT - 1) & ~(ALIGNMENT - 1); in radeon_bo_create() 112 arg.alignment = ALIGNMENT; in radeon_bo_create()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | eigen_tensor_reduced_instantiations_google.h | 96 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument 100 METHOD<true, true, false, ALIGNMENT> ARGS; \
|
D | eigen_tensor_reduced_instantiations_oss.h | 120 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument 124 METHOD<true, true, false, ALIGNMENT> ARGS; \
|
/external/xz-java/src/org/tukaani/xz/ |
D | ARMThumbOptions.java | 19 private static final int ALIGNMENT = 2; field in ARMThumbOptions 22 super(ALIGNMENT); in ARMThumbOptions()
|
D | PowerPCOptions.java | 19 private static final int ALIGNMENT = 4; field in PowerPCOptions 22 super(ALIGNMENT); in PowerPCOptions()
|
D | SPARCOptions.java | 19 private static final int ALIGNMENT = 4; field in SPARCOptions 22 super(ALIGNMENT); in SPARCOptions()
|
D | X86Options.java | 19 private static final int ALIGNMENT = 1; field in X86Options 22 super(ALIGNMENT); in X86Options()
|
D | ARMOptions.java | 19 private static final int ALIGNMENT = 4; field in ARMOptions 22 super(ALIGNMENT); in ARMOptions()
|
D | IA64Options.java | 19 private static final int ALIGNMENT = 16; field in IA64Options 22 super(ALIGNMENT); in IA64Options()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | eigen_tensor_reduced_instantiations_google.h | 121 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument 125 METHOD<true, true, false, ALIGNMENT> ARGS; \
|
D | eigen_tensor_reduced_instantiations_oss.h | 121 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument 125 METHOD<true, true, false, ALIGNMENT> ARGS; \
|
/external/python/cpython3/Python/ |
D | pyarena.c | 14 #define ALIGNMENT 8 macro 86 b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) - in block_new() 105 size = _Py_SIZE_ROUND_UP(size, ALIGNMENT); in block_alloc()
|
/external/python/cpython2/Python/ |
D | pyarena.c | 15 #define ALIGNMENT 8 macro 16 #define ALIGNMENT_MASK (ALIGNMENT - 1)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/ |
D | aligned_stack_var.ll | 8 ; and ALIGNMENT,%rsp ; (%rsp and %rbp are different now)
|
/external/llvm/test/DebugInfo/X86/ |
D | aligned_stack_var.ll | 8 ; and ALIGNMENT,%rsp ; (%rsp and %rbp are different now)
|
/external/python/cpython2/Objects/ |
D | obmalloc.c | 157 #define ALIGNMENT 8 /* must be 2^N */ macro 159 #define ALIGNMENT_MASK (ALIGNMENT - 1) 180 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 791 #define ALIGNMENT 8 /* must be 2^N */ macro 813 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT) 952 #define POOL_OVERHEAD _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
|