Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/third_party/skia/third_party/externals/swiftshader/src/Common/
DTypes.hpp40 #define ALIGN(bytes, type) __declspec(align(bytes)) type macro
43 #define ALIGN(bytes, type) type __attribute__((aligned(bytes))) macro
48 typedef ALIGN(1, uint8_t) byte;
49 typedef ALIGN(2, uint16_t) word;
50 typedef ALIGN(4, uint32_t) dword;
51 typedef ALIGN(8, uint64_t) qword;
52 typedef ALIGN(16, uint64_t) qword2[2]; typedef
53 typedef ALIGN(4, uint8_t) byte4[4]; typedef
54 typedef ALIGN(8, uint8_t) byte8[8]; typedef
55 typedef ALIGN(16, uint8_t) byte16[16]; typedef
[all …]
/third_party/optimized-routines/string/test/
Dstrcpy.c40 #define ALIGN 32 macro
44 static char wbuf[LEN + 3 * ALIGN];
49 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
66 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test()
68 for (i = 0; i < len + ALIGN; i++) in test()
75 for (int i = 1; i <= ALIGN; i++) in test()
90 for (i = 0; i < len + ALIGN; i++) in test()
96 quoteat ("got", dst, len + ALIGN, i); in test()
97 quoteat ("want", want, len + ALIGN, i); in test()
106 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
[all …]
Dstpcpy.c42 #define ALIGN 32 macro
46 static char wbuf[LEN + 3 * ALIGN];
51 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
68 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test()
70 for (i = 0; i < len + ALIGN; i++) in test()
77 for (int i = 1; i <= ALIGN; i++) in test()
92 for (i = 0; i < len + ALIGN; i++) in test()
98 quoteat ("got", dst, len + ALIGN, i); in test()
99 quoteat ("want", want, len + ALIGN, i); in test()
108 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
[all …]
Dstrlen.c44 #define ALIGN 32 macro
51 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
63 if (len > LEN || align >= ALIGN) in test()
68 for (int i = 1; i <= ALIGN; i++) in test()
88 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
93 for (int a = 0; a < ALIGN; a++) in main()
Dstrnlen.c42 #define ALIGN 32 macro
49 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
62 if (len > LEN || align >= ALIGN) in test()
67 for (int i = 1; i <= ALIGN; i++) in test()
91 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
96 for (int a = 0; a < ALIGN; a++) in main()
Dmemrchr.c39 #define ALIGN 32 macro
46 return (void *) (((uintptr_t) p + ALIGN) & -ALIGN); in alignup()
61 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
66 for (int i = 0; i <= ALIGN; i++) in test()
89 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
94 for (int a = 0; a < ALIGN; a++) in main()
Dmemchr.c41 #define ALIGN 32 macro
48 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
63 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
68 for (int i = 0; i <= ALIGN; i++) in test()
92 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
97 for (int a = 0; a < ALIGN; a++) in main()
Dstrrchr.c39 #define ALIGN 32 macro
46 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
65 for (int i = 1; i <= ALIGN; i++) in test()
102 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
107 for (int a = 0; a < ALIGN; a++) in main()
Dstrchr.c39 #define ALIGN 32 macro
46 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
65 for (int i = 1; i <= ALIGN; i++) in test()
102 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
107 for (int a = 0; a < ALIGN; a++) in main()
Dstrchrnul.c43 #define ALIGN 32 macro
50 return (void *) (((uintptr_t) p + ALIGN - 1) & -ALIGN); in alignup()
64 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
69 for (int i = 1; i <= ALIGN; i++) in test()
107 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
112 for (int a = 0; a < ALIGN; a++) in main()
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc-ffi_darwin.c268 size_al = ALIGN((*ptr)->size, 8); in ffi_prep_args()
481 size_al = ALIGN((*ptr)->size, 8); in ffi_prep_cif_machdep()
907 size_al = ALIGN(arg_types[i]->size, 8); in ffi_closure_helper_DARWIN()
1085 srcFMarker = ALIGN(srcFMarker, 4); in ffi64_struct_to_ram_form()
1086 srcGMarker = ALIGN(srcGMarker, 4); in ffi64_struct_to_ram_form()
1087 destMarker = ALIGN(destMarker, 4); in ffi64_struct_to_ram_form()
1109 (ALIGN(srcGMarker, 8) - srcGMarker) < 2) && in ffi64_struct_to_ram_form()
1111 (ALIGN(srcGMarker, 8) - srcGMarker) < 4)) in ffi64_struct_to_ram_form()
1112 srcGMarker = ALIGN(srcGMarker, 8); in ffi64_struct_to_ram_form()
1118 srcFMarker = ALIGN(srcFMarker, 8); in ffi64_struct_to_ram_form()
[all …]
/third_party/cmsis/Device/ARM/ARMCM55/Source/GCC/
Dgcc_arm.ld143 . = ALIGN(32);
160 . = ALIGN(4);
178 . = ALIGN(4);
193 __etext = ALIGN (4);
202 . = ALIGN(4);
208 . = ALIGN(4);
215 . = ALIGN(4);
223 . = ALIGN(4);
237 __etext2 = ALIGN (4);
241 . = ALIGN(4);
[all …]
/third_party/python/Modules/_sha3/kcp/
Dalign.h21 #ifdef ALIGN
22 #undef ALIGN
26 #define ALIGN(x) __attribute__ ((aligned(x))) macro
28 #define ALIGN(x) __declspec(align(x)) macro
30 #define ALIGN(x) __align(x) macro
32 #define ALIGN(x) macro
/third_party/libdrm/tests/amdgpu/
Dvce_tests.c248 req.alloc_size = ALIGN(size, 4096); in alloc_resource()
306 ib_cpu[len + 8] = ALIGN(enc.width, align); in amdgpu_cs_vce_create()
307 ib_cpu[len + 9] = ALIGN(enc.width, align); in amdgpu_cs_vce_create()
358 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16); in amdgpu_cs_vce_encode_idr()
391 ib_cpu[len + 14] = ALIGN(enc->width, align); in amdgpu_cs_vce_encode_idr()
392 ib_cpu[len + 15] = ALIGN(enc->width, align); in amdgpu_cs_vce_encode_idr()
408 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16); in amdgpu_cs_vce_encode_p()
444 ib_cpu[len + 14] = ALIGN(enc->width, align); in amdgpu_cs_vce_encode_p()
445 ib_cpu[len + 15] = ALIGN(enc->width, align); in amdgpu_cs_vce_encode_p()
493 vbuf_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16) * 1.5; in amdgpu_cs_vce_encode()
[all …]
/third_party/musl/src/string/
Dmemccpy.c5 #define ALIGN (sizeof(size_t)-1) macro
20 if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in memccpy()
21 for (; ((uintptr_t)s & ALIGN) && n && (*d=*s)!=c; n--, s++, d++); in memccpy()
22 if ((uintptr_t)s & ALIGN) goto tail; in memccpy()
Dstpcpy.c5 #define ALIGN (sizeof(size_t)) macro
16 if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) { in __stpcpy()
17 for (; (uintptr_t)s % ALIGN; s++, d++) in __stpcpy()
/third_party/node/deps/openssl/config/archs/VC-WIN64A/asm/crypto/
Dx86_64cpuid.asm18 ALIGN 16
35 ALIGN 16
48 ALIGN 16
227 ALIGN 16
243 ALIGN 16
265 ALIGN 16
284 ALIGN 16
301 ALIGN 16
320 ALIGN 16
335 ALIGN 16
[all …]
/third_party/node/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/
Dx86_64cpuid.asm18 ALIGN 16
35 ALIGN 16
48 ALIGN 16
227 ALIGN 16
243 ALIGN 16
265 ALIGN 16
284 ALIGN 16
301 ALIGN 16
320 ALIGN 16
335 ALIGN 16
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DTypes.hpp45 # define ALIGN(bytes, type) __declspec(align(bytes)) type macro
48 # define ALIGN(bytes, type) type __attribute__((aligned(bytes))) macro
76 typedef ALIGN(1, uint8_t) byte;
77 typedef ALIGN(2, uint16_t) word;
78 typedef ALIGN(4, uint32_t) dword;
79 typedef ALIGN(8, uint64_t) qword;
80 typedef ALIGN(1, int8_t) sbyte;
/third_party/musl/porting/uniproton/kernel/src/string/
Dstpcpy.c5 #define ALIGN (sizeof(size_t)) macro
16 if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) { in __stpcpy()
17 for (; (uintptr_t)s % ALIGN; s++, d++) in __stpcpy()
Dstpncpy.c5 #define ALIGN (sizeof(size_t)-1) macro
16 if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in __stpncpy()
17 for (; ((uintptr_t)s & ALIGN) && n && (*d=*s); n--, s++, d++); in __stpncpy()
/third_party/musl/porting/liteos_a/kernel/src/string/
Dstpcpy.c5 #define ALIGN (sizeof(size_t)) macro
16 if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) { in __stpcpy()
17 for (; (uintptr_t)s % ALIGN; s++, d++) in __stpcpy()
Dstpncpy.c5 #define ALIGN (sizeof(size_t)-1) macro
16 if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in __stpncpy()
17 for (; ((uintptr_t)s & ALIGN) && n && (*d=*s); n--, s++, d++); in __stpncpy()
/third_party/musl/porting/liteos_m/kernel/src/string/
Dstpcpy.c5 #define ALIGN (sizeof(size_t)) macro
16 if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) { in __stpcpy()
17 for (; (uintptr_t)s % ALIGN; s++, d++) in __stpcpy()
/third_party/python/Modules/_ctypes/libffi_osx/
Dffi.c31 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
66 arg->size = ALIGN(arg->size, curalign); in initialize_aggregate()
71 arg->size = ALIGN(arg->size, (*ptr)->alignment); in initialize_aggregate()
87 arg->size = ALIGN(arg->size, arg->alignment); in initialize_aggregate()
199 bytes = ALIGN(bytes, align); in ffi_prep_cif()
215 bytes = ALIGN(bytes, (*ptr)->alignment); in ffi_prep_cif()

12345678910>>...15