Home
last modified time | relevance | path

Searched refs:oldtype (Results 1 – 16 of 16) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dc-decl.c869 tree oldtype = TREE_TYPE (olddecl); local
913 || TREE_CODE (oldtype) == ERROR_MARK)
986 tree oldreturntype = TREE_TYPE (oldtype);
995 TYPE_ARG_TYPES (oldtype));
997 TYPE_ATTRIBUTES (oldtype));
1001 oldtype = trytype;
1006 && TYPE_ARG_TYPES (oldtype) != 0
1008 && TREE_VALUE (TYPE_ARG_TYPES (oldtype)) != 0
1010 == TYPE_MODE (TREE_VALUE (TYPE_ARG_TYPES (oldtype)))))
1015 = build_function_type (TREE_TYPE (oldtype),
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dc-decl.c993 match_builtin_function_types (tree newtype, tree oldtype) in match_builtin_function_types() argument
1000 oldrettype = TREE_TYPE (oldtype); in match_builtin_function_types()
1006 oldargs = TYPE_ARG_TYPES (oldtype); in match_builtin_function_types()
1025 return build_type_attribute_variant (trytype, TYPE_ATTRIBUTES (oldtype)); in match_builtin_function_types()
1033 tree newtype, tree oldtype) in diagnose_arglist_conflict() argument
1038 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype)) in diagnose_arglist_conflict()
1039 || !((TYPE_ARG_TYPES (oldtype) == 0 && DECL_INITIAL (olddecl) == 0) in diagnose_arglist_conflict()
1044 t = TYPE_ARG_TYPES (oldtype); in diagnose_arglist_conflict()
1073 validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype) in validate_proto_after_old_defn() argument
1080 oldargs = TYPE_ACTUAL_ARG_TYPES (oldtype); in validate_proto_after_old_defn()
[all …]
/openbsd-src/lib/librthread/
H A Drthread.c480 int oldtype; in pthread_setcanceltype() local
482 oldtype = tib->tib_thread_flags & TIB_THREAD_ASYNC_CANCEL ? in pthread_setcanceltype()
492 *oldtypep = oldtype; in pthread_setcanceltype()
/openbsd-src/sbin/fdisk/
H A Dcmd.c128 struct uuid oldtype; in gedit() local
130 oldtype = gp[pn].gp_type; in gedit()
136 if (uuid_is_nil(&oldtype, NULL) == 0) { in gedit()
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Ddecl2.c4550 do_nonmember_using_decl (scope, name, oldval, oldtype, newval, newtype) in do_nonmember_using_decl() argument
4552 tree oldval, oldtype;
4648 if (oldtype && *newtype && !same_type_p (oldtype, *newtype))
4651 name, oldtype);
4663 tree oldval, oldtype, newval, newtype; local
4675 oldtype = BINDING_TYPE (binding);
4677 do_nonmember_using_decl (scope, name, oldval, oldtype, &newval, &newtype);
4694 tree oldval, oldtype, newval, newtype; local
4705 oldtype = lookup_type_current_level (name);
4707 do_nonmember_using_decl (scope, name, oldval, oldtype, &newval, &newtype);
H A Ddecl.c3721 register tree oldtype = TREE_TYPE (olddecl); local
3723 if (newtype != error_mark_node && oldtype != error_mark_node
3724 && TYPE_LANG_SPECIFIC (newtype) && TYPE_LANG_SPECIFIC (oldtype))
3726 = CLASSTYPE_FRIEND_CLASSES (oldtype);
3767 tree oldtype = TREE_TYPE (olddecl); local
3776 newtype = oldtype;
3793 TYPE_RAISES_EXCEPTIONS (oldtype));
3809 if (! same_type_p (newtype, oldtype)
/openbsd-src/gnu/gcc/gcc/cp/
H A Dname-lookup.c2069 do_nonmember_using_decl (tree scope, tree name, tree oldval, tree oldtype, in do_nonmember_using_decl() argument
2177 if (oldtype && *newtype && !same_type_p (oldtype, *newtype)) in do_nonmember_using_decl()
2180 name, oldtype); in do_nonmember_using_decl()
2190 tree oldval, oldtype, newval, newtype; in do_local_using_decl() local
2202 oldtype = lookup_type_current_level (name); in do_local_using_decl()
2204 do_nonmember_using_decl (scope, name, oldval, oldtype, &newval, &newtype); in do_local_using_decl()
3302 tree oldval, oldtype, newval, newtype; in do_toplevel_using_decl() local
3313 oldtype = binding->type; in do_toplevel_using_decl()
3315 do_nonmember_using_decl (scope, name, oldval, oldtype, &newval, &newtype); in do_toplevel_using_decl()
H A Ddecl.c1602 tree oldtype = TREE_TYPE (olddecl); in duplicate_decls() local
1604 if (newtype != error_mark_node && oldtype != error_mark_node in duplicate_decls()
1605 && TYPE_LANG_SPECIFIC (newtype) && TYPE_LANG_SPECIFIC (oldtype)) in duplicate_decls()
1607 = CLASSTYPE_FRIEND_CLASSES (oldtype); in duplicate_decls()
1656 tree oldtype = TREE_TYPE (olddecl); in duplicate_decls() local
1665 newtype = oldtype; in duplicate_decls()
1699 if (! same_type_p (newtype, oldtype) in duplicate_decls()
/openbsd-src/sys/dev/ic/
H A Dvga.c810 const struct wsscreen_descr *oldtype = oldscr->pcs.type; in vga_doswitch() local
815 oldtype->ncols * oldtype->nrows); in vga_doswitch()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dgdbtypes.c186 alloc_type_instance (struct type *oldtype) in alloc_type_instance() argument
192 if (TYPE_OBJFILE (oldtype) == NULL) in alloc_type_instance()
199 type = obstack_alloc (&TYPE_OBJFILE (oldtype)->objfile_obstack, in alloc_type_instance()
203 TYPE_MAIN_TYPE (type) = TYPE_MAIN_TYPE (oldtype); in alloc_type_instance()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dlinker.c1583 enum bfd_link_hash_type oldtype; in _bfd_generic_link_add_one_symbol() local
1586 oldtype = h->type; in _bfd_generic_link_add_one_symbol()
1632 if (oldtype == bfd_link_hash_defweak) in _bfd_generic_link_add_one_symbol()
H A DChangeLog-9495796 oldtype from bfd_link_order_type to bfd_link_hash_type. From
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dlinker.c1629 enum bfd_link_hash_type oldtype; in _bfd_generic_link_add_one_symbol() local
1632 oldtype = h->type; in _bfd_generic_link_add_one_symbol()
1678 if (oldtype == bfd_link_hash_defweak) in _bfd_generic_link_add_one_symbol()
H A DChangeLog-9495796 oldtype from bfd_link_order_type to bfd_link_hash_type. From
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6739 INTERCEPTOR(int, pthread_setcanceltype, int type, int *oldtype) {
6741 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcanceltype, type, oldtype);
6742 int res = REAL(pthread_setcanceltype)(type, oldtype);
6743 if (res == 0 && oldtype != nullptr)
6744 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldtype, sizeof(*oldtype));
/openbsd-src/gnu/usr.bin/gcc/gcc/f/
H A Dcom.c13187 tree oldtype = TREE_TYPE (olddecl); in duplicate_decls() local
13194 || TREE_CODE (oldtype) == ERROR_MARK) in duplicate_decls()
13273 if (oldtype != TREE_TYPE (newdecl)) in duplicate_decls()