Searched refs:cmdIndex (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintServiceLookup.java135 static int cmdIndex = UNINITIALIZED; field in class:UnixPrintServiceLookup
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
[all...]
H A DUnixPrintService.java246 if (UnixPrintServiceLookup.cmdIndex ==
249 UnixPrintServiceLookup.cmdIndex =
254 + lpcStatusCom[UnixPrintServiceLookup.cmdIndex];
258 if (UnixPrintServiceLookup.cmdIndex ==
313 if (UnixPrintServiceLookup.cmdIndex ==
316 UnixPrintServiceLookup.cmdIndex =
322 + lpcQueueCom[UnixPrintServiceLookup.cmdIndex];
327 if (UnixPrintServiceLookup.cmdIndex ==

Completed in 33 milliseconds