Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
dtstat.c File Reference
#include <cdt/dthdr.h>
#include <stddef.h>
Include dependency graph for dtstat.c:

Go to the source code of this file.

Functions

static void dttstat (Dtstat_t *ds, Dtlink_t *root, size_t depth, size_t *level)
 
static void dthstat (Dtdata_t data, Dtstat_t *ds, size_t *count)
 
int dtstat (Dt_t *dt, Dtstat_t *ds, int all)
 

Function Documentation

◆ dthstat()

static void dthstat ( Dtdata_t  data,
Dtstat_t ds,
size_t *  count 
)
static

Definition at line 20 of file dtstat.c.

References Dtstat_t::dt_max, Dtstat_t::dt_n, and dtlink_s_::right.

Referenced by dtstat().

Here is the caller graph for this function:

◆ dtstat()

int dtstat ( Dt_t dt,
Dtstat_t ds,
int  all 
)

Definition at line 38 of file dtstat.c.

References dt_s_::data, Dtstat_t::dt_count, Dtstat_t::dt_max, Dtstat_t::dt_meth, DT_METHODS, Dtstat_t::dt_n, DT_OBAG, DT_OSET, DT_SET, Dtstat_t::dt_size, dthstat(), dtsize(), dttstat(), free(), Dtdata_t::here, malloc(), NULL, Dtdata_t::type, and UNFLATTEN.

Here is the call graph for this function:

◆ dttstat()

static void dttstat ( Dtstat_t ds,
Dtlink_t root,
size_t  depth,
size_t *  level 
)
static

Definition at line 9 of file dtstat.c.

References Dtstat_t::dt_n, dttstat(), and dtlink_s_::right.

Referenced by dtstat(), and dttstat().

Here is the call graph for this function:
Here is the caller graph for this function: