Lines Matching refs:elements
62 FLAC__bool FLAC__memory_alloc_aligned_int32_array(size_t elements, FLAC__int32 **unaligned_pointer,… in FLAC__memory_alloc_aligned_int32_array() argument
70 FLAC__ASSERT(elements > 0); in FLAC__memory_alloc_aligned_int32_array()
75 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_int32_array()
78 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_int32_array()
91 FLAC__bool FLAC__memory_alloc_aligned_uint32_array(size_t elements, FLAC__uint32 **unaligned_pointe… in FLAC__memory_alloc_aligned_uint32_array() argument
99 FLAC__ASSERT(elements > 0); in FLAC__memory_alloc_aligned_uint32_array()
104 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint32_array()
107 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint32_array()
120 FLAC__bool FLAC__memory_alloc_aligned_uint64_array(size_t elements, FLAC__uint64 **unaligned_pointe… in FLAC__memory_alloc_aligned_uint64_array() argument
128 FLAC__ASSERT(elements > 0); in FLAC__memory_alloc_aligned_uint64_array()
133 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint64_array()
136 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint64_array()
149 FLAC__bool FLAC__memory_alloc_aligned_unsigned_array(size_t elements, unsigned **unaligned_pointer,… in FLAC__memory_alloc_aligned_unsigned_array() argument
157 FLAC__ASSERT(elements > 0); in FLAC__memory_alloc_aligned_unsigned_array()
162 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_unsigned_array()
165 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_unsigned_array()
180 FLAC__bool FLAC__memory_alloc_aligned_real_array(size_t elements, FLAC__real **unaligned_pointer, F… in FLAC__memory_alloc_aligned_real_array() argument
188 FLAC__ASSERT(elements > 0); in FLAC__memory_alloc_aligned_real_array()
193 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_real_array()
196 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_real_array()