Home
last modified time | relevance | path

Searched refs:xcmd (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ntp/ntpdc/
H A Dntpdc.c84 static int findcmd (char *, struct xcmd *, struct xcmd *, struct xcmd **);
89 static void printusage (struct xcmd *, FILE *);
111 static struct xcmd builtins[] = {
254 extern struct xcmd opcmds[];
1171 struct xcmd *xcmd; in docmd() local
1189 i = findcmd(tokens[0], builtins, opcmds, &xcmd); in docmd()
1207 for (i = 0; i < MAXARGS && xcmd->arg[i] != NO;) { in docmd()
1209 if (!(xcmd->arg[i] & OPT)) { in docmd()
1210 printusage(xcmd, stderr); in docmd()
1215 if ((xcmd->arg[i] & OPT) && (*tokens[i+ti] == '>')) in docmd()
[all …]
H A Dntpdc.h54 struct xcmd { struct
H A Dntpdc_ops.c95 struct xcmd opcmds[] = {
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c199 static int findcmd (const char *, struct xcmd *,
200 struct xcmd *, struct xcmd **);
205 static void printusage (struct xcmd *, FILE *);
264 struct xcmd builtins[] = {
464 extern struct xcmd opcmds[];
1639 struct xcmd *xcmd; in docmd()
1660 i = findcmd(tokens[0], builtins, opcmds, &xcmd); in docmd()
1682 for (i = 0; i < MAXARGS && xcmd in docmd()
1643 struct xcmd *xcmd; docmd() local
[all...]
H A Dntpq.h92 struct xcmd {
93 struct xcmd { global() struct
94 keywordxcmd global() argument
95 handlerxcmd global() argument
96 argxcmd global() argument
97 descxcmd global() argument
98 commentxcmd global() argument
H A Dntpq-subs.c85 struct xcmd opcmds[] = {
/freebsd/contrib/bmake/
H A Djob.c916 char *xcmd; /* The expanded command */ in JobWriteCommand()
918 char *escCmd; /* xcmd escaped to be used in double quotes */ in JobWriteCommand()
922 xcmd = Var_SubstInTarget(ucmd, job->node); in JobWriteCommand()
924 xcmdStart = xcmd; in JobWriteCommand()
928 ParseCommandFlags(&xcmd, &cmdFlags); in JobWriteCommand()
946 escCmd = shell->hasErrCtl ? NULL : EscapeShellDblQuot(xcmd); in JobWriteCommand()
987 ShellWriter_WriteFmt(wr, cmdTemplate, xcmd); in JobWriteCommand()
1087 char *xcmd = Var_Subst(cmd, job->node, VARE_EVAL); in DebugFailedJob()
1088 debug_printf("\t=> %s\n", xcmd); in DebugFailedJob()
1089 free(xcmd); in DebugFailedJob()
919 char *xcmd; /* The expanded command */ JobWriteCommand() local
1090 char *xcmd = Var_Subst(cmd, job->node, VARE_EVAL); DebugFailedJob() local
[all...]
H A Dmeta.c376 FStr xcmd = FStr_InitRefer(ucmd); in printCMD() local
378 Var_Expand(&xcmd, gn, VARE_EVAL); in printCMD()
379 fprintf(fp, "CMD %s\n", xcmd.str); in printCMD()
380 FStr_Done(&xcmd); in printCMD()
/freebsd/sys/dev/sound/pcm/
H A Ddsp.c683 u_long xcmd; in dsp_ioctl() local
697 xcmd = 0; in dsp_ioctl()
1440 if (xcmd == 0) { in dsp_ioctl()
1441 xcmd = SOUND_MIXER_READ_RECLEV; in dsp_ioctl()
1446 if (xcmd == 0) { in dsp_ioctl()
1447 xcmd = SOUND_MIXER_WRITE_RECLEV; in dsp_ioctl()
1452 if (xcmd == 0) { in dsp_ioctl()
1453 xcmd = SOUND_MIXER_READ_PCM; in dsp_ioctl()
1458 if (xcmd == 0) { in dsp_ioctl()
1459 xcmd = SOUND_MIXER_WRITE_PCM; in dsp_ioctl()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c3513 struct ib_uverbs_create_xsrq xcmd; in ib_uverbs_create_srq() local
3520 memset(&xcmd, 0, sizeof(xcmd)); in ib_uverbs_create_srq()
3521 xcmd.response = cmd.response; in ib_uverbs_create_srq()
3522 xcmd.user_handle = cmd.user_handle; in ib_uverbs_create_srq()
3523 xcmd.srq_type = IB_SRQT_BASIC; in ib_uverbs_create_srq()
3524 xcmd.pd_handle = cmd.pd_handle; in ib_uverbs_create_srq()
3525 xcmd.max_wr = cmd.max_wr; in ib_uverbs_create_srq()
3526 xcmd.max_sge = cmd.max_sge; in ib_uverbs_create_srq()
3527 xcmd.srq_limit = cmd.srq_limit; in ib_uverbs_create_srq()
3529 return __uverbs_create_xsrq(attrs, &xcmd, &attrs->driver_udata); in ib_uverbs_create_srq()