Lines Matching refs:__align
215 _LIBCPP_CONSTEXPR inline _LIBCPP_INLINE_VISIBILITY bool __is_overaligned_for_new(size_t __align) _N…
217 return __align > __STDCPP_DEFAULT_NEW_ALIGNMENT__;
219 return __align > alignment_of<max_align_t>::value;
223 inline _LIBCPP_INLINE_VISIBILITY void *__libcpp_allocate(size_t __size, size_t __align) {
225 if (__is_overaligned_for_new(__align)) {
226 const align_val_t __align_val = static_cast<align_val_t>(__align);
234 ((void)__align);
245 void __do_deallocate_handle_size_align(void *__ptr, size_t __size, size_t __align) {
247 ((void)__align);
250 if (__is_overaligned_for_new(__align)) {
251 const align_val_t __align_val = static_cast<align_val_t>(__align);
260 void __do_deallocate_handle_align(void *__ptr, size_t __align) {
262 ((void)__align);
265 if (__is_overaligned_for_new(__align)) {
266 const align_val_t __align_val = static_cast<align_val_t>(__align);
285 static inline void __do_deallocate_handle_size(void *__ptr, size_t __size, align_val_t __align) {
288 return __do_call(__ptr, __align);
290 return __do_call(__ptr, __size, __align);
325 …ne _LIBCPP_INLINE_VISIBILITY void __libcpp_deallocate(void* __ptr, size_t __size, size_t __align) {
326 _DeallocateCaller::__do_deallocate_handle_size_align(__ptr, __size, __align);
329 inline _LIBCPP_INLINE_VISIBILITY void __libcpp_deallocate_unsized(void* __ptr, size_t __align) {
330 _DeallocateCaller::__do_deallocate_handle_align(__ptr, __align);