| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | asn1_gen.c | 59 int utype; member 74 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf, 76 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype); 126 if ((asn1_tags.utype == V_ASN1_SEQUENCE) in generate_v3() 127 || (asn1_tags.utype == V_ASN1_SET)) { in generate_v3() 136 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3() 138 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3() 253 int utype; in asn1_cb() local 272 utype = asn1_str2tag(elem, len); in asn1_cb() 274 if (utype == -1) { in asn1_cb() [all …]
|
| H A D | tasn_dec.c | 58 int utype, char *free_cont, const ASN1_ITEM *it); 275 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_embed_d2i() 730 int ret = 0, utype; in asn1_d2i_ex_primitive() local 744 utype = tag; in asn1_d2i_ex_primitive() 747 utype = it->utype; in asn1_d2i_ex_primitive() 749 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive() 761 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive() 768 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive() 771 tag = utype; in asn1_d2i_ex_primitive() 785 if ((utype == V_ASN1_SEQUENCE) in asn1_d2i_ex_primitive() [all …]
|
| H A D | tasn_enc.c | 465 int utype; in asn1_i2d_ex_primitive() local 469 utype = it->utype; in asn1_i2d_ex_primitive() 475 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive() 482 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive() 500 tag = utype; in asn1_i2d_ex_primitive() 506 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive() 526 int utype; in asn1_ex_i2c() local 537 || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c() 545 utype = strtmp->type; in asn1_ex_i2c() 546 *putype = utype; in asn1_ex_i2c() [all …]
|
| H A D | tasn_new.c | 264 int utype; in asn1_primitive_new() local 282 utype = -1; in asn1_primitive_new() 284 utype = it->utype; in asn1_primitive_new() 285 switch (utype) { in asn1_primitive_new() 310 str->type = utype; in asn1_primitive_new() 313 str = ASN1_STRING_type_new(utype); in asn1_primitive_new() 327 int utype; in asn1_primitive_clear() local 337 utype = -1; in asn1_primitive_clear() 339 utype = it->utype; in asn1_primitive_clear() 340 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
|
| H A D | tasn_fre.c | 152 int utype; in ossl_asn1_primitive_free() local 173 utype = typ->type; in ossl_asn1_primitive_free() 178 utype = -1; in ossl_asn1_primitive_free() 182 utype = it->utype; in ossl_asn1_primitive_free() 183 if ((utype != V_ASN1_BOOLEAN) && *pval == NULL) in ossl_asn1_primitive_free() 187 switch (utype) { in ossl_asn1_primitive_free()
|
| H A D | tasn_prn.c | 153 || (it->utype != V_ASN1_BOOLEAN)) in asn1_item_print_ctx() 435 long utype; in asn1_primitive_print() local 447 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print() 449 utype = it->utype; in asn1_primitive_print() 450 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_print() 455 if (utype == V_ASN1_ANY) { in asn1_primitive_print() 457 utype = atype->type; in asn1_primitive_print() 463 pname = ASN1_tag2str(utype); in asn1_primitive_print() 466 pname = ASN1_tag2str(utype); in asn1_primitive_print() 471 if (utype == V_ASN1_NULL) { in asn1_primitive_print() [all …]
|
| H A D | x_bignum.c | 31 int utype, char *free_cont, const ASN1_ITEM *it); 33 int utype, char *free_cont, const ASN1_ITEM *it); 115 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument 130 int utype, char *free_cont, const ASN1_ITEM *it) in bn_secure_c2i() argument 138 ret = bn_c2i(pval, cont, len, utype, free_cont, it); in bn_secure_c2i()
|
| H A D | tasn_utl.c | 31 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector() 39 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector_const() 53 sel = offset2ptr(*pval, it->utype); in ossl_asn1_set_choice_selector()
|
| H A D | x_long.c | 27 int utype, char *free_cont, const ASN1_ITEM *it); 128 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
|
| H A D | x_int64.c | 72 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i() argument 172 int utype, char *free_cont, const ASN1_ITEM *it) in uint32_c2i() argument
|
| /freebsd/contrib/libder/libder/ |
| H A D | libder_private.h | 115 libder_type_is(const struct libder_tag *type, uint8_t utype) in libder_type_is() argument 120 if ((utype & BER_TYPE_CONSTRUCTED_MASK) != type->tag_constructed) in libder_type_is() 123 utype &= ~BER_TYPE_CONSTRUCTED_MASK; in libder_type_is() 124 return (utype == type->tag_short); in libder_type_is()
|
| /freebsd/contrib/tnftp/src/ |
| H A D | fetch.c | 322 parse_url(const char *url, const char *desc, url_t *utype, in parse_url() argument 330 if (url == NULL || desc == NULL || utype == NULL || uuser == NULL in parse_url() 337 *utype = UNKNOWN_URL_T; in parse_url() 344 *utype = HTTP_URL_T; in parse_url() 349 *utype = FTP_URL_T; in parse_url() 354 *utype = FILE_URL_T; in parse_url() 379 if (*utype == FTP_URL_T) /* skip first / for ftp URLs */ in parse_url() 386 if (*utype == FTP_URL_T) in parse_url() 453 if (*utype == FTP_URL_T) /* skip first / for ftp URLs */ in parse_url()
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | RISCV.cpp | 96 static uint32_t utype(uint32_t op, uint32_t rd, uint32_t imm) { in utype() function 235 write32le(buf + 0, utype(AUIPC, X_T2, hi20(offset))); in writePltHeader() 252 write32le(buf + 0, utype(AUIPC, X_T3, hi20(offset))); in writePlt() 556 write32le(loc, utype(AUIPC, X_A0, hi20(val))); // auipc a0,<hi20> in tlsdescToIe() 579 write32le(loc, utype(LUI, X_A0, hi20(val))); // lui a0,<hi20> in tlsdescToLe()
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | asn1t.h | 593 long utype; /* underlying type */ member 640 int len, int utype, char *free_cont,
|
| H A D | asn1t.h.in | 73 * structure. In this case the 'utype' field 594 long utype; /* underlying type */ member 641 int len, int utype, char *free_cont,
|
| /freebsd/contrib/file/src/ |
| H A D | softmagic.c | 599 #define PRINTER(value, format, stype, utype) \ in mprint() argument 607 CAST(utype, v)); \ in mprint() 618 CAST(utype, v)) == -1) \ in mprint()
|