Searched refs:name_bytes (Results 1 – 2 of 2) sorted by relevance
48 const uint8_t* name_bytes = reinterpret_cast<const uint8_t*>(name); in calculate_gnu_hash_simple() local50 while (*name_bytes != 0) { in calculate_gnu_hash_simple()51 h += (h << 5) + *name_bytes++; // h*33 + c = h + h * 32 + c = h + h << 5 + c in calculate_gnu_hash_simple()53 return { h, reinterpret_cast<const char*>(name_bytes) - name }; in calculate_gnu_hash_simple()
916 const uint8_t* name_bytes = reinterpret_cast<const uint8_t*>(name); in calculate_elf_hash() local919 while (*name_bytes) { in calculate_elf_hash()920 h = (h << 4) + *name_bytes++; in calculate_elf_hash()