Searched refs:heap_in (Results 1 – 2 of 2) sorted by relevance
34 STATIC mp_obj_list_t *uheapq_get_heap(mp_obj_t heap_in) { in uheapq_get_heap() argument35 if (!mp_obj_is_type(heap_in, &mp_type_list)) { in uheapq_get_heap()38 return MP_OBJ_TO_PTR(heap_in); in uheapq_get_heap()73 STATIC mp_obj_t mod_uheapq_heappush(mp_obj_t heap_in, mp_obj_t item) { in mod_uheapq_heappush() argument74 mp_obj_list_t *heap = uheapq_get_heap(heap_in); in mod_uheapq_heappush()75 mp_obj_list_append(heap_in, item); in mod_uheapq_heappush()81 STATIC mp_obj_t mod_uheapq_heappop(mp_obj_t heap_in) { in mod_uheapq_heappop() argument82 mp_obj_list_t *heap = uheapq_get_heap(heap_in); in mod_uheapq_heappop()97 STATIC mp_obj_t mod_uheapq_heapify(mp_obj_t heap_in) { in mod_uheapq_heapify() argument98 mp_obj_list_t *heap = uheapq_get_heap(heap_in); in mod_uheapq_heapify()
58 STATIC mp_obj_utimeq_t *utimeq_get_heap(mp_obj_t heap_in) { in utimeq_get_heap() argument59 return MP_OBJ_TO_PTR(heap_in); in utimeq_get_heap()126 mp_obj_t heap_in = args[0]; in mod_utimeq_heappush() local127 mp_obj_utimeq_t *heap = utimeq_get_heap(heap_in); in mod_utimeq_heappush()142 STATIC mp_obj_t mod_utimeq_heappop(mp_obj_t heap_in, mp_obj_t list_ref) { in mod_utimeq_heappop() argument143 mp_obj_utimeq_t *heap = utimeq_get_heap(heap_in); in mod_utimeq_heappop()167 STATIC mp_obj_t mod_utimeq_peektime(mp_obj_t heap_in) { in mod_utimeq_peektime() argument168 mp_obj_utimeq_t *heap = utimeq_get_heap(heap_in); in mod_utimeq_peektime()179 STATIC mp_obj_t mod_utimeq_dump(mp_obj_t heap_in) { in mod_utimeq_dump() argument180 mp_obj_utimeq_t *heap = utimeq_get_heap(heap_in); in mod_utimeq_dump()
Completed in 4 milliseconds