Lines Matching defs:trap
1363 /* Get the trap index in dispatch table, given its name.
1369 const trap_entry *trap;
1371 for (trap = cr16_traps; trap < (cr16_traps + NUMTRAPS); trap++)
1372 if (strcasecmp (trap->name, s) == 0)
1373 return trap->entry;
1377 for (trap = cr16_traps; trap < (cr16_traps + NUMTRAPS); trap++)
1378 if (trap->entry == (unsigned int) atoi (s))
1379 return trap->entry;
2194 * reg-pair, leads to undifined trap, so this should use