Lines Matching defs:isp

54 	dt_idsig_t *isp = idp->di_data;
62 if (isp->dis_varargs >= 0) {
63 mismatch = argc < isp->dis_varargs;
64 arglimit = isp->dis_varargs;
65 } else if (isp->dis_optargs >= 0) {
66 mismatch = (argc < isp->dis_optargs || argc > isp->dis_argc);
69 mismatch = argc != isp->dis_argc;
70 arglimit = isp->dis_argc;
77 isp->dis_optargs >= 0 ? "at least " : "",
78 isp->dis_optargs >= 0 ? isp->dis_optargs : arglimit);
82 if (isp->dis_args[i].dn_ctfp != NULL)
83 compat = dt_node_is_argcompat(&isp->dis_args[i], args);
93 dt_node_type_name(&isp->dis_args[i], n1,
112 dt_idsig_t *isp = idp->di_data = malloc(sizeof (dt_idsig_t));
116 if (isp == NULL)
119 isp->dis_varargs = -1;
120 isp->dis_optargs = -1;
121 isp->dis_argc = argc;
122 isp->dis_args = NULL;
123 isp->dis_auxinfo = 0;
125 if (argc != 0 && (isp->dis_args = calloc(argc,
128 free(isp);
152 dt_node_type_propagate(args, &isp->dis_args[i]);
153 isp->dis_args[i].dn_list = &isp->dis_args[i + 1];
157 isp->dis_args[argc - 1].dn_list = NULL;
178 dt_idsig_t *isp;
211 if ((isp = idp->di_data = malloc(sizeof (dt_idsig_t))) == NULL)
214 isp->dis_varargs = -1;
215 isp->dis_optargs = -1;
216 isp->dis_argc = i;
217 isp->dis_args = NULL;
218 isp->dis_auxinfo = 0;
220 if (i != 0 && (isp->dis_args = calloc(i,
223 free(isp);
257 for (i = 0; i < isp->dis_argc; i++, p1 = p2) {
267 isp->dis_args[i].dn_ctfp = NULL;
268 isp->dis_args[i].dn_type = CTF_ERR;
270 isp->dis_varargs = i;
275 if (isp->dis_varargs != -1) {
278 i + 1, isp->dis_varargs + 1);
281 if (isp->dis_optargs == -1)
282 isp->dis_optargs = i;
286 } else if (isp->dis_optargs != -1) {
289 isp->dis_optargs + 1);
298 dt_node_type_assign(&isp->dis_args[i],