| /CTR-SDK-1.0.0/CTR_SDK/include/nn/util/ |
| D | util_Int64.h | 35 Int64& operator++() { Base lhs = *this; lhs++; *this = lhs; return *this; } 36 Int64& operator--() { Base lhs = *this; lhs--; *this = lhs; return *this; } 37 Int64& operator+=(Base rhs) { Base lhs = *this; lhs += rhs; *this = lhs; return *this; } 38 Int64& operator-=(Base rhs) { Base lhs = *this; lhs -= rhs; *this = lhs; return *this; } 39 Int64& operator*=(Base rhs) { Base lhs = *this; lhs *= rhs; *this = lhs; return *this; } 40 Int64& operator/=(Base rhs) { Base lhs = *this; lhs /= rhs; *this = lhs; return *this; } 41 Int64& operator%=(Base rhs) { Base lhs = *this; lhs %= rhs; *this = lhs; return *this; } 42 Int64& operator|=(Base rhs) { Base lhs = *this; lhs |= rhs; *this = lhs; return *this; } 43 Int64& operator&=(Base rhs) { Base lhs = *this; lhs &= rhs; *this = lhs; return *this; } 44 Int64& operator^=(Base rhs) { Base lhs = *this; lhs ^= rhs; *this = lhs; return *this; } [all …]
|
| D | util_Color.h | 67 /* ctor */ Color8() { this->SetU32(WHITE); } in Color8() 72 /* ctor */ /*implicit*/ Color8(u32 color) { this->SetU32(color); } in Color8() 105 this->SetU32(color); 106 return *this; 136 nn::math::Min(this->r + right.r, ELEMENT_MAX), 137 nn::math::Min(this->g + right.g, ELEMENT_MAX), 138 nn::math::Min(this->b + right.b, ELEMENT_MAX), 139 nn::math::Min(this->a + right.a, ELEMENT_MAX) 154 nn::math::Max(this->r - right.r, ELEMENT_MIN), 155 nn::math::Max(this->g - right.g, ELEMENT_MIN), [all …]
|
| D | util_Float24.h | 100 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; } 101 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; } 105 f32 operator +(f32 right) const { return this->m_Float32 + right; } 106 f32 operator -(f32 right) const { return this->m_Float32 - right; } 107 f32 operator *(f32 right) const { return this->m_Float32 * right; } 108 f32 operator /(f32 right) const { return this->m_Float32 / right; } 110 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; } 111 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; } 112 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; } 113 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; } [all …]
|
| D | util_FlagsEnum.h | 41 Self& operator =(bit32 v) { Replace(v); return *this; } 42 Self& operator =(int v) { Replace(v); return *this; } 62 FlagsEnum1<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 63 FlagsEnum1<EnumT>& operator =(int v) { this->Replace(v); return *this; } 74 FlagsEnum2<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 75 FlagsEnum2<EnumT>& operator =(int v) { this->Replace(v); return *this; } 86 FlagsEnum4<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 87 FlagsEnum4<EnumT>& operator =(int v) { this->Replace(v); return *this; }
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/fnd/ |
| D | fnd_FixedLengthString.h | 90 this->m_Length = -1; in SetInvalid() 91 this->m_Data[0] = 0; in SetInvalid() 92 this->m_Data = 0; in SetInvalid() 134 this->m_Data[i] = *s++; 149 this->m_Data = m_Buffer + index; 156 this->m_Length = length; in SetLength() 157 this->m_Data[length] = 0; in SetLength() 235 return *this; in Clear() 253 Char GetChar(s32 i) const { return (*this)[i]; } in GetChar() 258 if (!this->IsValid() || !str.IsValid()) in AppendHead() [all …]
|
| D | fnd_FrameHeap.h | 178 this->m_CurrentHead = this->m_Addr; in FreeAll() 184 this->m_CurrentTail = this->m_Addr + this->m_Size; in FreeAll() 197 if ( current < this->m_CurrentHead ) in ResizeBlock() 199 DebugFillMemory(current, this->m_CurrentHead - current, HEAP_FILL_TYPE_FREE); in ResizeBlock() 201 if ( this->m_CurrentHead < current ) in ResizeBlock() 203 FillMemoryZero(this->m_CurrentHead, current - this->m_CurrentHead); in ResizeBlock() 205 this->m_CurrentHead = current; in ResizeBlock() 232 this->m_Size = m_CurrentHead - m_Addr; in Adjust() 233 this->m_CurrentTail = m_CurrentHead; in Adjust() 234 return MemoryRange(this->m_CurrentTail, oldtail); in Adjust() [all …]
|
| D | fnd_ExpHeap.h | 317 ScopedLock lk(*this); 330 ScopedLock lk(*this); in Free() 355 ScopedLock lk(*this); in ResizeBlock() 369 ScopedLock lk(*this); in VisitAllBlocks() 380 ScopedLock lk(*this); in GetStartAddress() 391 ScopedLock lk(*this); in GetTotalSize() 402 ScopedLock lk(*this); in GetTotalFreeSize() 415 ScopedLock lk(*this); 431 ScopedLock lk(*this); in Adjust() 447 ScopedLock lk(*this); in Adjust() [all …]
|
| D | fnd_Queue.h | 104 this->m_Head = this->m_Tail = pNode; in Enqueue() 110 this->m_Tail = p; in Enqueue() 126 this->m_Head = 0; in Dequeue() 130 this->m_Head = m_Head->m_NextLink; in Dequeue() 149 this->m_Head = 0; in Clear()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ |
| D | math_Vector4.h | 121 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; } 122 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; } 123 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; } 124 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; } 125 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; } 127 self_type operator + () const { return *this; } 130 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret… 131 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret… 132 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } 143 return *VEC4Lerp(this, &lhs, &rhs, t); in Lerp() [all …]
|
| D | math_Matrix23.h | 104 MTX23(const f32* p) { (void)MTX23Copy(this, reinterpret_cast<const MTX23*>(p)); } in MTX23() 106 MTX23(const MTX22& rhs) { MTX22ToMTX23(this, &rhs); } in MTX23() 122 operator f32*() { return this->a; } 125 operator const f32*() const { return this->a; } 131 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 138 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 146 column.x = this->m[0][index]; in GetColumn() 147 column.y = this->m[1][index]; in GetColumn() 155 this->m[0][index] = column.x; in SetColumn() 156 this->m[1][index] = column.y; in SetColumn() [all …]
|
| D | math_Matrix43.h | 109 MTX43(const f32* p) { (void)MTX43Copy(this, (MTX43*)p); } in MTX43() 129 operator f32*() { return this->a; } 131 operator const f32*() const { return this->a; } 137 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 144 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 152 column.x = this->m[0][index]; in GetColumn() 153 column.y = this->m[1][index]; in GetColumn() 154 column.z = this->m[2][index]; in GetColumn() 155 column.w = this->m[3][index]; in GetColumn() 163 this->m[0][index] = column.x; in SetColumn() [all …]
|
| D | math_Matrix22.h | 116 operator f32*() { return this->a; } 118 operator const f32*() const { return this->a; } 124 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow() 131 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow() 139 column.x = this->m[0][index]; in GetColumn() 140 column.y = this->m[1][index]; in GetColumn() 148 this->m[0][index] = column.x; in SetColumn() 149 this->m[1][index] = column.y; in SetColumn() 158 self_type& SetupIdentity() { return *MTX22Identity(this); } in SetupIdentity() 167 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX22)) ==… [all …]
|
| D | math_Vector3.h | 111 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; } 112 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; } 113 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; } 114 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; } 117 self_type operator + () const { return *this; } 121 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret… 122 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret… 123 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; } 134 return *VEC3Lerp(this, &lhs, &rhs, t); in Lerp() 143 return VEC3Dot(this, &vec); in Dot() [all …]
|
| D | math_Matrix33.h | 147 MTX33(const f32* p) { MTX33Copy(this, reinterpret_cast<const MTX33*>(p)); } in MTX33() 149 MTX33(const MTX34& rhs) { MTX34ToMTX33(this, &rhs); } in MTX33() 166 operator f32*() { return this->a; } 168 operator const f32*() const { return this->a; } 174 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 181 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 189 column.x = this->m[0][index]; in GetColumn() 190 column.y = this->m[1][index]; in GetColumn() 191 column.z = this->m[2][index]; in GetColumn() 199 this->m[0][index] = column.x; in SetColumn() [all …]
|
| D | math_Vector2.h | 99 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; } 100 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; } 101 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; } 102 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; } 103 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; } 105 self_type operator + () const { return *this; } 121 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp() 130 return VEC2Dot(this, &vec); in Dot() 140 f32 Length() const { return FSqrt(this->x * this->x + this->y * this->y); } in Length() 145 return *VEC2Normalize(this, this); in Normalize() [all …]
|
| D | math_Matrix34.h | 230 MTX34(const f32* p) { (void)MTX34Copy(this, (MTX34*)p); } in MTX34() 233 MTX34(const MTX34& rhs) { (void)MTX34Copy(this, &rhs); } in MTX34() 236 MTX34(const MTX33& rhs) { MTX33ToMTX34(this, &rhs); } in MTX34() 255 operator f32*() { return this->a; } 258 operator const f32*() const { return this->a; } 264 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow() 271 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow() 279 column.x = this->m[0][index]; in GetColumn() 280 column.y = this->m[1][index]; in GetColumn() 281 column.z = this->m[2][index]; in GetColumn() [all …]
|
| D | math_Matrix44.h | 286 MTX44(const f32* p) { (void)MTX44Copy(this, (MTX44*)p); } in MTX44() 291 (void)MTX34Copy((MTX34*)this, (MTX34*)&rhs); in MTX44() 296 MTX44(const MTX44& rhs) { (void)MTX44Copy(this, &rhs); } in MTX44() 317 operator f32*() { return this->a; } 320 operator const f32*() const { return this->a; } 326 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow() 333 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow() 341 column.x = this->m[0][index]; in GetColumn() 342 column.y = this->m[1][index]; in GetColumn() 343 column.z = this->m[2][index]; in GetColumn() [all …]
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/fslow/ |
| D | fslow_Path.h | 111 this->m_PathType = pathType; in LowPath() 112 this->m_Data = data; in LowPath() 113 this->m_BinarySize = size; in LowPath() 119 this->m_PathType = PATH_TYPE_EMPTY; in LowPath() 121 this->m_Data = &m_Data; in LowPath() 122 this->m_BinarySize = 1; in LowPath() 128 this->m_PathType = PATH_TYPE_BINARY; in SetBinary() 129 this->m_Data = p; in SetBinary() 130 this->m_BinarySize = sizeof(T); in SetBinary() 144 this->m_PathType = PATH_TYPE_STRING; in LowPath() [all …]
|
| D | fslow_SafePath.h | 51 size_t GetLength() const { return (*this)->GetLength(); } in GetLength() 53 size_t GetDataSize() const { return ((*this)->GetLength() + 1) * sizeof(Char); } in GetDataSize() 54 const void* GetDataBuffer() const { return &((*this)[0]); } in GetDataBuffer() 56 operator const Char*() const { return (*this)->GetString(); } 57 const Char& operator[](int i) const { return (**this)[i]; } 58 operator bool() const { return (*this)->IsValid(); } 59 bool operator!() const { return !(*this)->IsValid(); } 63 Updater(*this)->EraseHead(size); in EraseHead() 69 const Char* s = *this; in GetArchiveNameLength() 83 std::wcstombs(buf, (*this)->GetString(), 512); in PRINT()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/os/ |
| D | os_Tick.h | 89 Tick& operator-=(Tick rhs) { this->m_Tick -= rhs.m_Tick; return *this; } 90 Tick operator-(Tick rhs) const { Tick ret(*this); return ret -= rhs; } 92 Tick& operator+=(Tick rhs) { this->m_Tick += rhs.m_Tick; return *this; } 93 Tick operator+(Tick rhs) const { Tick ret(*this); return ret += rhs; } 96 Tick operator+(fnd::TimeSpan rhs) const { Tick ret(*this); return ret += rhs; } 119 return *this; in ToTimeSpan() 125 this->m_Tick += tick; 126 return *this;
|
| D | os_MemoryBlockBase.h | 67 this->m_Addr = addr; in SetAddressAndSize() 68 this->m_Size = size; in SetAddressAndSize() 70 void SetReadOnly(bool readOnly) { this->m_ReadOnly = readOnly; } in SetReadOnly()
|
| /CTR-SDK-1.0.0/CTR_SDK/build/omake/ |
| D | testutil.om | 229 this.program = $(program) 230 return $(this) 243 this.program = $(program) 244 this.exitPattern = $(exitpattern) 245 this.timeOut = $(timeout) 246 this.depends = $(depends) 247 return $(this) 330 this.runProgram = $(runProgram) 331 this.exitPattern = $(exitPattern) 332 this.cdiDepends = $(cdiDepends) [all …]
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/friends/CTR/ |
| D | friends_Types.h | 130 this->principalId = NN_FRIENDS_INVALID_PRINCIPAL_ID; in initialize() 131 this->localFriendCode = NN_FRIENDS_INVALID_LOCAL_FRIEND_CODE; in initialize() 136 this->principalId = principalId; in initialize() 137 this->localFriendCode = NN_FRIENDS_INVALID_LOCAL_FRIEND_CODE; in initialize() 142 this->principalId = NN_FRIENDS_INVALID_PRINCIPAL_ID; in initialize() 143 this->localFriendCode = localFriendCode; in initialize() 148 this->principalId = principalId; in initialize() 149 this->localFriendCode = localFriendCode; in initialize()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/ |
| D | Handle.h | 119 bool operator ==(const Handle& rhs) const { return this->m_Handle == rhs.m_Handle; } 120 bool operator !=(const Handle& rhs) const { return this->m_Handle != rhs.m_Handle; } 121 operator nnHandle() const { nnHandle handle = {this->m_Handle}; return handle; } in nnHandle()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/font/ |
| D | font_ResourceFormat.h | 180 return reinterpret_cast<CMapScanEntry*>( reinterpret_cast<uptr>(this) + sizeof(*this) ); in GetEntries() 260 return reinterpret_cast<CharWidths*>( reinterpret_cast<uptr>(this) + sizeof(*this) ); in GetWidthTable() 281 return reinterpret_cast<u16*>( reinterpret_cast<uptr>(this) + sizeof(*this) ); in GetMapInfo()
|