Home
last modified time | relevance | path

Searched refs:new_type (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dasn1parse.y53 static Type *new_type (Typetype t);
357 TE_EXPLICIT, new_type(TBoolean));
401 TE_EXPLICIT, new_type(TInteger));
405 $$ = new_type(TInteger);
411 $$ = new_type(TInteger);
447 $$ = new_type(TInteger);
458 $$ = new_type(TBitString);
465 $$ = new_type(TBitString);
474 TE_EXPLICIT, new_type(TOID));
479 Type *t = new_type(TOctetString);
[all …]
H A Dasn1parse.c86 static Type *new_type (Typetype t);
1775 TE_EXPLICIT, new_type(TBoolean)); in yyparse()
1834 TE_EXPLICIT, new_type(TInteger)); in yyparse()
1842 (yyval.type) = new_type(TInteger); in yyparse()
1852 (yyval.type) = new_type(TInteger); in yyparse()
1902 (yyval.type) = new_type(TInteger); in yyparse()
1912 (yyval.type) = new_type(TBitString); in yyparse()
1923 (yyval.type) = new_type(TBitString); in yyparse()
1934 TE_EXPLICIT, new_type(TOID)); in yyparse()
1942 Type *t = new_type(TOctetString); in yyparse()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Dgc.c400 char *new_type; in class_ivar_set_gcinvisible() local
408 new_type = objc_atomic_malloc (strlen(ivar->ivar_type)); in class_ivar_set_gcinvisible()
410 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
411 new_type[len] = 0; in class_ivar_set_gcinvisible()
412 strcat (new_type, type + 1); in class_ivar_set_gcinvisible()
413 ivar->ivar_type = new_type; in class_ivar_set_gcinvisible()
417 char *new_type; in class_ivar_set_gcinvisible() local
425 new_type = objc_malloc (strlen(ivar->ivar_type) + 2); in class_ivar_set_gcinvisible()
429 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
431 new_type[len++] = _C_GCINVISIBLE; in class_ivar_set_gcinvisible()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Dgc.c400 char *new_type; in class_ivar_set_gcinvisible() local
408 new_type = objc_atomic_malloc (strlen(ivar->ivar_type)); in class_ivar_set_gcinvisible()
410 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
411 new_type[len] = 0; in class_ivar_set_gcinvisible()
412 strcat (new_type, type + 1); in class_ivar_set_gcinvisible()
413 ivar->ivar_type = new_type; in class_ivar_set_gcinvisible()
417 char *new_type; in class_ivar_set_gcinvisible() local
425 new_type = objc_malloc (strlen(ivar->ivar_type) + 2); in class_ivar_set_gcinvisible()
429 memcpy (new_type, ivar->ivar_type, len); in class_ivar_set_gcinvisible()
431 new_type[len++] = _C_GCINVISIBLE; in class_ivar_set_gcinvisible()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-param-manipulation.c234 tree new_type = NULL; in build_adjusted_function_type() local
243 new_type in build_adjusted_function_type()
246 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in build_adjusted_function_type()
250 new_type = build_distinct_type_copy (orig_type); in build_adjusted_function_type()
251 TYPE_ARG_TYPES (new_type) = new_arg_types; in build_adjusted_function_type()
253 TREE_TYPE (new_type) = void_type_node; in build_adjusted_function_type()
256 return new_type; in build_adjusted_function_type()
400 tree new_type = build_new_function_type (orig_type, false); in adjust_decl() local
401 TREE_TYPE (new_decl) = new_type; in adjust_decl()
1024 tree new_type = m_new_types[i]; in common_initialization() local
[all …]
H A Dtree-vect-patterns.c495 vect_joust_widened_type (tree type, tree new_type, tree *common_type) in vect_joust_widened_type() argument
497 if (types_compatible_p (*common_type, new_type)) in vect_joust_widened_type()
501 if ((TYPE_PRECISION (new_type) < TYPE_PRECISION (*common_type)) in vect_joust_widened_type()
502 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
506 if (TYPE_PRECISION (*common_type) < TYPE_PRECISION (new_type) in vect_joust_widened_type()
507 && (TYPE_UNSIGNED (*common_type) || !TYPE_UNSIGNED (new_type))) in vect_joust_widened_type()
509 *common_type = new_type; in vect_joust_widened_type()
517 TYPE_PRECISION (new_type)); in vect_joust_widened_type()
1692 tree new_type = build_nonstandard_integer_type (new_precision, unsigned_p); in vect_recog_over_widening_pattern() local
1697 tree op_type = new_type; in vect_recog_over_widening_pattern()
[all …]
H A Dconvert.c1142 test_convert_to_integer_maybe_fold (tree orig_type, tree new_type) in test_convert_to_integer_maybe_fold() argument
1152 tree result = convert_to_integer_maybe_fold (new_type, in test_convert_to_integer_maybe_fold()
1154 if (orig_type != new_type) in test_convert_to_integer_maybe_fold()
1156 ASSERT_EQ (TREE_TYPE (result), new_type); in test_convert_to_integer_maybe_fold()
1174 = convert_to_integer_maybe_fold (new_type, wrapped_orig_cst, false); in test_convert_to_integer_maybe_fold()
1175 ASSERT_EQ (TREE_TYPE (result), new_type); in test_convert_to_integer_maybe_fold()
1178 ASSERT_EQ (TREE_TYPE (TREE_OPERAND (result, 0)), new_type); in test_convert_to_integer_maybe_fold()
1181 if (orig_type == new_type) in test_convert_to_integer_maybe_fold()
H A Dipa-sra.c1561 type_prevails_p (tree old_type, tree new_type) in type_prevails_p() argument
1563 if (old_type == new_type) in type_prevails_p()
1568 && is_gimple_reg_type (new_type)) in type_prevails_p()
1571 && !is_gimple_reg_type (new_type)) in type_prevails_p()
1577 && (TREE_CODE (new_type) == COMPLEX_TYPE in type_prevails_p()
1578 || TREE_CODE (new_type) == VECTOR_TYPE)) in type_prevails_p()
1582 && TREE_CODE (new_type) != COMPLEX_TYPE in type_prevails_p()
1583 && TREE_CODE (new_type) != VECTOR_TYPE) in type_prevails_p()
1588 && INTEGRAL_TYPE_P (new_type)) in type_prevails_p()
1589 return (TYPE_PRECISION (new_type) > TYPE_PRECISION (old_type)); in type_prevails_p()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf32-m32c.c1535 int new_type; in m32c_elf_relax_section() local
1602 new_type = ELF32_R_TYPE(srel->r_info); in m32c_elf_relax_section()
1624 new_type = R_M32C_NONE; in m32c_elf_relax_section()
1640 new_type = R_M32C_8_PCREL; in m32c_elf_relax_section()
1653 new_type = R_M32C_16_PCREL; in m32c_elf_relax_section()
1666 new_type = R_M32C_16_PCREL; in m32c_elf_relax_section()
1690 new_type = bytes_to_reloc[enctbl[e->new_encoding].bytes]; in m32c_elf_relax_section()
1733 new_type = bytes_to_reloc[enctbl[e->new_encoding].bytes]; in m32c_elf_relax_section()
1758 new_type = R_M32C_NONE; in m32c_elf_relax_section()
1771 new_type = R_M32C_8_PCREL; in m32c_elf_relax_section()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf32-m32c.c1536 int new_type; in m32c_elf_relax_section() local
1603 new_type = ELF32_R_TYPE(srel->r_info); in m32c_elf_relax_section()
1625 new_type = R_M32C_NONE; in m32c_elf_relax_section()
1641 new_type = R_M32C_8_PCREL; in m32c_elf_relax_section()
1654 new_type = R_M32C_16_PCREL; in m32c_elf_relax_section()
1667 new_type = R_M32C_16_PCREL; in m32c_elf_relax_section()
1691 new_type = bytes_to_reloc[enctbl[e->new_encoding].bytes]; in m32c_elf_relax_section()
1734 new_type = bytes_to_reloc[enctbl[e->new_encoding].bytes]; in m32c_elf_relax_section()
1759 new_type = R_M32C_NONE; in m32c_elf_relax_section()
1772 new_type = R_M32C_8_PCREL; in m32c_elf_relax_section()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-param-manipulation.cc345 tree new_type = NULL; in build_adjusted_function_type() local
354 new_type in build_adjusted_function_type()
357 TYPE_CONTEXT (new_type) = TYPE_CONTEXT (orig_type); in build_adjusted_function_type()
361 new_type = build_distinct_type_copy (orig_type); in build_adjusted_function_type()
362 TYPE_ARG_TYPES (new_type) = new_arg_types; in build_adjusted_function_type()
364 TREE_TYPE (new_type) = void_type_node; in build_adjusted_function_type()
366 if (args_modified && TYPE_ATTRIBUTES (new_type)) in build_adjusted_function_type()
368 tree t = TYPE_ATTRIBUTES (new_type); in build_adjusted_function_type()
369 tree *last = &TYPE_ATTRIBUTES (new_type); in build_adjusted_function_type()
370 TYPE_ATTRIBUTES (new_type) = NULL; in build_adjusted_function_type()
[all …]
H A Dtree-vect-patterns.cc502 vect_joust_widened_type (tree type, tree new_type, tree *common_type) in vect_joust_widened_type() argument
504 if (types_compatible_p (*common_type, new_type)) in vect_joust_widened_type()
508 if ((TYPE_PRECISION (new_type) < TYPE_PRECISION (*common_type)) in vect_joust_widened_type()
509 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
513 if (TYPE_PRECISION (*common_type) < TYPE_PRECISION (new_type) in vect_joust_widened_type()
514 && (TYPE_UNSIGNED (*common_type) || !TYPE_UNSIGNED (new_type))) in vect_joust_widened_type()
516 *common_type = new_type; in vect_joust_widened_type()
524 TYPE_PRECISION (new_type)); in vect_joust_widened_type()
2018 tree new_type = build_nonstandard_integer_type (new_precision, unsigned_p); in vect_recog_over_widening_pattern() local
2023 tree op_type = new_type; in vect_recog_over_widening_pattern()
[all …]
H A Dconvert.cc1136 test_convert_to_integer_maybe_fold (tree orig_type, tree new_type) in test_convert_to_integer_maybe_fold() argument
1146 tree result = convert_to_integer_maybe_fold (new_type, in test_convert_to_integer_maybe_fold()
1148 if (orig_type != new_type) in test_convert_to_integer_maybe_fold()
1150 ASSERT_EQ (TREE_TYPE (result), new_type); in test_convert_to_integer_maybe_fold()
1168 = convert_to_integer_maybe_fold (new_type, wrapped_orig_cst, false); in test_convert_to_integer_maybe_fold()
1169 ASSERT_EQ (TREE_TYPE (result), new_type); in test_convert_to_integer_maybe_fold()
1172 ASSERT_EQ (TREE_TYPE (TREE_OPERAND (result, 0)), new_type); in test_convert_to_integer_maybe_fold()
1175 if (orig_type == new_type) in test_convert_to_integer_maybe_fold()
H A Dipa-sra.cc1574 type_prevails_p (tree old_type, tree new_type) in type_prevails_p() argument
1576 if (old_type == new_type) in type_prevails_p()
1581 && is_gimple_reg_type (new_type)) in type_prevails_p()
1584 && !is_gimple_reg_type (new_type)) in type_prevails_p()
1590 && (TREE_CODE (new_type) == COMPLEX_TYPE in type_prevails_p()
1591 || TREE_CODE (new_type) == VECTOR_TYPE)) in type_prevails_p()
1595 && TREE_CODE (new_type) != COMPLEX_TYPE in type_prevails_p()
1596 && TREE_CODE (new_type) != VECTOR_TYPE) in type_prevails_p()
1601 && INTEGRAL_TYPE_P (new_type)) in type_prevails_p()
1602 return (TYPE_PRECISION (new_type) > TYPE_PRECISION (old_type)); in type_prevails_p()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-dedup.c2623 ctf_id_t new_type; in ctf_dedup_emit_type() local
2720 if ((new_type = ctf_add_unknown (target, isroot, name)) == CTF_ERR) in ctf_dedup_emit_type()
2728 if ((new_type = ctf_add_forward (target, isroot, name, in ctf_dedup_emit_type()
2739 if ((new_type = ctf_add_encoded (target, isroot, name, &ep, kind)) in ctf_dedup_emit_type()
2748 if ((new_type = ctf_add_enum (target, isroot, name)) == CTF_ERR) in ctf_dedup_emit_type()
2753 if (ctf_add_enumerator (target, new_type, name, val) < 0) in ctf_dedup_emit_type()
2778 if ((new_type = ctf_add_typedef (target, isroot, name, ref)) == CTF_ERR) in ctf_dedup_emit_type()
2794 if ((new_type = ctf_add_reftype (target, isroot, ref, kind)) == CTF_ERR) in ctf_dedup_emit_type()
2810 if ((new_type = ctf_add_slice (target, isroot, ref, &ep)) == CTF_ERR) in ctf_dedup_emit_type()
2832 if ((new_type = ctf_add_array (target, isroot, &ar)) == CTF_ERR) in ctf_dedup_emit_type()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-dedup.c2626 ctf_id_t new_type; in ctf_dedup_emit_type() local
2723 if ((new_type = ctf_add_unknown (target, isroot, name)) == CTF_ERR) in ctf_dedup_emit_type()
2731 if ((new_type = ctf_add_forward (target, isroot, name, in ctf_dedup_emit_type()
2742 if ((new_type = ctf_add_encoded (target, isroot, name, &ep, kind)) in ctf_dedup_emit_type()
2751 if ((new_type = ctf_add_enum (target, isroot, name)) == CTF_ERR) in ctf_dedup_emit_type()
2756 if (ctf_add_enumerator (target, new_type, name, val) < 0) in ctf_dedup_emit_type()
2781 if ((new_type = ctf_add_typedef (target, isroot, name, ref)) == CTF_ERR) in ctf_dedup_emit_type()
2797 if ((new_type = ctf_add_reftype (target, isroot, ref, kind)) == CTF_ERR) in ctf_dedup_emit_type()
2813 if ((new_type = ctf_add_slice (target, isroot, ref, &ep)) == CTF_ERR) in ctf_dedup_emit_type()
2835 if ((new_type = ctf_add_array (target, isroot, &ar)) == CTF_ERR) in ctf_dedup_emit_type()
[all …]
/netbsd-src/tests/usr.bin/indent/
H A Dlsym_lparen_or_lbracket.c281 typedef (type_def) new_type; in cover_want_blank_before_lparen()
337 typedef (type_def) new_type;
280 typedef (type_def) new_type; cover_want_blank_before_lparen() typedef
333 typedef (type_def) new_type; cover_want_blank_before_lparen() typedef
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc1501 type_suffix_index new_type = infer_vector_type (argno); in require_matching_vector_type() local
1502 if (new_type == NUM_TYPE_SUFFIXES) in require_matching_vector_type()
1505 if (type != new_type) in require_matching_vector_type()
1509 get_vector_type (new_type), argno + 1, fndecl, in require_matching_vector_type()
1687 type_suffix_index new_type = infer_pointer_type (argno); in require_matching_pointer_type() local
1688 if (new_type == NUM_TYPE_SUFFIXES) in require_matching_pointer_type()
1691 if (type != new_type) in require_matching_pointer_type()
3756 tree new_type; in handle_arm_sve_vector_bits_attribute() local
3759 new_type = build_variant_type_copy (base_type); in handle_arm_sve_vector_bits_attribute()
3761 new_type = build_distinct_type_copy (base_type); in handle_arm_sve_vector_bits_attribute()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc1502 type_suffix_index new_type = infer_vector_type (argno); in require_matching_vector_type() local
1503 if (new_type == NUM_TYPE_SUFFIXES) in require_matching_vector_type()
1506 if (type != new_type) in require_matching_vector_type()
1510 get_vector_type (new_type), argno + 1, fndecl, in require_matching_vector_type()
1688 type_suffix_index new_type = infer_pointer_type (argno); in require_matching_pointer_type() local
1689 if (new_type == NUM_TYPE_SUFFIXES) in require_matching_pointer_type()
1692 if (type != new_type) in require_matching_pointer_type()
3756 tree new_type; in handle_arm_sve_vector_bits_attribute() local
3759 new_type = build_variant_type_copy (base_type); in handle_arm_sve_vector_bits_attribute()
3761 new_type = build_distinct_type_copy (base_type); in handle_arm_sve_vector_bits_attribute()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-types.c840 tree new_type; in gfc_build_real_type() local
861 new_type = make_node (REAL_TYPE); in gfc_build_real_type()
862 TYPE_PRECISION (new_type) = mode_precision; in gfc_build_real_type()
863 layout_type (new_type); in gfc_build_real_type()
864 return new_type; in gfc_build_real_type()
870 tree new_type; in gfc_build_complex_type() local
881 new_type = make_node (COMPLEX_TYPE); in gfc_build_complex_type()
882 TREE_TYPE (new_type) = scalar_type; in gfc_build_complex_type()
883 layout_type (new_type); in gfc_build_complex_type()
884 return new_type; in gfc_build_complex_type()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-types.cc868 tree new_type; in gfc_build_real_type() local
890 new_type = make_node (REAL_TYPE); in gfc_build_real_type()
891 TYPE_PRECISION (new_type) = mode_precision; in gfc_build_real_type()
892 layout_type (new_type); in gfc_build_real_type()
893 return new_type; in gfc_build_real_type()
899 tree new_type; in gfc_build_complex_type() local
910 new_type = make_node (COMPLEX_TYPE); in gfc_build_complex_type()
911 TREE_TYPE (new_type) = scalar_type; in gfc_build_complex_type()
912 layout_type (new_type); in gfc_build_complex_type()
913 return new_type; in gfc_build_complex_type()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dvtable-class-hierarchy.cc913 tree new_type; in register_all_pairs() local
925 new_type = build_pointer_type (TREE_TYPE (base_ptr_var_decl)); in register_all_pairs()
926 arg1 = build1 (ADDR_EXPR, new_type, base_ptr_var_decl); in register_all_pairs()
H A Dname-lookup.cc518 void add_type (tree new_type);
748 name_lookup::add_type (tree new_type) in add_type() argument
751 type = new_type; in add_type()
753 || !same_type_p (TREE_TYPE (type), TREE_TYPE (new_type))) in add_type()
754 type = ambiguous (new_type, type); in add_type()
762 name_lookup::process_binding (tree new_val, tree new_type) in process_binding() argument
765 if (new_type in process_binding()
767 new_type = NULL_TREE; in process_binding()
782 || (new_type && bool (want & LOOK_want::TYPE))) in process_binding()
796 new_val = new_type; in process_binding()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dvtable-class-hierarchy.c913 tree new_type; in register_all_pairs() local
925 new_type = build_pointer_type (TREE_TYPE (base_ptr_var_decl)); in register_all_pairs()
926 arg1 = build1 (ADDR_EXPR, new_type, base_ptr_var_decl); in register_all_pairs()
H A Dname-lookup.c230 void add_type (tree new_type);
473 name_lookup::add_type (tree new_type) in add_type() argument
476 type = new_type; in add_type()
478 || !same_type_p (TREE_TYPE (type), TREE_TYPE (new_type))) in add_type()
479 type = ambiguous (new_type, type); in add_type()
486 name_lookup::process_binding (tree new_val, tree new_type) in process_binding() argument
489 if (new_type in process_binding()
492 && DECL_LANG_SPECIFIC (new_type) in process_binding()
493 && DECL_ANTICIPATED (new_type)))) in process_binding()
494 new_type = NULL_TREE; in process_binding()
[all …]

123