11 dttstat(ds,root->left,depth+1,level);
13 dttstat(ds,root->
right,depth+1,level);
25 for(h = data->ntab-1; h >= 0; --h)
27 for(t = data->htab[h]; t; t = t->right)
42 static int *Count, Size;
55 { dthstat(dt->data,ds,
NIL(
int*));
59 if(!(Count = (
int*)malloc((ds->
dt_max+1)*
sizeof(
int))) )
63 for(i = ds->
dt_max; i >= 0; --i)
65 dthstat(dt->data,ds,Count);
69 { dttstat(ds,dt->data->here,0,
NIL(
int*));
73 if(!(Count = (
int*)malloc((ds->
dt_n+1)*
sizeof(
int))) )
78 for(i = ds->
dt_n; i >= 0; --i)
80 dttstat(ds,dt->data->here,0,Count);
81 for(i = ds->
dt_n; i >= 0; --i)
CDT_API int dtsize(Dt_t *)
CDT_API int dtstat(Dt_t *, Dtstat_t *, int)