Home
last modified time | relevance | path

Searched refs:ecp (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex.c206 EXCMD *ecp; in ex_cmd() local
232 loop: ecp = LIST_FIRST(&wp->ecq); in ex_cmd()
235 if (ecp->if_name != NULL) { in ex_cmd()
236 wp->if_lno = ecp->if_lno; in ex_cmd()
237 wp->if_name = ecp->if_name; in ex_cmd()
244 if (F_ISSET(ecp, E_MOVETOEND)) { in ex_cmd()
248 F_CLR(ecp, E_MOVETOEND); in ex_cmd()
252 if (F_ISSET(ecp, E_NEWLINE)) { in ex_cmd()
254 ++ecp->if_lno; in ex_cmd()
255 F_CLR(ecp, E_NEWLINE); in ex_cmd()
[all …]
H A Dex_global.c73 EXCMD *ecp; in ex_g_setup() local
164 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); in ex_g_setup()
165 TAILQ_INIT(&ecp->rq); in ex_g_setup()
179 MALLOC_GOTO(sp, ecp->cp, CHAR_T *, (len * 2) * sizeof(CHAR_T)); in ex_g_setup()
180 ecp->o_cp = ecp->cp; in ex_g_setup()
181 ecp->o_clen = len; in ex_g_setup()
182 MEMCPYW(ecp->cp + len, p, len); in ex_g_setup()
183 ecp->range_lno = OOBLNO; in ex_g_setup()
184 FL_SET(ecp->agv_flags, cmd == GLOBAL ? AGV_GLOBAL : AGV_V); in ex_g_setup()
185 LIST_INSERT_HEAD(&sp->wp->ecq, ecp, q); in ex_g_setup()
[all …]
H A Dex_at.c47 EXCMD *ecp; in ex_at() local
90 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); in ex_at()
91 TAILQ_INIT(&ecp->rq); in ex_at()
96 FL_SET(ecp->agv_flags, AGV_AT_NORANGE); in ex_at()
99 FL_SET(ecp->agv_flags, AGV_AT); in ex_at()
101 TAILQ_INSERT_HEAD(&ecp->rq, rp, q); in ex_at()
115 MALLOC_GOTO(sp, ecp->cp, CHAR_T *, len * 2 * sizeof(CHAR_T)); in ex_at()
116 ecp->o_cp = ecp->cp; in ex_at()
117 ecp->o_clen = len; in ex_at()
118 ecp->cp[len] = '\0'; in ex_at()
[all …]
H A Dex_init.c280 EXCMD *ecp; in ex_run_str() local
284 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); in ex_run_str()
285 LIST_INSERT_HEAD(&wp->ecq, ecp, q); in ex_run_str()
287 ecp = &wp->excmd; in ex_run_str()
289 F_INIT(ecp, in ex_run_str()
293 ecp->cp = __UNCONST(str); in ex_run_str()
295 if ((ecp->cp = v_wstrdup(sp, str, len)) == NULL) in ex_run_str()
297 ecp->clen = len; in ex_run_str()
300 ecp->if_name = NULL; in ex_run_str()
302 if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) in ex_run_str()
[all …]
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_extents.c143 struct ext4_extent_cache *ecp; in ext4_ext_in_cache() local
146 ecp = &ip->inode_ext.e2fs.i_ext_cache; in ext4_ext_in_cache()
149 if (ecp->ec_type == EXT4_EXT_CACHE_NO) in ext4_ext_in_cache()
152 if (lbn >= ecp->ec_blk && lbn < ecp->ec_blk + ecp->ec_len) { in ext4_ext_in_cache()
153 ep->e_blk = ecp->ec_blk; in ext4_ext_in_cache()
154 ep->e_start_lo = ecp->ec_start & 0xffffffff; in ext4_ext_in_cache()
155 ep->e_start_hi = ecp->ec_start >> 32 & 0xffff; in ext4_ext_in_cache()
156 ep->e_len = ecp->ec_len; in ext4_ext_in_cache()
157 ret = ecp->ec_type; in ext4_ext_in_cache()
168 struct ext4_extent_cache *ecp; in ext4_ext_put_cache() local
[all …]
/netbsd-src/sys/dev/cardbus/
H A Dif_ex_cardbus.c189 const struct ex_cardbus_product *ecp; in ex_cardbus_lookup() local
194 for (ecp = ex_cardbus_products; ecp->ecp_name != NULL; ecp++) in ex_cardbus_lookup()
195 if (PCI_PRODUCT(ca->ca_id) == ecp->ecp_prodid) in ex_cardbus_lookup()
196 return (ecp); in ex_cardbus_lookup()
218 const struct ex_cardbus_product *ecp; in ex_cardbus_attach() local
227 ecp = ex_cardbus_lookup(ca); in ex_cardbus_attach()
228 if (ecp == NULL) { in ex_cardbus_attach()
233 aprint_normal(": 3Com %s\n", ecp->ecp_name); in ex_cardbus_attach()
235 sc->ex_conf = ecp->ecp_flags; in ex_cardbus_attach()
236 csc->sc_cardtype = ecp->ecp_cardtype; in ex_cardbus_attach()
[all …]
/netbsd-src/sys/netinet6/
H A Din6_print.c48 char *cp, *ecp; in in6_print() local
61 if (cp >= ecp) {\ in in6_print()
74 ecp = buf + len; in in6_print()
112 if (ecp > buf) { in in6_print()
113 if (cp < ecp) in in6_print()
116 *--ecp = '\0'; in in6_print()
/netbsd-src/crypto/external/bsd/heimdal/dist/kdc/
H A Dpkinit-ec.c196 ECParameters ecp; in get_ecdh_param() local
210 memset(&ecp, 0, sizeof(ecp)); in get_ecdh_param()
213 dh_key_info->algorithm.parameters->length, &ecp, &len); in get_ecdh_param()
217 if (ecp.element != choice_ECParameters_namedCurve) { in get_ecdh_param()
222 if (der_heim_oid_cmp(&ecp.u.namedCurve, &asn1_oid_id_ec_group_secp256r1) == 0) in get_ecdh_param()
247 free_ECParameters(&ecp); in get_ecdh_param()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dpkinit-ec.c96 ECParameters ecp; in _krb5_build_authpack_subjectPK_EC() local
103 ecp.element = choice_ECParameters_namedCurve; in _krb5_build_authpack_subjectPK_EC()
105 &ecp.u.namedCurve); in _krb5_build_authpack_subjectPK_EC()
111 free_ECParameters(&ecp); in _krb5_build_authpack_subjectPK_EC()
114 ASN1_MALLOC_ENCODE(ECParameters, p, xlen, &ecp, &size, ret); in _krb5_build_authpack_subjectPK_EC()
115 free_ECParameters(&ecp); in _krb5_build_authpack_subjectPK_EC()
/netbsd-src/usr.sbin/lpr/common_source/
H A Ddisplayq.c98 char *cp, *ecp; in displayq() local
153 ecp = cp + sizeof(current) - 1; in displayq()
155 if (cp < ecp) in displayq()
172 ecp = cp + sizeof(current) - 1; in displayq()
174 if (cp < ecp) in displayq()
222 ecp = line + sizeof(line); in displayq()
227 (void)snprintf(cp, ecp - cp, " %d", requ[i]); in displayq()
237 (void)strlcpy(cp, user[i], ecp - cp); in displayq()
/netbsd-src/sys/arch/alpha/alpha/
H A Dautoconf.c123 char *ecp = &buf[sizeof(buf) - 1]; in qemu_find_rootdev() local
131 while (ecp != cp) { in qemu_find_rootdev()
132 if (*ecp >= '0' && *ecp <= '9') { in qemu_find_rootdev()
135 *ecp-- = '\0'; in qemu_find_rootdev()
/netbsd-src/sys/dev/isa/
H A Dif_iy.c1298 struct ethercom *ecp; in iy_mc_setup() local
1308 ecp = &sc->sc_ethercom; in iy_mc_setup()
1309 ifp = &ecp->ec_if; in iy_mc_setup()
1314 ETHER_LOCK(ecp); in iy_mc_setup()
1315 len = 6 * ecp->ec_multicnt; in iy_mc_setup()
1323 ecp->ec_multicnt, len + I595_XMT_HDRLEN, avail); in iy_mc_setup()
1340 ETHER_FIRST_MULTI(step, ecp, enm); in iy_mc_setup()
1350 ETHER_UNLOCK(ecp); in iy_mc_setup()
1388 struct ethercom *ecp; in iy_mc_reset() local
1394 ecp = &sc->sc_ethercom; in iy_mc_reset()
[all …]
/netbsd-src/bin/csh/
H A Ddir.c80 const char *ecp; in dinit() local
84 ecp = getcwd(path, MAXPATHLEN); in dinit()
85 if (ecp == NULL || *ecp == '\0') { in dinit()
88 ecp = short2str(hp); in dinit()
89 if (chdir(ecp) == -1) in dinit()
113 stat(ecp, &swd) != -1 && stat(short2str(hp), &shp) != -1 && in dinit()
125 ecp = cwd; in dinit()
127 cp = dcanon(SAVE(ecp), STRNULL); in dinit()
H A Dcsh.c206 const char *ecp; in main() local
321 if ((ecp = getenv("HOME")) != NULL) in main()
322 cp = quote(SAVE(ecp)); in main()
336 if ((ecp = getenv("LOGNAME")) != NULL || in main()
337 (ecp = getenv("USER")) != NULL) in main()
338 set(STRuser, quote(SAVE(ecp))); in main()
339 if ((ecp = getenv("TERM")) != NULL) in main()
340 set(STRterm, quote(SAVE(ecp))); in main()
345 if ((ecp = getenv("PATH")) == NULL) { in main()
352 importpath(str2short(ecp)); in main()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/smime-certs/
H A Dmksmime-certs.sh56 $OPENSSL ecparam -out ecp.pem -name P-256
60 -keyout smec1.pem -out req.pem -newkey ec:ecp.pem
68 -keyout smec3.pem -out req.pem -newkey ec:ecp.pem
85 rm -f req.pem ecp.pem ecp2.pem dsap.pem dhp.pem dhpub.pem smtmp.pem smroot.srl
/netbsd-src/sys/kern/
H A Dtty_subr.c300 u_char *scp, *ecp; in clrbits() local
307 ecp = cp + end / NBBY - 1; in clrbits()
309 if (scp >= ecp) { in clrbits()
317 *ecp &= ~mask; in clrbits()
319 while (scp < ecp) in clrbits()
/netbsd-src/crypto/external/bsd/openssl/dist/test/smime-certs/
H A Dmksmime-certs.sh56 $OPENSSL ecparam -out ecp.pem -name P-256
60 -keyout smec1.pem -out req.pem -newkey ec:ecp.pem
85 rm -f req.pem ecp.pem ecp2.pem dsap.pem dhp.pem dhpub.pem smtmp.pem smroot.srl
/netbsd-src/sys/dev/usb/
H A Dxhci.c1200 xhci_id_protocols(struct xhci_softc *sc, bus_size_t ecp) in xhci_id_protocols() argument
1206 const uint32_t w0 = xhci_read_4(sc, ecp); in xhci_id_protocols()
1207 const uint32_t w4 = xhci_read_4(sc, ecp + 4); in xhci_id_protocols()
1208 const uint32_t w8 = xhci_read_4(sc, ecp + 8); in xhci_id_protocols()
1209 const uint32_t wc = xhci_read_4(sc, ecp + 0xc); in xhci_id_protocols()
1272 bus_size_t ecp = XHCI_HCC_XECP(sc->sc_hcc) * 4; in xhci_ecp() local
1273 while (ecp != 0) { in xhci_ecp()
1274 uint32_t ecr = xhci_read_4(sc, ecp); in xhci_ecp()
1278 xhci_id_protocols(sc, ecp); in xhci_ecp()
1285 bios_sem = xhci_read_1(sc, ecp in xhci_ecp()
[all...]
/netbsd-src/sys/dev/ic/
H A Disp_target.c286 in_fcentry_e_t *ecp = (in_fcentry_e_t *)local; in isp_target_notify() local
287 isp_get_notify_fc_e(isp, inote_fcp, ecp); in isp_target_notify()
288 iid = ecp->in_iid; in isp_target_notify()
289 status = ecp->in_status; in isp_target_notify()
290 seqid = ecp->in_seqid; in isp_target_notify()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/
H A Dec_kmgmt.c740 const EC_POINT *ecp = EC_KEY_get0_public_key(key); in common_get_params() local
742 if (ecp == NULL) { in common_get_params()
746 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/
H A Dgenpkey.pod297 openssl genpkey -genparam -algorithm EC -out ecp.pem \
303 openssl genpkey -paramfile ecp.pem -out eckey.pem
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/
H A Dopenssl-genpkey.pod.in464 openssl genpkey -genparam -algorithm EC -out ecp.pem \
470 openssl genpkey -paramfile ecp.pem -out eckey.pem
/netbsd-src/etc/
H A Dservices7406 ecp 3134/tcp # Extensible Code Protocol [Jim_Trek][Mark_Bocko] …
7407 ecp 3134/udp # Extensible Code Protocol [Jim_Trek][Mark_Bocko] …