Lines Matching refs:object
52 // Return the vtable pointer of a polymorphic object pointed by p.
69 // Return offset to object in a vtable.
80 // Return the virtual pointer to the most derived object of referred by a
91 // We assume that -1 cannot be a valid pointer to object.
98 get_subobject(const void* object,
109 return adjust_pointer(object, offset);
112 // Helper of __dyanmic_cast to walk the type tree of an object.
115 walk_object(const void *object,
121 return (match_object == NULL || object == match_object) ? object : NULL;
134 return walk_object(object, ti->__base_type, match_object,
140 const void* vtable = get_vtable(object);
152 get_subobject(object, vtable, &ti->__base_info[i]);
182 const void* object;
192 : object(obj), src_type(src), dst_type(dst), src2dst_offset(offset),
200 base_to_derived_cast(const void *object,
207 context->dst_object = object;
209 if (object == context->object
232 base_to_derived_cast(object, ti->__base_type, context);
238 const void* vtable = get_vtable(object);
249 get_subobject(object, vtable, &ti->__base_info[i]);
274 * source object is polymorphic, *(void**)v is a virtual pointer.
275 * src: static type of the source object.
278 * source subobject with respect to the complete object;
309 // If, in the most derived object pointed (referred) to by v, v points
310 // (refers) to a public base class subobject of a T object [note: this can
311 // be checked at compile time], and if only one object of type T is derived
313 // (an lvalue referring) to that T object.
317 // of type T in the most derived object.
321 // of a T object, simply adjust the pointer by the offset.
327 // most derived object.
342 // most derived object, and the type of the most derived object has an
344 // lvalue referring) to the T subobject of the most derived object.