Home
last modified time | relevance | path

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

/third_party/gn/src/util/
Daligned_alloc.h48 template <size_t ALIGNMENT>
51 static_assert((ALIGNMENT & (ALIGNMENT - 1)) == 0, in Alloc()
54 return _aligned_malloc(size, ALIGNMENT); in Alloc()
56 if (ALIGNMENT <= sizeof(void*)) { in Alloc()
62 DCHECK((size % ALIGNMENT) == 0); in Alloc()
77 void* real_block = ::malloc(size + ALIGNMENT - sizeof(void*)); in Alloc()
79 uintptr_t padding = (ALIGNMENT - addr) % ALIGNMENT; in Alloc()
85 return std::aligned_alloc(ALIGNMENT, size); in Alloc()
93 if (ALIGNMENT <= sizeof(void*)) { in Free()
96 if (ALIGNMENT > sizeof(void*)) { in Free()
/third_party/ntfs-3g/include/ntfs-3g/
Dcache.h32 union ALIGNMENT payload[0];
40 union ALIGNMENT payload[0];
50 union ALIGNMENT payload[0];
61 union ALIGNMENT payload[0];
Dtypes.h134 union ALIGNMENT { union
Dsecurity.h77 union ALIGNMENT payload[0];
92 union ALIGNMENT payload[0];
/third_party/jerryscript/jerry-core/include/
Djerryscript-compiler.h33 #define JERRY_ATTR_ALIGNED(ALIGNMENT) __attribute__((aligned(ALIGNMENT))) argument
76 #define JERRY_ATTR_ALIGNED(ALIGNMENT) argument
/third_party/python/Python/
Dpyarena.c15 #define ALIGNMENT 8 macro
87 b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) - in block_new()
106 size = _Py_SIZE_ROUND_UP(size, ALIGNMENT); in block_alloc()
/third_party/gstreamer/gstreamer/gst/
Dgstregistrybinary.c84 #define ALIGNMENT (sizeof (void *)) macro
85 #define alignment(_address) (gsize)_address%ALIGNMENT
86 #define align(_ptr) _ptr += (( alignment(_ptr) == 0) ? 0 : ALIGNMENT-alignment(_ptr))
364 gchar padder[ALIGNMENT] = { 0, }; in gst_registry_binary_write_chunk()
369 padsize = ALIGNMENT - alignment (*file_position); in gst_registry_binary_write_chunk()
Dgstpluginloader.c133 #define ALIGNMENT (sizeof (void *)) macro
751 if (chunk->align && ((*pos) % ALIGNMENT) != 0) in put_chunk()
752 padsize = ALIGNMENT - ((*pos) % ALIGNMENT); in put_chunk()
Dgstregistrychunks.c111 #define ALIGNMENT (sizeof (void *)) macro
112 #define alignment(_address) (gsize)_address%ALIGNMENT
113 #define align(_ptr) _ptr += (( alignment(_ptr) == 0) ? 0 : ALIGNMENT-alignment(_ptr))
/third_party/libinput/tools/
Dlibinput-measure-touchpad-pressure.py44 ALIGNMENT = 3 variable in TableFormatter
55 align = self.ALIGNMENT - 1 # account for |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dmemory.h46 template <size_t SIZE, size_t ALIGNMENT>
48 struct alignas(ALIGNMENT) type {
/third_party/ffmpeg/libavcodec/mips/
Dvp9_idct_msa.c1208 int16_t out_arr[16 * 16] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct16x16_10_colcol_addblk_msa()
1248 int16_t out_arr[16 * 16] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct16x16_colcol_addblk_msa()
1468 int16_t out_arr[16 * 16] ALLOC_ALIGNED(ALIGNMENT); in vp9_iadst16x16_colcol_addblk_msa()
1936 int16_t tmp_odd_buf[16 * 8] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct8x32_1d_columns_addblk_msa()
1937 int16_t tmp_eve_buf[16 * 8] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct8x32_1d_columns_addblk_msa()
1948 int16_t tmp_odd_buf[16 * 8] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct8x32_1d_columns_msa()
1949 int16_t tmp_eve_buf[16 * 8] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct8x32_1d_columns_msa()
1999 int16_t out_arr[32 * 32] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct32x32_34_colcol_addblk_msa()
2001 int16_t tmp_buf[8 * 32] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct32x32_34_colcol_addblk_msa()
2046 int16_t out_arr[32 * 32] ALLOC_ALIGNED(ALIGNMENT); in vp9_idct32x32_colcol_addblk_msa()
[all …]
Dvp9_lpf_msa.c963 uint8_t filter48[16 * 8] ALLOC_ALIGNED(ALIGNMENT); in ff_loop_filter_v_16_16_msa()
2072 uint8_t transposed_input[16 * 24] ALLOC_ALIGNED(ALIGNMENT); in ff_loop_filter_h_16_8_msa()
2508 uint8_t transposed_input[16 * 24] ALLOC_ALIGNED(ALIGNMENT); in ff_loop_filter_h_16_16_msa()
/third_party/python/Objects/
Dobmalloc.c847 #define ALIGNMENT 16 /* must be 2^N */ macro
850 #define ALIGNMENT 8 /* must be 2^N */ macro
873 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
1025 #define POOL_OVERHEAD _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
/third_party/ffmpeg/libavutil/mips/
Dgeneric_macros_msa.h32 #define ALIGNMENT 16 macro
/third_party/openGLES/extensions/ARB/
DARB_shader_storage_buffer_object.txt1015 ALIGNMENT for shader storage buffer
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_storage_buffer_object.txt1005 ALIGNMENT for shader storage buffer