Home
last modified time | relevance | path

Searched refs:newtype (Results 1 – 25 of 63) sorted by relevance

123

/netbsd-src/sbin/gpt/
H A Dtype.c72 gpt_uuid_t *newtype = v; in change() local
73 gpt_uuid_copy(ent->ent_type, *newtype); in change()
80 gpt_uuid_t newtype; in cmd_type() local
84 gpt_uuid_copy(newtype, gpt_uuid_nil); in cmd_type()
94 if (gpt == NULL || gpt_uuid_get(gpt, &newtype) == -1) in cmd_type()
104 if (gpt == NULL || gpt_uuid_is_nil(newtype) || argc != optind) in cmd_type()
107 return gpt_change_ent(gpt, &find, change, &newtype); in cmd_type()
/netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-regression/
H A Dtype-add-unnamed-struct.c12 ctf_id_t newtype; in main() local
42 if ((newtype = ctf_add_type (dyn, fp, type)) == CTF_ERR) in main()
47 if (ctf_member_info (dyn, newtype, *walk, &mi) < 0) in main()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dconvert.cc224 tree newtype = type; in convert_to_real_1() local
229 newtype = TREE_TYPE (arg0); in convert_to_real_1()
253 if (TYPE_MODE (type) != TYPE_MODE (newtype)) in convert_to_real_1()
257 int p2 = REAL_MODE_FORMAT (TYPE_MODE (newtype))->p; in convert_to_real_1()
265 && TYPE_PRECISION (newtype) < TYPE_PRECISION (itype) in convert_to_real_1()
266 && (TYPE_MODE (newtype) == TYPE_MODE (double_type_node) in convert_to_real_1()
267 || TYPE_MODE (newtype) == TYPE_MODE (float_type_node))) in convert_to_real_1()
269 tree fn = mathfn_built_in (newtype, fcode); in convert_to_real_1()
272 tree arg = convert_to_real_1 (newtype, arg0, fold_p); in convert_to_real_1()
274 if (newtype == type) in convert_to_real_1()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dconvert.c224 tree newtype = type; in convert_to_real_1() local
229 newtype = TREE_TYPE (arg0); in convert_to_real_1()
253 if (TYPE_MODE (type) != TYPE_MODE (newtype)) in convert_to_real_1()
257 int p2 = REAL_MODE_FORMAT (TYPE_MODE (newtype))->p; in convert_to_real_1()
265 && TYPE_PRECISION (newtype) < TYPE_PRECISION (itype) in convert_to_real_1()
266 && (TYPE_MODE (newtype) == TYPE_MODE (double_type_node) in convert_to_real_1()
267 || TYPE_MODE (newtype) == TYPE_MODE (float_type_node))) in convert_to_real_1()
269 tree fn = mathfn_built_in (newtype, fcode); in convert_to_real_1()
272 tree arg = convert_to_real_1 (newtype, arg0, fold_p); in convert_to_real_1()
274 if (newtype == type) in convert_to_real_1()
H A Dmatch.pd3738 tree newtype
3742 (if (TYPE_PRECISION (TREE_TYPE (@2)) > TYPE_PRECISION (newtype))
3743 (cmp (convert:newtype @0) (convert:newtype @1))))))
5394 into ((newtype)a+(newtype)b) where newtype
5440 (with { tree newtype = type;
5444 newtype = dfloat32_type_node;
5448 newtype = dfloat64_type_node;
5452 newtype = dfloat128_type_node; }
5453 (if ((newtype == dfloat32_type_node
5454 || newtype == dfloat64_type_node
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc1687 match_builtin_function_types (tree newtype, tree oldtype, in match_builtin_function_types() argument
1696 tree newrettype = TREE_TYPE (newtype); in match_builtin_function_types()
1708 tree newargs = TYPE_ARG_TYPES (newtype); in match_builtin_function_types()
1727 tree newtype = TREE_VALUE (newargs); in match_builtin_function_types() local
1728 if (newtype == error_mark_node) in match_builtin_function_types()
1730 newtype = TYPE_MAIN_VARIANT (newtype); in match_builtin_function_types()
1732 if (!types_close_enough_to_match (oldtype, newtype)) in match_builtin_function_types()
1750 if (!comptypes (last_structptr_types[j], newtype)) in match_builtin_function_types()
1757 last_structptr_types[j] = newtype; in match_builtin_function_types()
1761 if (j == nbst && !comptypes (oldtype, newtype)) in match_builtin_function_types()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Drdcoff.c150 int newtype; in parse_coff_type() local
152 newtype = DECREF (ntype); in parse_coff_type()
156 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
162 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
190 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Drdcoff.c120 int newtype; in parse_coff_type() local
122 newtype = DECREF (ntype); in parse_coff_type()
126 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
132 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
160 type = parse_coff_type (abfd, symbols, types, coff_symno, newtype, in parse_coff_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c1675 match_builtin_function_types (tree newtype, tree oldtype, in match_builtin_function_types() argument
1684 tree newrettype = TREE_TYPE (newtype); in match_builtin_function_types()
1696 tree newargs = TYPE_ARG_TYPES (newtype); in match_builtin_function_types()
1715 tree newtype = TYPE_MAIN_VARIANT (TREE_VALUE (newargs)); in match_builtin_function_types() local
1717 if (!types_close_enough_to_match (oldtype, newtype)) in match_builtin_function_types()
1735 if (!comptypes (last_structptr_types[j], newtype)) in match_builtin_function_types()
1742 last_structptr_types[j] = newtype; in match_builtin_function_types()
1746 if (j == nbst && !comptypes (oldtype, newtype)) in match_builtin_function_types()
1755 tree newref = TYPE_MAIN_VARIANT (TREE_TYPE (newtype)); in match_builtin_function_types()
1776 tree newattrs = TYPE_ATTRIBUTES (newtype); in match_builtin_function_types()
[all …]
/netbsd-src/sys/dev/ic/
H A Dicp.c437 u_int newsize, newtype; in icp_rescan() local
479 newtype = icp->icp_info; in icp_rescan()
485 newtype = 0; /* XXX? */ in icp_rescan()
491 icp->icp_cdr[unit].cd_type, newsize, newtype); in icp_rescan()
500 newtype != icp->icp_cdr[unit].cd_type) { in icp_rescan()
504 icp->icp_cdr[unit].cd_type = newtype; in icp_rescan()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl2.c167 tree newtype in build_memfn_type() local
173 newtype = cp_build_type_attribute_variant (newtype, attrs); in build_memfn_type()
174 newtype = build_cp_fntype_variant (newtype, rqual, in build_memfn_type()
178 return newtype; in build_memfn_type()
193 tree newtype; in change_return_type() local
198 newtype = build_function_type (new_ret, args); in change_return_type()
199 newtype = apply_memfn_quals (newtype, in change_return_type()
203 newtype = build_method_type_directly in change_return_type()
207 newtype = cp_build_type_attribute_variant (newtype, attrs); in change_return_type()
208 newtype = cxx_copy_lang_qualifiers (newtype, fntype); in change_return_type()
[all …]
H A Ddecl.c2084 tree newtype = TREE_TYPE (newdecl); in duplicate_decls() local
2087 if (newtype != error_mark_node && oldtype != error_mark_node in duplicate_decls()
2088 && TYPE_LANG_SPECIFIC (newtype) && TYPE_LANG_SPECIFIC (oldtype)) in duplicate_decls()
2089 CLASSTYPE_FRIEND_CLASSES (newtype) in duplicate_decls()
2208 tree newtype; in duplicate_decls() local
2216 newtype = oldtype; in duplicate_decls()
2220 if (TYPE_ALIGN (tem) > TYPE_ALIGN (newtype)) in duplicate_decls()
2221 SET_TYPE_ALIGN (newtype, TYPE_ALIGN (tem)); in duplicate_decls()
2222 TYPE_USER_ALIGN (newtype) = true; in duplicate_decls()
2259 newtype = merge_types (TREE_TYPE (newdecl), TREE_TYPE (olddecl)); in duplicate_decls()
[all …]
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Devt.c79 int newtype, oldtype; member
116 if (evttype_map[i].newtype == type)
/netbsd-src/usr.bin/ftp/
H A Dcmds.c275 changetype(int newtype, int show) in changetype() argument
280 if (newtype == 0) in changetype()
281 newtype = TYPE_I; in changetype()
282 if (newtype == curtype) in changetype()
287 if (newtype == p->t_type) in changetype()
290 errx(1, "changetype: unknown type %d", newtype); in changetype()
292 if (newtype == TYPE_L && bytename[0] != '\0') in changetype()
297 curtype = newtype; in changetype()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl2.cc165 tree newtype in build_memfn_type() local
171 newtype = cp_build_type_attribute_variant (newtype, attrs); in build_memfn_type()
172 newtype = build_cp_fntype_variant (newtype, rqual, in build_memfn_type()
176 return newtype; in build_memfn_type()
191 tree newtype; in change_return_type() local
196 newtype = build_function_type (new_ret, args); in change_return_type()
197 newtype = apply_memfn_quals (newtype, in change_return_type()
201 newtype = build_method_type_directly in change_return_type()
205 newtype = cp_build_type_attribute_variant (newtype, attrs); in change_return_type()
206 newtype = cxx_copy_lang_qualifiers (newtype, fntype); in change_return_type()
[all …]
H A Ddecl.cc2247 tree newtype = TREE_TYPE (newdecl); in duplicate_decls() local
2250 if (newtype != error_mark_node && oldtype != error_mark_node in duplicate_decls()
2251 && TYPE_LANG_SPECIFIC (newtype) && TYPE_LANG_SPECIFIC (oldtype)) in duplicate_decls()
2252 CLASSTYPE_FRIEND_CLASSES (newtype) in duplicate_decls()
2367 tree newtype; in duplicate_decls() local
2375 newtype = oldtype; in duplicate_decls()
2379 if (TYPE_ALIGN (tem) > TYPE_ALIGN (newtype)) in duplicate_decls()
2380 SET_TYPE_ALIGN (newtype, TYPE_ALIGN (tem)); in duplicate_decls()
2381 TYPE_USER_ALIGN (newtype) = true; in duplicate_decls()
2418 newtype = merge_types (TREE_TYPE (newdecl), TREE_TYPE (olddecl)); in duplicate_decls()
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddsl_dir.h147 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddinterpret.c2718 …static Expression *recursivelyCreateArrayLiteral(UnionExp *pue, Loc loc, Type *newtype, InterState… in recursivelyCreateArrayLiteral() argument
2725 Type *elemType = ((TypeArray *)newtype)->next; in recursivelyCreateArrayLiteral()
2737 new(pue) ArrayLiteralExp(loc, newtype, elements); in recursivelyCreateArrayLiteral()
2747 return createBlockDuplicatedStringLiteral(pue, loc, newtype, ch, len, sz); in recursivelyCreateArrayLiteral()
2752 return createBlockDuplicatedArrayLiteral(pue, loc, newtype, el, len); in recursivelyCreateArrayLiteral()
2769 if (e->newtype->ty == Tarray && e->arguments) in visit()
2771 … result = recursivelyCreateArrayLiteral(pue, e->loc, e->newtype, istate, e->arguments, 0); in visit()
2774 if (e->newtype->toBasetype()->ty == Tstruct) in visit()
2778 Expression *se = e->newtype->defaultInitLiteral(e->loc); in visit()
2789 StructDeclaration *sd = ((TypeStruct *)e->newtype->toBasetype())->sym; in visit()
[all …]
/netbsd-src/sys/dev/pci/
H A Dtwe.c544 uint8_t newtype, newstripe; in twe_add_unit() local
592 newtype = ad->configuration; in twe_add_unit()
612 td->td_type == newtype && in twe_add_unit()
629 td->td_type = newtype; in twe_add_unit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddinterpret.d2733 …static Expression recursivelyCreateArrayLiteral(UnionExp* pue, const ref Loc loc, Type newtype, In… in recursivelyCreateArrayLiteral() argument
2739 Type elemType = (cast(TypeArray)newtype).next; in recursivelyCreateArrayLiteral()
2749 emplaceExp!(ArrayLiteralExp)(pue, loc, newtype, elements); in recursivelyCreateArrayLiteral()
2759 return createBlockDuplicatedStringLiteral(pue, loc, newtype, ch, len, sz); in recursivelyCreateArrayLiteral()
2764 return createBlockDuplicatedArrayLiteral(pue, loc, newtype, el, len); in recursivelyCreateArrayLiteral()
2779 if (e.newtype.ty == Tarray && e.arguments) in visit()
2781 result = recursivelyCreateArrayLiteral(pue, e.loc, e.newtype, istate, e.arguments, 0); in visit()
2784 if (auto ts = e.newtype.toBasetype().isTypeStruct()) in visit()
2788 Expression se = e.newtype.defaultInitLiteral(e.loc); in visit()
2815 auto se = ctfeEmplaceExp!StructLiteralExp(e.loc, sd, exps, e.newtype); in visit()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-codegen.cc116 tree newtype = build_distinct_type_copy (type); in copy_aggregate_type() local
117 TYPE_FIELDS (newtype) = copy_list (TYPE_FIELDS (type)); in copy_aggregate_type()
119 for (tree f = TYPE_FIELDS (newtype); f; f = DECL_CHAIN (f)) in copy_aggregate_type()
120 DECL_FIELD_CONTEXT (f) = newtype; in copy_aggregate_type()
122 return newtype; in copy_aggregate_type()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddsl_dir.c1421 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx) in dsl_dir_transfer_space() argument
1425 ASSERT(newtype < DD_USED_NUM); in dsl_dir_transfer_space()
1436 dsl_dir_phys(dd)->dd_used_breakdown[newtype] >= -delta); in dsl_dir_transfer_space()
1439 dsl_dir_phys(dd)->dd_used_breakdown[newtype] += delta; in dsl_dir_transfer_space()
/netbsd-src/sbin/fsdb/
H A Dfsdb.c252 CMDFUNC(newtype); /* change type */
299 {"chtype", "Change type of current inode to TYPE", 2, 2, newtype},
1259 CMDFUNC(newtype) in CMDFUNC() argument
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-codegen.cc117 tree newtype = build_distinct_type_copy (type); in copy_aggregate_type() local
118 TYPE_FIELDS (newtype) = copy_list (TYPE_FIELDS (type)); in copy_aggregate_type()
120 for (tree f = TYPE_FIELDS (newtype); f; f = DECL_CHAIN (f)) in copy_aggregate_type()
121 DECL_FIELD_CONTEXT (f) = newtype; in copy_aggregate_type()
123 return newtype; in copy_aggregate_type()
/netbsd-src/sys/ufs/lfs/
H A Dulfs_lookup.c1095 struct inode *oip, ino_t newinum, int newtype, in ulfs_dirrewrite() argument
1108 lfs_dir_settype(fs, ep, newtype); in ulfs_dirrewrite()

123