Lines Matching +defs:builtins +defs:c
49 #include <ssl_applink.c>
264 struct xcmd builtins[] = {
398 * For commands typed on the command line (with the -c option)
424 #define ISSPACE(c) ((c) == ' ' || (c) == '\t')
425 #define ISEOL(c) ((c) == '\n' || (c) == '\r' || (c) == '\0')
462 * Command table imported from ntpdc_ops.c
536 for (icmd = 0; icmd < sizeof(builtins)/sizeof(*builtins); icmd++) {
537 if (strcmp("keytype", builtins[icmd].keyword) == 0) {
543 /* This should only "trip" if "keytype" is removed from builtins */
544 INSIST(icmd < sizeof(builtins)/sizeof(*builtins));
547 builtins[icmd].desc[0] = "digest-name";
552 builtins[icmd].desc[0] = "md5";
557 builtins[icmd].comment = msg;
570 * Process options other than -c and -p, which are specially
896 /* XXX ELIMINATE sendpkt similar in ntpq.c, ntpdc.c, ntp_io.c, ntptrace.c */
1660 i = findcmd(tokens[0], builtins, opcmds, &xcmd);
2377 for (xcp = builtins; xcp->keyword != NULL; xcp++) {
2406 words = findcmd(cmd, builtins, opcmds, &xcp);
2926 int c;
2942 i < ilim && (c = getc(fi)) != '\n' && c != EOF;
2944 pbuf[i++] = (char)c;
2968 u_char c;
2980 #define ONEOUT(c) \
2986 *pchOut++ = (c); \
2990 c = *pchIn;
2991 if ('\0' == c)
2993 if (c & 0x80) {
2996 c &= 0x7f;
2998 if (c < ' ') {
3000 ONEOUT((u_char)(c + '@'));
3001 } else if (0x7f == c) {
3005 ONEOUT(c);
3026 int c;
3031 c = (int)*cp;
3032 if (c & 0x80) {
3035 c &= 0x7f;
3038 if (c < ' ') {
3040 putc(c + '@', fp);
3041 } else if (0x7f == c) {
3045 putc(c, fp);
3876 * ntpq_custom_opt_handler - autoopts handler for -c and -p
3878 * By default, autoopts loses the relative order of -c and -p options
3893 "ntpq_custom_opt_handler unexpected option '%c' (%d)\n",
3897 case 'c':
3947 /* Keep this consistent with keytype_from_text() in ssl_init.c. */