Lines Matching defs:base
69 void *base=Core::base(this);
70 if (base) { // only if we are managed by the collector
77 // finalized; instead we use an offset-from-base-address
79 Core::register_finalizer_ignore_self(base, _invoke_dtor,
80 _offset(base, this),
85 // base address, there are two main possibilities:
99 Core::register_finalizer_ignore_self(base,
109 Core::register_finalizer_ignore_self(Core::base(this),
114 /// invoke the destructor for an object given a base and offset pair
115 static void _invoke_dtor(void *base, void *offset);
117 /// turn 'this' pointer into an offset-from-base-address (stored as void *)
118 static void *_offset(void *base, Finalized *self) {
120 reinterpret_cast<char *>(self) - reinterpret_cast<char *>(base)
123 /// reconstitute 'this' given an offset-from-base-address in a void *
124 static Finalized *_unoffset(void *base, void *offset) {
126 reinterpret_cast<char *>(base) +