Lines Matching refs:hash_ptr
880 struct shash *hash_ptr; /* pointer to the hash table head */
1563 shash_t *hash_ptr;
1568 hash_ptr = (shash_t *) hash_find (hash_tbl, str);
1569 if (hash_ptr == (shash_t *) NULL)
1580 hash_ptr = allocate_shash ();
1581 hash_ptr->indx = vp->num_allocated;
1583 hash_ptr->string = &vp->last->datum->byte[vp->objects_last_page];
1588 strcpy (hash_ptr->string, str);
1590 err = hash_insert (hash_tbl, str, (char *) hash_ptr);
1597 *ret_hash = hash_ptr;
1599 return hash_ptr->indx;
1621 shash_t *hash_ptr = (shash_t *) NULL;
1663 &hash_ptr));
1672 if (hash_ptr != (shash_t *) NULL
1675 hash_ptr->sym_ptr = psym;
1736 ptag->hash_ptr->tag_ptr = ptag->same_name;
1913 thash_t *hash_ptr;
1919 for (hash_ptr = hash_tbl[hi];
1920 hash_ptr != (thash_t *)0;
1921 hash_ptr = hash_ptr->next)
1923 if (aux.isym == hash_ptr->type.isym)
1927 if (hash_ptr != (thash_t *) NULL && state == hash_yes)
1928 return hash_ptr->indx;
1930 if (hash_ptr == (thash_t *) NULL)
1932 hash_ptr = allocate_thash ();
1933 hash_ptr->next = hash_tbl[hi];
1934 hash_ptr->type = aux;
1935 hash_ptr->indx = vp->num_allocated;
1936 hash_tbl[hi] = hash_ptr;
2022 shash_t *hash_ptr;
2029 hash_ptr = (shash_t *) hash_find (tag_hash, tag);
2031 if (hash_ptr != (shash_t *) NULL
2032 && hash_ptr->tag_ptr != (tag_t *) NULL)
2034 tag_ptr = hash_ptr->tag_ptr;
2044 if (hash_ptr == (shash_t *) NULL)
2049 hash_ptr = allocate_shash ();
2050 err = hash_insert (tag_hash, perm, (char *) hash_ptr);
2054 hash_ptr->string = perm;
2059 tag_ptr->hash_ptr = hash_ptr;
2060 tag_ptr->same_name = hash_ptr->tag_ptr;
2069 hash_ptr->tag_ptr = tag_ptr;
2080 shash_t *hash_ptr = ptag->hash_ptr;
2081 char *name = hash_ptr->string;
2098 hash_ptr->len, name_start);
4684 ptag->hash_ptr->tag_ptr = ptag->same_name;