Home
last modified time | relevance | path

Searched refs:numcmds (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/external/bsd/ntp/dist/ntpdc/
Dntpdc.c206 static int numcmds = 0; variable
208 #define ADDCMD(cp) if (numcmds < MAXCMDS) ccmds[numcmds++] = (cp)
278 numcmds = 0; in clear_globals()
361 if (numcmds == 0 && interactive == 0 in ntpdcmain()
377 if (numcmds == 0) { in ntpdcmain()
386 for (icmd = 0; icmd < numcmds; icmd++) { in ntpdcmain()
/netbsd/src/sys/ddb/
Ddb_command.c763 size_t i, j, w, columns, lines, numcmds, width=0; in db_cmd_list() local
784 for (numcmds = 0; table[numcmds].name != NULL; numcmds++) in db_cmd_list()
786 lines = (numcmds + columns - 1) / columns; in db_cmd_list()
793 if (j * lines + i + lines >= numcmds) { in db_cmd_list()
/netbsd/src/external/gpl2/xcvs/dist/src/
Dmain.c340 int numcmds = 3; in cmd_synonyms() local
344 numcmds++; in cmd_synonyms()
348 synonyms = xnmalloc (numcmds, sizeof(char *)); in cmd_synonyms()
/netbsd/src/external/bsd/ntp/dist/ntpq/
Dntpq.c402 size_t numcmds = 0; variable
405 #define ADDCMD(cp) if (numcmds < MAXCMDS) ccmds[numcmds++] = estrdup(cp)
482 numcmds = 0; in clear_globals()
634 if (numcmds > 0) { in ntpqmain()
639 for (icmd = 0; icmd < numcmds; icmd++) { in ntpqmain()
647 for (icmd = 0; icmd < numcmds; icmd++) in ntpqmain()