Home
last modified time | relevance | path

Searched refs:atype (Results 1 – 25 of 74) sorted by relevance

123

/netbsd/src/sys/net/
Dif_arcsubr.c120 uint8_t atype, adst, myself; in arc_output() local
159 atype = ARCTYPE_IP; in arc_output()
162 atype = ARCTYPE_IP_OLD; in arc_output()
191 atype = htons(ARCTYPE_REVARP); in arc_output()
199 atype = htons(ARCTYPE_ARP); in arc_output()
202 atype = htons(ARCTYPE_ARP_OLD); in arc_output()
214 arph->ar_pro = atype - 1; in arc_output()
228 atype = htons(ARCTYPE_INET6); in arc_output()
236 atype = cah->arc_type; in arc_output()
275 ah->arc_type = atype; in arc_output()
[all …]
/netbsd/src/lib/libcrypt/
Dcrypt-argon2.c150 estimate_argon2_params(argon2_type atype, uint32_t *etime, in estimate_argon2_params() argument
221 atype, ARGON2_VERSION_NUMBER) != ARGON2_OK) { in estimate_argon2_params()
253 decode_option(argon2_context *ctx, argon2_type *atype, const char *option) in decode_option() argument
273 *atype=Argon2_i; in decode_option()
276 *atype=Argon2_d; in decode_option()
280 *atype=Argon2_id; in decode_option()
283 *atype=Argon2_id; in decode_option()
385 argon2_type atype = Argon2_id; in __crypt_argon2() local
414 rc = decode_option(&ctx, &atype, salt); in __crypt_argon2()
424 atype, ctx.version); in __crypt_argon2()
Dpw_gensalt.c170 const char *option, argon2_type atype) in __gensalt_argon2_decode_option() argument
229 estimate_argon2_params(atype, &time, &memory, &threads); in __gensalt_argon2_decode_option()
240 const char *option, argon2_type atype) in __gensalt_argon2() argument
248 sizeof(buf), option, atype)) < 0) { in __gensalt_argon2()
253 argon2_type2string(atype,0), ARGON2_VERSION_NUMBER, buf); in __gensalt_argon2()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs12/
Dp12_attr.c107 const ASN1_TYPE *atype; in PKCS12_get_friendlyname() local
109 if ((atype = PKCS12_SAFEBAG_get0_attr(bag, NID_friendlyName)) == NULL) in PKCS12_get_friendlyname()
111 if (atype->type != V_ASN1_BMPSTRING) in PKCS12_get_friendlyname()
113 return OPENSSL_uni2utf8(atype->value.bmpstring->data, in PKCS12_get_friendlyname()
114 atype->value.bmpstring->length); in PKCS12_get_friendlyname()
/netbsd/src/sys/arch/sparc/sparc/
Dtrap.c769 vm_prot_t atype; in mem_access_fault() local
811 atype = ser & SER_WRITE ? VM_PROT_WRITE : VM_PROT_READ; in mem_access_fault()
812 if ((ser & SER_PROT) && atype == VM_PROT_READ && type != T_TEXTFAULT) { in mem_access_fault()
822 atype = VM_PROT_READ | VM_PROT_WRITE; in mem_access_fault()
854 rv = mmu_pagein(pmap_kernel(), va, atype); in mem_access_fault()
862 rv = uvm_fault(kernel_map, va, atype); in mem_access_fault()
878 rv = mmu_pagein(vm->vm_map.pmap, va, atype); in mem_access_fault()
888 rv = uvm_fault(&vm->vm_map, (vaddr_t)va, atype); in mem_access_fault()
985 vm_prot_t atype; in mem_access_fault4m() local
1144 atype = VM_PROT_WRITE; in mem_access_fault4m()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/cms/
Dcms_ec.c76 int atype; in ecdh_cms_set_peerkey() local
83 X509_ALGOR_get0(&aoid, &atype, &aval, alg); in ecdh_cms_set_peerkey()
88 if (atype == V_ASN1_UNDEF || atype == V_ASN1_NULL) { in ecdh_cms_set_peerkey()
101 pkpeer = pkey_type2param(atype, aval, in ecdh_cms_set_peerkey()
Dcms_dh.c23 int atype; in dh_cms_set_peerkey() local
33 X509_ALGOR_get0(&aoid, &atype, &aval, alg); in dh_cms_set_peerkey()
37 if (atype != V_ASN1_UNDEF && atype != V_ASN1_NULL) in dh_cms_set_peerkey()
/netbsd/src/sys/arch/usermode/usermode/
Dtrap.c80 extern bool pmap_fault(pmap_t pmap, vaddr_t va, vm_prot_t *atype);
429 vm_prot_t atype; in pagefault() local
452 if (pmap_fault(vm_map->pmap, va, &atype)) { in pagefault()
461 thunk_printf("derived atype %d\n", atype); in pagefault()
464 "derived atype %d\n", atype); in pagefault()
468 error = uvm_fault(vm_map, va, atype); in pagefault()
Dpmap.c116 bool pmap_fault(pmap_t pmap, vaddr_t va, vm_prot_t *atype);
678 pmap_fault(pmap_t pmap, vaddr_t va, vm_prot_t *atype) in pmap_fault() argument
694 *atype = VM_PROT_READ; /* assume it was a read */ in pmap_fault()
735 *atype = VM_PROT_READ; /* assume its a read error */ in pmap_fault()
749 *atype = VM_PROT_EXECUTE; /* assume it was executing */ in pmap_fault()
761 *atype = VM_PROT_WRITE; /* assume its a write error */ in pmap_fault()
/netbsd/src/sys/lib/libsa/
Dbootparam.c79 uint32_t atype; member
391 xi->atype = htonl(1); in xdr_inaddr_encode()
423 if (xi->atype != htonl((uint32_t)1)) { in xdr_inaddr_decode()
425 ntohl((uint32_t)nxi->atype))); in xdr_inaddr_decode()
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cxxcom/
Dgcc_compat.c559 if (ap->atype >= GCC_ATYP_MAX) { in dump_attr()
560 printf("bad type %d, ", ap->atype); in dump_attr()
561 } else if (atax[ap->atype].name == 0) { in dump_attr()
562 char *c = ap->atype == ATTR_COMPLEX ? "complex" : in dump_attr()
563 ap->atype == ATTR_STRUCT ? "struct" : "badtype"; in dump_attr()
566 printf("%s: ", atax[ap->atype].name); in dump_attr()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dstap-probe.c89 : bitness (bitness_), atype (atype_), aexpr (std::move (aexpr_)) in stap_probe_arg()
96 struct type *atype; member
1225 stap_parse_argument (const char **arg, struct type *atype, in stap_parse_argument() argument
1231 struct stap_parse_info p (*arg, atype, language_def (language_c), in stap_parse_argument()
1240 result = make_operation<unop_cast_operation> (std::move (result), atype); in stap_parse_argument()
1324 struct type *atype in parse_arguments() local
1328 expression_up expr = stap_parse_argument (&cur, atype, gdbarch); in parse_arguments()
1333 m_parsed_args.emplace_back (bitness, atype, std::move (expr)); in parse_arguments()
1447 return arg->aexpr->evaluate (arg->atype); in evaluate_argument()
1464 value->type = arg->atype; in compile_to_ax()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/s390/
D2097.md110 (and (eq_attr "atype" "reg")
127 (and (eq_attr "atype" "reg")
135 (and (eq_attr "atype" "reg")
143 (and (eq_attr "atype" "reg")
150 (and (eq_attr "atype" "reg")
157 (and (eq_attr "atype" "reg")
164 (and (eq_attr "atype" "reg")
171 (and (eq_attr "atype" "reg")
178 (and (eq_attr "atype" "reg")
185 (and (eq_attr "atype" "reg")
[all …]
D2064.md87 ;; For everything else we check the atype flag.
92 (eq_attr "atype" "reg")))
98 (eq_attr "atype" "agen")))
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/
Dx509_att.c337 int atype = 0; in X509_ATTRIBUTE_set1_data() local
347 atype = stmp->type; in X509_ATTRIBUTE_set1_data()
353 atype = attrtype; in X509_ATTRIBUTE_set1_data()
370 ASN1_TYPE_set(ttmp, atype, stmp); in X509_ATTRIBUTE_set1_data()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dinit.cc4305 finish_length_check (tree atype, tree iterator, tree obase, unsigned n) in finish_length_check() argument
4308 if (TREE_CODE (atype) != ARRAY_TYPE) in finish_length_check()
4363 tree atype = TREE_TYPE (base); in build_vec_init() local
4365 tree type = TREE_TYPE (atype); in build_vec_init()
4382 if (TREE_CODE (atype) == ARRAY_TYPE && TYPE_DOMAIN (atype)) in build_vec_init()
4383 maxindex = array_type_nelts (atype); in build_vec_init()
4425 && TREE_CODE (atype) == ARRAY_TYPE in build_vec_init()
4434 (atype, TREE_TYPE (init)))) in build_vec_init()
4446 init = digest_init (atype, init, complain); in build_vec_init()
4447 stmt_expr = build2 (INIT_EXPR, atype, base, init); in build_vec_init()
[all …]
/netbsd/src/external/bsd/openldap/dist/libraries/libldap/
Dtls_o.c1440 char *atype = (char *) SSL_alert_type_string_long( ret ); in tlso_info_cb() local
1444 if ( atype ) { in tlso_info_cb()
1445 atype = LDAP_STRDUP( atype ); in tlso_info_cb()
1446 __etoa( atype ); in tlso_info_cb()
1455 op, atype, adesc ); in tlso_info_cb()
1457 if ( atype ) LDAP_FREE( atype ); in tlso_info_cb()
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-bgp.c1875 uint8_t atype, const u_char *pptr, u_int len, in bgp_attr_print() argument
1894 switch (atype) { in bgp_attr_print()
1927 as_size = bgp_attr_get_as_size(ndo, atype, pptr, len); in bgp_attr_print()
2432 atype = GET_U_1(tptr + 1); in bgp_attr_print()
2448 "Unknown Attribute", atype), in bgp_attr_print()
2449 atype, in bgp_attr_print()
2479 else if (!bgp_attr_print(ndo, atype, tptr, alen, attr_set_level + 1)) in bgp_attr_print()
2508 … ND_PRINT("\n\t no Attribute %u decoder", atype); /* we have no decoder for the attribute */ in bgp_attr_print()
2819 uint8_t aflags, atype, alenlen; in bgp_update_print() local
2832 atype = GET_U_1(p + 1); in bgp_update_print()
[all …]
/netbsd/src/sys/nfs/
Dkrpc_subr.c467 u_int32_t atype; member
483 xi->atype = txdr_unsigned(1); in xdr_inaddr_encode()
508 if (xi->atype != txdr_unsigned(1)) { in xdr_inaddr_decode()
/netbsd/src/external/bsd/pcc/dist/pcc/f77/fcom/
Dintr.c199 char atype; member
418 if(sp->atype == mtype) {
421 sp[1].atype == mtype)
436 if(mtype != sp->atype)
/netbsd/src/external/bsd/pcc/dist/pcc/cc/ccom/
Dgcc_compat.c1071 if (ap->atype >= GCC_ATYP_MAX) { in dump_attr()
1072 printf("bad type %d, ", ap->atype); in dump_attr()
1073 } else if (atax[ap->atype].name == 0) { in dump_attr()
1074 char *c = ap->atype == ATTR_COMPLEX ? "complex" : in dump_attr()
1075 ap->atype == ATTR_STRUCT ? "struct" : "badtype"; in dump_attr()
1078 printf("%s: ", atax[ap->atype].name); in dump_attr()
1079 if (atax[ap->atype].typ & A1_STR) in dump_attr()
/netbsd/src/external/gpl3/binutils/dist/ld/
Dldgram.y154 %type <token> assign_op atype attributes_opt sect_constraint opt_align_with_input
1182 atype:
1189 exp atype ':' { $$ = $1; }
1190 | atype ':' { $$ = (etree_type *)NULL; }
1195 BIND '(' exp ')' atype ':' { $$ = $3; }
1196 | BIND '(' exp ')' BLOCK '(' exp ')' atype ':'
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/
Dtasn_prn.c459 const ASN1_TYPE *atype = (const ASN1_TYPE *)*fld; in asn1_primitive_print() local
460 utype = atype->type; in asn1_primitive_print()
461 fld = (const ASN1_VALUE **)&atype->value.asn1_value; /* actually is const */ in asn1_primitive_print()
Da_int.c462 int atype) in bn_to_asn1_string() argument
468 ret = ASN1_STRING_type_new(atype); in bn_to_asn1_string()
471 ret->type = atype; in bn_to_asn1_string()
/netbsd/src/external/bsd/ipf/dist/
Dip_fil.c712 ipf_ifpaddr(softc, v, atype, ifptr, inp, inpmask) in ipf_ifpaddr() argument
714 int v, atype;
746 return ipf_ifpfillv4addr(atype, sin, &mask,
758 return ipf_ifpfillv6addr(atype, sin6, &mask,

123