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()
106 if (newBuckets == NULL) { in expandIfNecessary()
115 while (entry != NULL) { in expandIfNecessary()
143 while (entry != NULL) { in hashmapFree()
171 if (entry == NULL) { in createEntry()
172 return NULL; in createEntry()
177 entry->next = NULL; in createEntry()
201 if (current == NULL) { in hashmapPut()
203 if (*p == NULL) { in hashmapPut()
205 return NULL; in hashmapPut()
209 return NULL; in hashmapPut()
229 while (entry != NULL) { in hashmapGet()
236 return NULL; in hashmapGet()
246 while ((current = *p) != NULL) { in hashmapRemove()
258 return NULL; in hashmapRemove()
266 while (entry != NULL) { in hashmapForEach()