/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/ |
A D | memalign.c | 26 void* memalign(size_t alignment, size_t bytes) in memalign() argument 42 if (alignment <= MALLOC_ALIGNMENT) return malloc(bytes); in memalign() 46 if (alignment < MINSIZE) alignment = MINSIZE; in memalign() 49 if ((alignment & (alignment - 1)) != 0) { in memalign() 51 while ((unsigned long)a < (unsigned long)alignment) a <<= 1; in memalign() 52 alignment = a; in memalign() 64 m = (char*)(malloc(nb + alignment + MINSIZE)); in memalign() 73 if ((((unsigned long)(m)) % alignment) != 0) { /* misaligned */ in memalign() 84 -((signed long) alignment))); in memalign() 86 _brk += alignment; in memalign() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc/ |
A D | memalign.c | 31 void *memalign (size_t alignment, size_t size); 35 memalign (size_t alignment, size_t size) in libc_hidden_proto() 48 mem = malloc (size + 2 * alignment); in libc_hidden_proto() 52 if (alignment < MALLOC_ALIGNMENT) in libc_hidden_proto() 65 addr = MALLOC_ROUND_UP (tot_addr, alignment); in libc_hidden_proto() 76 addr = MALLOC_ROUND_UP (tot_addr + HEAP_MIN_SIZE, alignment); in libc_hidden_proto()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/gnu/ |
A D | obstack.c | 161 int size, int alignment, 167 if (alignment == 0) 168 alignment = DEFAULT_ALIGNMENT; 189 h->alignment_mask = alignment - 1; 196 alignment - 1); 207 _obstack_begin_1 (struct obstack *h, int size, int alignment, in _obstack_begin_1() argument 214 if (alignment == 0) in _obstack_begin_1() 215 alignment = DEFAULT_ALIGNMENT; in _obstack_begin_1() 236 h->alignment_mask = alignment - 1; in _obstack_begin_1() 244 alignment - 1); in _obstack_begin_1()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/ |
A D | posix_memalign.c | 28 int posix_memalign(void **memptr, size_t alignment, size_t size) in posix_memalign() argument 31 if (alignment % sizeof(void *) != 0) in posix_memalign() 38 *memptr = memalign(alignment, size); in posix_memalign()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-simple/ |
A D | alloc.c | 160 void * memalign (size_t alignment, size_t size) in memalign() argument 170 if (unlikely((size + alignment - 1 < size) && (alignment != 0))) { in memalign() 175 result = malloc (size + alignment - 1); in memalign() 179 adj = (unsigned long int) ((unsigned long int) ((char *) result - (char *) NULL)) % alignment; in memalign() 198 result = l->aligned = (char *) result + alignment - adj; in memalign()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/metag/ |
A D | memcpy.S | 35 ANDS D1Ar5, D1Ar1, #7 ! test destination alignment 40 ! destination address alignment (i.e we should never copy more than 7 56 ANDS D0Ar4, D0Ar4, #7 ! test source alignment 90 ! Save the number of bytes of mis-alignment in D0Ar4 for use later 93 ! if there is no mis-alignment after all, use the aligned copy loop 101 ! There are 3 mis-alignment cases to be considered. Less than 4 bytes, exactly 104 BLT $Lunaligned_1_2_3 ! use 1-3 byte mis-alignment loop 105 BZ $Lunaligned_4 ! use 4 byte mis-alignment loop 107 ! The mis-alignment is more than 4 bytes 165 ! The 4 byte mis-alignment case - this does not require any shifting, just a
|
A D | strcpy.S | 15 ! test 4 byte alignment of src 19 ! test 4 byte alignment of dest 29 ! test 8 byte alignment of src 33 ! test 8 byte alignment of dest
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/ |
A D | memory_resource.cc | 205 alignment() const noexcept in alignment() function 214 return (n + alignment - 1) & ~(alignment - 1); in aligned_ceil() 269 size_t __align = __ch->_M_size.alignment(); in release() 590 big_block(size_t bytes, size_t alignment) in big_block() 591 : _M_size(alloc_size(bytes), alignment) in big_block() 614 { return _M_size.alignment(); } in align() 1022 size_t alignment [[maybe_unused]]) in deallocate() argument 1031 __glibcxx_assert(b.align() == alignment); in deallocate() 1237 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument 1332 _M_impl.deallocate(p, bytes, alignment); in do_deallocate() [all …]
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/libsupc++/ |
A D | new_opa.cc | 50 void *aligned_alloc(size_t alignment, size_t size); 52 void *_aligned_malloc(size_t size, size_t alignment); 54 void *posix_memalign(void **, size_t alignment, size_t size); 56 void *memalign(size_t alignment, size_t size);
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/libsupc++/ |
A D | new_opa.cc | 50 void *aligned_alloc(size_t alignment, size_t size); 52 void *_aligned_malloc(size_t size, size_t alignment); 54 void *posix_memalign(void **, size_t alignment, size_t size); 56 void *memalign(size_t alignment, size_t size);
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/libsupc++/ |
A D | new_opa.cc | 49 void *aligned_alloc(size_t alignment, size_t size); 51 void *_aligned_malloc(size_t size, size_t alignment); 53 void *posix_memalign(void **, size_t alignment, size_t size); 55 void *memalign(size_t alignment, size_t size);
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/libsupc++/ |
A D | new_opa.cc | 50 void *aligned_alloc(size_t alignment, size_t size); 52 void *_aligned_malloc(size_t size, size_t alignment); 54 void *posix_memalign(void **, size_t alignment, size_t size); 56 void *memalign(size_t alignment, size_t size);
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/src/c++17/ |
A D | memory_resource.cc | 565 big_block(size_t bytes, size_t alignment) in big_block() 567 _M_align_exp(std::__bit_width(alignment) - 1u) in big_block() 996 size_t alignment [[maybe_unused]]) in deallocate() argument 1005 __glibcxx_assert(b.align() == alignment); in deallocate() 1211 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument 1213 const auto block_size = std::max(bytes, alignment); in do_allocate() 1260 size_t block_size = std::max(bytes, alignment); in do_deallocate() 1306 _M_impl.deallocate(p, bytes, alignment); in do_deallocate() 1428 return _M_impl.allocate(bytes, alignment); in do_allocate() 1436 size_t block_size = std::max(bytes, alignment); in do_deallocate() [all …]
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/src/c++17/ |
A D | memory_resource.cc | 565 big_block(size_t bytes, size_t alignment) in big_block() 567 _M_align_exp(std::__log2p1(alignment) - 1u) in big_block() 996 size_t alignment [[maybe_unused]]) in deallocate() argument 1005 __glibcxx_assert(b.align() == alignment); in deallocate() 1211 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument 1213 const auto block_size = std::max(bytes, alignment); in do_allocate() 1260 size_t block_size = std::max(bytes, alignment); in do_deallocate() 1306 _M_impl.deallocate(p, bytes, alignment); in do_deallocate() 1428 return _M_impl.allocate(bytes, alignment); in do_allocate() 1436 size_t block_size = std::max(bytes, alignment); in do_deallocate() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/ |
A D | getdents64.c | 59 const size_t alignment = __alignof__ (struct dirent64); in _syscall3() local 62 size_t new_reclen = ((kdp->d_reclen + size_diff + alignment - 1) in _syscall3() 63 & ~(alignment - 1)); in _syscall3()
|
A D | getdents.c | 124 const size_t alignment = __alignof__ (struct dirent); 127 size_t new_reclen = ((kdp->d_reclen + size_diff + alignment - 1) 128 & ~(alignment - 1));
|
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/libc/sysdeps/linux/common/ |
A D | getdents.c | 107 const size_t alignment = __alignof__ (struct dirent); 110 size_t new_reclen = ((kdp->d_reclen + size_diff + alignment - 1) 111 & ~(alignment - 1));
|
/l4re-core-master/cxx/lib/tl/include/bits/ |
A D | type_traits.h | 204 alignment = 221 { return (a + (unsigned long)alignment - 1UL) 222 & ~((unsigned long)alignment - 1UL); }
|
/l4re-core-master/cxx/lib/tl/include/ |
A D | list_alloc | 64 * to the allocator. This will enforce alignment on that 235 // enforce alignment constraint on initial memory 286 // minimum alignment is given by the size of a Mem_block 311 // remaining size after subtracting the padding for the alignment 374 // minimum alignment is given by the size of a Mem_block 393 // block too small after alignment, next 398 // for the alignment
|
/l4re-core-master/uclibc/lib/contrib/uclibc/include/ |
A D | obstack.h | 231 #define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \ argument 232 _obstack_begin ((h), (size), (alignment), \ 236 #define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \ argument 237 _obstack_begin_1 ((h), (size), (alignment), \
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/include/std/ |
A D | memory | 103 * This function tries to fit @a __size bytes of storage with alignment 106 * aligned storage and @a __space is reduced by the bytes used for alignment. 108 * @param __align A fundamental or extended alignment value.
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/include/std/ |
A D | memory | 102 * This function tries to fit @a __size bytes of storage with alignment 105 * aligned storage and @a __space is reduced by the bytes used for alignment. 107 * @param __align A fundamental or extended alignment value.
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/include/std/ |
A D | memory | 103 * This function tries to fit @a __size bytes of storage with alignment 106 * aligned storage and @a __space is reduced by the bytes used for alignment. 108 * @param __align A fundamental or extended alignment value.
|
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/include/std/ |
A D | memory | 102 * This function tries to fit @a __size bytes of storage with alignment 105 * aligned storage and @a __space is reduced by the bytes used for alignment. 107 * @param __align A fundamental or extended alignment value.
|
/l4re-core-master/l4sys/include/cxx/ |
A D | ipc_basics | 36 * Pad bytes to the given alignment \a align (in bytes) 38 * \param align The alignment value in bytes 45 * Pad \a bytes to the alignment of the type \a T. 46 * \tparam T The data type used for the alignment 48 * \return \a bytes padded to achieve the alignment of \a T. 118 * the alignment of \a T if \a v is added. 139 * the alignment of \a T if a \a v can be read.
|