zephyr/include
Christopher Friedt bd83df1552 libc: minimal: add qsort to the minimal libc
This change implements qsort() for the minimal libc via Heapsort.

Heapsort time complexity is O(n log(n)) in the best, average,
and worst cases. It is O(1) in space complexity (i.e. sorts
in-place) and is iterative rather than recursive. Heapsort is
not stable (i.e. does not preserve order of identical elements).

On cortex-m0, this implementation occupies ~240 bytes.

Fixes #28896

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-11-10 07:00:36 -05:00
..
app_memory
arch clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
audio
bluetooth Bluetooth: Audio: Move csis.h to include/bluetooth/audio 2021-11-09 11:17:20 +01:00
canbus canbus: isotp: fix net_buf usage in recv function 2021-11-09 18:12:08 +02:00
console doc: Fix a few typos in docs/comments/messages 2021-09-03 06:06:59 -04:00
crypto
data json: Added element descriptor macro and C++ support progress 2021-10-29 06:05:17 -04:00
debug
devicetree drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00
dfu dfu: boot: Add implementation for multi-image swap type check 2021-08-26 09:13:13 -04:00
disk
display toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
drivers uart: add API support for wide data 2021-11-09 19:44:38 -05:00
dt-bindings clock: esp32: unify clock control for all espressif socs 2021-11-04 15:21:26 -04:00
fs fs: Document return values to VFS API calls 2021-11-09 16:04:34 -06:00
ipc ipc_service: mi: Convert to device driver 2021-11-04 18:03:16 +01:00
kernel kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
linker ztest: Add register functionality 2021-10-28 16:57:51 -04:00
logging comments: minor typo fixes 2021-10-05 07:18:13 -04:00
lorawan
mgmt mgmt: mcumgr: Make SMP service notification function public 2021-11-03 16:36:17 -04:00
modbus
multi_heap multi_heap: Introduce shared multi-heap memory pool manager 2021-10-12 07:44:46 -04:00
net net: buf: Annotate appropriate APIs with __must_check 2021-11-09 22:21:23 +02:00
pm pm: device: runtime: Add API to check if it is enabled 2021-11-08 19:54:12 -05:00
portability cmsis_rtos_v1: fix thread instances management. 2021-09-09 12:01:06 -04:00
posix posix: semaphore: use ZRESTRICT 2021-11-05 13:29:31 +01:00
power
random
settings toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
shell shell: Add __printf_like to shell_fprintf 2021-10-14 16:32:19 -04:00
stats pm: Use stats subsys for tracking system states 2021-10-17 10:56:21 -04:00
storage storage/flash_map: Add FLASH_AREA_DEVICE macro 2021-11-06 21:37:47 -04:00
sys libc: minimal: add qsort to the minimal libc 2021-11-10 07:00:36 -05:00
task_wdt task_wdt: fix silent init failures 2021-10-01 15:21:32 +02:00
timing
toolchain toolchain: define ZRESTRICT for restrict aliasing 2021-11-05 13:29:31 +01:00
tracing tracing: fix PM system tracing 2021-11-03 16:37:33 -04:00
usb usb: Add API for getting status of remote wakeup 2021-11-09 13:50:03 +01:00
xen xenvm: drivers: serial: Implement serial interface to Xen PV console 2021-10-29 15:23:33 +02:00
zephyr
cache.h
device.h device: remove PM related docs 2021-11-03 20:27:18 -04:00
devicetree.h devicetree: add devicetree/pinctrl.h 2021-08-25 18:09:00 -04:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
init.h
irq_nextlevel.h
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h kernel/sched: Separate idle from app thread stats in THREAD_USAGE 2021-11-08 21:32:20 -05:00
kernel_version.h
kernel.h kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
ptp_clock.h
shared_irq.h
smf.h lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h kernel: syscall: pin generated inline functions 2021-08-26 21:16:22 -04:00
timeout_q.h
toolchain.h armclang: adding toolchain/armclang.h header 2021-08-30 08:54:23 -04:00
wait_q.h
zephyr.h