| /CTR-SDK-2.3.4/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-2.3.4/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-2.3.4/CTR_SDK/include/nn/math/ |
| D | math_Vector4.h | 129 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; } 130 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; } 131 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; } 132 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; } 133 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; } 135 self_type operator + () const { return *this; } 138 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret… 139 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret… 140 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } 151 return *VEC4Lerp(this, &lhs, &rhs, t); in Lerp() [all …]
|
| D | math_Matrix23.h | 104 explicit MTX23(const f32* p) { (void)MTX23Copy(this, reinterpret_cast<const MTX23*>(p)); } in MTX23() 106 explicit 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 explicit 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 | 119 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; } 120 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; } 121 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; } 122 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; } 125 self_type operator + () const { return *this; } 129 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret… 130 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret… 131 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; } 142 return *VEC3Lerp(this, &lhs, &rhs, t); in Lerp() 151 return VEC3Dot(this, &vec); in Dot() [all …]
|
| D | math_Matrix33.h | 147 explicit MTX33(const f32* p) { MTX33Copy(this, reinterpret_cast<const MTX33*>(p)); } in MTX33() 149 explicit 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 | 107 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; } 108 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; } 109 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; } 110 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; } 111 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; } 113 self_type operator + () const { return *this; } 129 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp() 138 return VEC2Dot(this, &vec); in Dot() 148 f32 Length() const { return FSqrt(this->x * this->x + this->y * this->y); } in Length() 153 return *VEC2Normalize(this, this); in Normalize() [all …]
|
| /CTR-SDK-2.3.4/CTR_SDK/include/nn/fslow/ |
| 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 const Char* GetString() const { return (*this)->GetString(); } in GetString() 58 operator const Char*() const { return (*this)->GetString(); } 59 const Char& operator[](int i) const { return (**this)[i]; } 60 operator bool() const { return (*this)->IsValid(); } 61 bool operator!() const { return !(*this)->IsValid(); } 65 Updater(*this)->EraseHead(size); in EraseHead() 71 const Char* s = *this; in GetArchiveNameLength() [all …]
|
| 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_IArchive.h | 113 …bool operator==(const ArchiveName& rhs) const { return std::memcmp(&this->m_Data, &rhs.m_Data, siz… 114 bool operator!=(const ArchiveName& rhs) const { return !(*this == rhs); } 116 …bool operator>(const ArchiveName& rhs) const { return std::memcmp(&this->m_Data, &rhs.m_Data, size… 117 bool operator<=(const ArchiveName& rhs) const { return !(*this > rhs); } 118 bool operator<(const ArchiveName& rhs) const { return rhs > *this; } 119 bool operator>=(const ArchiveName& rhs) const { return rhs <= *this; }
|
| /CTR-SDK-2.3.4/CTR_SDK/build/omake/ |
| D | platformdefs.om | 23 this.platforms[] = $(EMPTY) 27 return $(this) 31 return $(this) 44 this.platform_name = $(EMPTY) 45 this.compiler_type = $(EMPTY) 46 this.debugger_type = $(EMPTY) 52 return $(this) 55 return $(this.platform_name) 58 return $(this.compiler_type) 61 return $(this.debugger_type)
|
| /CTR-SDK-2.3.4/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;
|
| /CTR-SDK-2.3.4/CTR_SDK/build/omake/compilers/ |
| D | commondefs.cctype.RVCT.om | 82 this.CC = $"$(RVCT_BINDIR)armcc.exe" 83 this.CXX = $"$(RVCT_BINDIR)armcc.exe" 84 this.CPP = $"$(RVCT_BINDIR)armcc.exe" -E 85 this.AR = $"$(RVCT_BINDIR)armar.exe" 86 this.LD = $"$(RVCT_BINDIR)armlink.exe" 87 this.AS = $"$(RVCT_BINDIR)armasm.exe" 89 this.STRIP = $"$(RVCT_BINDIR)fromelf.exe" --strip debug,comment,symbols --elf 90 this.DISAS = $"$(RVCT_BINDIR)fromelf.exe" --32x1 -cd 92 this.CCFLAGS_MACRO = 105 # 1788: Explicit use of PC in this instruction is deprecated [all …]
|
| /CTR-SDK-2.3.4/CTR_SDK/build/omake_deprecated/ |
| 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-2.3.4/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-2.3.4/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()
|
| /CTR-SDK-2.3.4/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()
|