Lines Matching refs:runp
393 struct bitvalue *runp = $1; variable
394 while (runp->next != NULL)
395 runp = runp->next;
396 runp->next = $3;
408 struct bitvalue *runp = $1; variable
409 while (runp->next != NULL)
410 runp = runp->next;
411 runp->next = $2;
462 struct argument *runp = $1; variable
463 while (runp->next != NULL)
464 runp = runp->next;
465 runp->next = xmalloc (sizeof (struct argument));
466 runp->next->name = combine ($3);
467 runp->next->next = NULL;
480 struct argname *runp = $1; variable
481 while (runp->next != NULL)
482 runp = runp->next;
483 runp->next = $2;
595 struct bitvalue *runp = val; in check_bits() local
598 while (runp != NULL) in check_bits()
600 if (runp->type == zeroone) in check_bits()
602 else if (runp->field == NULL) in check_bits()
606 total += runp->field->bits; in check_bits()
608 runp = runp->next; in check_bits()
674 struct bitvalue *runp = bitval; in check_argsdef() local
676 while (runp != NULL) in check_argsdef()
677 if (runp->type == field && runp->field == name->field) in check_argsdef()
680 runp = runp->next; in check_argsdef()
682 if (runp == NULL) in check_argsdef()
710 struct argument *runp; in check_bitsused() local
711 for (runp = args; runp != NULL; runp = runp->next) in check_bitsused()
713 struct argname *name = runp->name; in check_bitsused()
726 if (runp == NULL) in check_bitsused()
746 for (struct argname *runp = name; runp != NULL; runp = runp->next) in combine() local
748 if (runp->type == string) in combine()
751 last_str = runp; in combine()
756 + strlen (runp->str) + 1); in combine()
757 strcat (last_str->str, runp->str); in combine()
758 last_str->next = runp->next; in combine()
783 struct argname *runp = name; in fillin_arg() local
785 while (runp != NULL) in fillin_arg()
788 if (runp->type == string) in fillin_arg()
795 instr->operands[n].str = runp->str; in fillin_arg()
799 assert (runp->type == nfield); in fillin_arg()
805 if (runp->field == NULL) in fillin_arg()
810 char *fieldname = runp->field->name; in fillin_arg()
824 if (runp->field != NULL) in fillin_arg()
829 if (strcmp (b->field->name, runp->field->name) == 0) in fillin_arg()
849 if (runp->field != NULL in fillin_arg()
850 && strncasecmp (runp->field->name, "mod", 3) == 0) in fillin_arg()
854 runp = runp->next; in fillin_arg()
908 struct instruction *runp = instructions; in find_numbers() local
909 while (runp != NULL) in find_numbers()
912 if (runp->operands[i].fct != NULL) in find_numbers()
914 struct argstring search = { .str = runp->operands[i].fct }; in find_numbers()
918 newp->str = runp->operands[i].fct; in find_numbers()
925 if (runp->operands[i].str != NULL) in find_numbers()
927 search.str = runp->operands[i].str; in find_numbers()
931 newp->str = runp->operands[i].str; in find_numbers()
939 maxoff[i][0] = MAX (maxoff[i][0], runp->operands[i].off1); in find_numbers()
940 maxoff[i][1] = MAX (maxoff[i][1], runp->operands[i].off2); in find_numbers()
941 maxoff[i][2] = MAX (maxoff[i][2], runp->operands[i].off3); in find_numbers()
943 if (runp->operands[i].off1 > 0) in find_numbers()
944 minoff[i][0] = MIN (minoff[i][0], runp->operands[i].off1); in find_numbers()
945 if (runp->operands[i].off2 > 0) in find_numbers()
946 minoff[i][1] = MIN (minoff[i][1], runp->operands[i].off2); in find_numbers()
947 if (runp->operands[i].off3 > 0) in find_numbers()
948 minoff[i][2] = MIN (minoff[i][2], runp->operands[i].off3); in find_numbers()
951 struct instruction *old = runp; in find_numbers()
952 runp = runp->next; in find_numbers()