| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| H A D | asn1_gen.c | 58 int utype; member 73 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf, 75 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype); 125 if ((asn1_tags.utype == V_ASN1_SEQUENCE) in generate_v3() 126 || (asn1_tags.utype == V_ASN1_SET)) { in generate_v3() 135 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3() 137 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3() 244 int utype; in asn1_cb() local 263 utype = asn1_str2tag(elem, len); in asn1_cb() 265 if (utype == -1) { in asn1_cb() [all …]
|
| H A D | tasn_dec.c | 61 int utype, char *free_cont, const ASN1_ITEM *it); 213 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_embed_d2i() 664 int ret = 0, utype; in asn1_d2i_ex_primitive() local 677 utype = tag; in asn1_d2i_ex_primitive() 680 utype = it->utype; in asn1_d2i_ex_primitive() 682 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive() 695 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive() 702 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive() 705 tag = utype; in asn1_d2i_ex_primitive() 719 if ((utype == V_ASN1_SEQUENCE) in asn1_d2i_ex_primitive() [all …]
|
| H A D | tasn_enc.c | 451 int utype; in asn1_i2d_ex_primitive() local 455 utype = it->utype; in asn1_i2d_ex_primitive() 461 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive() 468 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive() 469 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive() 487 tag = utype; in asn1_i2d_ex_primitive() 493 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive() 513 int utype; in asn1_ex_i2c() local 524 || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c() 532 utype = strtmp->type; in asn1_ex_i2c() [all …]
|
| H A D | tasn_new.c | 267 int utype; in asn1_primitive_new() local 285 utype = -1; in asn1_primitive_new() 287 utype = it->utype; in asn1_primitive_new() 288 switch (utype) { in asn1_primitive_new() 315 str->type = utype; in asn1_primitive_new() 318 str = ASN1_STRING_type_new(utype); in asn1_primitive_new() 332 int utype; in asn1_primitive_clear() local 342 utype = -1; in asn1_primitive_clear() 344 utype = it->utype; in asn1_primitive_clear() 345 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
|
| H A D | tasn_fre.c | 148 int utype; in asn1_primitive_free() local 169 utype = typ->type; in asn1_primitive_free() 174 utype = -1; in asn1_primitive_free() 178 utype = it->utype; in asn1_primitive_free() 179 if ((utype != V_ASN1_BOOLEAN) && !*pval) in asn1_primitive_free() 183 switch (utype) { in asn1_primitive_free()
|
| H A D | tasn_prn.c | 155 || (it->utype != V_ASN1_BOOLEAN)) && *fld == NULL) { in asn1_item_print_ctx() 438 long utype; in asn1_primitive_print() local 450 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print() 452 utype = it->utype; in asn1_primitive_print() 453 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_print() 458 if (utype == V_ASN1_ANY) { in asn1_primitive_print() 460 utype = atype->type; in asn1_primitive_print() 466 pname = ASN1_tag2str(utype); in asn1_primitive_print() 469 pname = ASN1_tag2str(utype); in asn1_primitive_print() 474 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); 116 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument 131 int utype, char *free_cont, const ASN1_ITEM *it) in bn_secure_c2i() argument 139 ret = bn_c2i(pval, cont, len, utype, free_cont, it); in bn_secure_c2i()
|
| H A D | x_long.c | 31 int utype, char *free_cont, const ASN1_ITEM *it); 133 int utype, char *free_cont, const ASN1_ITEM *it)
|
| H A D | tasn_utl.c | 31 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 43 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
|
| H A D | x_int64.c | 74 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i() argument 176 int utype, char *free_cont, const ASN1_ITEM *it) in uint32_c2i() argument
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| H A D | asn1_gen.c | 58 int utype; member 73 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf, 75 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype); 125 if ((asn1_tags.utype == V_ASN1_SEQUENCE) in generate_v3() 126 || (asn1_tags.utype == V_ASN1_SET)) { in generate_v3() 135 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3() 137 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3() 244 int utype; in asn1_cb() local 263 utype = asn1_str2tag(elem, len); in asn1_cb() 265 if (utype == -1) { in asn1_cb() [all …]
|
| H A D | tasn_dec.c | 63 int utype, char *free_cont, const ASN1_ITEM *it); 249 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_embed_d2i() 703 int ret = 0, utype; in asn1_d2i_ex_primitive() local 717 utype = tag; in asn1_d2i_ex_primitive() 720 utype = it->utype; in asn1_d2i_ex_primitive() 722 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive() 734 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive() 741 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive() 744 tag = utype; in asn1_d2i_ex_primitive() 758 if ((utype == V_ASN1_SEQUENCE) in asn1_d2i_ex_primitive() [all …]
|
| H A D | tasn_enc.c | 472 int utype; in asn1_i2d_ex_primitive() local 476 utype = it->utype; in asn1_i2d_ex_primitive() 482 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive() 489 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive() 490 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive() 508 tag = utype; in asn1_i2d_ex_primitive() 514 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive() 534 int utype; in asn1_ex_i2c() local 545 || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c() 553 utype = strtmp->type; in asn1_ex_i2c() [all …]
|
| H A D | tasn_new.c | 266 int utype; in asn1_primitive_new() local 284 utype = -1; in asn1_primitive_new() 286 utype = it->utype; in asn1_primitive_new() 287 switch (utype) { in asn1_primitive_new() 314 str->type = utype; in asn1_primitive_new() 317 str = ASN1_STRING_type_new(utype); in asn1_primitive_new() 331 int utype; in asn1_primitive_clear() local 341 utype = -1; in asn1_primitive_clear() 343 utype = it->utype; in asn1_primitive_clear() 344 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
|
| H A D | tasn_prn.c | 155 || (it->utype != V_ASN1_BOOLEAN)) && *fld == NULL) { in asn1_item_print_ctx() 438 long utype; in asn1_primitive_print() local 450 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print() 452 utype = it->utype; in asn1_primitive_print() 453 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_print() 458 if (utype == V_ASN1_ANY) { in asn1_primitive_print() 460 utype = atype->type; in asn1_primitive_print() 466 pname = ASN1_tag2str(utype); in asn1_primitive_print() 469 pname = ASN1_tag2str(utype); in asn1_primitive_print() 474 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); 116 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument 131 int utype, char *free_cont, const ASN1_ITEM *it) in bn_secure_c2i() argument 139 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); 129 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
|
| H A D | x_int64.c | 74 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i() argument 176 int utype, char *free_cont, const ASN1_ITEM *it) in uint32_c2i() argument
|
| /netbsd-src/usr.bin/ftp/ |
| H A D | fetch.c | 93 url_t utype; member 233 ui->utype = UNKNOWN_URL_T; in initurlinfo() 243 dui->utype = sui->utype; in copyurlinfo() 408 switch(ui->utype) { in get_port() 429 switch (ui->utype) { in use_relative() 489 ui->utype = HTTP_URL_T; in parse_url() 493 ui->utype = FTP_URL_T; in parse_url() 497 ui->utype = FILE_URL_T; in parse_url() 501 ui->utype in parse_url() [all...] |
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | match.pd | 163 (with { tree utype = unsigned_type_for (TREE_TYPE (@0)); } 164 (convert (absu:utype @0))))) 463 (with { tree utype = unsigned_type_for (type); } 464 (cond (le (plus (convert:utype @1) { build_one_cst (utype); }) 465 { build_int_cst (utype, 2); }) 655 (with { tree utype = unsigned_type_for (TREE_TYPE (@0)); } 656 (cmp (mod (convert:utype @0) (convert:utype @2)) (convert:utype @1))))))) 728 (with { tree utype = TREE_TYPE (@1); 729 if (!TYPE_OVERFLOW_WRAPS (utype)) 730 utype = unsigned_type_for (utype); } [all …]
|
| H A D | tree-switch-conversion.cc | 683 tree tidx, sub, utype; in build_arrays() local 693 utype = TREE_TYPE (m_index_expr); in build_arrays() 694 if (TREE_TYPE (utype)) in build_arrays() 695 utype = lang_hooks.types.type_for_mode (TYPE_MODE (TREE_TYPE (utype)), 1); in build_arrays() 697 utype = lang_hooks.types.type_for_mode (TYPE_MODE (utype), 1); in build_arrays() 700 tidx = make_ssa_name (utype); in build_arrays() 701 sub = fold_build2_loc (loc, MINUS_EXPR, utype, in build_arrays() 702 fold_convert_loc (loc, utype, m_index_expr), in build_arrays() 703 fold_convert_loc (loc, utype, m_range_min)); in build_arrays() 822 tree utype, tidx; in gen_inbound_check() local [all …]
|
| H A D | ubsan.cc | 1699 tree utype = build_nonstandard_integer_type (modebitsize, 1); in instrument_bool_enum_load() local 1704 || GET_MODE_BITSIZE (SCALAR_INT_TYPE_MODE (utype)) != modebitsize in instrument_bool_enum_load() 1709 if (as != TYPE_ADDR_SPACE (utype)) in instrument_bool_enum_load() 1710 utype = build_qualified_type (utype, TYPE_QUALS (utype) in instrument_bool_enum_load() 1721 tree mem = build2 (MEM_REF, utype, gimple_assign_lhs (g), in instrument_bool_enum_load() 1723 tree urhs = make_ssa_name (utype); in instrument_bool_enum_load() 1742 minv = fold_convert (utype, minv); in instrument_bool_enum_load() 1743 maxv = fold_convert (utype, maxv); in instrument_bool_enum_load() 1746 g = gimple_build_assign (make_ssa_name (utype), MINUS_EXPR, urhs, minv); in instrument_bool_enum_load()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | match.pd | 120 (with { tree utype = unsigned_type_for (TREE_TYPE (@0)); } 121 (convert (absu:utype @0))))) 552 (with { tree utype = unsigned_type_for (TREE_TYPE (@0)); } 553 (cmp (mod (convert:utype @0) (convert:utype @2)) (convert:utype @1))))))) 609 (with { tree utype = TREE_TYPE (@1); 610 if (!TYPE_OVERFLOW_WRAPS (utype)) 611 utype = unsigned_type_for (utype); } 612 (bit_and @0 (convert (minus (convert:utype @1) 613 { build_one_cst (utype); }))))))) 765 { tree utype = unsigned_type_for (type); } [all …]
|
| H A D | tree-switch-conversion.c | 682 tree tidx, sub, utype; in build_arrays() local 692 utype = TREE_TYPE (m_index_expr); in build_arrays() 693 if (TREE_TYPE (utype)) in build_arrays() 694 utype = lang_hooks.types.type_for_mode (TYPE_MODE (TREE_TYPE (utype)), 1); in build_arrays() 696 utype = lang_hooks.types.type_for_mode (TYPE_MODE (utype), 1); in build_arrays() 699 tidx = make_ssa_name (utype); in build_arrays() 700 sub = fold_build2_loc (loc, MINUS_EXPR, utype, in build_arrays() 701 fold_convert_loc (loc, utype, m_index_expr), in build_arrays() 702 fold_convert_loc (loc, utype, m_range_min)); in build_arrays() 821 tree utype, tidx; in gen_inbound_check() local [all …]
|