Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 22 of 22) sorted by relevance

/external/platform/pico/common/pico_util/
A Dpheap.c16 return heap; in ph_create()
24 ph_clear(heap); in ph_post_alloc_init()
28 heap->root_id = 0; in ph_clear()
30 heap->free_tail_id = heap->max_nodes; in ph_clear()
34 ph_get_node(heap, heap->max_nodes)->sibling = 0; in ph_clear()
38 free(heap->nodes); in ph_destroy()
39 free(heap); in ph_destroy()
51 return ph_merge_nodes(heap, ph_merge_nodes(heap, a, b), ph_merge_two_pass(heap, new_node)); in ph_merge_two_pass()
63 ph_get_node(heap, heap->free_tail_id)->sibling = root_id; in ph_remove_any_head()
78 heap->root_id = ph_remove_any_head(heap, old_root_id, free); in ph_remove_head()
[all …]
/external/platform/pico/common/pico_util/include/pico/util/
A Dpheap.h92 void ph_clear(pheap_t *heap);
100 void ph_destroy(pheap_t *heap);
128 if (heap->comparator(heap->user_data, a, b)) { in ph_merge_nodes()
148 if (!heap->free_head_id) heap->free_tail_id = 0; in ph_new_node()
168 heap->root_id = ph_merge_nodes(heap, heap->root_id, id); in ph_insert_node()
169 return heap->root_id; in ph_insert_node()
180 return heap->root_id; in ph_peek_head()
235 return id == heap->root_id || ph_get_node(heap, id)->parent; in ph_contains_node()
247 if (heap->free_tail_id) { in ph_free_node()
248 ph_get_node(heap, heap->free_tail_id)->sibling = id; in ph_free_node()
[all …]
/external/platform/pico/common/pico_time/
A Dtime.c26 pheap_t *heap; member
45 .heap = &default_alarm_pool_heap,
60 assert(id && id <= pool->heap->max_nodes); in get_entry()
65 assert(id && id <= pool->heap->max_nodes); in get_entry_id_high()
103 assert(!ph_contains_node(pool->heap, reuse_id)); in add_alarm_under_lock()
106 id = ph_new_node(pool->heap); in add_alarm_under_lock()
113 if (id == ph_insert_node(pool->heap, id)) { in add_alarm_under_lock()
169 ph_free_node(pool->heap, next_id); in alarm_pool_alarm_callback()
218 ph_destroy(pool->heap); in alarm_pool_destroy()
298 if (ph_contains_node(pool->heap, id)) { in alarm_pool_cancel_alarm()
[all …]
/external/platform/pico/rp2_common/pico_standard_link/
A Dmemmap_no_flash.ld177 .heap (NOLOAD):
181 KEEP(*(.heap*))
203 /* stack limit is poorly named, but historically is maximum heap ptr */
211 /* Check if data + heap + stack exceeds RAM limit */
A Dmemmap_copy_to_ram.ld209 .heap (NOLOAD):
213 KEEP(*(.heap*))
239 /* stack limit is poorly named, but historically is maximum heap ptr */
247 /* Check if data + heap + stack exceeds RAM limit */
A Dmemmap_blocked_ram.ld207 .heap (NOLOAD):
211 KEEP(*(.heap*))
237 /* stack limit is poorly named, but historically is maximum heap ptr */
245 /* Check if data + heap + stack exceeds RAM limit */
A Dmemmap_default.ld207 .heap (NOLOAD):
211 KEEP(*(.heap*))
237 /* stack limit is poorly named, but historically is maximum heap ptr */
245 /* Check if data + heap + stack exceeds RAM limit */
A Dcrt0.S349 spacer_section .heap
/external/platform/nrfx/mdk/
A Dnrf51_common.ld139 .heap (COPY):
144 KEEP(*(.heap*))
162 /* Check if data + heap + stack exceeds RAM limit */
A Dnrf_common.ld137 .heap (COPY):
142 KEEP(*(.heap*))
160 /* Check if data + heap + stack exceeds RAM limit */
A Dnrf52_common.ld139 .heap (COPY):
144 KEEP(*(.heap*))
162 /* Check if data + heap + stack exceeds RAM limit */
A Dgcc_startup_nrf51.S52 .section .heap
A Dgcc_startup_nrf5340_network.S52 .section .heap
A Dgcc_startup_nrf52805.S52 .section .heap
A Dgcc_startup_nrf52811.S52 .section .heap
A Dgcc_startup_nrf52820.S52 .section .heap
A Dgcc_startup_nrf52.S52 .section .heap
A Dgcc_startup_nrf52810.S52 .section .heap
A Dgcc_startup_nrf52833.S52 .section .heap
A Dgcc_startup_nrf52840.S52 .section .heap
A Dgcc_startup_nrf9160.S52 .section .heap
A Dgcc_startup_nrf5340_application.S52 .section .heap

Completed in 28 milliseconds