Graphviz 12.0.1~dev.20240715.2254
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_s::dt_max, _dtstat_s::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_s::dt_count, _dtstat_s::dt_max, _dtstat_s::dt_meth, DT_METHODS, _dtstat_s::dt_n, DT_OBAG, DT_OSET, DT_SET, _dtstat_s::dt_size, dthstat(), dtsize(), dttstat(), free(), _dtdata_s::here, malloc(), NULL, _dtdata_s::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_s::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: