Home | History | Annotate | Download | only in libelf

Lines Matching refs:hash

1 /* Compute hash value for given string according to ELF standard.
42 unsigned int hash = (unsigned int) *iname++;
45 hash = (hash << 4) + (unsigned int) *iname++;
48 hash = (hash << 4) + (unsigned int) *iname++;
51 hash = (hash << 4) + (unsigned int) *iname++;
54 hash = (hash << 4) + (unsigned int) *iname++;
58 hash = (hash << 4) + (unsigned int) *iname++;
59 hi = hash & 0xf0000000;
65 hash ^= hi >> 24;
67 hash &= ~hi;
72 hash ^= hi;
73 hash ^= hi >> 24;
79 return hash;
82 #endif /* dl-hash.h */