Searched defs:Offset (Results 1 – 1 of 1) sorted by relevance
178 typedef struct Offset struct183 // /* ctor */ Offset() : offset(0) {} argument185 static Offset s32_to_ofs(s32 ofs) { return *reinterpret_cast<Offset*>(&ofs); } in s32_to_ofs() argument189 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); } argument197 else { offset = GetOffsetFromPtr(this, ptr); } in set_ptr() argument200 void* to_ptr() in to_ptr()207 const void* to_ptr() const in to_ptr()215 const T* to_ptr() const in to_ptr()242 } Offset; argument