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

/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dgen_template.c224 partial_offset(const char *basetype, const char *name, int need_offset) argument
229 if (asprintf(&str, "offsetof(struct %s, %s)", basetype, name) < 0 || str == NULL)
466 template_members(struct templatehead *temp, const char *basetype, const char *name, const Type *t, int optional, int isstruct, int need_offset) argument
471 errx(1, "%s...%s is optional and not a (TTag or TType)", basetype, name);
473 poffset = partial_offset(basetype, name, need_offset);
572 fprintf(f, "static const struct asn1_template asn1_%s_%s[] = {\n", basetype, bname);
575 basetype, (unsigned long)count);
583 add_line(temp, "{ A1_OP_BMEMBER, %s, asn1_%s_%s }", poffset, basetype, bname);
599 if (asprintf(&newbasename, "%s_%s", basetype, name) < 0)
602 newbasename = strdup(basetype);
797 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...]
/freebsd-11-stable/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-11-stable/contrib/bsnmp/gensnmpdef/
H A Dgensnmpdef.c198 printf("%s", type_names[type->basetype]);
200 if (type->basetype == SMI_BASETYPE_ENUM ||
201 type->basetype == SMI_BASETYPE_BITS)
204 else if (type->basetype == SMI_BASETYPE_OCTETSTRING &&
442 if (type->basetype == SMI_BASETYPE_ENUM) {
458 } else if (type->basetype == SMI_BASETYPE_BITS) {
/freebsd-11-stable/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
1365 tree basetype = BINFO_TYPE (base_binfo); local
1400 tree basetype = BINFO_TYPE (primary); local
2339 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (t), i)); local
2421 tree basetype = BINFO_TYPE (base_binfo); local
3532 tree basetype = BINFO_TYPE (binfo); local
3592 tree basetype = BINFO_TYPE (binfo); local
3801 tree basetype; local
3989 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
4390 tree basetype = TREE_TYPE (vbase); local
4497 tree basetype; local
7742 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.c10484 tree basetype = TREE_VALUE (*basep);
10486 if (!(processing_template_decl && uses_template_parms (basetype))
10487 && !complete_type_or_else (basetype, NULL))
10495 if (CLASS_TYPE_P (basetype))
10496 max_vbases += VEC_length (tree, CLASSTYPE_VBASECLASSES (basetype));
10551 tree basetype = TREE_VALUE (base_list);
10556 if (TREE_CODE (basetype) == TYPE_DECL)
10557 basetype = TREE_TYPE (basetype);
10558 if (TREE_CODE (basetype) !
10467 tree basetype = TREE_VALUE (*basep); local
10534 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));
5366 tree basetype = NULL_TREE; local
5421 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (instance));
5422 gcc_assert (CLASS_TYPE_P (basetype));
5445 && CLASSTYPE_VBASECLASSES (basetype))
[all...]
H A Dtypeck.c724 tree basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t2)));
736 t3 = build_method_type_directly (basetype, TREE_TYPE (t3),
1187 /* If two types share a common base type, return that basetype.
1207 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt1), i));
1208 tree trial = common_base_type (basetype, tt2);
1224 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt2), i));
1225 tree trial = common_base_type (tt1, basetype);
2584 This used to avoid checking for virtual functions if basetype
2599 tree idx, delta, e1, e2, e3, vtbl, basetype;
2654 basetype
723 tree basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t2))); local
1205 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt1), i)); local
1222 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (tt2), i)); local
2593 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-11-stable/contrib/tcpdump/
H A Dprint-snmp.c891 SmiBasetype basetype; member in struct:smi2be
952 static int smi_check_type(SmiBasetype basetype, int be) argument
956 for (i = 0; smi2betab[i].basetype != SMI_BASETYPE_UNKNOWN; i++) {
957 if (smi2betab[i].basetype == basetype && smi2betab[i].be == be) {
970 switch (smiType->basetype) {
1118 if (! smi_check_type(smiType->basetype, elem->type)) {
1136 if (smiType->basetype == SMI_BASETYPE_BITS) {
1162 if (smiType->basetype == SMI_BASETYPE_ENUM) {
/freebsd-11-stable/contrib/gcc/
H A Dtree.c5361 build_method_type_directly (tree basetype,
5372 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
5374 ptype = build_pointer_type (basetype);
5382 hashcode = iterative_hash_object (TYPE_HASH (basetype), hashcode);
5399 build_method_type (tree basetype, tree type)
5403 return build_method_type_directly (basetype,
5413 build_offset_type (tree basetype, tree type)
5421 TYPE_OFFSET_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
5425 hashcode = iterative_hash_object (TYPE_HASH (basetype), hashcode);
5337 build_method_type_directly(tree basetype, tree rettype, tree argtypes) argument
5375 build_method_type(tree basetype, tree type) argument
5389 build_offset_type(tree basetype, tree type) argument
/freebsd-11-stable/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-11-stable/contrib/binutils/gas/config/
H A Dtc-arm.c2094 enum arm_reg_type basetype;
2110 basetype = REG_TYPE_VFD;
2112 basetype = REG_TYPE_NQ;
2123 if (basereg && basereg->type != basetype)
2140 basereg->number = (basetype == REG_TYPE_NQ) ? exp.X_add_number * 2
2200 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2208 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2216 insert_neon_reg_alias (namebuf, basereg->number, basetype,
2092 enum arm_reg_type basetype; local
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp2558 ParsedType basetype, SourceLocation BaseLoc,
2583 GetTypeFromParser(basetype, &TInfo);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6681 ParsedType basetype,

Completed in 729 milliseconds