Home
last modified time | relevance | path

Searched refs:ALIGNMENT (Results 1 – 22 of 22) sorted by relevance

/external/eigen/test/
Ddynalloc.cpp13 #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/
DBindingsHelper.java17 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()
DEncoder.java58 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()
DDecoder.java78 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/
DBindingsHelperTest.java53 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/
Dradeon.c42 #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/
Deigen_tensor_reduced_instantiations_google.h96 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument
100 METHOD<true, true, false, ALIGNMENT> ARGS; \
Deigen_tensor_reduced_instantiations_oss.h120 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument
124 METHOD<true, true, false, ALIGNMENT> ARGS; \
/external/xz-java/src/org/tukaani/xz/
DARMThumbOptions.java19 private static final int ALIGNMENT = 2; field in ARMThumbOptions
22 super(ALIGNMENT); in ARMThumbOptions()
DPowerPCOptions.java19 private static final int ALIGNMENT = 4; field in PowerPCOptions
22 super(ALIGNMENT); in PowerPCOptions()
DSPARCOptions.java19 private static final int ALIGNMENT = 4; field in SPARCOptions
22 super(ALIGNMENT); in SPARCOptions()
DX86Options.java19 private static final int ALIGNMENT = 1; field in X86Options
22 super(ALIGNMENT); in X86Options()
DARMOptions.java19 private static final int ALIGNMENT = 4; field in ARMOptions
22 super(ALIGNMENT); in ARMOptions()
DIA64Options.java19 private static final int ALIGNMENT = 16; field in IA64Options
22 super(ALIGNMENT); in IA64Options()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Deigen_tensor_reduced_instantiations_google.h121 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument
125 METHOD<true, true, false, ALIGNMENT> ARGS; \
Deigen_tensor_reduced_instantiations_oss.h121 #define TENSOR_CONTRACTION_DISPATCH(METHOD, ALIGNMENT, ARGS) \ argument
125 METHOD<true, true, false, ALIGNMENT> ARGS; \
/external/python/cpython3/Python/
Dpyarena.c14 #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/
Dpyarena.c15 #define ALIGNMENT 8 macro
16 #define ALIGNMENT_MASK (ALIGNMENT - 1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Daligned_stack_var.ll8 ; and ALIGNMENT,%rsp ; (%rsp and %rbp are different now)
/external/llvm/test/DebugInfo/X86/
Daligned_stack_var.ll8 ; and ALIGNMENT,%rsp ; (%rsp and %rbp are different now)
/external/python/cpython2/Objects/
Dobmalloc.c157 #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/
Dobmalloc.c791 #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)