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

/freebsd-9.3-release/contrib/gdb/gdb/
H A Dgnu-v2-abi.c118 /* Now context is a pointer to the basetype containing the vtbl. */
127 /* Now context is the basetype containing the vtbl. */
231 /* Make sure our basetype and known type match, otherwise, cast
300 vb_match (struct type *type, int index, struct type *basetype)
331 if (TYPE_TARGET_TYPE (fieldtype) == basetype)
334 if (TYPE_NAME (basetype) != NULL
336 && strcmp (TYPE_NAME (basetype),
354 struct type *basetype = TYPE_BASECLASS (type, index);
366 if (vb_match (type, i, basetype))
299 vb_match(struct type *type, int index, struct type *basetype) argument
353 struct type *basetype = TYPE_BASECLASS (type, index); local
H A Dvalops.c121 struct type **basetype,
1361 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i));
1372 struct value *v2 = allocate_value (basetype);
1392 TYPE_LENGTH (basetype)) != 0)
1407 TYPE_LENGTH (basetype));
1420 basetype, looking_for_baseclass);
1447 find_rt_vbase_offset (struct type *type, struct type *basetype, char *valaddr,
1466 find_rt_vbase_offset (pbc, basetype, valaddr, offset, &boffset, &skip);
1480 index = virtual_base_index_skip_primaries (basetype, type);
1787 struct type **basetype, in
1359 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i)); local
1445 find_rt_vbase_offset(struct type *type, struct type *basetype, char *valaddr, int offset, int *boffset_p, int *skip_p) argument
1783 find_method_list(struct value **argp, char *method, int offset, struct type *type, int *num_fns, struct type **basetype, int *boffset) argument
1867 value_find_oload_method_list(struct value **argp, char *method, int offset, int *num_fns, struct type **basetype, int *boffset) argument
1938 struct type *basetype = NULL; local
[all...]
H A Deval.c1011 struct type *basetype;
1015 basetype = TYPE_TARGET_TYPE (VALUE_TYPE (arg2));
1016 if (domain_type != basetype)
1018 basetype = TYPE_VPTR_BASETYPE (domain_type);
1019 for (i = TYPE_NFN_FIELDS (basetype) - 1; i >= 0; i--)
1021 struct fn_field *f = TYPE_FN_FIELDLIST1 (basetype, i);
1024 for (j = TYPE_FN_FIELDLIST_LENGTH (basetype, i) - 1; j >= 0; --j)
1009 struct type *basetype; local
H A Dgdbtypes.c1972 struct type *basetype = TYPE_FIELD_TYPE (dclass, i); local
1978 if (tmp_vbase->vbasetype == basetype)
1989 tmp_vbase->vbasetype = basetype;
/freebsd-9.3-release/contrib/bsnmp/gensnmpdef/
H A Dgensnmpdef.c196 printf("%s", type_names[type->basetype]);
198 if (type->basetype == SMI_BASETYPE_ENUM ||
199 type->basetype == SMI_BASETYPE_BITS)
202 else if (type->basetype == SMI_BASETYPE_OCTETSTRING &&
441 if (type->basetype == SMI_BASETYPE_ENUM) {
457 } else if (type->basetype == SMI_BASETYPE_BITS) {
/freebsd-9.3-release/contrib/gcc/cp/
H A Dclass.c593 tree basetype = non_reference (TREE_TYPE (instance));
597 tree binfo = lookup_base (fixed_type, basetype,
604 vtbl = build_vfield_ref (instance, basetype);
852 /* This is our very own copy of `basetype' to play with. Later,
1244 tree basetype = TREE_TYPE (base_binfo);
1246 gcc_assert (COMPLETE_TYPE_P (basetype));
1251 if (!TYPE_POLYMORPHIC_P (basetype))
1253 "base class %q#T has a non-virtual destructor", basetype);
1259 if (! TYPE_HAS_CONST_INIT_REF (basetype))
1261 if (TYPE_HAS_ASSIGN_REF (basetype)
592 tree basetype = non_reference (TREE_TYPE (instance)); local
1241 tree basetype = TREE_TYPE (base_binfo); local
1359 tree basetype = BINFO_TYPE (base_binfo); local
1394 tree basetype = BINFO_TYPE (primary); local
2326 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (t), i)); local
2408 tree basetype = BINFO_TYPE (base_binfo); local
3512 tree basetype = BINFO_TYPE (binfo); local
3572 tree basetype = BINFO_TYPE (binfo); local
3772 tree basetype; local
3960 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
4361 tree basetype = TREE_TYPE (vbase); local
4468 tree basetype; local
7713 tree basetype; local
[all...]
H A Dcvt.c1086 tree basetype = TREE_TYPE (expr);
1095 basetype = TREE_TYPE (expr);
1097 if (basetype == error_mark_node)
1100 if (! IS_AGGR_TYPE (basetype))
1101 switch (TREE_CODE (basetype))
1125 switch (TREE_CODE (TREE_TYPE (basetype)))
1144 if (!complete_type_or_else (basetype, expr))
1146 if (!TYPE_HAS_CONVERSION (basetype))
1149 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv))
1200 basetype);
1084 tree basetype = TREE_TYPE (expr); local
[all...]
H A Dtypeck2.c50 error_not_base_type (tree basetype, tree type) argument
52 if (TREE_CODE (basetype) == FUNCTION_DECL)
53 basetype = DECL_CONTEXT (basetype);
54 error ("type %qT is not a base type for type %qT", basetype, type);
1115 build_scoped_ref (tree datum, tree basetype, tree* binfo_p)
1124 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check, NULL);
1130 error_not_base_type (basetype, TREE_TYPE (datum));
1110 build_scoped_ref(tree datum, tree basetype, tree* binfo_p) argument
H A Dinit.c953 tree basetype; local
970 basetype = BINFO_TYPE
981 basetype = TYPE_MAIN_VARIANT (name);
985 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name));
987 basetype = NULL_TREE;
989 if (basetype)
997 return basetype;
1005 if (SAME_BINFO_TYPE_P (BINFO_TYPE (direct_binfo), basetype))
1011 virtual_binfo = binfo_for_vbase (basetype, current_class_type);
1021 basetype);
[all...]
H A Ddecl.c10016 tree basetype = TREE_VALUE (*basep);
10018 if (!(processing_template_decl && uses_template_parms (basetype))
10019 && !complete_type_or_else (basetype, NULL))
10027 if (CLASS_TYPE_P (basetype))
10028 max_vbases += VEC_length (tree, CLASSTYPE_VBASECLASSES (basetype));
10083 tree basetype = TREE_VALUE (base_list);
10088 if (TREE_CODE (basetype) == TYPE_DECL)
10089 basetype = TREE_TYPE (basetype);
10090 if (TREE_CODE (basetype) !
9998 tree basetype = TREE_VALUE (*basep); local
10065 tree basetype = TREE_VALUE (base_list); local
[all...]
H A Dcall.c205 check_dtor_name (tree basetype, tree name) argument
217 if ((IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
218 || (TREE_CODE (basetype) == ENUMERAL_TYPE
219 && name == TYPE_IDENTIFIER (basetype)))
239 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name));
5344 tree basetype = NULL_TREE; local
5399 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (instance));
5400 gcc_assert (CLASS_TYPE_P (basetype));
5423 && CLASSTYPE_VBASECLASSES (basetype))
[all...]
H A Dtypeck.c707 tree basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t2)));
719 t3 = build_method_type_directly (basetype, TREE_TYPE (t3),
1155 /* If two types share a common base type, return that basetype.
1175 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt1), i));
1176 tree trial = common_base_type (basetype, tt2);
1192 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt2), i));
1193 tree trial = common_base_type (tt1, basetype);
2552 This used to avoid checking for virtual functions if basetype
2567 tree idx, delta, e1, e2, e3, vtbl, basetype;
2622 basetype
706 tree basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t2))); local
1173 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt1), i)); local
1190 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt2), i)); local
2561 tree idx, delta, e1, e2, e3, vtbl, basetype; local
[all...]
H A Dsearch.c1928 tree basetype = BINFO_TYPE (base_binfo);
1930 if (TYPE_POLYMORPHIC_P (basetype))
1931 found += look_for_overrides_r (basetype, fndecl);
1925 tree basetype = BINFO_TYPE (base_binfo); local
H A Ddecl2.c178 tree basetype, arg_types, parms, parm, fntype;
196 basetype = TREE_TYPE (TREE_VALUE (arg_types));
227 fntype = build_method_type_directly (basetype, TREE_TYPE (TREE_TYPE (fn)),
177 tree basetype, arg_types, parms, parm, fntype; local
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-snmp.c878 SmiBasetype basetype; member in struct:smi2be
937 static int smi_check_type(SmiBasetype basetype, int be) argument
941 for (i = 0; smi2betab[i].basetype != SMI_BASETYPE_UNKNOWN; i++) {
942 if (smi2betab[i].basetype == basetype && smi2betab[i].be == be) {
955 switch (smiType->basetype) {
1097 if (! smi_check_type(smiType->basetype, elem->type)) {
1115 if (smiType->basetype == SMI_BASETYPE_BITS) {
1140 if (smiType->basetype == SMI_BASETYPE_ENUM) {
/freebsd-9.3-release/contrib/gcc/
H A Dtree.c5332 build_method_type_directly (tree basetype,
5343 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
5345 ptype = build_pointer_type (basetype);
5353 hashcode = iterative_hash_object (TYPE_HASH (basetype), hashcode);
5370 build_method_type (tree basetype, tree type)
5374 return build_method_type_directly (basetype,
5384 build_offset_type (tree basetype, tree type)
5392 TYPE_OFFSET_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
5396 hashcode = iterative_hash_object (TYPE_HASH (basetype), hashcode);
5308 build_method_type_directly(tree basetype, tree rettype, tree argtypes) argument
5346 build_method_type(tree basetype, tree type) argument
5360 build_offset_type(tree basetype, tree type) argument
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dieee.c2609 debug_type basetype; local
2641 basetype = debug_find_tagged_type (dhandle, basecopy,
2644 if (basetype == DEBUG_TYPE_NULL)
2693 baseclass = debug_make_baseclass (dhandle, basetype, bitpos,
/freebsd-9.3-release/sys/dev/nve/
H A Dif_nve.c114 #include <contrib/dev/nve/basetype.h>
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-arm.c2092 enum arm_reg_type basetype;
2108 basetype = REG_TYPE_VFD;
2110 basetype = REG_TYPE_NQ;
2121 if (basereg && basereg->type != basetype)
2138 basereg->number = (basetype == REG_TYPE_NQ) ? exp.X_add_number * 2
2198 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2206 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2214 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2090 enum arm_reg_type basetype; local
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h4863 ParsedType basetype,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp1415 ParsedType basetype, SourceLocation BaseLoc,
1442 GetTypeFromParser(basetype, &TInfo);
1412 ActOnBaseSpecifier(Decl *classdecl, SourceRange SpecifierRange, ParsedAttributes &Attributes, bool Virtual, AccessSpecifier Access, ParsedType basetype, SourceLocation BaseLoc, SourceLocation EllipsisLoc) argument

Completed in 448 milliseconds