Home
last modified time | relevance | path

Searched refs:pcmd (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/bsd/ntp/dist/ntpdc/
H A Dntpdc_ops.c45 static void doconfig (struct parse *pcmd, FILE *fp, int mode, int refc);
352 struct parse *pcmd, in peerlist() argument
384 if ((pcmd->nargs == 0) || in peerlist()
385 ((pcmd->argval->ival == 6) && (plist->v6_flag != 0)) || in peerlist()
386 ((pcmd->argval->ival == 4) && (plist->v6_flag == 0))) in peerlist()
408 struct parse *pcmd, in peers() argument
412 dopeers(pcmd, fp, 0); in peers()
420 struct parse *pcmd, in dmpeers() argument
424 dopeers(pcmd, fp, 1); in dmpeers()
434 struct parse *pcmd, in dopeers() argument
[all …]
/netbsd-src/usr.sbin/crash/
H A Dcrash.c253 char *pcmd; in db_readline() local
283 pcmd = strchr(lstart, '|'); in db_readline()
284 if (pcmd == NULL) { in db_readline()
290 for (*pcmd++ = '\0'; isspace((unsigned char)*pcmd); pcmd++) { in db_readline()
294 ofp = popen(pcmd, "w"); in db_readline()
296 warn("opening pipe for command `%s'", pcmd); in db_readline()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_conf.c723 static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd) in ssl_conf_cmd_skip_prefix() argument
725 if (!pcmd || !*pcmd) in ssl_conf_cmd_skip_prefix()
729 if (strlen(*pcmd) <= cctx->prefixlen) in ssl_conf_cmd_skip_prefix()
732 strncmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix()
735 strncasecmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix()
737 *pcmd += cctx->prefixlen; in ssl_conf_cmd_skip_prefix()
739 if (**pcmd != '-' || !(*pcmd)[1]) in ssl_conf_cmd_skip_prefix()
741 *pcmd += 1; in ssl_conf_cmd_skip_prefix()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_conf.c806 static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd) in ssl_conf_cmd_skip_prefix() argument
808 if (pcmd == NULL || *pcmd == NULL) in ssl_conf_cmd_skip_prefix()
812 if (strlen(*pcmd) <= cctx->prefixlen) in ssl_conf_cmd_skip_prefix()
815 strncmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix()
818 OPENSSL_strncasecmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix()
820 *pcmd += cctx->prefixlen; in ssl_conf_cmd_skip_prefix()
822 if (**pcmd != '-' || !(*pcmd)[1]) in ssl_conf_cmd_skip_prefix()
824 *pcmd += 1; in ssl_conf_cmd_skip_prefix()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dmacho.c1081 const char *pcmd; in macho_add() local
1087 pcmd = (const char *) cmds_view.data + cmdoffset; in macho_add()
1088 memcpy (&load_command, pcmd, sizeof load_command); in macho_add()
1096 memcpy (&segcmd, pcmd, sizeof segcmd); in macho_add()
1103 pcmd + sizeof segcmd, in macho_add()
1118 memcpy (&segcmd, pcmd, sizeof segcmd); in macho_add()
1125 pcmd + sizeof segcmd, in macho_add()
1141 memcpy (&symcmd, pcmd, sizeof symcmd); in macho_add()
1156 memcpy (&uuidcmd, pcmd, sizeof uuidcmd); in macho_add()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipnat_y.y1705 ap_ctl_t pcmd; local
1709 obj.ipfo_size = sizeof(pcmd);
1710 obj.ipfo_ptr = &pcmd;
1714 pcmd.apc_cmd = APC_CMD_DEL;
1716 pcmd.apc_cmd = APC_CMD_ADD;
1717 pcmd.apc_dsize = strlen(na->na_name) + 1;
1718 pcmd.apc_data = na->na_name;
1719 pcmd.apc_arg = na->na_value;
1720 pcmd.apc_p = proto;
1722 strncpy(pcmd.apc_label, proxy, APR_LABELLEN);
[all …]
/netbsd-src/sys/arch/acorn32/podulebus/
H A Dif_ie.c166 void *pcmd, int ocmd, int scmd, int mask );
967 command_and_wait(struct ie_softc *sc, u_short cmd, struct ie_sys_ctl_block *pscb, void *pcmd, int ocmd, int scmd, int mask) in command_and_wait() argument
973 if ( pcmd ) in command_and_wait()
974 host2ie(sc, pcmd, ocmd, scmd); /* transfer the command to the card */ in command_and_wait()
993 if ( IE_ACTION_COMMAND(cmd) && pcmd ) in command_and_wait()
1016 if ( pcmd ) in command_and_wait()
1017 ie2host(sc, ocmd, pcmd, scmd); in command_and_wait()
/netbsd-src/sys/arch/sun3/dev/
H A Dif_ie.c1042 cmd_and_wait(struct ie_softc *sc, int cmd, void *pcmd, int mask) in cmd_and_wait() argument
1044 volatile struct ie_cmd_common *cc = pcmd; in cmd_and_wait()
1066 if (IE_ACTION_COMMAND(cmd) && pcmd) { in cmd_and_wait()
/netbsd-src/sys/dev/ic/
H A Dninjascsi32.c1594 struct njsc32_cmd **pcmd) in njsc32_resel_identify() argument
1632 *pcmd = cmd; in njsc32_resel_identify()
1647 njsc32_resel_tag(struct njsc32_softc *sc, int tag, struct njsc32_cmd **pcmd) in njsc32_resel_tag() argument
1665 *pcmd = cmd; in njsc32_resel_tag()