Lines Matching defs:isp

52 	dt_idsig_t *isp = idp->di_data;
60 if (isp->dis_varargs >= 0) {
61 mismatch = argc < isp->dis_varargs;
62 arglimit = isp->dis_varargs;
63 } else if (isp->dis_optargs >= 0) {
64 mismatch = (argc < isp->dis_optargs || argc > isp->dis_argc);
67 mismatch = argc != isp->dis_argc;
68 arglimit = isp->dis_argc;
75 isp->dis_optargs >= 0 ? "at least " : "",
76 isp->dis_optargs >= 0 ? isp->dis_optargs : arglimit);
80 if (isp->dis_args[i].dn_ctfp != NULL)
81 compat = dt_node_is_argcompat(&isp->dis_args[i], args);
91 dt_node_type_name(&isp->dis_args[i], n1,
110 dt_idsig_t *isp = idp->di_data = malloc(sizeof (dt_idsig_t));
114 if (isp == NULL)
117 isp->dis_varargs = -1;
118 isp->dis_optargs = -1;
119 isp->dis_argc = argc;
120 isp->dis_args = NULL;
121 isp->dis_auxinfo = 0;
123 if (argc != 0 && (isp->dis_args = calloc(argc,
126 free(isp);
150 dt_node_type_propagate(args, &isp->dis_args[i]);
151 isp->dis_args[i].dn_list = &isp->dis_args[i + 1];
155 isp->dis_args[argc - 1].dn_list = NULL;
176 dt_idsig_t *isp;
209 if ((isp = idp->di_data = malloc(sizeof (dt_idsig_t))) == NULL)
212 isp->dis_varargs = -1;
213 isp->dis_optargs = -1;
214 isp->dis_argc = i;
215 isp->dis_args = NULL;
216 isp->dis_auxinfo = 0;
218 if (i != 0 && (isp->dis_args = calloc(i,
221 free(isp);
255 for (i = 0; i < isp->dis_argc; i++, p1 = p2) {
265 isp->dis_args[i].dn_ctfp = NULL;
266 isp->dis_args[i].dn_type = CTF_ERR;
268 isp->dis_varargs = i;
273 if (isp->dis_varargs != -1) {
276 i + 1, isp->dis_varargs + 1);
279 if (isp->dis_optargs == -1)
280 isp->dis_optargs = i;
284 } else if (isp->dis_optargs != -1) {
287 isp->dis_optargs + 1);
296 dt_node_type_assign(&isp->dis_args[i],