Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/misc/
Dlv_ll.c69 lv_ll_node_t * n_new; in _lv_ll_ins_head() local
71 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_head()
73 if(n_new != NULL) { in _lv_ll_ins_head()
74 node_set_prev(ll_p, n_new, NULL); /*No prev. before the new head*/ in _lv_ll_ins_head()
75 node_set_next(ll_p, n_new, ll_p->head); /*After new comes the old head*/ in _lv_ll_ins_head()
78 node_set_prev(ll_p, ll_p->head, n_new); in _lv_ll_ins_head()
81 ll_p->head = n_new; /*Set the new head in the dsc.*/ in _lv_ll_ins_head()
83 ll_p->tail = n_new; in _lv_ll_ins_head()
87 return n_new; in _lv_ll_ins_head()
98 lv_ll_node_t * n_new; in _lv_ll_ins_prev() local
[all …]