Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 10 of 10) sorted by relevance

/elf/
A Dstringtable.c45 uint32_t hash = 2166136261U; in fnv1a() local
48 hash ^= p[i]; in fnv1a()
49 hash *= 16777619U; in fnv1a()
51 return hash; in fnv1a()
69 uint32_t hash = fnv1a (e->string, e->length); in stringtable_rehash() local
70 uint32_t new_index = hash & mask; in stringtable_rehash()
91 uint32_t hash = fnv1a (string, length); in stringtable_add() local
95 = table->entries[hash & (table->allocated - 1)]; in stringtable_add()
111 uint32_t index = hash & (table->allocated - 1); in stringtable_add()
A Ddl-lookup.c116 if ((map->l_versions[ndx].hash != version->hash in ElfW()
170 size_t idx = hash % size; in enter_unique_sym()
171 size_t hash2 = 1 + hash % (size - 2); in enter_unique_sym()
179 table[idx].hashval = hash; in enter_unique_sym()
961 Elf_Symndx *hash; in _dl_setup_hash() local
990 hash = (void *) D_PTR (map, l_info[DT_HASH]); in _dl_setup_hash()
992 map->l_nbuckets = *hash++; in _dl_setup_hash()
994 hash++; in _dl_setup_hash()
995 map->l_buckets = hash; in _dl_setup_hash()
996 hash += map->l_nbuckets; in _dl_setup_hash()
[all …]
A Ddl-version.c53 match_symbol (const char *name, Lmid_t ns, ElfW(Word) hash, const char *string, in match_symbol() argument
108 if (hash == def->vd_hash) in match_symbol()
303 map->l_versions[ndx].hash = aux->vna_hash; in _dl_check_map_versions()
341 map->l_versions[ndx].hash = ent->vd_hash; in _dl_check_map_versions()
A Ddl-lookup-direct.c58 if (map->l_versions[ndx].hash != version_hash in ElfW()
A Ddl-libc.c137 vers.hash = 0x0963cf85; in do_dlsym_private()
212 args.version.hash = _dl_elf_hash (version); in __libc_dlvsym()
A Ddl-runtime.c77 if (version->hash == 0) in attribute_hidden()
264 if (version->hash == 0) in DL_FIXUP_VALUE_TYPE()
A Ddl-minimal.c88 version.hash = _dl_elf_hash (version.name); in __rtld_malloc_init_real()
A Ddl-sym.c185 vers.hash = _dl_elf_hash (version); in _dl_vsym()
A Dcache.c945 unsigned int hash = aux_cache_entry_id_hash (&id); in search_aux_cache() local
947 for (entry = aux_hash[hash % aux_hash_size]; entry; entry = entry->next) in search_aux_cache()
972 size_t hash = aux_cache_entry_id_hash (id) % aux_hash_size; in insert_to_aux_cache() local
974 for (entry = aux_hash[hash]; entry; entry = entry->next) in insert_to_aux_cache()
992 entry->next = aux_hash[hash]; in insert_to_aux_cache()
993 aux_hash[hash] = entry; in insert_to_aux_cache()
A Ddl-reloc.c179 if ((version) != NULL && (version)->hash != 0) \

Completed in 15 milliseconds