28 const unsigned char *str = (
const unsigned char *) p;
32 while ((c = *str++) != 0)
34 if (index_version >= 5)
47 const unsigned char *str = (
const unsigned char *) str_;
53 while (
int c = *str++)
54 hash = hash * 33 + tolower (c);
68 hash = hash * 33 + tolower (c & 0xff);
uint32_t dwarf5_djb_hash(const char *str_)
hashval_t mapped_index_string_hash(int index_version, const void *p)