Lines Matching refs:cmdnum
1241 int i, cmdnum, optidx, argc; in parse_args() local
1266 cmdnum = cmds[i].n; in parse_args()
1272 cmdnum = I_SHELL; in parse_args()
1273 } else if (cmdnum == -1) { in parse_args()
1283 switch (cmdnum) { in parse_args()
1344 if (cmdnum != I_RM) in parse_args()
1393 if (cmdnum == I_LUMASK) in parse_args()
1417 return(cmdnum); in parse_args()
1428 int cmdnum, i; in parse_dispatch_command() local
1436 cmdnum = parse_args(&cmd, &ignore_errors, &aflag, &fflag, &hflag, in parse_dispatch_command()
1444 switch (cmdnum) { in parse_dispatch_command()
1613 if (cmdnum == I_CHOWN) { in parse_dispatch_command()
1657 fatal("%d is not implemented", cmdnum); in parse_dispatch_command()
1668 else if (cmdnum == I_QUIT) in parse_dispatch_command()