Lines Matching defs:hte
318 hte_t *hte;
376 hte = hash_search(renametab, name, false);
377 if (hte != NULL)
378 hte = hte->h_hte;
380 hte = htab_search(name, true);
381 hte->h_used = true;
385 *hte->h_lcall = fcall;
386 hte->h_lcall = &fcall->f_next;
471 hte_t *hte, *renamehte = NULL;
494 hte = htab_search(newname, true);
495 renamehte->h_hte = hte;
497 } else if (hte = renamehte->h_hte,
498 strcmp(hte->h_name, newname) != 0) {
506 hte = hash_search(renametab, name, false);
507 if (hte != NULL)
508 hte = hte->h_hte;
510 hte = htab_search(name, true);
512 hte->h_used |= used;
514 hte->h_def = true;
525 for (symp = hte->h_syms; symp != NULL; symp = symp->s_next) {
545 *hte->h_lsym = symp;
546 hte->h_lsym = &symp->s_next;
564 hte_t *hte;
575 hte = hash_search(renametab, name, false);
576 if (hte != NULL)
577 hte = hte->h_hte;
579 hte = htab_search(name, true);
580 hte->h_used = true;
582 *hte->h_lusym = usym;
583 hte->h_lusym = &usym->u_next;
1137 mkstatic(hte_t *hte)
1146 for (sym1 = hte->h_syms; sym1 != NULL; sym1 = sym1->s_next) {
1155 for (sym = hte->h_syms; sym != NULL && !ofnd; sym = sym->s_next) {
1159 for (call = hte->h_calls; call != NULL && !ofnd; call = call->f_next) {
1163 for (usym = hte->h_usyms; usym != NULL && !ofnd; usym = usym->u_next) {
1168 hte->h_used = true;
1170 hte->h_def = true;
1171 hte->h_static = true;
1181 for (nhte = hte; nhte->h_link != NULL; nhte = nhte->h_link)
1185 nhte->h_name = hte->h_name;
1202 for (symp = &hte->h_syms; (sym = *symp) != NULL; ) {
1206 if (hte->h_lsym == &sym->s_next)
1207 hte->h_lsym = symp;
1215 for (callp = &hte->h_calls; (call = *callp) != NULL; ) {
1218 if (hte->h_lcall == &call->f_next)
1219 hte->h_lcall = callp;
1227 for (usymp = &hte->h_usyms; (usym = *usymp) != NULL; ) {
1230 if (hte->h_lusym == &usym->u_next)
1231 hte->h_lusym = usymp;
1240 /* h_def must be recalculated for old hte */
1241 hte->h_def = nhte->h_def = false;
1242 for (sym = hte->h_syms; sym != NULL; sym = sym->s_next) {
1244 hte->h_def = true;
1249 mkstatic(hte);