Lines Matching refs:arg

106     register Arg arg, nextarg; register Item item, nextitem;
107 for(arg = hdr->inArgs; arg; arg = nextarg) {
108 nextarg = arg->next;
109 for(item = arg->items; item; item = nextitem) {
121 free(arg);
123 for(arg = hdr->outArgs; arg; arg = nextarg) {
124 nextarg = arg->next;
125 for(item = arg->items; item; item = nextitem) {
133 free(arg);
149 register Arg arg, prevArg;
160 for (arg = inArgs; arg; arg = arg->next) { /* foreach input arg */
162 for (item = arg->items; item; item = item->next) {
163 if (IsCharType(arg->type)
171 else if (item == arg->items) {arg->items = item->next;};
175 if(item->scaled && !IsNumStrType(arg->type)) {
179 if (IsNumStrType(arg->type)
187 else if (item == arg->items) {arg->items = item->next;};
191 if (arg->type != T_CONTEXT) {
196 else if (item == arg->items) {arg->items = item->next;};
202 item->type = arg->type;
206 if (arg->items == NULL) {
207 if (prevArg) { prevArg->next = arg->next;}
208 else if (arg == inArgs) {inArgs = arg->next;}
211 prevArg = arg;
215 for (arg = outArgs; arg; arg = arg->next) { /* foreach output arg */
217 for (item = arg->items; item; item = item->next) {
218 if (arg->type == T_USEROBJECT) {
224 else if (item == arg->items) {arg->items = item->next;};
228 if (arg->type == T_NUMSTR || arg->type == T_FLOATNUMSTR
229 || arg->type == T_LONGNUMSTR || arg->type == T_SHORTNUMSTR) {
235 else if (item == arg->items) {arg->items = item->next;};
245 else if (item == arg->items) {arg->items = item->next;};
254 else if (item == arg->items) {arg->items = item->next;};
260 item->type = arg->type;
264 if (arg->items == NULL) {
266 prevArg->next = arg->next;
267 } else if (arg == outArgs) {
268 outArgs = arg->next;
272 prevArg = arg;
275 /* now go looking for subscripts that name an input arg */
276 for (arg = inArgs; arg; arg = arg->next) { /* foreach input arg */
277 for (item = arg->items; item; item = item->next) {
300 for (arg = outArgs; arg; arg = arg->next) { /* foreach output arg */
301 for (item = arg->items; item; item = item->next) {
417 register Arg arg = (Arg)psw_calloc(sizeof(ArgRec), 1);
418 arg->next = NULL;
419 arg->type = type;
420 arg->items = items;
421 return arg;
485 Args ConsPSWArgs(Arg arg, Args args)
487 arg->next = args;
488 return arg;
529 Args AppendPSWArgs(Arg arg, Args args)
532 arg->next = NULL;
533 if (args == NULL) return arg;
537 a->next = arg;