Lines Matching refs:size
30 static Dtlink_t* treebalance(Dtlink_t* list, int size)
32 static Dtlink_t* treebalance(list, size)
34 int size;
40 if(size <= 2)
43 for(l = list, n = size/2 - 1; n > 0; n -= 1)
47 mid->left = treebalance(list, (n = size/2) );
48 mid->right = treebalance(mid->right, size - (n + 1));
61 int size;
66 size = dtsize(dt);
70 if((1 << minp) >= size)
72 if(minp <= DT_MINP-4) /* use log(size) + 4 */
80 dt->data->here = treebalance(dtflatten(dt), size);