Lines Matching defs:hte
95 hte_t *hte;
101 for (hte = table[h]; hte != NULL; hte = hte->h_link) {
102 if (strcmp(hte->h_name, s) == 0)
106 if (hte != NULL || !mknew)
107 return (hte);
109 /* create a new hte */
110 hte = xmalloc(sizeof (hte_t));
111 hte->h_name = xstrdup(s);
112 hte->h_used = 0;
113 hte->h_def = 0;
114 hte->h_static = 0;
115 hte->h_syms = NULL;
116 hte->h_lsym = &hte->h_syms;
117 hte->h_calls = NULL;
118 hte->h_lcall = &hte->h_calls;
119 hte->h_usyms = NULL;
120 hte->h_lusym = &hte->h_usyms;
121 hte->h_link = table[h];
122 hte->h_hte = NULL;
123 table[h] = hte;
125 return (hte);
135 hte_t *hte;
141 for (hte = table[i]; hte != NULL; hte = hte->h_link)
142 (*f)(hte);
153 hte_t *hte, *nexthte;
159 for (hte = table[i]; hte != NULL; hte = nexthte) {
160 free((void *)hte->h_name);
161 nexthte = hte->h_link;
162 free(hte);