/glibc-2.36/sysdeps/generic/ |
D | dl-hash.h | 31 unsigned long int hash = *name; in _dl_elf_hash() local 32 if (hash != 0 && name[1] != '\0') in _dl_elf_hash() 34 hash = (hash << 4) + name[1]; in _dl_elf_hash() 37 hash = (hash << 4) + name[2]; in _dl_elf_hash() 40 hash = (hash << 4) + name[3]; in _dl_elf_hash() 43 hash = (hash << 4) + name[4]; in _dl_elf_hash() 48 hash = (hash << 4) + *name++; in _dl_elf_hash() 49 hi = hash & 0xf0000000; in _dl_elf_hash() 62 hash ^= hi >> 24; in _dl_elf_hash() 67 hash &= 0x0fffffff; in _dl_elf_hash() [all …]
|
/glibc-2.36/elf/ |
D | simple-dl-hash.h | 30 unsigned long int hash = 0; in __simple_dl_elf_hash() local 34 hash = (hash << 4) + c; in __simple_dl_elf_hash() 35 hi = hash & 0xf0000000; in __simple_dl_elf_hash() 36 hash ^= hi >> 24; in __simple_dl_elf_hash() 37 hash &= 0x0fffffff; in __simple_dl_elf_hash() 39 return hash; in __simple_dl_elf_hash()
|
D | dl-setup_hash.c | 26 Elf_Symndx *hash; in _dl_setup_hash() local 55 hash = (void *) D_PTR (map, l_info[DT_HASH]); in _dl_setup_hash() 57 map->l_nbuckets = *hash++; in _dl_setup_hash() 59 hash++; in _dl_setup_hash() 60 map->l_buckets = hash; in _dl_setup_hash() 61 hash += map->l_nbuckets; in _dl_setup_hash() 62 map->l_chain = hash; in _dl_setup_hash()
|
D | stringtable.c | 45 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()
|
D | dl-lookup.c | 117 if ((map->l_versions[ndx].hash != version->hash in ElfW() 119 && (version->hidden || map->l_versions[ndx].hash in ElfW() 168 unsigned int hash, const char *name, in enter_unique_sym() argument 171 size_t idx = hash % size; in enter_unique_sym() 172 size_t hash2 = 1 + hash % (size - 2); in enter_unique_sym() 180 table[idx].hashval = hash; in enter_unique_sym()
|
D | dl-version.c | 53 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() 310 map->l_versions[ndx].hash = aux->vna_hash; in _dl_check_map_versions() 348 map->l_versions[ndx].hash = ent->vd_hash; in _dl_check_map_versions()
|
D | cache.c | 914 unsigned int hash = aux_cache_entry_id_hash (&id); in search_aux_cache() local 916 for (entry = aux_hash[hash % aux_hash_size]; entry; entry = entry->next) in search_aux_cache() 939 size_t hash = aux_cache_entry_id_hash (id) % aux_hash_size; in insert_to_aux_cache() local 941 for (entry = aux_hash[hash]; entry; entry = entry->next) in insert_to_aux_cache() 958 entry->next = aux_hash[hash]; in insert_to_aux_cache() 959 aux_hash[hash] = entry; in insert_to_aux_cache()
|
D | dl-libc.c | 137 vers.hash = 0x0963cf85; in do_dlsym_private() 212 args.version.hash = _dl_elf_hash (version); in __libc_dlvsym()
|
D | dl-runtime.c | 77 if (version->hash == 0) in attribute_hidden() 264 if (version->hash == 0) in DL_FIXUP_VALUE_TYPE()
|
D | dl-lookup-direct.c | 58 if (map->l_versions[ndx].hash != version_hash in ElfW()
|
D | dl-sym.c | 185 vers.hash = _dl_elf_hash (version); in _dl_vsym()
|
D | dl-minimal.c | 88 version.hash = _dl_elf_hash (version.name); in __rtld_malloc_init_real()
|
/glibc-2.36/manual/examples/ |
D | genpass.c | 30 char *hash; in main() local 49 hash = crypt (getpass ("Enter new passphrase: "), salt); in main() 50 if (!hash || hash[0] == '*') in main() 57 puts (hash); in main()
|
/glibc-2.36/include/ |
D | inline-hashtab.h | 89 find_empty_slot_for_expand (struct hashtab *htab, int hash) in find_empty_slot_for_expand() argument 92 unsigned int index = hash % size; in find_empty_slot_for_expand() 99 hash2 = 1 + hash % (size - 2); in find_empty_slot_for_expand() 187 int hash, hash2; in htab_find_slot() local 195 hash = hash_fn (ptr); in htab_find_slot() 198 index = hash % size; in htab_find_slot() 206 hash2 = 1 + hash % (size - 2); in htab_find_slot()
|
/glibc-2.36/locale/programs/ |
D | simple-hash.c | 226 unsigned long int hash; in lookup() local 231 hash = 1 + hval % htab->size; in lookup() 233 idx = hash; in lookup() 242 hash = 1 + hval % (htab->size - 2); in lookup() 246 if (idx <= hash) in lookup() 247 idx = htab->size + idx - hash; in lookup() 249 idx -= hash; in lookup()
|
D | charmap-kw.h | 71 hash (register const char *str, register size_t len) in hash() function 177 register unsigned int key = hash (str, len); in charmap_hash()
|
D | locfile-kw.h | 71 hash (register const char *str, register size_t len) in hash() function 608 register unsigned int key = hash (str, len); in locfile_hash()
|
/glibc-2.36/posix/ |
D | regex_internal.c | 26 re_hashval_t hash); 30 re_hashval_t hash); 1468 re_hashval_t hash = nodes->nelem + context; in calc_state_hash() local 1471 hash += nodes->elems[i]; in calc_state_hash() 1472 return hash; in calc_state_hash() 1489 re_hashval_t hash; in re_acquire_state() local 1502 hash = calc_state_hash (nodes, 0); in re_acquire_state() 1503 spot = dfa->state_table + (hash & dfa->state_hash_mask); in re_acquire_state() 1508 if (hash != state->hash) in re_acquire_state() 1515 new_state = create_ci_newstate (dfa, nodes, hash); in re_acquire_state() [all …]
|
/glibc-2.36/nscd/ |
D | cache.c | 76 unsigned long int hash = __nss_hash (key, len) % table->head->module; in cache_search() local 81 ref_t work = table->head->array[hash]; in cache_search() 155 unsigned long int hash = __nss_hash (key, len) % table->head->module; in cache_add() local 181 newp->next = atomic_load_relaxed (&table->head->array[hash]); in cache_add() 182 while (!atomic_compare_exchange_weak_release (&table->head->array[hash], in cache_add() 206 (char *) &table->head->array[hash] - (char *) table->head in cache_add()
|
D | nscd_helper.c | 453 unsigned long int hash = __nss_hash (key, keylen) % mapped->head->module; in __nscd_cache_search() local 456 ref_t trail = mapped->head->array[hash]; in __nscd_cache_search()
|
/glibc-2.36/manual/ |
D | crypt.texi | 6 functions: one-way hash functions for passphrase storage, and access 51 hash. But an attacker who discovers someone's passphrase hash can 61 support them for verifying old passphrases. The DES-based hash is 77 into a one-way hash suitable for storage in the user database. The 91 @var{salt}. To hash a new passphrase for storage, set @var{salt} to a 114 With all of the hash functions @emph{except} DES, @var{phrase} can be 128 well-formed new salt for any of the supported hash functions. 131 The system configuration forbids use of the hash function selected by 139 Hashing passphrases is not supported at all, or the hash function 194 hash hardcoded into the program, because looking up real users' hashed
|
/glibc-2.36/scripts/ |
D | glibcsymbols.py | 53 return hash(self.symbol) ^ hash(self.version)
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/ |
D | libc-abis | 19 # GNU-style hash table with translation table.
|
/glibc-2.36/ |
D | SHARED-FILES | 155 intl/hash-string.c 156 intl/hash-string.h
|
/glibc-2.36/benchtests/ |
D | README | 87 hash-benchset 126 Lines beginning with a single hash '#' are treated as comments. See
|