Lines Matching refs:hash_ptr

878   struct shash	 *hash_ptr;	/* pointer to the hash table head */  member
1556 shash_t *hash_ptr; in add_string() local
1561 hash_ptr = (shash_t *) hash_find (hash_tbl, str); in add_string()
1562 if (hash_ptr == (shash_t *) NULL) in add_string()
1573 hash_ptr = allocate_shash (); in add_string()
1574 hash_ptr->indx = vp->num_allocated; in add_string()
1576 hash_ptr->string = &vp->last->datum->byte[vp->objects_last_page]; in add_string()
1581 strcpy (hash_ptr->string, str); in add_string()
1583 err = hash_insert (hash_tbl, str, (char *) hash_ptr); in add_string()
1590 *ret_hash = hash_ptr; in add_string()
1592 return hash_ptr->indx; in add_string()
1613 shash_t *hash_ptr = (shash_t *) NULL; in add_ecoff_symbol() local
1655 &hash_ptr)); in add_ecoff_symbol()
1664 if (hash_ptr != (shash_t *) NULL in add_ecoff_symbol()
1667 hash_ptr->sym_ptr = psym; in add_ecoff_symbol()
1728 ptag->hash_ptr->tag_ptr = ptag->same_name; in add_ecoff_symbol()
1903 thash_t *hash_ptr; in add_aux_sym_tir() local
1909 for (hash_ptr = hash_tbl[hi]; in add_aux_sym_tir()
1910 hash_ptr != (thash_t *)0; in add_aux_sym_tir()
1911 hash_ptr = hash_ptr->next) in add_aux_sym_tir()
1913 if (aux.isym == hash_ptr->type.isym) in add_aux_sym_tir()
1917 if (hash_ptr != (thash_t *) NULL && state == hash_yes) in add_aux_sym_tir()
1918 return hash_ptr->indx; in add_aux_sym_tir()
1920 if (hash_ptr == (thash_t *) NULL) in add_aux_sym_tir()
1922 hash_ptr = allocate_thash (); in add_aux_sym_tir()
1923 hash_ptr->next = hash_tbl[hi]; in add_aux_sym_tir()
1924 hash_ptr->type = aux; in add_aux_sym_tir()
1925 hash_ptr->indx = vp->num_allocated; in add_aux_sym_tir()
1926 hash_tbl[hi] = hash_ptr; in add_aux_sym_tir()
2011 shash_t *hash_ptr; in get_tag() local
2018 hash_ptr = (shash_t *) hash_find (tag_hash, tag); in get_tag()
2020 if (hash_ptr != (shash_t *) NULL in get_tag()
2021 && hash_ptr->tag_ptr != (tag_t *) NULL) in get_tag()
2023 tag_ptr = hash_ptr->tag_ptr; in get_tag()
2033 if (hash_ptr == (shash_t *) NULL) in get_tag()
2038 hash_ptr = allocate_shash (); in get_tag()
2039 err = hash_insert (tag_hash, perm, (char *) hash_ptr); in get_tag()
2043 hash_ptr->string = perm; in get_tag()
2048 tag_ptr->hash_ptr = hash_ptr; in get_tag()
2049 tag_ptr->same_name = hash_ptr->tag_ptr; in get_tag()
2058 hash_ptr->tag_ptr = tag_ptr; in get_tag()
2068 shash_t *hash_ptr = ptag->hash_ptr; in add_unknown_tag() local
2069 char *name = hash_ptr->string; in add_unknown_tag()
2086 hash_ptr->len, name_start); in add_unknown_tag()
4652 ptag->hash_ptr->tag_ptr = ptag->same_name; in ecoff_build_debug()