Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
dthash.c File Reference
#include <cdt/dthdr.h>
#include <stdlib.h>
Include dependency graph for dthash.c:

Go to the source code of this file.

Functions

static void dthtab (Dt_t *dt)
 
static void * dthash (Dt_t *dt, void *obj, int type)
 

Variables

static Dtmethod_t _Dtset = { dthash, DT_SET }
 
Dtmethod_tDtset = &_Dtset
 set with unique elements
 

Function Documentation

◆ dthash()

static void * dthash ( Dt_t dt,
void *  obj,
int  type 
)
static

Definition at line 52 of file dthash.c.

References _DTCMP, _DTDSC, _DTKEY, _DTLNK, _DTOBJ, cmpf(), _dt_s::data, _dt_s::disc, DT_CLEAR, DT_DELETE, DT_FIRST, DT_INSERT, DT_LAST, DT_MATCH, DT_NEXT, DT_PREV, DT_RENEW, DT_SEARCH, DT_SET, DT_VSEARCH, DT_WALK, dthtab(), dtstrhash(), free(), _dtdisc_s::freef, _dtdata_s::here, HINDEX, HLOAD, key, _dtdisc_s::link, _dtdata_s::loop, _dtdisc_s::makef, malloc(), _dtdata_s::ntab, NULL, _dtlink_s::right, _dtdata_s::size, _dtdata_s::type, type, and UNFLATTEN.

Here is the call graph for this function:

◆ dthtab()

static void dthtab ( Dt_t dt)
static

Definition at line 13 of file dthash.c.

References _dt_s::data, HINDEX, HLOAD, HRESIZE, HSLOT, _dtdata_s::ntab, NULL, _dtlink_s::right, and _dtdata_s::size.

Referenced by dthash().

Here is the caller graph for this function:

Variable Documentation

◆ _Dtset

Dtmethod_t _Dtset = { dthash, DT_SET }
static

Definition at line 276 of file dthash.c.

◆ Dtset

Dtmethod_t* Dtset = &_Dtset

Definition at line 277 of file dthash.c.

Referenced by exopen(), and if().