Lines Matching refs:hashbuf
612 unsigned char *hashbuf;
626 l->hashbuf = malloc(l->size * l->length);
627 if (l->hashbuf == NULL)
631 l->hashbuf = NULL;
643 l->hashbuf = realloc(l->hashbuf, l->size * l->length);
644 if (l->hashbuf == NULL)
647 memset(l->hashbuf + l->entries * l->length, 0, l->length);
648 memmove(l->hashbuf + l->entries * l->length, hash, len);
682 qsort(l->hashbuf, l->entries, l->length, hashlist_comp);
688 unsigned char *next = l->hashbuf;
716 const unsigned char *next = bsearch(hash, l->hashbuf, l->entries,
721 if (next < l->hashbuf + (l->entries - 1) * l->length)
724 next = l->hashbuf;
736 if (bsearch(hash, l->hashbuf, l->entries, l->length, hashlist_comp))