Lines Matching refs:NULL
45 assert(hash != NULL); in hashmapCreate()
46 assert(equals != NULL); in hashmapCreate()
49 if (map == NULL) { in hashmapCreate()
50 return NULL; in hashmapCreate()
62 if (map->buckets == NULL) { in hashmapCreate()
64 return NULL; in hashmapCreate()
107 if (newBuckets == NULL) { in expandIfNecessary()
116 while (entry != NULL) { in expandIfNecessary()
144 while (entry != NULL) { in hashmapFree()
168 if (entry == NULL) { in createEntry()
169 return NULL; in createEntry()
174 entry->next = NULL; in createEntry()
198 if (current == NULL) { in hashmapPut()
200 if (*p == NULL) { in hashmapPut()
202 return NULL; in hashmapPut()
206 return NULL; in hashmapPut()
226 while (entry != NULL) { in hashmapGet()
233 return NULL; in hashmapGet()
241 while (entry != NULL) { in hashmapContainsKey()
261 if (current == NULL) { in hashmapMemoize()
262 *p = createEntry(key, hash, NULL); in hashmapMemoize()
263 if (*p == NULL) { in hashmapMemoize()
265 return NULL; in hashmapMemoize()
291 while ((current = *p) != NULL) { in hashmapRemove()
303 return NULL; in hashmapRemove()
312 while (entry != NULL) { in hashmapForEach()
332 while (entry != NULL) { in hashmapCountCollisions()
333 if (entry->next != NULL) { in hashmapCountCollisions()