Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 73) sorted by relevance

123

/CTR-SDK-4.2.5/include/nn/util/
Dutil_Int64.h35 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 …]
Dutil_Color.h67 /* 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 …]
Dutil_Float24.h100 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 …]
Dutil_FlagsEnum.h86 Self& operator =(bit32 v) { Replace(v); return *this; }
97 Self& operator =(int v) { Replace(v); return *this; }
218 FlagsEnum1<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
219 FlagsEnum1<EnumT>& operator =(int v) { this->Replace(v); return *this; }
255 FlagsEnum2<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
256 FlagsEnum2<EnumT>& operator =(int v) { this->Replace(v); return *this; }
292 FlagsEnum4<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
293 FlagsEnum4<EnumT>& operator =(int v) { this->Replace(v); return *this; }
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_FixedLengthString.h90 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 …]
Dfnd_FrameHeap.h180 this->m_CurrentHead = this->m_Addr; in FreeAll()
186 this->m_CurrentTail = this->m_Addr + this->m_Size; in FreeAll()
199 if ( current < this->m_CurrentHead ) in ResizeBlock()
201 DebugFillMemory(current, this->m_CurrentHead - current, HEAP_FILL_TYPE_FREE); in ResizeBlock()
203 if ( this->m_CurrentHead < current ) in ResizeBlock()
205 FillMemoryZero(this->m_CurrentHead, current - this->m_CurrentHead); in ResizeBlock()
207 this->m_CurrentHead = current; in ResizeBlock()
234 this->m_Size = m_CurrentHead - m_Addr; in Adjust()
235 this->m_CurrentTail = m_CurrentHead; in Adjust()
236 return MemoryRange(this->m_CurrentTail, oldtail); in Adjust()
[all …]
Dfnd_ExpHeap.h321 ScopedLock lk(*this);
334 ScopedLock lk(*this); in Free()
359 ScopedLock lk(*this); in ResizeBlock()
373 ScopedLock lk(*this); in VisitAllBlocks()
384 ScopedLock lk(*this); in GetStartAddress()
395 ScopedLock lk(*this); in GetTotalSize()
406 ScopedLock lk(*this); in GetTotalFreeSize()
419 ScopedLock lk(*this);
435 ScopedLock lk(*this); in Adjust()
451 ScopedLock lk(*this); in Adjust()
[all …]
Dfnd_Queue.h104 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()
Dfnd_UnitHeap.h120 this->m_FreeNode = 0; in Finalize()
130 this->m_FreeNode = 0; in Invalidate()
138 this->m_FreeNode = m_FreeNode->next; in Allocate()
139 ++this->m_Count; in Allocate()
162 this->m_FreeNode = reinterpret_cast<Node*&>(p); in Free()
163 --this->m_Count; in Free()
312 ScopedLock lk(*this); in Allocate()
323 ScopedLock lk(*this); in Free()
351 ScopedLock lk(*this); in GetAllocatableCount()
361 ScopedLock lk(*this); in GetAllocatedCount()
[all …]
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector4.h285 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; }
288 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; }
291 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; }
294 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
297 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; }
300 self_type operator + () const { return *this; }
306 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
309 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret…
312 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; }
325 return *VEC4Lerp(this, &lhs, &rhs, t); in Lerp()
[all …]
Dmath_Matrix23.h272 explicit MTX23(const f32* p) { (void)MTX23Copy(this, reinterpret_cast<const MTX23*>(p)); } in MTX23()
274 explicit MTX23(const MTX22& rhs) { MTX22ToMTX23(this, &rhs); } in MTX23()
290 operator f32*() { return this->a; }
293 operator const f32*() const { return this->a; }
299 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow()
306 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow()
314 column.x = this->m[0][index]; in GetColumn()
315 column.y = this->m[1][index]; in GetColumn()
323 this->m[0][index] = column.x; in SetColumn()
324 this->m[1][index] = column.y; in SetColumn()
[all …]
Dmath_Matrix43.h203 explicit MTX43(const f32* p) { (void)MTX43Copy(this, (MTX43*)p); } in MTX43()
223 operator f32*() { return this->a; }
225 operator const f32*() const { return this->a; }
231 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow()
238 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow()
246 column.x = this->m[0][index]; in GetColumn()
247 column.y = this->m[1][index]; in GetColumn()
248 column.z = this->m[2][index]; in GetColumn()
249 column.w = this->m[3][index]; in GetColumn()
257 this->m[0][index] = column.x; in SetColumn()
[all …]
Dmath_Matrix22.h181 operator f32*() { return this->a; }
183 operator const f32*() const { return this->a; }
189 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow()
196 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow()
204 column.x = this->m[0][index]; in GetColumn()
205 column.y = this->m[1][index]; in GetColumn()
213 this->m[0][index] = column.x; in SetColumn()
214 this->m[1][index] = column.y; in SetColumn()
223 self_type& SetupIdentity() { return *MTX22Identity(this); } in SetupIdentity()
232 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX22)) ==…
[all …]
Dmath_Vector3.h283 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; }
286 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; }
289 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; }
292 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; }
298 self_type operator + () const { return *this; }
305 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret…
308 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret…
311 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; }
324 return *VEC3Lerp(this, &lhs, &rhs, t); in Lerp()
333 return VEC3Dot(this, &vec); in Dot()
[all …]
Dmath_Matrix33.h188 explicit MTX33(const f32* p) { MTX33Copy(this, reinterpret_cast<const MTX33*>(p)); } in MTX33()
190 explicit MTX33(const MTX34& rhs) { MTX34ToMTX33(this, &rhs); } in MTX33()
207 operator f32*() { return this->a; }
209 operator const f32*() const { return this->a; }
215 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow()
222 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow()
230 column.x = this->m[0][index]; in GetColumn()
231 column.y = this->m[1][index]; in GetColumn()
232 column.z = this->m[2][index]; in GetColumn()
240 this->m[0][index] = column.x; in SetColumn()
[all …]
Dmath_Vector2.h261 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; }
264 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; }
267 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; }
270 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
273 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; }
276 self_type operator + () const { return *this; }
301 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp()
310 return VEC2Dot(this, &vec); in Dot()
320 f32 Length() const { return FSqrt(this->x * this->x + this->y * this->y); } in Length()
325 return *VEC2Normalize(this, this); in Normalize()
[all …]
Dmath_Matrix44.h544 explicit MTX44(const f32* p) { (void)MTX44Copy(this, (MTX44*)p); } in MTX44()
549 (void)MTX34Copy((MTX34*)this, (MTX34*)&rhs); in MTX44()
554 MTX44(const MTX44& rhs) { (void)MTX44Copy(this, &rhs); } in MTX44()
575 operator f32*() { return this->a; }
578 operator const f32*() const { return this->a; }
584 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
591 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
599 column.x = this->m[0][index]; in GetColumn()
600 column.y = this->m[1][index]; in GetColumn()
601 column.z = this->m[2][index]; in GetColumn()
[all …]
Dmath_Matrix34.h616 explicit MTX34(const f32* p) { (void)MTX34Copy(this, (MTX34*)p); } in MTX34()
619 MTX34(const MTX34& rhs) { (void)MTX34Copy(this, &rhs); } in MTX34()
622 explicit MTX34(const MTX33& rhs) { MTX33ToMTX34(this, &rhs); } in MTX34()
641 operator f32*() { return this->a; }
644 operator const f32*() const { return this->a; }
650 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
657 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
665 column.x = this->m[0][index]; in GetColumn()
666 column.y = this->m[1][index]; in GetColumn()
667 column.z = this->m[2][index]; in GetColumn()
[all …]
/CTR-SDK-4.2.5/include/nn/fslow/
Dfslow_SafePath.h51 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 …]
Dfslow_Path.h111 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 …]
Dfslow_IArchive.h113 …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-4.2.5/build/omake/
Dplatformdefs.om23 this.platforms[] = $(EMPTY)
27 return $(this)
31 return $(this)
45 this.platform_name = $(EMPTY)
46 this.compiler_type = $(EMPTY)
47 this.debugger_type = $(EMPTY)
53 return $(this)
56 return $(this.platform_name)
59 return $(this.compiler_type)
62 return $(this.debugger_type)
/CTR-SDK-4.2.5/include/nn/os/
Dos_Tick.h239 return *this; in ToTimeSpan()
247 this->m_Tick += tick;
248 return *this;
251 inline Tick& Tick::operator-=(Tick rhs) { this->m_Tick -= rhs.m_Tick; return *this; }
252 inline Tick Tick::operator-(Tick rhs) const { Tick ret(*this); return ret -= rhs; }
253 inline Tick& Tick::operator+=(Tick rhs) { this->m_Tick += rhs.m_Tick; return *this; }
254 inline Tick Tick::operator+(Tick rhs) const { Tick ret(*this); return ret += rhs; }
255 inline Tick Tick::operator+(fnd::TimeSpan rhs) const { Tick ret(*this); return ret += rhs; }
/CTR-SDK-4.2.5/build/omake/compilers/
Dcommondefs.cctype.RVCT.om91 this.CC = $"$(RVCT_BINDIR)armcc.exe"
92 this.CXX = $"$(RVCT_BINDIR)armcc.exe"
93 this.CPP = $"$(RVCT_BINDIR)armcc.exe" -E
94 this.AR = $"$(RVCT_BINDIR)armar.exe"
95 this.LD = $"$(RVCT_BINDIR)armlink.exe"
96 this.AS = $"$(RVCT_BINDIR)armasm.exe"
98 this.STRIP = $"$(RVCT_BINDIR)fromelf.exe" --strip debug,comment,symbols --elf
99 this.DISAS = $"$(RVCT_BINDIR)fromelf.exe" --32x1 -cd
101 this.CCFLAGS_MACRO =
114 # 1788: Explicit use of PC in this instruction is deprecated
[all …]
/CTR-SDK-4.2.5/include/nn/font/
Dfont_ResourceFormat.h180 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()

123