Lines Matching refs:runp
395 struct bitvalue *runp = $1; variable
396 while (runp->next != NULL)
397 runp = runp->next;
398 runp->next = $3;
410 struct bitvalue *runp = $1; variable
411 while (runp->next != NULL)
412 runp = runp->next;
413 runp->next = $2;
464 struct argument *runp = $1; variable
465 while (runp->next != NULL)
466 runp = runp->next;
467 runp->next = xmalloc (sizeof (struct argument));
468 runp->next->name = combine ($3);
469 runp->next->next = NULL;
482 struct argname *runp = $1; variable
483 while (runp->next != NULL)
484 runp = runp->next;
485 runp->next = $2;
596 struct bitvalue *runp = val; in check_bits() local
599 while (runp != NULL) in check_bits()
601 if (runp->type == zeroone) in check_bits()
603 else if (runp->field == NULL) in check_bits()
607 total += runp->field->bits; in check_bits()
609 runp = runp->next; in check_bits()
675 struct bitvalue *runp = bitval; in check_argsdef() local
677 while (runp != NULL) in check_argsdef()
678 if (runp->type == field && runp->field == name->field) in check_argsdef()
681 runp = runp->next; in check_argsdef()
683 if (runp == NULL) in check_argsdef()
711 struct argument *runp; in check_bitsused() local
712 for (runp = args; runp != NULL; runp = runp->next) in check_bitsused()
714 struct argname *name = runp->name; in check_bitsused()
727 if (runp == NULL) in check_bitsused()
747 for (struct argname *runp = name; runp != NULL; runp = runp->next) in combine() local
749 if (runp->type == string) in combine()
752 last_str = runp; in combine()
757 + strlen (runp->str) + 1); in combine()
758 strcat (last_str->str, runp->str); in combine()
759 last_str->next = runp->next; in combine()
784 struct argname *runp = name; in fillin_arg() local
786 while (runp != NULL) in fillin_arg()
789 if (runp->type == string) in fillin_arg()
796 instr->operands[n].str = runp->str; in fillin_arg()
800 assert (runp->type == nfield); in fillin_arg()
806 if (runp->field == NULL) in fillin_arg()
811 char *fieldname = runp->field->name; in fillin_arg()
825 if (runp->field != NULL) in fillin_arg()
830 if (strcmp (b->field->name, runp->field->name) == 0) in fillin_arg()
850 if (runp->field != NULL in fillin_arg()
851 && strncasecmp (runp->field->name, "mod", 3) == 0) in fillin_arg()
855 runp = runp->next; in fillin_arg()
909 struct instruction *runp = instructions; in find_numbers() local
910 while (runp != NULL) in find_numbers()
913 if (runp->operands[i].fct != NULL) in find_numbers()
915 struct argstring search = { .str = runp->operands[i].fct }; in find_numbers()
919 newp->str = runp->operands[i].fct; in find_numbers()
926 if (runp->operands[i].str != NULL) in find_numbers()
928 search.str = runp->operands[i].str; in find_numbers()
932 newp->str = runp->operands[i].str; in find_numbers()
940 maxoff[i][0] = MAX (maxoff[i][0], runp->operands[i].off1); in find_numbers()
941 maxoff[i][1] = MAX (maxoff[i][1], runp->operands[i].off2); in find_numbers()
942 maxoff[i][2] = MAX (maxoff[i][2], runp->operands[i].off3); in find_numbers()
944 if (runp->operands[i].off1 > 0) in find_numbers()
945 minoff[i][0] = MIN (minoff[i][0], runp->operands[i].off1); in find_numbers()
946 if (runp->operands[i].off2 > 0) in find_numbers()
947 minoff[i][1] = MIN (minoff[i][1], runp->operands[i].off2); in find_numbers()
948 if (runp->operands[i].off3 > 0) in find_numbers()
949 minoff[i][2] = MIN (minoff[i][2], runp->operands[i].off3); in find_numbers()
952 struct instruction *old = runp; in find_numbers()
953 runp = runp->next; in find_numbers()