Searched refs:basetype (Results 1 - 25 of 102) sorted by relevance

12345

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dgen_template.c236 partial_offset(const char *basetype, const char *name, int need_offset, int isstruct) argument
241 if (asprintf(&str, "offsetof(%s%s, %s)", isstruct ? "struct " : "", basetype, name) < 0 || str == NULL)
482 template_members(struct templatehead *temp, const char *basetype, const char *name, const Type *t, int optional, int implicit, int isstruct, int need_offset) argument
487 errx(1, "%s...%s is optional and not a (TTag or TType)", basetype, name);
489 poffset = partial_offset(basetype, name, need_offset, isstruct);
597 fprintf(f, "static const struct asn1_template asn1_%s_%s[] = {\n", basetype, bname);
600 basetype, (unsigned long)count);
608 add_line(temp, "{ A1_OP_BMEMBER, %s, asn1_%s_%s }", poffset, basetype, bname);
626 if (asprintf(&newbasename, "%s_%s", basetype, name) < 0)
629 newbasename = strdup(basetype);
648 fprintf(get_code_file(), "/* template_members: %s %s %s */\\n", basetype, implicit ? "imp" : "exp", tagimplicit ? "imp" : "exp"); local
863 generate_template_type(const char *varname, const char **dupname, const char *symname, const char *basetype, const char *name, Type *type, int optional, int isstruct, int need_offset) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dtypes.cc809 int nunits = t->basetype->isTypeSArray ()->dim->toUInteger ();
957 tree basetype = (t->sym->memtype) local
1001 || !INTEGRAL_TYPE_P (basetype)
1002 || TREE_CODE (basetype) == BOOLEAN_TYPE)
1007 t->ctype = build_variant_type_copy (basetype);
1019 TREE_TYPE (t->ctype) = basetype;
1027 TYPE_MIN_VALUE (t->ctype) = TYPE_MIN_VALUE (basetype);
1028 TYPE_MAX_VALUE (t->ctype) = TYPE_MAX_VALUE (basetype);
1044 basetype);
1048 CONST_DECL, ident, basetype);
[all...]
H A Dd-codegen.cc2300 tree basetype = type; local
2302 if (COMPLEX_FLOAT_TYPE_P (basetype))
2303 basetype = TREE_TYPE (basetype);
2305 if (TYPE_MAIN_VARIANT (basetype) == double_type_node
2306 || TYPE_MAIN_VARIANT (basetype) == idouble_type_node)
2308 else if (TYPE_MAIN_VARIANT (basetype) == float_type_node
2309 || TYPE_MAIN_VARIANT (basetype) == ifloat_type_node)
2311 else if (TYPE_MAIN_VARIANT (basetype) == long_double_type_node
2312 || TYPE_MAIN_VARIANT (basetype)
2342 build_vthis_function(tree basetype, tree type) argument
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dtypes.cc676 int nunits = ((TypeSArray *) t->basetype)->dim->toUInteger ();
812 tree basetype = (t->sym->memtype) local
815 if (!INTEGRAL_TYPE_P (basetype) || TREE_CODE (basetype) == BOOLEAN_TYPE)
820 t->ctype = build_variant_type_copy (basetype);
835 TYPE_MIN_VALUE (t->ctype) = TYPE_MIN_VALUE (basetype);
836 TYPE_MAX_VALUE (t->ctype) = TYPE_MAX_VALUE (basetype);
852 basetype);
856 CONST_DECL, ident, basetype);
868 TYPE_UNSIGNED (t->ctype) = TYPE_UNSIGNED (basetype);
[all...]
H A Dd-codegen.cc2011 tree basetype = type; local
2013 if (COMPLEX_FLOAT_TYPE_P (basetype))
2014 basetype = TREE_TYPE (basetype);
2016 if (TYPE_MAIN_VARIANT (basetype) == double_type_node
2017 || TYPE_MAIN_VARIANT (basetype) == idouble_type_node)
2019 else if (TYPE_MAIN_VARIANT (basetype) == float_type_node
2020 || TYPE_MAIN_VARIANT (basetype) == ifloat_type_node)
2022 else if (TYPE_MAIN_VARIANT (basetype) == long_double_type_node
2023 || TYPE_MAIN_VARIANT (basetype)
2053 build_vthis_function(tree basetype, tree type) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dgnu-v2-abi.c111 /* Now context is a pointer to the basetype containing the vtbl. */
121 /* Now context is the basetype containing the vtbl. */
218 /* Try to get the vptr basetype, fieldno. */
226 /* Make sure our basetype and known type match, otherwise, cast
295 vb_match (struct type *type, int index, struct type *basetype)
326 if (TYPE_TARGET_TYPE (fieldtype) == basetype)
329 if (basetype->name () != NULL
331 && strcmp (basetype->name (),
347 struct type *basetype = TYPE_BASECLASS (type, index);
359 if (vb_match (type, i, basetype))
294 vb_match(struct type *type, int index, struct type *basetype) argument
346 struct type *basetype = TYPE_BASECLASS (type, index); local
[all...]
H A Dc-varobj.c644 struct type *basetype = NULL;
650 vptr_fieldno = get_vptr_fieldno (type, &basetype);
656 if ((type == basetype && i == vptr_fieldno)
746 struct type *basetype = NULL;
749 vptr_fieldno = get_vptr_fieldno (type, &basetype);
757 if ((type == basetype && type_index == vptr_fieldno)
643 struct type *basetype = NULL; local
745 struct type *basetype = NULL; local
H A Df-exp.y90 static struct type *convert_to_kind_type (struct type *basetype, int kind);
852 new type that represents the basetype of a specific kind. */
854 convert_to_kind_type (struct type *basetype, int kind)
856 if (basetype == parse_f_type (pstate)->builtin_character)
863 else if (basetype == parse_f_type (pstate)->builtin_complex_s8)
872 else if (basetype == parse_f_type (pstate)->builtin_real)
881 else if (basetype == parse_f_type (pstate)->builtin_logical)
892 else if (basetype == parse_f_type (pstate)->builtin_integer)
903 kind, TYPE_SAFE_NAME (basetype));
H A Dvalops.c1881 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i));
1913 v2 = value_at_lazy (basetype, base_addr);
1922 deprecated_set_value_type (v2, basetype);
1944 basetype, looking_for_baseclass,
2269 struct type **basetype, LONGEST *boffset)
2294 *basetype = type;
2336 xmethods, basetype, boffset);
2361 struct type **basetype, LONGEST *boffset)
2389 basetype, boffset);
2467 struct type *basetype
1879 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i)); local
2263 find_method_list(struct value **argp, const char *method, LONGEST offset, struct type *type, gdb::array_view<fn_field> *methods, std::vector<xmethod_worker_up> *xmethods, struct type **basetype, LONGEST *boffset) argument
2355 value_find_oload_method_list(struct value **argp, const char *method, LONGEST offset, gdb::array_view<fn_field> *methods, std::vector<xmethod_worker_up> *xmethods, struct type **basetype, LONGEST *boffset) argument
2465 struct type *basetype = NULL; variable in typeref:struct:type
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dgnu-v2-abi.c111 /* Now context is a pointer to the basetype containing the vtbl. */
121 /* Now context is the basetype containing the vtbl. */
218 /* Try to get the vptr basetype, fieldno. */
226 /* Make sure our basetype and known type match, otherwise, cast
296 vb_match (struct type *type, int index, struct type *basetype)
327 if (fieldtype->target_type () == basetype)
330 if (basetype->name () != NULL
332 && strcmp (basetype->name (),
348 struct type *basetype = TYPE_BASECLASS (type, index);
360 if (vb_match (type, i, basetype))
295 vb_match(struct type *type, int index, struct type *basetype) argument
347 struct type *basetype = TYPE_BASECLASS (type, index); local
[all...]
H A Dc-varobj.c642 struct type *basetype = NULL;
648 vptr_fieldno = get_vptr_fieldno (type, &basetype);
654 if ((type == basetype && i == vptr_fieldno)
743 struct type *basetype = NULL;
746 vptr_fieldno = get_vptr_fieldno (type, &basetype);
754 if ((type == basetype && type_index == vptr_fieldno)
641 struct type *basetype = NULL; local
742 struct type *basetype = NULL; local
H A Df-exp.y91 static struct type *convert_to_kind_type (struct type *basetype, int kind);
1166 new type that represents the basetype of a specific kind. */
1168 convert_to_kind_type (struct type *basetype, int kind)
1170 if (basetype == parse_f_type (pstate)->builtin_character)
1177 else if (basetype == parse_f_type (pstate)->builtin_complex)
1186 else if (basetype == parse_f_type (pstate)->builtin_real)
1195 else if (basetype == parse_f_type (pstate)->builtin_logical)
1206 else if (basetype == parse_f_type (pstate)->builtin_integer)
1219 kind, TYPE_SAFE_NAME (basetype));
/netbsd-current/external/gpl3/gcc.old/dist/gcc/cp/
H A Dclass.c715 tree basetype = non_reference (TREE_TYPE (instance));
719 tree binfo = lookup_base (fixed_type, basetype,
726 vtbl = build_vfield_ref (instance, basetype);
944 /* This is our very own copy of `basetype' to play with. Later,
1705 tree basetype = TREE_TYPE (base_binfo);
1707 gcc_assert (COMPLETE_TYPE_P (basetype));
1709 if (CLASSTYPE_FINAL (basetype))
1711 basetype, t);
1714 if (!CLASSTYPE_LITERAL_P (basetype))
1721 if (TYPE_HAS_COPY_CTOR (basetype)
714 tree basetype = non_reference (TREE_TYPE (instance)); local
1702 tree basetype = TREE_TYPE (base_binfo); local
1893 tree basetype = BINFO_TYPE (base_binfo); local
1928 tree basetype = BINFO_TYPE (primary); local
2841 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (t), i)); local
2927 tree basetype = BINFO_TYPE (base_binfo); local
4474 tree basetype = BINFO_TYPE (binfo); local
4521 tree basetype = BINFO_TYPE (binfo); local
4768 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
4893 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
5087 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
5143 tree o, basetype = BINFO_TYPE (base_binfo); local
5955 tree basetype = TREE_TYPE (base_binfo); local
6096 tree basetype = TREE_TYPE (base_binfo); local
6439 tree basetype; local
7287 tree basetype = BINFO_TYPE (CLASSTYPE_PRIMARY_BINFO (t)); local
7321 tree basetype = TREE_TYPE (base_binfo); local
[all...]
H A Dcvt.c1741 tree basetype = TREE_TYPE (expr);
1756 if (basetype == error_mark_node)
1759 if (! MAYBE_CLASS_TYPE_P (basetype))
1760 switch (TREE_CODE (basetype))
1783 if (!gnu_vector_type_p (basetype))
1789 switch (TREE_CODE (TREE_TYPE (basetype)))
1808 if (!complete_type_or_maybe_complain (basetype, expr, complain))
1810 if (!TYPE_HAS_CONVERSION (basetype))
1813 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv))
1887 basetype);
1739 tree basetype = TREE_TYPE (expr); local
[all...]
H A Dtypeck2.c47 error_not_base_type (tree basetype, tree type) argument
49 if (TREE_CODE (basetype) == FUNCTION_DECL)
50 basetype = DECL_CONTEXT (basetype);
51 error ("type %qT is not a base type for type %qT", basetype, type);
2079 build_scoped_ref (tree datum, tree basetype, tree* binfo_p)
2088 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check,
2095 error_not_base_type (basetype, TREE_TYPE (datum));
2074 build_scoped_ref(tree datum, tree basetype, tree* binfo_p) argument
/netbsd-current/external/gpl3/gcc/dist/gcc/cp/
H A Dclass.cc746 tree basetype = non_reference (TREE_TYPE (instance));
750 tree binfo = lookup_base (fixed_type, basetype,
757 vtbl = build_vfield_ref (instance, basetype);
976 /* This is our very own copy of `basetype' to play with. Later,
1797 tree basetype = TREE_TYPE (base_binfo);
1799 gcc_assert (COMPLETE_TYPE_P (basetype));
1801 if (CLASSTYPE_FINAL (basetype))
1803 basetype, t);
1806 if (!CLASSTYPE_LITERAL_P (basetype))
1813 if (TYPE_HAS_COPY_CTOR (basetype)
745 tree basetype = non_reference (TREE_TYPE (instance)); local
1794 tree basetype = TREE_TYPE (base_binfo); local
1983 tree basetype = BINFO_TYPE (base_binfo); local
2018 tree basetype = BINFO_TYPE (primary); local
2942 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (t), i)); local
3028 tree basetype = BINFO_TYPE (base_binfo); local
4573 tree basetype = BINFO_TYPE (binfo); local
4621 tree basetype = BINFO_TYPE (binfo); local
4880 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
5139 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
5195 tree o, basetype = BINFO_TYPE (base_binfo); local
5975 tree basetype = TREE_TYPE (base_binfo); local
6126 tree basetype = TREE_TYPE (base_binfo); local
6532 tree basetype; local
7399 tree basetype = BINFO_TYPE (CLASSTYPE_PRIMARY_BINFO (t)); local
7433 tree basetype = TREE_TYPE (base_binfo); local
[all...]
H A Dcvt.cc1760 tree basetype = TREE_TYPE (expr);
1775 if (basetype == error_mark_node)
1778 if (! MAYBE_CLASS_TYPE_P (basetype))
1779 switch (TREE_CODE (basetype))
1802 if (!gnu_vector_type_p (basetype))
1808 switch (TREE_CODE (TREE_TYPE (basetype)))
1827 if (!complete_type_or_maybe_complain (basetype, expr, complain))
1829 if (!TYPE_HAS_CONVERSION (basetype))
1832 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv))
1906 basetype);
1758 tree basetype = TREE_TYPE (expr); local
[all...]
H A Dtypeck2.cc47 error_not_base_type (tree basetype, tree type) argument
49 if (TREE_CODE (basetype) == FUNCTION_DECL)
50 basetype = DECL_CONTEXT (basetype);
51 error ("type %qT is not a base type for type %qT", basetype, type);
2034 build_scoped_ref (tree datum, tree basetype, tree* binfo_p)
2043 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check,
2050 error_not_base_type (basetype, TREE_TYPE (datum));
2029 build_scoped_ref(tree datum, tree basetype, tree* binfo_p) argument
/netbsd-current/sys/arch/prep/pnpbus/
H A Dpnpbusvar.h105 uint8_t basetype; /* PNP base type */ member in struct:pnpbus_dev_attach_args
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-snmp.c894 SmiBasetype basetype; member in struct:smi2be
951 static int smi_check_type(SmiBasetype basetype, int be) argument
955 for (i = 0; smi2betab[i].basetype != SMI_BASETYPE_UNKNOWN; i++) {
956 if (smi2betab[i].basetype == basetype && smi2betab[i].be == be) {
969 switch (smiType->basetype) {
1117 if (! smi_check_type(smiType->basetype, elem->type)) {
1135 if (smiType->basetype == SMI_BASETYPE_BITS) {
1161 if (smiType->basetype == SMI_BASETYPE_ENUM) {
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dgimple-ssa-warn-restrict.c287 tree basetype = TREE_TYPE (base); local
288 if (TREE_CODE (basetype) == ARRAY_TYPE)
292 else if (tree basesize = TYPE_SIZE_UNIT (basetype))
1036 tree basetype = TREE_TYPE (dstref->base);
1038 if (POINTER_TYPE_P (basetype))
1039 basetype = TREE_TYPE (basetype);
1041 while (TREE_CODE (basetype) == ARRAY_TYPE)
1042 basetype = TREE_TYPE (basetype);
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dgimple-ssa-warn-restrict.cc296 tree basetype = TREE_TYPE (base); local
297 if (TREE_CODE (basetype) == ARRAY_TYPE)
301 else if (tree basesize = TYPE_SIZE_UNIT (basetype))
1046 tree basetype = TREE_TYPE (dstref->base);
1048 if (POINTER_TYPE_P (basetype))
1049 basetype = TREE_TYPE (basetype);
1051 while (TREE_CODE (basetype) == ARRAY_TYPE)
1052 basetype = TREE_TYPE (basetype);
[all...]
H A Dgimple-array-bounds.cc161 tree basetype = TREE_TYPE (base); local
163 && POINTER_TYPE_P (basetype))
165 tree ptype = TREE_TYPE (basetype);
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dtypinf.d152 return isSpeculativeType(t.basetype);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-types.c1118 tree basetype;
1133 basetype = ptr_type_node;
1135 basetype = pfunc_type_node;
1138 basetype = gfc_get_int_type (spec->kind);
1142 basetype = gfc_get_real_type (spec->kind);
1146 basetype = gfc_get_complex_type (spec->kind);
1150 basetype = gfc_get_logical_type (spec->kind);
1154 basetype = gfc_get_character_type (spec->kind, spec->u.cl);
1159 basetype = gfc_get_character_type_len (gfc_default_character_kind,
1164 basetype
1115 tree basetype; local
[all...]

Completed in 282 milliseconds

12345