zephyr/tests/lib
Nicolas Pitre c822e0abbd libc/minimal: fix realloc() allocated memory alignment
The definition for realloc() says that it should return a pointer
to the allocated memory which is suitably aligned for any built-in
type.

Turn sys_heap_realloc() into a sys_heap_aligned_realloc() and use it
with __alignof__(z_max_align_t) to implement realloc() with proper
memory alignment for any platform.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2021-02-02 19:08:24 -05:00
..
c_lib libc: minimal: add INTn_C macros to stdint.h 2021-01-21 14:50:01 -05:00
cbprintf_fp tests: lib: cbprintf_fp: add filter for tests using newlib 2021-02-01 22:07:45 -05:00
cmsis_dsp tests: cmsis-dsp: Add native_posix to ci 2021-01-27 14:48:37 -05:00
devicetree Revert "tests: devicetree: add test for devicetree node data" 2021-01-23 18:01:03 -05:00
fdtable tests: lib: fdtable: fix tests after modifying reference counting 2020-08-27 11:42:19 +03:00
gui/lvgl tests: lib: gui: lvgl: Add fs_file_t type variable initializations 2021-01-29 08:04:51 -05:00
heap libc/minimal: fix realloc() allocated memory alignment 2021-02-02 19:08:24 -05:00
heap_align lib/os/heap: minimize initial overallocation in the aligned case 2020-11-30 14:50:07 -05:00
json
mem_alloc tests/mem_alloc: check that malloc() objects can be accessed 2021-01-24 10:11:11 -05:00
notify
onoff tests: onoff: use typedef for spinlock key 2020-10-06 19:56:51 -04:00
p4workq tests/lib: Add p4wq test 2021-01-15 11:35:50 -05:00
ringbuffer tests: lib: ringbuffer: Add performance test 2020-11-11 13:17:49 +01:00
sprintf tests/sprintf: FP tests independent of endian 2020-12-04 14:33:43 +02:00