Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 138) sorted by relevance

123456

/netbsd/src/external/bsd/ipf/dist/lib/
Dprintpoolfield.c26 printpoolfield(p, ptype, fieldnum) in printpoolfield() argument
28 int ptype;
40 printpoolfield(p, ptype, i);
48 if (ptype == IPLT_POOL) {
56 } else if (ptype == IPLT_HASH) {
62 } else if (ptype == IPLT_DSTLIST) {
72 if (ptype == IPLT_POOL) {
78 } else if (ptype == IPLT_HASH) {
84 } else if (ptype == IPLT_DSTLIST) {
90 if (ptype == IPLT_POOL) {
[all …]
/netbsd/src/external/bsd/ntp/dist/include/
Dsafecast.h32 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval)) argument
33 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval)) argument
34 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval)) argument
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dstabs.c4149 debug_type *ptype) in stab_demangle_qualified() argument
4208 ptype != NULL ? &name : NULL)) in stab_demangle_qualified()
4211 if (ptype != NULL) in stab_demangle_qualified()
4231 if (ptype != NULL) in stab_demangle_qualified()
4305 if (ptype != NULL) in stab_demangle_qualified()
4306 *ptype = context; in stab_demangle_qualified()
4681 debug_type *ptype) in stab_demangle_type() argument
4693 if (! stab_demangle_type (minfo, pp, ptype)) in stab_demangle_type()
4695 if (ptype != NULL) in stab_demangle_type()
4696 *ptype = debug_make_pointer_type (minfo->dhandle, *ptype); in stab_demangle_type()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/cc/ccom/
Dstabs.c86 void ptype(char *name, int num, int inhnum, long long min, long long max);
107 ptype("int", ADDTYPE(INT)->num, INTNUM, MIN_INT, MAX_INT); in stabs_init()
110 ptype("char", st->num, st->num, 0, MAX_CHAR); in stabs_init()
111 ptype("short", ADDTYPE(SHORT)->num, INTNUM, MIN_SHORT, MAX_SHORT); in stabs_init()
112 ptype("long", ADDTYPE(LONG)->num, INTNUM, MIN_LONG, MAX_LONG); in stabs_init()
113 ptype("long long", ADDTYPE(LONGLONG)->num, INTNUM, in stabs_init()
115 ptype("unsigned char", ADDTYPE(UCHAR)->num, INTNUM, 0, MAX_UCHAR); in stabs_init()
116 ptype("unsigned short", ADDTYPE(USHORT)->num, INTNUM, 0, MAX_USHORT); in stabs_init()
117 ptype("unsigned int", ADDTYPE(UNSIGNED)->num, INTNUM, 0, MAX_UNSIGNED); in stabs_init()
118 ptype("unsigned long", ADDTYPE(ULONG)->num, INTNUM, 0, MAX_ULONG); in stabs_init()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cxxcom/
Dstabs.c86 void ptype(char *name, int num, int inhnum, long long min, long long max);
107 ptype("int", ADDTYPE(INT)->num, INTNUM, MIN_INT, MAX_INT); in stabs_init()
110 ptype("char", st->num, st->num, 0, MAX_CHAR); in stabs_init()
111 ptype("short", ADDTYPE(SHORT)->num, INTNUM, MIN_SHORT, MAX_SHORT); in stabs_init()
112 ptype("long", ADDTYPE(LONG)->num, INTNUM, MIN_LONG, MAX_LONG); in stabs_init()
113 ptype("long long", ADDTYPE(LONGLONG)->num, INTNUM, in stabs_init()
115 ptype("unsigned char", ADDTYPE(UCHAR)->num, INTNUM, 0, MAX_UCHAR); in stabs_init()
116 ptype("unsigned short", ADDTYPE(USHORT)->num, INTNUM, 0, MAX_USHORT); in stabs_init()
117 ptype("unsigned int", ADDTYPE(UNSIGNED)->num, INTNUM, 0, MAX_UNSIGNED); in stabs_init()
118 ptype("unsigned long", ADDTYPE(ULONG)->num, INTNUM, 0, MAX_ULONG); in stabs_init()
[all …]
/netbsd/src/libexec/ftpd/
Dpopen.c108 ftpd_popen(const char *argv[], const char *ptype, int stderrfd) in ftpd_popen() argument
118 if ((*ptype != 'r' && *ptype != 'w') || ptype[1]) in ftpd_popen()
173 if (*ptype == 'r') { in ftpd_popen()
202 if (*ptype == 'r') { in ftpd_popen()
203 iop = fdopen(pdes[0], ptype); in ftpd_popen()
206 iop = fdopen(pdes[1], ptype); in ftpd_popen()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/dsa/
Ddsa_ameth.c33 int ptype; in dsa_pub_decode() local
43 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode()
45 if (ptype == V_ASN1_SEQUENCE) { in dsa_pub_decode()
55 } else if ((ptype == V_ASN1_NULL) || (ptype == V_ASN1_UNDEF)) { in dsa_pub_decode()
90 int ptype; in dsa_pub_encode() local
112 ptype = V_ASN1_SEQUENCE; in dsa_pub_encode()
114 ptype = V_ASN1_UNDEF; in dsa_pub_encode()
135 if (X509_PUBKEY_set0_param(pk, aobj, ptype, str, penc, penclen)) in dsa_pub_encode()
272 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) in do_dsa_print() argument
282 if (ptype == 2) in do_dsa_print()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/dh/
Ddh_ameth.c64 int ptype; in dh_pub_decode() local
74 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode()
76 if (ptype != V_ASN1_SEQUENCE) { in dh_pub_decode()
114 int ptype; in dh_pub_encode() local
132 ptype = V_ASN1_SEQUENCE; in dh_pub_encode()
148 ptype, str, penc, penclen)) in dh_pub_encode()
244 static int do_dh_print(BIO *bp, const DH *x, int indent, int ptype) in do_dh_print() argument
250 if (ptype == 2) in do_dh_print()
255 if (ptype > 0) in do_dh_print()
260 if (x->params.p == NULL || (ptype == 2 && priv_key == NULL) in do_dh_print()
[all …]
/netbsd/src/usr.sbin/mopd/mopprobe/
Dmopprobe.c97 u_short *ptype, moplen, itype, len; in mopProcess() local
102 ptype = (u_short *)(pkt+12); in mopProcess()
105 if (*ptype < 1600) { in mopProcess()
106 len = *ptype; in mopProcess()
108 ptype = (u_short *)(pkt+20); in mopProcess()
/netbsd/src/usr.sbin/btconfig/
Dbtconfig.c132 static uint32_t ptype; variable
190 { "ptype", P_HEX, &opt_ptype, &ptype },
521 btr.btr_packet_type = ptype; in config_unit()
722 ptype = btr.btr_packet_type; in print_info()
723 width = printf("\tptype: [0x%04x]", ptype); in print_info()
724 if (ptype & HCI_PKT_DM1) tag("DM1"); in print_info()
725 if (ptype & HCI_PKT_DH1) tag("DH1"); in print_info()
726 if (ptype & HCI_PKT_DM3) tag("DM3"); in print_info()
727 if (ptype & HCI_PKT_DH3) tag("DH3"); in print_info()
728 if (ptype & HCI_PKT_DM5) tag("DM5"); in print_info()
[all …]
/netbsd/src/sys/dev/dkwedge/
Ddkwedge_mbr.c60 mbr_ptype_to_str(uint8_t ptype) in mbr_ptype_to_str() argument
64 switch (ptype) { in mbr_ptype_to_str()
88 const char *ptype; in getparts() local
119 if ((ptype = mbr_ptype_to_str(dp[i].mbrp_type)) == NULL) { in getparts()
129 strlcpy(dkw.dkw_ptype, ptype, sizeof(dkw.dkw_ptype)); in getparts()
Ddkwedge_apple.c145 const char *ptype; in dkwedge_discover_apple() local
211 ptype = map[i].type; in dkwedge_discover_apple()
216 ptype = DKW_PTYPE_SWAP; in dkwedge_discover_apple()
222 strlcpy(dkw.dkw_ptype, ptype, sizeof(dkw.dkw_ptype)); in dkwedge_discover_apple()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/
Dx_algor.c31 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
36 if (ptype != V_ASN1_UNDEF) {
46 if (ptype == 0)
48 if (ptype == V_ASN1_UNDEF) {
52 ASN1_TYPE_set(alg->parameter, ptype, pval);
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-ppp.c1752 uint16_t ptype; in ppp_bsdos_if_print() local
1781 ptype = GET_U_1(p); in ppp_bsdos_if_print()
1783 ND_PRINT("%02x ", ptype); in ppp_bsdos_if_print()
1788 ptype = GET_BE_U_2(p); in ppp_bsdos_if_print()
1790 ND_PRINT("%04x ", ptype); in ppp_bsdos_if_print()
1795 ptype = 0; /*XXX*/ in ppp_bsdos_if_print()
1810 ptype = GET_BE_U_2(&ph->phdr_type); in ppp_bsdos_if_print()
1811 if (ndo->ndo_eflag && (ptype == PPP_VJC || ptype == PPP_VJNC)) { in ppp_bsdos_if_print()
1813 "proto-#%u", ptype)); in ppp_bsdos_if_print()
1829 switch (ptype) { in ppp_bsdos_if_print()
[all …]
/netbsd/src/lib/libc/gen/
Ddisklabel.c100 pfsize[3], poffset[3], ptype[3]; in getdiskbyname() local
164 strcpy(ptype, "tx"); /* XXX: strcpy is safe */ in getdiskbyname()
170 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
186 getnumdflt(pp->p_fstype, ptype, 0); in getdiskbyname()
188 if (cgetstr(buf, ptype, &cq) >= 0) { in getdiskbyname()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Ddfp-test.exp358 set ptype [lindex $elem 1]
360 gdb_test "ptype ($type) 0" " = $ptype"
385 set ptype [lindex $elem 2]
387 gdb_test "ptype $type" " = $ptype"
Dwhatis-ptype-typedefs.exp182 set ptype [lindex $line 2]
209 gdb_test "ptype $type" "type = $ptype"
249 set ptype [lindex $line2 2]
296 gdb_test "ptype ($to) $from" "type = $ptype"
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pem/
Dpem_info.c65 unsigned int i, raw, ptype; in STACK_OF() local
80 ptype = 0; in STACK_OF()
131 ptype = EVP_PKEY_NONE; in STACK_OF()
135 ptype = evp_pkey_name2type(name); in STACK_OF()
162 if (ptype) { in STACK_OF()
163 if (d2i_PrivateKey_ex(ptype, pp, &p, len, in STACK_OF()
/netbsd/src/usr.bin/rpcgen/
Drpc_clntout.c95 ptype(proc->res_prefix, proc->res_type, 1); in write_program()
123 ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1); in printarglist()
129 ptype(proc->res_prefix, proc->res_type, 0); in printarglist()
146 ptype(proc->res_prefix, proc->res_type, 0); in printarglist()
192 ptype(proc->res_prefix, proc->res_type, 0); in printbody()
Drpc_sample.c107ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1); in write_sample_client()
114 ptype(l->decl.prefix, l->decl.type, 1); in write_sample_client()
127 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
234 ptype(plist->res_prefix, plist->res_type, 1); in return_type()
/netbsd/src/usr.sbin/mopd/common/
Dget.c88 const u_short *ptype; in mopGetTrans() local
91 ptype = (const u_short *)(pkt+12); in mopGetTrans()
92 if (ntohs(*ptype) < 1600) { in mopGetTrans()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/
Dec_ameth.c72 int ptype; in eckey_pub_encode() local
76 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode()
91 ptype, pval, penc, penclen)) in eckey_pub_encode()
94 if (ptype == V_ASN1_SEQUENCE) in eckey_pub_encode()
166 int eplen, ptype; in eckey_priv_encode() local
170 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode()
191 ptype, pval, ep, eplen)) { in eckey_priv_encode()
200 if (ptype == V_ASN1_SEQUENCE) in eckey_priv_encode()
/netbsd/src/usr.sbin/mopd/mopd/
Dmopd.c170 u_short ptype; in mopProcess() local
183 mopGetHeader(pkt, &idx, &dst, &src, &ptype, &len, trans); in mopProcess()
192 switch(ptype) { in mopProcess()
/netbsd/src/external/gpl3/gcc/dist/gcc/objc/
Dobjc-gnu-runtime-abi-01.cc364 tree ptype, decls, *chain = NULL; in build_class_template() local
395 ptype = build_pointer_type(xref_tag (RECORD_TYPE, in build_class_template()
397 add_field_decl (ptype, "dtable", &chain); in build_class_template()
400 ptype = build_pointer_type (objc_class_template); in build_class_template()
401 add_field_decl (ptype, "subclass_list", &chain); in build_class_template()
404 ptype = build_pointer_type (objc_class_template); in build_class_template()
405 add_field_decl (ptype, "sibling_class", &chain); in build_class_template()
408 ptype = build_pointer_type (build_pointer_type in build_class_template()
411 add_field_decl (ptype, "protocol_list", &chain); in build_class_template()
431 tree ptype, decls, *chain = NULL; in build_category_template() local
[all …]
/netbsd/src/sys/arch/ofppc/stand/ofwboot/
Dmbr.c96 struct disklabel *lp, uint32_t off0, uint8_t ptype, int recursion) in find_mbr_part() argument
115 if (p->mbrp_type == ptype) { in find_mbr_part()
121 buf, lp, off0, ptype, recursion); in find_mbr_part()

123456