Lines Matching defs:cmdIndex
135 static int cmdIndex = UNINITIALIZED;
636 if (cmdIndex == UNINITIALIZED) {
637 cmdIndex = getBSDCommandIndex();
639 String[] names = execCmd(lpcFirstCom[cmdIndex]);
644 if ((cmdIndex==BSD_LPD_NG) &&
652 if (cmdIndex == UNINITIALIZED) {
653 cmdIndex = getBSDCommandIndex();
655 String command = "/usr/sbin/lpc status " + name + lpcNameCom[cmdIndex];
665 if (cmdIndex == UNINITIALIZED) {
666 cmdIndex = getBSDCommandIndex();
668 String[] names = execCmd(lpcAllCom[cmdIndex]);