Home | History | Annotate | Download | only in giflib

Lines Matching refs:HashTable

35  Initialize HashTable - allocate the memory needed and clear it.	      *
39 GifHashTableType *HashTable;
41 if ((HashTable = (GifHashTableType *) malloc(sizeof(GifHashTableType)))
45 _ClearHashTable(HashTable);
47 return HashTable;
51 Routine to clear the HashTable to an empty state. *
54 void _ClearHashTable(GifHashTableType *HashTable)
56 memset(HashTable -> HTable, 0xFF, HT_SIZE * sizeof(uint32_t));
60 Routine to insert a new Item into the HashTable. The data is assumed to be *
63 void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code)
66 uint32_t *HTable = HashTable -> HTable;
83 Routine to test if given Key exists in HashTable and if so returns its code *
86 int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key)
89 uint32_t *HTable = HashTable -> HTable, HTKey;
108 Routine to generate an HKey for the hashtable out of the given unique key. *