| /CTR-SDK-0.14.4/sources/libraries/rdt/CTR/ |
| D | rdt_RingBuffer.cpp | 81 void RingBuffer::Pop(size_t n) in Pop() argument 85 WARNINGMSG(n > 0, "Argument is not positive number. Do nothing.\n"); in Pop() 87 if(n > 0) in Pop() 89 size_t len = min(n, m_dataLength); in Pop() 92 u8 *p = m_pHeadData += n; in Pop() 109 bool RingBuffer::Push(const void *pBuf, size_t n) in Push() argument 114 if(n <= 0) in Push() 116 PANIC("Size of buffer is not positive number.(n=%d)\n", n); in Push() 120 if(m_dataLength + n > m_bufLength) in Push() 132 if(dst + n > getEndOfBuffer()) in Push() [all …]
|
| D | rdt_RingBuffer.h | 62 void Pop(size_t n); 66 bool Push(const void *pBuf, size_t n); 72 size_t Read(void *pBuf, size_t n) const; 78 size_t Read(void *pBuf, size_t n, size_t offset) const; 122 size_t read(void *pBuf, size_t n, size_t offset) const;
|
| D | rdt_Transceiver.cpp | 354 int n = SendRawData(m_sock, &seg, sizeof(Segment)); in Put() local 357 int n = SendRawData(&m_sendEp, m_remoteNodeId, m_port, &seg, sizeof(Segment), &ret); in Put() local 359 if(n==sizeof(Segment)) in Put() 368 VERBOSE("セグメントの送信を試みましたが、SendRawData()に失敗したようです…。(n = %d)\n", n); in Put() 385 int n = RecvRawData(m_sock, pSeg, sizeof(Segment)); in Pull() local 388 int n = RecvRawData(&m_recvEp, pSeg, sizeof(Segment), &ret); in Pull() local 390 if((n==sizeof(Segment)) && pSeg->IsValid()) in Pull() 396 else if(n==0) in Pull() 404 LOG("It seems that size of segment is wrong(%d byte)\n", n); in Pull()
|
| D | rdt_Deque.h | 94 const T& At(size_t n) const; 213 const T& Deque<T, N>::At(size_t n) const in At() argument 215 ASSERT(n < Size()); in At() 217 return m_array[(m_front + n) % N]; in At()
|
| D | rdt_ReceiveBuffer.cpp | 84 void ReceiveBuffer::Pop(size_t n) in Pop() argument 88 ASSERT(n >= 0); in Pop() 89 m_ringBuf.Pop(n); in Pop()
|
| D | rdt_Segment.h | 121 void SetWindowSize(u16 n) { header.windowSize = n; } in SetWindowSize()
|
| D | rdt_ReceiveBuffer.h | 68 void Pop(size_t n);
|
| /CTR-SDK-0.14.4/sources/libraries/math/ |
| D | math_Arithmetic.cpp | 583 const u32 n = u32(last - first); in CntBit1() local 589 for (i = 0; i < n; i += 31) in CntBit1() 591 lim = (n < i + 31) ? n : (i + 31); in CntBit1() 624 unsigned int n = 0; in DistBit() local 627 n += DistBit(*first1, *first2); in DistBit() 631 return n; in DistBit() 666 IExp(int x, u32 n) in IExp() argument 674 if (n & 1) { y *= p; } in IExp() 675 n >>= 1; in IExp() 676 if (n == 0) { return y; } in IExp() [all …]
|
| D | math_Equation.cpp | 345 f32 m, n, y; in SolveEquation4() local 387 n = FSqrt(spow<2>(y) - r); in SolveEquation4() 388 m = -q / (2 * n); in SolveEquation4() 399 n = FSqrt(spow<2>(y) - r); in SolveEquation4() 420 int nRoot01 = SolveEquation2(root01, m, y + n); in SolveEquation4() 431 int nRoot23 = SolveEquation2(root23, -m, y - n); in SolveEquation4()
|
| /CTR-SDK-0.14.4/include/nn/config/compiler/ |
| D | rvct.h | 32 #define NN_ATTRIBUTE_ALIGN(n) __attribute__ ((aligned(n))) argument 35 #define NN_ATTRIBUTE_FORMAT(type, m, n) \ argument 36 __attribute__ ((format(type,m,n)))
|
| D | egcc.h | 33 #define NN_ATTRIBUTE_ALIGN(n) __attribute__ ((aligned(n))) argument
|
| /CTR-SDK-0.14.4/sources/libraries/fnd/ |
| D | fnd_Backoff.cpp | 28 volatile int n; in BackOffImpl() local 31 n = 0; in BackOffImpl()
|
| /CTR-SDK-0.14.4/sources/libraries/os/ |
| D | os_DeliverArg.cpp | 60 s32 n = 0; in GetArgcCore() local 61 for (; *p; p++, n++) in GetArgcCore() 68 return n; in GetArgcCore() 71 const char* GetArgvCore(const char* p, int n) in GetArgvCore() argument 73 NN_TASSERT_(n >= 0); in GetArgvCore() 74 for (; *p && n > 0; p++, n--) in GetArgvCore() 460 const char* DeliverArg::GetArgv(int n) in GetArgv() argument 463 NN_TASSERT_(n >= 0); in GetArgv() 467 return (n == 0) ? procName: GetArgvCore(reinterpret_cast<const char*>(m_pInfo->buf), n - 1); in GetArgv()
|
| D | os_ContinuationIterator.cpp | 85 bit32 n = ChangeContext(0, m_MainContext, m_IteratorContext); in MoveNext() local 86 if (n == ITERATE_YIELD) in MoveNext() 91 else if (n == ITERATE_END) in MoveNext()
|
| D | os_ThreadPool.cpp | 173 s32 n; in WaitThreadFunc() local 174 …NN_ERR_THROW_FATAL(nn::svc::WaitSynchronization(&n, GetWaitHandleBuffer(), m_WaitingCount + 1, fal… in WaitThreadFunc() 176 if (n >= 1) in WaitThreadFunc() 183 task = GetWaitTaskBuffer()[n - 1]->AsNonWaitableTask(); in WaitThreadFunc() 184 GetWaitTaskBuffer()[n - 1] = GetWaitTaskBuffer()[m_WaitingCount - 1]; in WaitThreadFunc() 185 GetWaitHandleBuffer()[n] = GetWaitHandleBuffer()[m_WaitingCount]; in WaitThreadFunc()
|
| /CTR-SDK-0.14.4/sources/libraries/tpl/CTR/ |
| D | tpl_crc32.cpp | 119 int n = 0; in search_crc32_index() local 123 while(n <= m) in search_crc32_index() 125 int c = (n + m) / 2; in search_crc32_index() 146 n = c + 1; in search_crc32_index()
|
| /CTR-SDK-0.14.4/include/nn/fnd/ARMv6/ |
| D | fnd_Interlocked.h | 111 Storage n; 118 x.n = LoadStore::LoadRegEx(reinterpret_cast<volatile Storage*&>(p)); 126 … if ( LoadStore::StoreRegEx(x.n, reinterpret_cast<volatile Storage*&>(p)) == 0 ) 143 Storage n; 148 x.n = LoadStore::LoadRegEx(reinterpret_cast<volatile Storage*&>(p)); 154 LoadStore::StoreRegEx(x.n, reinterpret_cast<volatile Storage*&>(p)); 159 ret = LoadStore::StoreRegEx(x.n, reinterpret_cast<volatile Storage*&>(p));
|
| /CTR-SDK-0.14.4/include/nn/math/ |
| D | math_Matrix44.h | 66 NN_MATH_INLINE MTX44* MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 67 NN_MATH_INLINE MTX44* MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 68 NN_MATH_INLINE MTX44* MTX44PerspectiveRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f); 84 NN_MATH_INLINE MTX44* MTX44FrustumPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, Pivo… 85 NN_MATH_INLINE MTX44* MTX44OrthoPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotD… 86 NN_MATH_INLINE MTX44* MTX44PerspectivePivotRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f, Piv… 90 NN_FORCE_INLINE MTX44* MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 98 NN_FORCE_INLINE MTX44* MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 99 NN_FORCE_INLINE MTX44* MTX44PerspectiveRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f); 127 MTX44PerspectiveDeg(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f) in MTX44PerspectiveDeg() argument [all …]
|
| D | math_Transform.h | 125 …INLINE VEC3* VEC3TransformNormalArray(VEC3* pOutArray, const MTX34* pM, const VEC3* pArray, u32 n); 131 NN_MATH_INLINE VEC4* VEC4TransformArray(VEC4* pOut, const MTX44* pM, const VEC4* pV, u32 n); 142 …ray, const MTX34& m, const VEC3* pArray, u32 n) { return VEC3TransformNormalArray( pOutArray, &m, … in VEC3TransformNormalArray() argument 148 …tArray, const MTX44& m, const VEC4* pArray, u32 n) { return VEC4TransformArray( pOutArray, &m, pAr… in VEC4TransformArray() argument
|
| D | math_Geometry.h | 371 FRUSTUM(f32 fovyRad, f32 aspect, f32 n, f32 f, const MTX34& camera) in FRUSTUM() argument 373 Set(fovyRad, aspect, n, f, camera); in FRUSTUM() 387 FRUSTUM(f32 top, f32 bottom, f32 left, f32 right, f32 n, f32 f, const MTX34& camera) in FRUSTUM() argument 389 Set(top, bottom, left, right, n, f, camera); in FRUSTUM() 417 void Set(f32 top, f32 bottom, f32 left, f32 right, f32 n, f32 f, const MTX34& camera); 428 void Set(f32 fovyRad, f32 aspect, f32 n, f32 f, const MTX34& camera) in Set() argument 431 f32 ny = tanRad * n; in Set() 433 Set(ny, -ny, -nx, nx, n, f, camera); in Set()
|
| /CTR-SDK-0.14.4/include/nn/fnd/ |
| D | fnd_FixedLengthString.h | 334 bit32 n = (x >> ((7 - i) * 4)) & 0xf; in AppendHeadAsHex() local 335 NN_TASSERT_(0 <= n && n < 16); in AppendHeadAsHex() 336 hex[i] = static_cast<Char>(n < 10 ? '0' + n : 'a' + (n - 10)); in AppendHeadAsHex() 358 bit32 n = (x >> ((7 - i) * 4)) & 0xf; in AppendTailAsHex() local 359 NN_TASSERT_(0 <= n && n < 16); in AppendTailAsHex() 360 p[i] = static_cast<Char>(n < 10 ? '0' + n : 'a' + (n - 10)); in AppendTailAsHex() 469 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs… variable 470 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
|
| D | fnd_Allocator.h | 89 …er allocate(size_type n, void* = 0) { return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, … 119 …pointer allocate(size_type n, void* = 0) { return static_cast<T*>(s_Allocator->Allocate(n * sizeof…
|
| /CTR-SDK-0.14.4/include/nn/math/ARMv6/ |
| D | math_Matrix44.h | 28 NN_MATH_INLINE MTX44* MTX44PerspectiveRadC(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f); 29 NN_MATH_INLINE MTX44* MTX44PerspectiveRadC_FAST(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f); 30 NN_MATH_INLINE MTX44* MTX44FrustumC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 31 NN_MATH_INLINE MTX44* MTX44FrustumC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 32 NN_MATH_INLINE MTX44* MTX44OrthoC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f); 33 NN_MATH_INLINE MTX44* MTX44OrthoC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
|
| /CTR-SDK-0.14.4/include/nn/math/inline/ |
| D | math_Matrix44.ipp | 205 @param[in] n ニアクリッピング面までの距離。 212 MTX44FrustumPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot) 214 MTX44Frustum( pOut, l, r, b, t, n, f ); 229 @param[in] n ニアクリッピング面までの距離。 236 MTX44OrthoPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot) 238 MTX44Ortho( pOut, l, r, b, t, n, f ); 251 @param[in] n ニアクリッピング面までの距離。 258 MTX44PerspectivePivotRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f, PivotDirection pivot) 260 MTX44PerspectiveRad( pOut, fovy, aspect, n, f );
|
| /CTR-SDK-0.14.4/include/gles2/ |
| D | gl2ext.h | 593 GL_APICALL GLsizei GL_APIENTRY glSaveProgramsDMP ( GLuint n, GLuint* progs, GLuint flags, GLsize… 594 GL_APICALL void GL_APIENTRY glRestoreProgramsDMP ( GLuint n, GLuint offset, GLuint* progs, GLuin… 619 GL_APICALL GLsizei GL_APIENTRY glSaveVertexStateCollectionsDMP ( GLuint n, GLuint* vscolls, GLui… 620 GL_APICALL void GL_APIENTRY glRestoreVertexStateCollectionsDMP ( GLuint n, GLuint offset, GLuint… 626 GL_APICALL GLsizei GL_APIENTRY glSaveTextureCollectionsDMP ( GLuint n, GLuint* txcolls, GLuint f… 627 GL_APICALL void GL_APIENTRY glRestoreTextureCollectionsDMP ( GLuint n, GLuint offset, GLuint* tx… 658 GL_APICALL void GL_APIENTRY glUniformsDMP(GLuint n, GLint* locations, GLsizei* counts, const GLuint… 659 GL_APICALL void GL_APIENTRY glGetUniformsDMP(GLuint program, GLuint n, GLint* locations, GLsizei* c…
|