Home
last modified time | relevance | path

Searched refs:name_bytes (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_gnu_hash.h48 const uint8_t* name_bytes = reinterpret_cast<const uint8_t*>(name); in calculate_gnu_hash_simple() local
50 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()
Dlinker_soinfo.cpp916 const uint8_t* name_bytes = reinterpret_cast<const uint8_t*>(name); in calculate_elf_hash() local
919 while (*name_bytes) { in calculate_elf_hash()
920 h = (h << 4) + *name_bytes++; in calculate_elf_hash()