Lines Matching refs:NULL

60 		if (cell->key != NULL && ckh->keycomp(key, cell->key))  in ckh_bucket_search()
75 assert(ckh != NULL); in ckh_isearch()
107 if (cell->key == NULL) { in ckh_try_bucket_insert()
148 assert(cell->key != NULL); in ckh_evict_reloc_insert()
233 if (aTab[i].key != NULL) { in ckh_rebuild()
275 true, NULL, true, arena_ichoose(tsd, NULL)); in ckh_grow()
276 if (tab == NULL) { in ckh_grow()
288 tab, NULL, true, true); in ckh_grow()
294 ckh->tab, NULL, true, true); in ckh_grow()
320 tab = (ckhc_t *)ipallocztm(tsd_tsdn(tsd), usize, CACHELINE, true, NULL, in ckh_shrink()
321 true, arena_ichoose(tsd, NULL)); in ckh_shrink()
322 if (tab == NULL) { in ckh_shrink()
336 idalloctm(tsd_tsdn(tsd), iealloc(tsd_tsdn(tsd), tab), tab, NULL, in ckh_shrink()
346 NULL, true, true); in ckh_shrink()
363 assert(hash != NULL); in ckh_new()
364 assert(keycomp != NULL); in ckh_new()
400 NULL, true, arena_ichoose(tsd, NULL)); in ckh_new()
401 if (ckh->tab == NULL) { in ckh_new()
414 assert(ckh != NULL); in ckh_delete()
429 NULL, true, true); in ckh_delete()
437 assert(ckh != NULL); in ckh_count()
449 if (ckh->tab[i].key != NULL) { in ckh_iter()
450 if (key != NULL) in ckh_iter()
452 if (data != NULL) in ckh_iter()
467 assert(ckh != NULL); in ckh_insert()
468 assert(ckh_search(ckh, key, NULL, NULL)); in ckh_insert()
492 assert(ckh != NULL); in ckh_remove()
496 if (key != NULL) in ckh_remove()
498 if (data != NULL) in ckh_remove()
500 ckh->tab[cell].key = NULL; in ckh_remove()
501 ckh->tab[cell].data = NULL; /* Not necessary. */ in ckh_remove()
523 assert(ckh != NULL); in ckh_search()
527 if (key != NULL) in ckh_search()
529 if (data != NULL) in ckh_search()
546 assert(k1 != NULL); in ckh_string_keycomp()
547 assert(k2 != NULL); in ckh_string_keycomp()