Lines Matching refs:hte

76 	hte_t	*hte;
78 if ((hte = hsearch("main", 0)) != NULL)
79 hte->h_used = 1;
86 chkname(hte_t *hte)
91 chkund(hte);
92 chkdnu(hte);
94 chkdnud(hte);
96 chkmd(hte);
100 for (sym = hte->h_syms; sym != NULL; sym = sym->s_nxt) {
116 chkvtui(hte, def, decl);
118 chkvtdi(hte, def, decl);
120 chkfaui(hte, def, decl);
122 chkrvu(hte, def);
124 chkadecl(hte, def, decl);
131 chkund(hte_t *hte)
136 if (!hte->h_used || hte->h_def)
139 if ((fcall = hte->h_calls) != NULL) {
141 msg(0, hte->h_name, mkpos(&fcall->f_pos));
142 } else if ((usym = hte->h_usyms) != NULL) {
144 msg(0, hte->h_name, mkpos(&usym->u_pos));
152 chkdnu(hte_t *hte)
156 if (!hte->h_def || hte->h_used)
159 for (sym = hte->h_syms; sym != NULL; sym = sym->s_nxt) {
162 msg(1, hte->h_name, mkpos(&sym->s_pos));
173 chkdnud(hte_t *hte)
177 if (hte->h_syms == NULL || hte->h_used || hte->h_def)
180 sym = hte->h_syms;
187 msg(2, hte->h_name, mkpos(&sym->s_pos));
195 chkmd(hte_t *hte)
200 if (!hte->h_def)
204 for (sym = hte->h_syms; sym != NULL; sym = sym->s_nxt) {
217 msg(3, hte->h_name, pos1, mkpos(&sym->s_pos));
232 chkvtui(hte_t *hte, sym_t *def, sym_t *decl)
241 if (hte->h_calls == NULL)
250 for (call = hte->h_calls; call != NULL; call = call->f_nxt) {
272 msg(17, hte->h_name,
281 msg(4, hte->h_name, pos1, mkpos(&call->f_pos));
293 chkvtdi(hte_t *hte, sym_t *def, sym_t *decl)
307 for (sym = hte->h_syms; sym != NULL; sym = sym->s_nxt) {
320 msg(5, hte->h_name, pos1, mkpos(&sym->s_pos));
332 chkfaui(hte_t *hte, sym_t *def, sym_t *decl)
341 if ((calls = hte->h_calls) == NULL)
380 chkau(hte, n, def, decl, pos1p, call1, call,
402 msg(7, hte->h_name, pos1, mkpos(&call->f_pos));
418 printflike(hte, call, n, ai->a_fstrg, ap2);
420 scanflike(hte, call, n, ai->a_fstrg, ap2);
428 * hte a pointer to the hash table entry of the function
440 chkau(hte_t *hte, int n, sym_t *def, sym_t *decl, pos_t *pos1p,
584 msg(6, hte->h_name, n, pos1, mkpos(&call->f_pos));
593 printflike(hte_t *hte, fcall_t *call, int n, const char *fmt, type_t **ap)
607 tomanyarg(hte, call);
611 badfmt(hte, call);
654 tofewarg(hte, call);
659 inconarg(hte, call, n);
671 tofewarg(hte, call);
676 inconarg(hte, call, n);
678 badfmt(hte, call);
698 badfmt(hte, call);
705 badfmt(hte, call);
710 tofewarg(hte, call);
719 badfmt(hte, call);
725 inconarg(hte, call, n);
728 inconarg(hte, call, n);
735 inconarg(hte, call, n);
739 badfmt(hte, call);
743 inconarg(hte, call, n);
746 inconarg(hte, call, n);
750 inconarg(hte, call, n);
753 inconarg(hte, call, n);
757 badfmt(hte, call);
769 badfmt(hte, call);
771 inconarg(hte, call, n);
774 badfmt(hte, call);
776 inconarg(hte, call, n);
779 badfmt(hte, call);
782 inconarg(hte, call, n);
786 badfmt(hte, call);
788 inconarg(hte, call, n);
791 badfmt(hte, call);
793 inconarg(hte, call, n);
796 inconarg(hte, call, n);
799 inconarg(hte, call, n);
802 inconarg(hte, call, n);
805 badfmt(hte, call);
818 scanflike(hte_t *hte, fcall_t *call, int n, const char *fmt, type_t **ap)
832 tomanyarg(hte, call);
836 badfmt(hte, call);
868 badfmt(hte, call);
875 tofewarg(hte, call);
885 badfmt(hte, call);
891 inconarg(hte, call, n);
893 inconarg(hte, call, n);
895 inconarg(hte, call, n);
897 inconarg(hte, call, n);
902 badfmt(hte, call);
915 badfmt(hte, call);
920 badfmt(hte, call);
929 badfmt(hte, call);
938 badfmt(hte, call);
944 badfmt(hte, call);
953 badfmt(hte, call);
962 badfmt(hte, call);
968 badfmt(hte, call);
971 badfmt(hte, call);
975 badfmt(hte, call);
982 inconarg(hte, call, n);
985 inconarg(hte, call, n);
990 badfmt(hte, call);
993 inconarg(hte, call, n);
996 inconarg(hte, call, n);
1000 badfmt(hte, call);
1009 badfmt(hte_t *hte, fcall_t *call)
1013 msg(13, hte->h_name, mkpos(&call->f_pos));
1017 inconarg(hte_t *hte, fcall_t *call, int n)
1021 msg(14, hte->h_name, n, mkpos(&call->f_pos));
1025 tofewarg(hte_t *hte, fcall_t *call)
1029 msg(15, hte->h_name, mkpos(&call->f_pos));
1033 tomanyarg(hte_t *hte, fcall_t *call)
1037 msg(16, hte->h_name, mkpos(&call->f_pos));
1046 chkrvu(hte_t *hte, sym_t *def)
1055 if (hte->h_calls == NULL)
1061 for (call = hte->h_calls; call != NULL; call = call->f_nxt) {
1074 msg(8, hte->h_name);
1078 msg(9, hte->h_name);
1082 for (call = hte->h_calls; call != NULL; call = call->f_nxt) {
1085 msg(10, hte->h_name, mkpos(&call->f_pos));
1094 chkadecl(hte_t *hte, sym_t *def, sym_t *decl)
1120 for (sym = hte->h_syms; sym != NULL; sym = sym->s_nxt) {
1133 msg(11, hte->h_name, n + 1, pos1, pos2);
1152 msg(12, hte->h_name, pos1, mkpos(&sym->s_pos));