Graphviz 13.0.0~dev.20241220.2304
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, 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_t::here, HINDEX, HLOAD, dtdisc_s_::link, Dtdata_t::loop, dtdisc_s_::makef, malloc(), Dtdata_t::ntab, NULL, dtlink_s_::right, Dtdata_t::size, Dtdata_t::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_t::ntab, NULL, dtlink_s_::right, and Dtdata_t::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().