Home
last modified time | relevance | path

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

12345678910>>...18

/toolchain/binutils/binutils-2.25/bfd/
Dhash.c434 unsigned long hash; in bfd_hash_hash() local
438 hash = 0; in bfd_hash_hash()
443 hash += c + (c << 17); in bfd_hash_hash()
444 hash ^= hash >> 2; in bfd_hash_hash()
447 hash += len + (len << 17); in bfd_hash_hash()
448 hash ^= hash >> 2; in bfd_hash_hash()
451 return hash; in bfd_hash_hash()
462 unsigned long hash; in bfd_hash_lookup() local
467 hash = bfd_hash_hash (string, &len); in bfd_hash_lookup()
468 _index = hash % table->size; in bfd_hash_lookup()
[all …]
Dmerge.c139 unsigned long hash; in sec_merge_hash_lookup() local
145 hash = 0; in sec_merge_hash_lookup()
154 hash += c + (c << 17); in sec_merge_hash_lookup()
155 hash ^= hash >> 2; in sec_merge_hash_lookup()
158 hash += len + (len << 17); in sec_merge_hash_lookup()
172 hash += c + (c << 17); in sec_merge_hash_lookup()
173 hash ^= hash >> 2; in sec_merge_hash_lookup()
177 hash += len + (len << 17); in sec_merge_hash_lookup()
180 hash ^= hash >> 2; in sec_merge_hash_lookup()
188 hash += c + (c << 17); in sec_merge_hash_lookup()
[all …]
Delf32-m68hc1x.c67 = (struct m68hc11_elf_link_hash_table *) obfd->link.hash; in m68hc11_elf_bfd_link_hash_table_free()
197 bfd_link_hash_lookup (info->hash, "__far_trampoline", in elf32_m68hc11_add_symbol_hook()
444 struct elf_link_hash_entry *hash; in elf32_m68hc11_size_stubs() local
479 hash = NULL; in elf32_m68hc11_size_stubs()
487 hash = (struct elf_link_hash_entry *) in elf32_m68hc11_size_stubs()
490 while (hash->root.type == bfd_link_hash_indirect in elf32_m68hc11_size_stubs()
491 || hash->root.type == bfd_link_hash_warning) in elf32_m68hc11_size_stubs()
492 hash = ((struct elf_link_hash_entry *) in elf32_m68hc11_size_stubs()
493 hash->root.u.i.link); in elf32_m68hc11_size_stubs()
495 if (hash->root.type == bfd_link_hash_defined in elf32_m68hc11_size_stubs()
[all …]
Dsection.c907 unsigned long hash; in bfd_get_next_section_by_name() local
912 hash = sh->root.hash; in bfd_get_next_section_by_name()
917 if (sh->root.hash == hash in bfd_get_next_section_by_name()
978 unsigned long hash; in bfd_get_section_by_name_if() local
984 hash = sh->root.hash; in bfd_get_section_by_name_if()
991 while (sh != NULL && sh->root.hash == hash in bfd_get_section_by_name_if()
Delf-m10300.c131 (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \
132 == MN10300_ELF_DATA ? ((struct elf32_mn10300_link_hash_table *) ((p)->hash)) : NULL)
2302 struct elf32_mn10300_link_hash_entry *hash, in compute_function_info() argument
2322 hash->movm_args = byte2; in compute_function_info()
2331 if (hash->movm_args) in compute_function_info()
2334 if (hash->movm_args & 0x80) in compute_function_info()
2335 hash->movm_stack_size += 4; in compute_function_info()
2338 if (hash->movm_args & 0x40) in compute_function_info()
2339 hash->movm_stack_size += 4; in compute_function_info()
2342 if (hash->movm_args & 0x20) in compute_function_info()
[all …]
Dlinker.c478 BFD_ASSERT (!abfd->is_linker_output && !abfd->link.hash); in _bfd_link_hash_table_init()
488 abfd->link.hash = table; in _bfd_link_hash_table_init()
566 h = bfd_link_hash_lookup (info->hash, n, create, TRUE, follow); in bfd_wrapped_link_hash_lookup()
594 h = bfd_link_hash_lookup (info->hash, n, create, TRUE, follow); in bfd_wrapped_link_hash_lookup()
602 return bfd_link_hash_lookup (info->hash, string, create, copy, follow); in bfd_wrapped_link_hash_lookup()
632 h = bfd_link_hash_lookup (info->hash, l, FALSE, FALSE, FALSE); in unwrap_hash_lookup()
780 BFD_ASSERT (obfd->is_linker_output && obfd->link.hash); in _bfd_generic_link_hash_table_free()
781 ret = (struct generic_link_hash_table *) obfd->link.hash; in _bfd_generic_link_hash_table_free()
784 obfd->link.hash = NULL; in _bfd_generic_link_hash_table_free()
981 h = bfd_link_hash_lookup (info->hash, arsym->name, in _bfd_generic_link_add_archive_symbols()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dhash.c43 unsigned long hash; member
137 unsigned long hash; in hash_lookup() local
149 hash = 0; in hash_lookup()
153 hash += c + (c << 17); in hash_lookup()
154 hash ^= hash >> 2; in hash_lookup()
156 hash += len + (len << 17); in hash_lookup()
157 hash ^= hash >> 2; in hash_lookup()
160 *phash = hash; in hash_lookup()
162 hindex = hash % table->size; in hash_lookup()
175 if (p->hash == hash) in hash_lookup()
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Dcgen-dis.c57 unsigned int hash) in add_insn_to_hash_chain() argument
68 for (current_buf = htable[hash]; current_buf != NULL; in add_insn_to_hash_chain()
81 htable[hash] = hentbuf; in add_insn_to_hash_chain()
111 unsigned int hash; in hash_insn_array() local
127 hash = (* cd->dis_hash) (buf, value); in hash_insn_array()
128 add_insn_to_hash_chain (hentbuf, insn, htable, hash); in hash_insn_array()
149 unsigned int hash; in hash_insn_list() local
164 hash = (* cd->dis_hash) (buf, value); in hash_insn_list()
165 add_insn_to_hash_chain (hentbuf, ilist->insn, htable, hash); in hash_insn_list()
231 unsigned int hash; in cgen_dis_lookup_insn() local
[all …]
Dcgen-asm.c77 unsigned int hash; in hash_insn_array() local
82 hash = (* cd->asm_hash) (CGEN_INSN_MNEMONIC (insn)); in hash_insn_array()
83 hentbuf->next = htable[hash]; in hash_insn_array()
85 htable[hash] = hentbuf; in hash_insn_array()
105 unsigned int hash; in hash_insn_list() local
109 hash = (* cd->asm_hash) (CGEN_INSN_MNEMONIC (ilist->insn)); in hash_insn_list()
110 hentbuf->next = htable[hash]; in hash_insn_list()
112 htable[hash] = hentbuf; in hash_insn_list()
178 unsigned int hash; in cgen_asm_lookup_insn() local
183 hash = (* cd->asm_hash) (insn); in cgen_asm_lookup_insn()
[all …]
Dcgen-opc.c108 unsigned int hash; in cgen_keyword_add() local
114 hash = hash_keyword_name (kt, ke->name, 0); in cgen_keyword_add()
115 ke->next_name = kt->name_hash_table[hash]; in cgen_keyword_add()
116 kt->name_hash_table[hash] = ke; in cgen_keyword_add()
118 hash = hash_keyword_value (kt, ke->value); in cgen_keyword_add()
119 ke->next_value = kt->value_hash_table[hash]; in cgen_keyword_add()
120 kt->value_hash_table[hash] = ke; in cgen_keyword_add()
212 unsigned int hash; in hash_keyword_name() local
215 for (hash = 0; *name; ++name) in hash_keyword_name()
216 hash = (hash * 97) + (unsigned char) *name; in hash_keyword_name()
[all …]
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-arm/
Dcortex-a8-fix-plt.ld6 .hash : { *(.hash) }
7 .gnu.hash : { *(.gnu.hash) }
Difunc-dynamic.ld6 .hash : { *(.hash) }
7 .gnu.hash : { *(.gnu.hash) }
/toolchain/binutils/binutils-2.25/libiberty/
Dhashtab.c262 htab_mod (hashval_t hash, htab_t htab) in htab_mod() argument
265 return htab_mod_1 (hash, p->prime, p->inv, p->shift); in htab_mod()
271 htab_mod_m2 (hashval_t hash, htab_t htab) in htab_mod_m2() argument
274 return 1 + htab_mod_1 (hash, p->prime - 2, p->inv_m2, p->shift); in htab_mod_m2()
482 find_empty_slot_for_expand (htab_t htab, hashval_t hash) in find_empty_slot_for_expand() argument
484 hashval_t index = htab_mod (hash, htab); in find_empty_slot_for_expand()
494 hash2 = htab_mod_m2 (hash, htab); in find_empty_slot_for_expand()
586 htab_find_with_hash (htab_t htab, const PTR element, hashval_t hash) in htab_find_with_hash() argument
594 index = htab_mod (hash, htab); in htab_find_with_hash()
601 hash2 = htab_mod_m2 (hash, htab); in htab_find_with_hash()
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Ddllwrap.c452 unsigned long hash; in strhash() local
456 hash = 0; in strhash()
461 hash += c + (c << 17); in strhash()
462 hash ^= hash >> 2; in strhash()
465 hash += len + (len << 17); in strhash()
466 hash ^= hash >> 2; in strhash()
468 return hash; in strhash()
940 unsigned long hash = strhash (dll_file_name); in main() local
941 sprintf (tmpbuf, "0x%.8lX", 0x60000000|((hash<<16)&0xFFC0000)); in main()
/toolchain/binutils/binutils-2.25/gold/
Dsystem.h94 struct hash<off_t> : public std::unary_function<off_t, std::size_t>
117 struct hash<std::string>
125 struct hash<T*>
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
Dprovide-hidden-s.ld10 .hash : { *(.hash) }
Dprovide-hidden-2.ld11 .hash : { *(.hash) }
Dprovide-hidden-1.ld14 .hash : { *(.hash) }
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/
Dhash1c.d2 #ld: -shared --hash-style=gnu
3 #error: .gnu.hash is incompatible with the MIPS ABI
Dhash1b.d2 #ld: -shared --hash-style=both
3 #error: .gnu.hash is incompatible with the MIPS ABI
Deh-frame1.ld5 .hash : { *(.hash) }
Dexport-class-call16.ld8 .hash : { *(.hash) }
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/
Dcross1.t6 .hash : { *(.hash) }
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-vax-elf/
Dplt-local-lib.ld4 .hash : { *(.hash) }
Dexport-class.ld9 .hash : { *(.hash) }

12345678910>>...18