ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <string.h>
#include <malloc.h>
#include "standard.h"
#include "lookupa.h"
#include "hashtab.h"
#include "recycle.h"
Go to the source code of this file.
Functions | |
static void | hgrow (htab *t) |
htab * | hcreate (word logsize) |
void | hdestroy (htab *t) |
word | hfind (htab *t, ub1 *key, ub4 keyl) |
word | hadd (htab *t, ub1 *key, ub4 keyl, void *stuff) |
word | hdel (htab *t) |
word | hfirst (htab *t) |
word | hnbucket (htab *t) |
Definition at line 183 of file hashtab.c.
References FALSE, hgrow(), hitem::hval, hitem::key, hitem::keyl, lookup(), hitem::next, renew, hitem::stuff, TRUE, x, and y.
Definition at line 123 of file hashtab.c.
References htab::apos, htab::bcount, htab::count, htab::ipos, htab::logsize, htab::mask, remkroot(), htab::space, and htab::table.
Definition at line 234 of file hashtab.c.
References FALSE, hnbucket(), hitem::next, redel, and TRUE.
void hdestroy | ( | htab * | t | ) |
Definition at line 157 of file hashtab.c.
References FALSE, hitem::hval, hitem::key, hitem::keyl, lookup(), hitem::next, TRUE, x, and y.
Definition at line 263 of file hashtab.c.
References htab::apos, and hnbucket().
Referenced by hgrow().
|
static |
Definition at line 86 of file hashtab.c.
References hfirst(), hitem::hval, and hitem::next.
Referenced by hadd().