| /CTR-SDK-0.13.2/include/nn/socket/ |
| D | socket_IpcWrapper.h | 36 Result Socket( s32* rval, s32 af, s32 type, s32 protocol ); 37 Result Listen( s32* rval, s32 s, s32 backlog ); 38 Result Accept( s32* rval, s32 s, u8 sockAddr[], size_t salen ); 39 Result Bind( s32* rval, s32 s, const u8 sockAddr[], size_t salen ); 40 Result Connect( s32* rval, s32 s, const u8 sockAddr[], size_t salen ); 41 Result RecvFrom( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen ); 42 …Result RecvFromSmall( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen … 43 …Result SendTo( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_t sal… 44 …Result SendToSmall( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_… 45 …Result SendToSmallMulti( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], … [all …]
|
| D | socket_User.h | 87 nn::Result Socket( s32* rval, s32 af, s32 type, s32 protocol ); 88 nn::Result Listen( s32* rval, s32 s, s32 backlog ); 89 nn::Result Accept( s32* rval, s32 s, u8 sockAddr[], size_t salen ); 90 nn::Result Bind( s32* rval, s32 s, const u8 sockAddr[], size_t salen ); 91 nn::Result Connect( s32* rval, s32 s, const u8 sockAddr[], size_t salen ); 92 …nn::Result RecvFrom( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen ); 93 …nn::Result RecvFromSmall( s32* rval, s32 s, u8 buf[], s32* len, s32 flags, u8 sockFrom[], size_t s… 94 …nn::Result SendTo( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_t… 95 …nn::Result SendToSmall( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], s… 96 nn::Result Close( s32* rval, s32 s ); [all …]
|
| D | socket_Berkeley.h | 59 inline s32 Socket(s32 af, s32 type, s32 protocol) in Socket() 61 s32 rval = 0; in Socket() 83 inline s32 Listen(s32 s, s32 backlog) in Listen() 85 s32 rval = 0; in Listen() 127 inline s32 Accept(s32 s, SockAddrIn* sockAddr) in Accept() 129 s32 rval = 0; in Accept() 157 inline s32 Bind(s32 s, const SockAddrIn* sockAddr) in Bind() 159 s32 rval = 0; in Bind() 193 inline s32 Connect(s32 s, const SockAddrIn* sockAddr) in Connect() 195 s32 rval = 0; in Connect() [all …]
|
| /CTR-SDK-0.13.2/include/nn/fnd/ |
| D | fnd_DateTime.h | 53 s32 year; ///< 年 92 … DateTime(s32 year, s32 month, s32 day, s32 hour=0, s32 minute=0, s32 second=0, s32 millisecond=0); 101 s32 GetYear() const; 110 s32 GetMonth() const; 119 s32 GetDay() const; 137 s32 GetHour() const; 146 s32 GetMinute() const; 155 s32 GetSecond() const; 164 s32 GetMilliSecond() const; 177 DateTime ReplaceYear(s32 year) const; [all …]
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/nnet/ |
| D | nnet_ring.h | 34 s32 len; /**< データ長 */ 42 s32 len; /**< データ長 */ 45 u8* NNET_RingIn ( u8* buf, s32 size, u8* head, s32 used, const u8* data, s32 len ); 46 u8* NNET_RingInMbuf ( u8* buf, s32 size, u8* head, s32 used, NOSMessageBuf *mbuf, s32 len ); 47 …NNET_RingInExMbuf( u8* buf, s32 size, u8* head, s32 used, s32 offset, NOSMessageBuf *mbuf, s32* pl… 48 u8* NNET_RingOut( u8* buf, s32 size, u8* head, s32 used, u8* data, s32 len ); 49 int NNET_RingGet(u8* buf, s32 size, u8* head, s32 used, NNETVec* vec, s32 len); 50 int NNET_RingGetMbuf(u8* buf, s32 size, u8* head, s32 used, NOSMessageBuf *mbuf, s32 len); 51 u8* NNET_RingPut( u8* buf, s32 size, u8* head, s32 used, s32 len );
|
| /CTR-SDK-0.13.2/sources/libraries/fnd/ |
| D | fnd_DateTime.cpp | 24 static const s32 MILLISECONDS_DAY = 1000 * 60 * 60 * 24; 26 inline s32 Modulo32(s32 a, s32 b) in Modulo32() 31 inline s32 AlignedDays(s64 milliSeconds) in AlignedDays() 37 inline s32 MilliSecondsOnDay(s64 milliSeconds) in MilliSecondsOnDay() 49 s32 DateTime::IsLeapYear(s32 year) in IsLeapYear() 69 bool DateTime::IsValidDate(s32 year, s32 month, s32 day) in IsValidDate() 71 const s32 monthdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in IsValidDate() 85 s32 mdays; in IsValidDate() 98 …bool DateTime::IsValidParameters(s32 year, s32 month, s32 day, s32 hour, s32 minute, s32 second, s… in IsValidParameters() 124 s32 DateTime::DateToDays(s32 year, s32 month, s32 day) in DateToDays() [all …]
|
| /CTR-SDK-0.13.2/include/nn/os/ |
| D | os_Semaphore.h | 66 Semaphore(s32 initialCount, s32 maxCount); 82 void Initialize(s32 initialCount, s32 maxCount); 92 nn::Result TryInitialize(s32 initialCount, s32 maxCount); 117 s32 Release(s32 releaseCount = 1); 141 Result TryInitializeImpl(s32 initialCount, s32 maxCount); 145 inline Result Semaphore::TryInitializeImpl(s32 initialCount, s32 maxCount) in TryInitializeImpl() 153 inline void Semaphore::Initialize(s32 initialCount, s32 maxCount) in Initialize() 158 inline nn::Result Semaphore::TryInitialize(s32 initialCount, s32 maxCount) in TryInitialize() 169 inline Semaphore::Semaphore(s32 initialCount, s32 maxCount) in Semaphore() 174 inline s32 Semaphore::Release(s32 releaseCount) in Release() [all …]
|
| D | os_LightSemaphore.h | 54 bool operator()(s32& x) in operator() 69 s32 max; 70 s32 value; 71 s32 beforeUpdate; 73 bool operator()(s32& x) in operator() 92 s32 m_Max; 120 LightSemaphore(s32 initialCount, s32 maxCount) { Initialize(initialCount, maxCount); } in LightSemaphore() 131 void Initialize(s32 initialCount, s32 maxCount) in Initialize() 162 s32 GetMax() const { return m_Max; } in GetMax() 170 s32 GetCount() const { return *m_Counter; } in GetCount() [all …]
|
| D | os_Thread.h | 76 s32 ConvertSvcToLibraryPriority(s32 svc); 77 s32 ConvertLibraryToSvcPriority(s32 lib); 83 const s32 LOWEST_THREAD_PRIORITY = NN_OS_LOWEST_THREAD_PRIORITY; 88 const s32 HIGHEST_THREAD_PRIORITY = NN_OS_HIGHEST_THREAD_PRIORITY; 93 const s32 DEFAULT_THREAD_PRIORITY = NN_OS_DEFAULT_THREAD_PRIORITY; 98 const s32 CORE_NO_ALL = NN_OS_CORE_NO_ALL; 103 const s32 CORE_NO_USE_PROCESS_VALUE = NN_OS_CORE_NO_USE_PROCESS_VALUE; 105 const s32 THREAD_PRIORITY_RANGE_SIZE = NN_OS_THREAD_PRIORITY_RANGE_SIZE; 208 …void Start(void (*f)(), Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO… 231 …void Start(void (*f)(T), U param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo… [all …]
|
| D | os_Synchronization.h | 87 static void WaitAll(WaitObject* objs[], s32 numObjects); 99 static bool WaitAll(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout); 110 static s32 WaitAny(WaitObject* objs[], s32 numObjects); 122 static s32 WaitAny(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout); 133 …static nn::Result WaitMultiple(s32* pOut, WaitObject* objs[], s32 numObjects, bool waitAll, s64 na… 153 s32 dummy; in WaitOneImpl() 170 inline bool WaitObject::WaitAll(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout) in WaitAll() 172 s32 dummy; in WaitAll() 178 inline void WaitObject::WaitAll(WaitObject* objs[], s32 numObjects) in WaitAll() 180 s32 dummy; in WaitAll() [all …]
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/ |
| D | peth.h | 38 #define PETH_ERROR_CODE(code) ((s32)(PETH_ERROR_BASE|(code))) 55 #define PETH_MEM_NAME(name) ((s32)(PETH_MEM_BASE|(name))) 99 s32 upper_protocol_count; 103 s32 upper_ins_count; 105 s32 state; 133 extern s32 PETH_Init(const NNETAllocator *allocator); 134 extern s32 PETH_Finish(void); 135 extern s32 PETH_StartupIns(NNETInstance *ins, s32 timeout); 136 extern s32 PETH_CleanupIns(NNETInstance *ins, s32 timeout); 137 extern s32 PETH_AbortIns(NNETInstance *ins); [all …]
|
| D | hioeth.h | 40 #define HIOETH_ERROR_CODE(code) ((s32)(HIOETH_ERROR_BASE | (code))) 59 #define HIOETH_MEM_NAME(name) ((s32)(HIOETH_MEM_BASE | (name))) 101 s32 upper_ins_count; 103 s32 state; 104 s32 handleHostToTarget; 105 s32 handleTargetToHost; 139 extern s32 HIOETH_Init(const NNETAllocator* allocator); 140 extern s32 HIOETH_Finish(void); 141 extern s32 HIOETH_StartupIns(NNETInstance* ins, s32 timeout); 142 extern s32 HIOETH_CleanupIns(NNETInstance* ins, s32 timeout); [all …]
|
| /CTR-SDK-0.13.2/include/nn/fnd/ARMv6/ |
| D | fnd_Interlocked.h | 55 …me T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == sizeof(s32)>::type> 57 typedef s32 Type; 71 static s32 CompareAndSwap(s32* pTarget, s32 comp, s32 swap); 72 static s32 Swap(s32* pTarget, s32 value); 73 static s32 Increment(s32* pTarget); 74 static s32 Decrement(s32* pTarget); 75 static s32 Add(s32* pTarget, s32 value); 76 static s32 Substract(s32* pTarget, s32 value); 77 static s32 BitwiseOr(s32* pTarget, s32 value); 78 static s32 BitwiseAnd(s32* pTarget, s32 value); [all …]
|
| /CTR-SDK-0.13.2/include/nn/snd/CTR/MPCore/ |
| D | snd_Api.h | 34 static const s32 NN_SND_DSP_MAXIMUM_CYCLES = 622535; 78 s32 prio, 79 s32 coreNo = NN_OS_CORE_NO_USE_PROCESS_VALUE 85 nn::Result StartUserSoundThread(uptr stackBuffer, size_t stackSize, s32 prio); 225 s32 GetSampleLength( s32 size, SampleFormat format, s32 channelCount ) ; 307 bool GetMixedBusData(s16* pData, s32 nSamplesPerFrame = NN_SND_SAMPLES_PER_FRAME); 380 bool SetSurroundSpacialFilter(s16* pSrc, s32 nCoeffs); 391 bool SetSurroundDirectionFilter(s16* pSrc, s32 nCoeffs, s32 mode); 402 bool SetSurroundIirFilterCoeffs(s32* pSrc, s32 nCoeffs, s32 mode); 427 void SetMaximumDspCycles( s32 cycles ); [all …]
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/nhttp/ |
| D | nhttp.h | 37 #define NHTTP_ER_CODE(code) ((s32)(NHTTP_ER_BASE|(code))) 180 typedef s32 NHTTPConnectionHandle; /**< 接続ハンドルID */ 185 typedef s32 (*NHTTPConnectionCallback)(NHTTPConnectionHandle handle, NHTTPConnectionEvent event, vo… 242 s32 NHTTP_Startup(const NHTTPConfig *config); 243 s32 NHTTP_Cleanup(void); 251 s32 NHTTP_DestroyConnection(NHTTPConnectionHandle handle); 252 s32 NHTTP_StartConnection(NHTTPConnectionHandle handle); 253 s32 NHTTP_StartConnectionAsync(NHTTPConnectionHandle handle); 254 s32 NHTTP_CancelConnection(NHTTPConnectionHandle handle); 255 s32 NHTTP_WaitForConnection(NHTTPConnectionHandle handle); [all …]
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/nssl/ |
| D | nssl.h | 44 #define NSSL_ERROR_CODE(code) ((s32)(NSSL_ERROR_BASE|(code))) 132 typedef s32 NSSLId; /**< NSSL記述子 */ 133 typedef s32 NSSLCertId; /**< 証明書 ID */ 134 typedef s32 NSSLCertStoreId; /**< 証明書ストア ID */ 135 typedef s32 NSSLCRLId; /**< CRL ID */ 136 typedef s32 NSSLCRLStoreId; /**< CRL ストア ID */ 157 s32 NSSL_Init ( const NSSLConfig* config ); 158 s32 NSSL_Finish ( void ); 160 s32 NSSL_DoHandshake ( NSSLId sslId ); 161 s32 NSSL_DoHandshakeEx ( NSSLId sslId, char* serverCertData, size_t serverCertSize, u… [all …]
|
| /CTR-SDK-0.13.2/include/nn/hio/CTR/ |
| D | hio_Api.h | 69 s32 GetVersion(); 184 Result GetCurrentDirectory(s32* pLength, char* buf, s32 length); 199 Result GetCurrentDirectory(s32* pLength, wchar_t* buf, s32 length); 212 s32 GetCurrentDirectory(char* buf, s32 length); 225 s32 GetCurrentDirectory(wchar_t* buf, s32 length); 264 Result GetEnvironmentVariable(s32* pLength, char* buf, s32 length, const char* name); 278 s32 GetEnvironmentVariable(char* buf, size_t length, const char* name); 295 Result GetEnvironmentVariable(s32* pLength, wchar_t* buf, s32 length, const wchar_t* name); 310 s32 GetEnvironmentVariable(wchar_t* buf, s32 length, const wchar_t* name);
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/nwcm/ |
| D | nwcm.h | 42 #define NWCM_ERROR_CODE(code) ((s32)(NWCM_ERROR_BASE|(code))) 59 #define NWCM_MEM_NAME(name) ((s32)(NWCM_MEM_BASE|(name))) 156 s32 upper_protocol_count; 160 s32 upper_ins_count; 162 s32 state; 190 extern s32 NWCM_Init(const NNETAllocator *allocator); 191 extern s32 NWCM_Finish(void); 192 extern s32 NWCM_SetCommonConfig(const NWCMCommonConfig *common_conf); 193 extern s32 NWCM_SetInstanceConfig(NWCMInstance *wcm_ins, const NWCMInstanceConfig *ins_conf); 194 extern s32 NWCM_StartupIns(NNETInstance *ins, s32 timeout); [all …]
|
| /CTR-SDK-0.13.2/include/nn/net/compatible/nsoc/ |
| D | nsoc_admin.h | 45 #define NSOC_ERROR_CODE(code) ((s32)(NSOC_ERROR_BASE|(code))) 104 s32 timeWaitBuffer; /**< TCPのTIME-WAITソケットを保持するためのバッファサイズ */ 106 s32 reassembleMtu; /**< 再構築後の最大IPパケットサイズ */ 109 s32 rwin; /**< TCP受信ウインドウサイズ(default 2 x MSS) */ 110 s32 r2; /**< TCP再送のトータル時間(default 100 sec) */ 113 s32 udpRecvBuff; /**< UDP受信バッファサイズ(default 4416 byte) */ 117 s32 rdhcp; /**< DHCP再送回数(default 4) */ 147 s32 mtu; /**< MTUサイズ */ 165 typedef void (* NSOCConfigErrorCallback )(NSOCInstancePtr insP, s32 err); 187 extern s32 NSOC_Init(const NNETAllocator *allocator); [all …]
|
| /CTR-SDK-0.13.2/include/nn/gr/CTR/ |
| D | gr_Scissor.h | 50 …Scissor( bool isEnable_, s32 x_, s32 y_, u32 width_, u32 height_, s32 bufferWidth_, s32 bufferHeig… in Scissor() 72 void Set( s32 x_, s32 y_, u32 width_, u32 height_ ) in Set() 83 void SetBufferSize( s32 bufferWidth_, s32 bufferHeight_ ) in SetBufferSize() 98 s32 x; 103 s32 y; 118 s32 bufferWidth; 123 s32 bufferHeight;
|
| /CTR-SDK-0.13.2/sources/libraries/fnd/ARMv6/ |
| D | fnd_Interlocked.cpp | 28 asm s32 Interlocked::CompareAndSwap(s32* pTarget NN_IS_UNUSED_VAR, s32 comp NN_IS_UNUSED_VAR, s32 s… in CompareAndSwap() 53 asm s32 Interlocked::Swap(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Swap() 68 asm s32 Interlocked::Increment(s32* pTarget NN_IS_UNUSED_VAR) in Increment() 84 asm s32 Interlocked::Decrement(s32* pTarget NN_IS_UNUSED_VAR) in Decrement() 100 asm s32 Interlocked::Add(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Add() 116 asm s32 Interlocked::Substract(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Substract() 132 asm s32 Interlocked::BitwiseOr(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseOr() 148 asm s32 Interlocked::BitwiseAnd(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseAnd() 164 asm s32 Interlocked::BitwiseXor(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseXor() 180 asm s32 Interlocked::BitwiseNot(s32* pTarget NN_IS_UNUSED_VAR) in BitwiseNot()
|
| /CTR-SDK-0.13.2/include/nn/net/osl/ |
| D | osl_MbufPool.h | 31 typedef s32 FreeIndex; 39 void Initialize(u16 id, s16 unitSize, s32 count, uptr base, bool bServer); 42 s32 GetMaxCount(void) const; 43 s32 GetFreeCount(void) const; 52 Mbuf* GetPtrFromIndex(s32 index); 55 static size_t GetRequiredMemorySize(s16 unitSize, s32 count); 62 s32* GetWaitCountPtr(); 63 s32* GetFreeIndexPtr(void); 70 s32 m_count; 78 SharedArea(size_t unitSize, s32 count); [all …]
|
| /CTR-SDK-0.13.2/include/nn/nstd/ |
| D | nstd_Printf.h | 34 s32 TVSNPrintf(char *dst, size_t len, const char *fmt, va_list vlist); 35 s32 TVSNPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, va_list vlist); 46 s32 TSNPrintf(char *dst, size_t len, const char *fmt, ...); 47 s32 TSNPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, ...); 57 s32 TSPrintf(char *dst, const char *fmt, ...); 58 s32 TSPrintf(wchar_t *dst, const wchar_t *fmt, ...); 68 NN_EXTERN_C s32 nnnstdTVSNPrintf(char *dst, size_t len, const char *fmt, va_list vlist); 69 NN_EXTERN_C s32 nnnstdTSNPrintf(char *dst, size_t len, const char *fmt, ...); 70 NN_EXTERN_C s32 nnnstdTSPrintf(char *dst, const char *fmt, ...); 71 NN_EXTERN_C s32 nnnstdTVSNWPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, va_list vlist); [all …]
|
| /CTR-SDK-0.13.2/sources/libraries/ndm/ |
| D | ndm_DebugControl.cpp | 32 s32 s; in GetCurrentState() 39 s32 s; in GetTargetState() 53 s32 s; in GetDaemonStatus() 58 void GetDaemonDisableCount( DaemonName name, s32& count, s32& countTotal ) in GetDaemonDisableCount() 63 void GetSchedulerDisableCount( s32& count, s32& countTotal ) in GetSchedulerDisableCount() 68 s32 GetScanInterval( void ) in GetScanInterval() 70 s32 interval; in GetScanInterval() 75 void SetScanInterval( s32 interval ) in SetScanInterval() 80 s32 GetRetryInterval( void ) in GetRetryInterval() 82 s32 interval; in GetRetryInterval() [all …]
|
| /CTR-SDK-0.13.2/include/nn/cx/ |
| D | cx_StreamingUncompression.h | 31 s32 destCount; //!< 残り書き込みサイズ 4B 32 s32 forceDestCount; //!< 強制的に展開先サイズを設定 4B 46 s32 destCount; //!< 残り書き込みサイズ 4B 47 s32 forceDestCount; //!< 強制的に展開先サイズを設定 4B 48 s32 length; //!< 連続書き込み残り長 4B 65 s32 destCount; //!< 残り書き込みサイズ 4B 66 s32 forceDestCount; //!< 強制的に展開先サイズを設定 4B 87 s32 destCount; //!< 残り書き込みサイズ 4B 88 s32 forceDestCount; //!< 強制的に展開先サイズを設定 4B 92 s32 tableSize9; //!< 読み込み途中のテーブルサイズ 4B [all …]
|