Searched defs:Offset (Results 1 – 1 of 1) sorted by relevance
176 typedef struct Offset struct181 // /* ctor */ Offset() : offset(0) {} argument183 static Offset s32_to_ofs(s32 ofs) { return *reinterpret_cast<Offset*>(&ofs); } in s32_to_ofs() argument187 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); } argument195 else { offset = GetOffsetFromPtr(this, ptr); } in set_ptr() argument198 void* to_ptr() in to_ptr()205 const void* to_ptr() const in to_ptr()213 const T* to_ptr() const in to_ptr()240 } Offset; typedef