Lines Matching refs:nodes
10590 /* we allocate two extra nodes so optimal user-node-count is 'width' not 'width+2' */
10616 /* so that num_nodes is always enough nodes. */
10626 struct nk_rp_node *nodes, int num_nodes)
10634 nodes[i].next = &nodes[i+1];
10635 nodes[i].next = 0;
10638 context->free_head = &nodes[0];
10816 /* let 'cur' point to the remaining nodes needing to be */
10828 /* from here, traverse cur and free the nodes, until we get to one */
10970 void *nodes;
12263 struct nk_rp_node *nodes = (struct nk_rp_node*)
12264 alloc->alloc(alloc->userdata,0, (sizeof(*nodes ) * (nk_size)num_nodes));
12266 if (context == 0 || nodes == 0) {
12268 if (nodes != 0) alloc->free(alloc->userdata, nodes);
12276 spc->nodes = nodes;
12282 nk_rp_init_target(context, pw-padding, ph-padding, nodes, num_nodes);
12290 alloc->free(alloc->userdata, spc->nodes);