| /openbsd-src/gnu/usr.bin/perl/regen/ |
| H A D | mg_vtable.pl | 62 # /* per-magic sets of vtable function pointers */ 94 # ancillary to the vtable. 118 # vtable 119 # name of the vtable lookup enum, e.g. 'foo' creates want_vtbl_foo 123 sv => { char => "\0", vtable => 'sv', readonly_acceptable => 1, 128 overload_table => { char => 'c', vtable => 'ovrld', 130 bm => { char => 'B', vtable => 'regexp', value_magic => 1, 133 regdata => { char => 'D', vtable => 'regdata', 135 regdatum => { char => 'd', vtable => 'regdatum', 137 env => { char => 'E', vtable [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.abi/ |
| H A D | vtable.C | 48 inline void* vtable (void *object) in vtable() function 66 if (vtable (&s4) != vtable (s2)) in main() 68 if (vtable (s2) >= vtable (s3)) in main() 70 if (vtable (s3) >= vtable (s1)) in main() 72 if (vtable (s1) >= vtable (s0)) in main()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | gnu-v3-abi.c | 196 struct value *vtable; in gnuv3_rtti_type() local 228 vtable = value_at_lazy (vtable_type, in gnuv3_rtti_type() 234 = lookup_minimal_symbol_by_pc (VALUE_ADDRESS (vtable) in gnuv3_rtti_type() 235 + VALUE_OFFSET (vtable) in gnuv3_rtti_type() 236 + VALUE_EMBEDDED_OFFSET (vtable)); in gnuv3_rtti_type() 266 = value_as_long (value_field (vtable, vtable_field_offset_to_top)); in gnuv3_rtti_type() 290 struct value *vtable; in gnuv3_virtual_fn_field() local 332 vtable = value_at_lazy (vtable_type, in gnuv3_virtual_fn_field() 337 vfn = value_subscript (value_field (vtable, vtable_field_virtual_functions), in gnuv3_virtual_fn_field() 365 struct value *vtable; in gnuv3_baseclass_offset() local [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
| H A D | m-un-2.c | 9 struct vtable { struct 15 struct vtable mtable = { argument 23 struct vtable mtable2 = { 28 struct vtable mtable3 = {
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | TypeMetadata.rst | 9 valid vtable or function pointer for a given class or function type, and its 73 virtual table object is stored in the object's vtable pointer. In ABI parlance 75 B is constructed, the address of ``&B::f`` is stored in the vtable pointer. In 76 this way, the vtable in B's virtual table object is compatible with A's vtable. 79 virtual table object contains two vtables, one compatible with A's vtable and 80 the other compatible with C's vtable. Objects of type D contain two virtual 82 the vtable compatible with A's vtable, and the other belonging to the C 83 subobject and containing the address of the vtable compatible with C's vtable. 87 address point within that class's vtable and the name of one of the classes 104 each vtable. For example, these type metadata entries encode the compatibility [all …]
|
| H A D | HowToBuildWindowsItaniumPrograms.rst | 48 In the Itanium C++ ABI the first member of an object is a pointer to the vtable 49 for its class. The vtable is often emitted into the object file with the key function 54 that runs after IAT patching but before anything that might use the vtable pointers, 55 and sets the vtable pointer to the address from the IAT. For the special case of
|
| /openbsd-src/gnu/llvm/lld/docs/ |
| H A D | missingkeyfunction.rst | 6 foo.cc:28: error: undefined reference to 'vtable for C' 7 the vtable symbol may be undefined because the class is missing its key function 13 When a class has a key function, the compiler emits the vtable (and some other 15 if you're missing the key function, you'll also be missing the vtable. If no other 17 for it, but you will see undefined references to the vtable symbol. 20 function, and the compiler is forced to emit the vtable in every translation unit 42 not emit the vtable for ``B``, and you'll get an undefined reference to "vtable 70 and as a result, the vtable for ``A`` is not emitted, because the compiler is
|
| /openbsd-src/gnu/llvm/libcxxabi/src/ |
| H A D | private_typeinfo.cpp | 64 static inline ptrdiff_t update_offset_to_base(const char* vtable, in update_offset_to_base() argument 68 return *reinterpret_cast<const int32_t*>(vtable + offset_to_base); in update_offset_to_base() 70 return *reinterpret_cast<const ptrdiff_t*>(vtable + offset_to_base); in update_offset_to_base() 309 const char* vtable = *static_cast<const char*const*>(adjustedPtr); in has_unambiguous_public_base() local 310 offset_to_base = update_offset_to_base(vtable, offset_to_base); in has_unambiguous_public_base() 631 const int32_t* vtable = in __dynamic_cast() local 633 int32_t offset_to_derived = vtable[-2]; in __dynamic_cast() 637 int32_t offset_to_ti_proxy = vtable[-1]; in __dynamic_cast() 639 reinterpret_cast<const uint8_t*>(vtable) + offset_to_ti_proxy; in __dynamic_cast() 643 void **vtable = *static_cast<void ** const *>(static_ptr); in __dynamic_cast() [all …]
|
| /openbsd-src/usr.bin/dc/ |
| H A D | bcode.h | 67 struct vtable { struct 75 struct vtable *vtable; argument
|
| H A D | inout.c | 43 static struct vtable stream_vtable = { 50 static struct vtable string_vtable = { 61 src->vtable = &stream_vtable; in src_setstream() 69 src->vtable = &string_vtable; in src_setstring() 190 while ((ch = (*src->vtable->readchar)(src)) != EOF) { in readnumber() 205 (*src->vtable->unreadchar)(src); in readnumber() 242 while ((ch = (*src->vtable->readchar)(src)) != EOF) { in read_string()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
| H A D | warn01.C | 9 struct vtable { struct 15 struct vtable mtable = { malloc, free }; // WARNING - _realloc argument
|
| /openbsd-src/gnu/gcc/gcc/cp/ |
| H A D | method.c | 233 tree vtable; in thunk_adjust() local 237 vtable = build1 (NOP_EXPR, in thunk_adjust() 242 vtable = build1 (INDIRECT_REF, TREE_TYPE (TREE_TYPE (vtable)), vtable); in thunk_adjust() 244 vtable = build2 (PLUS_EXPR, TREE_TYPE (vtable), vtable, virtual_offset); in thunk_adjust() 246 vtable = build1 (INDIRECT_REF, TREE_TYPE (TREE_TYPE (vtable)), vtable); in thunk_adjust() 248 ptr = fold_build2 (PLUS_EXPR, TREE_TYPE (ptr), ptr, vtable); in thunk_adjust()
|
| H A D | rtti.c | 70 tree vtable; /* The VAR_DECL of the vtable. Only filled at end of member 834 vtable_ptr = ti->vtable; in tinfo_base_init() 862 ti->vtable = vtable_ptr; in tinfo_base_init() 1150 ti->vtable = NULL_TREE; in create_pseudo_type_info() 1238 ti->type = ti->vtable = ti->name = NULL_TREE; in get_pseudo_ti_index() 1303 ti->vtable = NULL_TREE; in create_tinfo_types() 1342 ti->vtable = NULL_TREE; in create_tinfo_types()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
| H A D | repo.c | 99 tree vtable; local 107 vtable = get_vtbl_decl_for_binfo (TYPE_BINFO (t)); 109 t = vtable;
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | wrstabs.c | 84 char *vtable; member 411 s->vtable = NULL; in stab_push_string() 1466 char *vtable; in stab_start_class_type() local 1471 vtable = (char *) xmalloc (20); in stab_start_class_type() 1472 sprintf (vtable, "~%%%ld", info->type_stack->index); in stab_start_class_type() 1476 vtable = (char *) xmalloc (strlen (vstring) + 3); in stab_start_class_type() 1477 sprintf (vtable, "~%%%s", vstring); in stab_start_class_type() 1481 info->type_stack->vtable = vtable; in stab_start_class_type() 1799 if (info->type_stack->vtable != NULL) in stab_end_class_type() 1800 len += strlen (info->type_stack->vtable); in stab_end_class_type() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | wrstabs.c | 84 char *vtable; member 411 s->vtable = NULL; in stab_push_string() 1468 char *vtable; in stab_start_class_type() local 1473 vtable = (char *) xmalloc (20); in stab_start_class_type() 1474 sprintf (vtable, "~%%%ld", info->type_stack->index); in stab_start_class_type() 1478 vtable = (char *) xmalloc (strlen (vstring) + 3); in stab_start_class_type() 1479 sprintf (vtable, "~%%%s", vstring); in stab_start_class_type() 1483 info->type_stack->vtable = vtable; in stab_start_class_type() 1801 if (info->type_stack->vtable != NULL) in stab_end_class_type() 1802 len += strlen (info->type_stack->vtable); in stab_end_class_type() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/docs/DesignDocs/ |
| H A D | VisibilityMacros.rst | 69 Mark a type's typeinfo, vtable and members as having default visibility. 73 Mark a type's typeinfo and vtable as having default visibility. 97 Mark the member functions, typeinfo, and vtable of the type named in 118 Mark the member functions, typeinfo, and vtable of an explicit instantiation 156 Mark the member functions, typeinfo, and vtable of the type as being exported
|
| /openbsd-src/gnu/usr.bin/texinfo/makeinfo/ |
| H A D | insertion.c | 608 case vtable: in begin_insertion() 1033 case vtable: in end_insertion() 1240 case vtable: in end_insertion() 1733 begin_insertion (vtable); in cm_vtable() 2238 case vtable: in cm_item() 2270 if (current_insertion_type () == vtable) in cm_item() 2282 if (!docbook && current_insertion_type () == vtable) in cm_item() 2341 else if (current_insertion_type () == vtable) in cm_item()
|
| H A D | insertion.h | 35 table, tex, vtable, titlepage, bad_type enumerator
|
| /openbsd-src/gnu/gcc/libstdc++-v3/libsupc++/ |
| H A D | tinfo.cc | 147 const void *vtable = *static_cast <const void *const *> (addr); in convert_to_base() local 149 offset = *adjust_pointer<ptrdiff_t> (vtable, offset); in convert_to_base() 721 const void *vtable = *static_cast <const void *const *> (src_ptr); in __dynamic_cast() local 723 adjust_pointer <vtable_prefix> (vtable, in __dynamic_cast()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/libsupc++/ |
| H A D | tinfo.cc | 134 const void *vtable = *static_cast <const void *const *> (addr); in convert_to_base() local 136 offset = *adjust_pointer<ptrdiff_t> (vtable, offset); in convert_to_base() 704 const void *vtable = *static_cast <const void *const *> (src_ptr); in __dynamic_cast() local 706 adjust_pointer <vtable_prefix> (vtable, in __dynamic_cast()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/libio/ |
| H A D | iofopen.c | 65 new_f->fp.vtable = NULL;
|
| /openbsd-src/gnu/llvm/libcxx/ |
| H A D | TODO.TXT | 5 * Look into mirroring libsupc++'s typeinfo vtable layout when libsupc++/libstdc++
|
| /openbsd-src/gnu/gcc/gcc/doc/ |
| H A D | cppenv.texi | 13 @vtable @env 83 @end vtable
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/doc/ |
| H A D | cppenv.texi | 13 @vtable @env 83 @end vtable
|