| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/os/ |
| D | os_BlockingQueue.cpp | 305 void nnosBlockingQueueInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size) in nnosBlockingQueueInitialize() argument 307 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueInitialize() 312 bool nnosBlockingQueueTryInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size) in nnosBlockingQueueTryInitialize() argument 314 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueTryInitialize() 320 void nnosBlockingQueueFinalize(nnosBlockingQueue* this_) in nnosBlockingQueueFinalize() argument 322 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueFinalize() 327 bool nnosBlockingQueueTryEnqueue(nnosBlockingQueue* this_, uptr data) in nnosBlockingQueueTryEnqueue() argument 329 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueTryEnqueue() 333 void nnosBlockingQueueEnqueue(nnosBlockingQueue* this_, uptr data) in nnosBlockingQueueEnqueue() argument 335 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueEnqueue() [all …]
|
| D | os_InterCoreBlockingQueue.cpp | 312 void nnosInterCoreBlockingQueueInitialize(nnosInterCoreBlockingQueue* this_, uptr buffer[], size_t … in nnosInterCoreBlockingQueueInitialize() argument 314 …InterCoreBlockingQueue* pInterCoreBlockingQueue = reinterpret_cast<InterCoreBlockingQueue*>(this_); in nnosInterCoreBlockingQueueInitialize() 319 bool nnosInterCoreBlockingQueueTryInitialize(nnosInterCoreBlockingQueue* this_, uptr buffer[], size… in nnosInterCoreBlockingQueueTryInitialize() argument 321 …InterCoreBlockingQueue* pInterCoreBlockingQueue = reinterpret_cast<InterCoreBlockingQueue*>(this_); in nnosInterCoreBlockingQueueTryInitialize() 327 void nnosInterCoreBlockingQueueFinalize(nnosInterCoreBlockingQueue* this_) in nnosInterCoreBlockingQueueFinalize() argument 329 …InterCoreBlockingQueue* pInterCoreBlockingQueue = reinterpret_cast<InterCoreBlockingQueue*>(this_); in nnosInterCoreBlockingQueueFinalize() 334 bool nnosInterCoreBlockingQueueTryEnqueue(nnosInterCoreBlockingQueue* this_, uptr data) in nnosInterCoreBlockingQueueTryEnqueue() argument 336 …InterCoreBlockingQueue* pInterCoreBlockingQueue = reinterpret_cast<InterCoreBlockingQueue*>(this_); in nnosInterCoreBlockingQueueTryEnqueue() 340 void nnosInterCoreBlockingQueueEnqueue(nnosInterCoreBlockingQueue* this_, uptr data) in nnosInterCoreBlockingQueueEnqueue() argument 342 …InterCoreBlockingQueue* pInterCoreBlockingQueue = reinterpret_cast<InterCoreBlockingQueue*>(this_); in nnosInterCoreBlockingQueueEnqueue() [all …]
|
| D | os_SharedMemory.cpp | 162 void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool readOnly, bool o… in nnosSharedMemoryBlockAllocate() argument 164 new (this_) SharedMemoryBlock(size, readOnly, otherReadOnly, noMap); in nnosSharedMemoryBlockAllocate() 167 void nnosSharedMemoryBlockInitializeNoAllocate(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockInitializeNoAllocate() argument 169 new (this_) SharedMemoryBlock(); in nnosSharedMemoryBlockInitializeNoAllocate() 172 void nnosSharedMemoryBlockFree(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockFree() argument 174 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockFree() 178 uptr nnosSharedMemoryBlockGetAddress(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockGetAddress() argument 180 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockGetAddress() 184 size_t nnosSharedMemoryBlockGetSize(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockGetSize() argument 186 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockGetSize() [all …]
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/http/ |
| D | http_Connection.h | 964 NN_EXTERN_C nnResult nnhttpConnectionInitialize(nnhttpConnection* this_, const char *pUrl, nnHttpRe… 969 NN_EXTERN_C nnResult nnhttpConnectionFinalize(nnhttpConnection* this_); 974 NN_EXTERN_C nnResult nnhttpConnectionConnect(nnhttpConnection* this_); 979 NN_EXTERN_C nnResult nnhttpConnectionConnectAsync(nnhttpConnection* this_); 984 NN_EXTERN_C nnResult nnhttpConnectionCancel(nnhttpConnection* this_); 989 NN_EXTERN_C nnResult nnhttpConnectionRead(nnhttpConnection* this_, u8* pBodyBuf, u32 bufLen); 994 NN_EXTERN_C nnResult nnhttpConnectionGetStatus(const nnhttpConnection* this_, nnHttpStatus* pStatus… 999 NN_EXTERN_C nnResult nnhttpConnectionGetProgress(const nnhttpConnection* this_, u32* pReceivedLen, … 1004 NN_EXTERN_C nnResult nnhttpConnectionGetError(const nnhttpConnection* this_, nnHttpResultCode* pRes… 1012 NN_EXTERN_C nnResult nnhttpConnectionSetProxy(nnhttpConnection* this_, const char* pProxyName, u16 … [all …]
|
| D | http_CertStore.h | 147 NN_EXTERN_C nnResult nnhttpCertStoreInitialize(nnhttpCertStore* this_); 152 NN_EXTERN_C nnResult nnhttpCertStoreFinalize(nnhttpCertStore* this_); 157 NN_EXTERN_C nnResult nnhttpCertStoreRegisterCert(nnhttpCertStore* this_, const u8* pCertData, size_… 162 NN_EXTERN_C nnResult nnhttpCertStoreRegisterInternalCert(nnhttpCertStore* this_, NnHttpInternalCaCe… 168 NN_EXTERN_C nnResult nnhttpCertStoreUnRegisterCert(nnhttpCertStore* this_, NnHttpCertId certId);
|
| D | http_ClientCert.h | 125 NN_EXTERN_C nnResult nnhttpClientCertInitialize(nnhttpClientCert* this_, const u8* pCertData, size_… 130 NN_EXTERN_C nnResult nnhttpClientCertInitializeByInternalCert(nnhttpClientCert* this_, NnHttpIntern… 136 NN_EXTERN_C nnResult nnhttpClientCertFinalize(nnhttpClientCert* this_);
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/os/ |
| D | os_LightEvent.h | 270 NN_EXTERN_C void nnosLightEventInitialize(nnosLightEvent* this_, bool isManualReset); 275 NN_EXTERN_C bool nnosLightEventIsSignaled(nnosLightEvent* this_); 280 NN_EXTERN_C bool nnosLightEventIsManualReset(nnosLightEvent* this_); 285 NN_EXTERN_C bool nnosLightEventTryWait(nnosLightEvent* this_); 290 NN_EXTERN_C void nnosLightEventWait(nnosLightEvent* this_); 295 NN_EXTERN_C void nnosLightEventSignal(nnosLightEvent* this_); 300 NN_EXTERN_C void nnosLightEventPulse(nnosLightEvent* this_); 305 NN_EXTERN_C void nnosLightEventClearSignal(nnosLightEvent* this_); 310 NN_EXTERN_C void nnosLightEventFinalize(nnosLightEvent* this_);
|
| D | os_BlockingQueue.h | 520 NN_EXTERN_C void nnosBlockingQueueInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size); 525 NN_EXTERN_C bool nnosBlockingQueueTryInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t siz… 530 NN_EXTERN_C void nnosBlockingQueueFinalize(nnosBlockingQueue* this_); 535 NN_EXTERN_C bool nnosBlockingQueueTryEnqueue(nnosBlockingQueue* this_, uptr data); 540 NN_EXTERN_C void nnosBlockingQueueEnqueue(nnosBlockingQueue* this_, uptr data); 545 NN_EXTERN_C bool nnosBlockingQueueTryJam(nnosBlockingQueue* this_, uptr data); 550 NN_EXTERN_C void nnosBlockingQueueJam(nnosBlockingQueue* this_, uptr data); 555 NN_EXTERN_C bool nnosBlockingQueueTryDequeue(nnosBlockingQueue* this_, uptr* pOut); 560 NN_EXTERN_C uptr nnosBlockingQueueDequeue(nnosBlockingQueue* this_); 565 NN_EXTERN_C bool nnosBlockingQueueTryGetFront(nnosBlockingQueue* this_, uptr* pOut); [all …]
|
| D | os_SharedMemory.h | 74 NN_EXTERN_C void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool read… 75 NN_EXTERN_C void nnosSharedMemoryBlockInitializeNoAllocate(nnosSharedMemoryBlock* this_); 76 NN_EXTERN_C void nnosSharedMemoryBlockFree(nnosSharedMemoryBlock* this_); 77 NN_EXTERN_C uptr nnosSharedMemoryBlockGetAddress(nnosSharedMemoryBlock* this_); 78 NN_EXTERN_C size_t nnosSharedMemoryBlockGetSize(nnosSharedMemoryBlock* this_); 79 NN_EXTERN_C bool nnosSharedMemoryBlockIsReadOnly(nnosSharedMemoryBlock* this_);
|
| D | os_InterCoreBlockingQueue.h | 304 NN_EXTERN_C void nnosInterCoreBlockingQueueInitialize(nnosInterCoreBlockingQueue* this_, uptr buffe… 306 NN_EXTERN_C bool nnosInterCoreBlockingQueueTryInitialize(nnosInterCoreBlockingQueue* this_, uptr bu… 308 NN_EXTERN_C void nnosInterCoreBlockingQueueFinalize(nnosInterCoreBlockingQueue* this_); 310 NN_EXTERN_C bool nnosInterCoreBlockingQueueTryEnqueue(nnosInterCoreBlockingQueue* this_, uptr data); 312 NN_EXTERN_C void nnosInterCoreBlockingQueueEnqueue(nnosInterCoreBlockingQueue* this_, uptr data); 314 NN_EXTERN_C bool nnosInterCoreBlockingQueueTryJam(nnosInterCoreBlockingQueue* this_, uptr data); 316 NN_EXTERN_C void nnosInterCoreBlockingQueueJam(nnosInterCoreBlockingQueue* this_, uptr data); 318 NN_EXTERN_C bool nnosInterCoreBlockingQueueTryDequeue(nnosInterCoreBlockingQueue* this_, uptr* pOut… 320 NN_EXTERN_C uptr nnosInterCoreBlockingQueueDequeue(nnosInterCoreBlockingQueue* this_); 322 NN_EXTERN_C bool nnosInterCoreBlockingQueueTryGetFront(nnosInterCoreBlockingQueue* this_, uptr* pOu… [all …]
|
| D | os_Timer.h | 262 NN_EXTERN_C void nnosTimerInitialize(nnosTimer* this_, bool isManualReset); 267 NN_EXTERN_C bool nnosTimerTryInitialize(nnosTimer* this_, bool isManualReset); 272 NN_EXTERN_C void nnosTimerStartPeriodic(nnosTimer* this_, s64 first, s64 interval); 277 NN_EXTERN_C void nnosTimerStartOneShot(nnosTimer* this_, s64 time); 282 NN_EXTERN_C void nnosTimerWait(nnosTimer* this_); 287 NN_EXTERN_C void nnosTimerStop(nnosTimer* this_); 292 NN_EXTERN_C void nnosTimerClearSignal(nnosTimer* this_); 297 NN_EXTERN_C void nnosTimerFinalize(nnosTimer* this_); 302 NN_EXTERN_C void nnosTimerSignal(nnosTimer* this_);
|
| D | os_Mutex.h | 247 NN_EXTERN_C void nnosMutexInitialize(nnosMutex* this_, bool initialLocked); 252 NN_EXTERN_C bool nnosMutexTryInitialize(nnosMutex* this_, bool initialLocked); 257 NN_EXTERN_C void nnosMutexLock(nnosMutex* this_); 262 NN_EXTERN_C bool nnosMutexTryLock(nnosMutex* this_, s64 timeout); 267 NN_EXTERN_C void nnosMutexUnlock(nnosMutex* this_); 272 NN_EXTERN_C void nnosMutexFinalize(nnosMutex* this_);
|
| D | os_Event.h | 238 NN_EXTERN_C void nnosEventInitialize(nnosEvent* this_, bool manualReset); 243 NN_EXTERN_C bool nnosEventTryInitialize(nnosEvent* this_, bool manualReset); 248 NN_EXTERN_C void nnosEventSignal(nnosEvent* this_); 253 NN_EXTERN_C void nnosEventWaitSignal(nnosEvent* this_); 258 NN_EXTERN_C bool nnosEventTryWaitSignal(nnosEvent* this_, s64 nanoSecondsTimeout); 263 NN_EXTERN_C void nnosEventClearSignal(nnosEvent* this_); 268 NN_EXTERN_C void nnosEventFinalize(nnosEvent* this_);
|
| D | os_InterCoreCriticalSection.h | 283 NN_EXTERN_C void nnosInterCoreCriticalSectionInitialize(nnosInterCoreCriticalSection* this_); 285 NN_EXTERN_C bool nnosInterCoreCriticalSectionTryInitialize(nnosInterCoreCriticalSection* this_); 287 NN_EXTERN_C void nnosInterCoreCriticalSectionEnter(nnosInterCoreCriticalSection* this_); 289 NN_EXTERN_C bool nnosInterCoreCriticalSectionTryEnter(nnosInterCoreCriticalSection* this_); 291 NN_EXTERN_C void nnosInterCoreCriticalSectionLeave(nnosInterCoreCriticalSection* this_); 293 NN_EXTERN_C void nnosInterCoreCriticalSectionFinalize(nnosInterCoreCriticalSection* this_);
|
| D | os_CriticalSection.h | 311 NN_EXTERN_C void nnosCriticalSectionInitialize(nnosCriticalSection* this_); 316 NN_EXTERN_C bool nnosCriticalSectionTryInitialize(nnosCriticalSection* this_); 321 NN_EXTERN_C void nnosCriticalSectionEnter(nnosCriticalSection* this_); 326 NN_EXTERN_C bool nnosCriticalSectionTryEnter(nnosCriticalSection* this_); 331 NN_EXTERN_C void nnosCriticalSectionLeave(nnosCriticalSection* this_); 336 NN_EXTERN_C void nnosCriticalSectionFinalize(nnosCriticalSection* this_);
|
| D | os_Semaphore.h | 218 NN_EXTERN_C void nnosSemaphoreInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount); 223 NN_EXTERN_C bool nnosSemaphoreTryInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount); 228 NN_EXTERN_C s32 nnosSemaphoreRelease(nnosSemaphore* this_, s32 releaseCount); 233 NN_EXTERN_C void nnosSemaphoreAcquire(nnosSemaphore* this_); 238 NN_EXTERN_C bool nnosSemaphoreTryAcquire(nnosSemaphore* this_, s64 nanoSeconds); 243 NN_EXTERN_C void nnosSemaphoreFinalize(nnosSemaphore* this_);
|
| D | os_LightSemaphore.h | 304 NN_EXTERN_C void nnosLightSemaphoreInitialize(nnosLightSemaphore* this_, s32 initialCount, s32 maxC… 321 NN_EXTERN_C s32 nnosLightSemaphoreRelease(nnosLightSemaphore* this_, s32 releaseCount); 326 NN_EXTERN_C void nnosLightSemaphoreAcquire(nnosLightSemaphore* this_); 331 NN_EXTERN_C bool nnosLightSemaphoreTryAcquire(nnosLightSemaphore* this_); 336 NN_EXTERN_C void nnosLightSemaphoreFinalize(nnosLightSemaphore* this_);
|
| D | os_InterCoreLightSemaphore.h | 288 NN_EXTERN_C void nnosInterCoreLightSemaphoreInitialize(nnosInterCoreLightSemaphore* this_, s32 init… 296 NN_EXTERN_C s32 nnosInterCoreLightSemaphoreRelease(nnosInterCoreLightSemaphore* this_, s32 releaseC… 298 NN_EXTERN_C void nnosInterCoreLightSemaphoreAcquire(nnosInterCoreLightSemaphore* this_); 300 NN_EXTERN_C bool nnosInterCoreLightSemaphoreTryAcquire(nnosInterCoreLightSemaphore* this_); 302 NN_EXTERN_C void nnosInterCoreLightSemaphoreFinalize(nnosInterCoreLightSemaphore* this_);
|
| D | os_ThreadPool.h | 316 NN_EXTERN_C void nnosThreadPoolTaskInitialize(nnosThreadPoolTask* this_, void (*f)(uptr), uptr para… 322 NN_EXTERN_C void nnosThreadPoolTaskFinalize(nnosThreadPoolTask* this_); 338 NN_EXTERN_C void nnosThreadPoolWaitTaskInitialize(nnosThreadPoolWaitTask* this_, nnosWaitObject* wa… 343 NN_EXTERN_C void nnosThreadPoolWaitTaskFinalize(nnosThreadPoolWaitTask* this_); 359 NN_EXTERN_C void nnosThreadPoolInitialize(nnosThreadPool* this_, void* workBuffer, size_t numMaxWai… 361 NN_EXTERN_C void nnosThreadPoolInitializeWithStackMemoryBlock(nnosThreadPool* this_, void* workBuff… 367 NN_EXTERN_C void nnosThreadPoolFinalize(nnosThreadPool* this_); 372 NN_EXTERN_C void nnosThreadPoolAddWaitTask(nnosThreadPool* this_, nnosThreadPoolWaitTask* task); 377 NN_EXTERN_C void nnosThreadPoolAddTask(nnosThreadPool* this_, nnosThreadPoolTask* task);
|
| D | os_Alarm.h | 273 NN_EXTERN_C void nnosAlarmInitialize(nnosAlarm* this_); 278 NN_EXTERN_C void nnosAlarmFinalize(nnosAlarm* this_); 283 NN_EXTERN_C void nnosAlarmSetOneShot(nnosAlarm* this_, s64 time, nnosAlarmHandler handler, void* pa… 288 NN_EXTERN_C void nnosAlarmSetPeriodic(nnosAlarm* this_, s64 initial, s64 interval, nnosAlarmHandler…
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/ssl/ |
| D | ssl_Connection.h | 435 NN_EXTERN_C bool nnsslConnectionAssignSocket(nnsslConnection* this_, s32 socket); 440 NN_EXTERN_C nnResult nnsslConnectionAssignServer(nnsslConnection* this_, const char* pServerName, u… 445 NN_EXTERN_C nnResult nnsslConnectionSetServerCertBuffer(nnsslConnection* this_, uptr bufferAddress,… 450 NN_EXTERN_C nnResult nnsslConnectionShutdown(nnsslConnection* this_); 455 NN_EXTERN_C nnResult nnsslConnectionDoHandshake(nnsslConnection* this_); 460 NN_EXTERN_C nnResult nnsslConnectionDoHandshakeEx(nnsslConnection* this_, size_t* pServerCertSize, … 465 NN_EXTERN_C nnResult nnsslConnectionRead(nnsslConnection* this_, u8* pDataBuf, size_t dataBufSize, … 470 NN_EXTERN_C nnResult nnsslConnectionPeek(nnsslConnection* this_, u8* pDataBuf, size_t dataBufSize, … 475 NN_EXTERN_C nnResult nnsslConnectionWrite(nnsslConnection* this_, const u8* pDataBuf, size_t dataBu… 480 NN_EXTERN_C nnResult nnsslConnectionSetServerCertStore(nnsslConnection* this_, nnsslCertStore* cert… [all …]
|
| D | ssl_CertStore.h | 151 NN_EXTERN_C nnResult nnsslCertStoreInitialize(nnsslCertStore* this_); 156 NN_EXTERN_C nnResult nnsslCertStoreFinalize(nnsslCertStore* this_); 161 NN_EXTERN_C nnResult nnsslCertStoreRegisterCert(nnsslCertStore* this_, const u8* pCertData, size_t … 166 NN_EXTERN_C nnResult nnsslCertStoreRegistByInternalCert(nnsslCertStore* this_, NnSslInternalCaCert … 173 NN_EXTERN_C nnResult nnsslCertStoreUnRegisterCert(nnsslCertStore* this_, NnSslCertId certId);
|
| D | ssl_CrlStore.h | 154 NN_EXTERN_C nnResult nnsslCrlStoreInitialize(nnsslCrlStore* this_); 159 NN_EXTERN_C nnResult nnsslCrlStoreFinalize(nnsslCrlStore* this_); 164 NN_EXTERN_C nnResult nnsslCrlStoreRegisterCrl(nnsslCrlStore* this_, const u8* pCrlData, size_t cert… 169 NN_EXTERN_C nnResult nnsslCrlStoreRegistByInternalCrl(nnsslCrlStore* this_, NnSslInternalCrl certId… 175 NN_EXTERN_C nnResult nnsslCrlStoreUnRegisterCrl(nnsslCrlStore* this_, NnSslCertId certId);
|
| D | ssl_ClientCert.h | 130 NN_EXTERN_C nnResult nnsslClientCertInitialize(nnsslClientCert* this_, const u8* pCertData, size_t … 135 NN_EXTERN_C nnResult nnsslClientCertInitByInternalCert(nnsslClientCert* this_, NnSslInternalClientC… 141 NN_EXTERN_C nnResult nnsslClientCertFinalize(nnsslClientCert* this_);
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/net/osl/ |
| D | osl_EventFlag.h | 106 NN_EXTERN_C void nnnetOslEventFlagInitialize(nnnetOslEventFlag* this_); 107 NN_EXTERN_C bool nnnetOslEventFlagTryInitialize(nnnetOslEventFlag* this_); 108 NN_EXTERN_C void nnnetOslEventFlagSignal(nnnetOslEventFlag* this_, bit32 pattern); 109 NN_EXTERN_C bit32 nnnetOslEventFlagWaitSignal(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWait… 110 NN_EXTERN_C void nnnetOslEventFlagClearSignal(nnnetOslEventFlag* this_, bit32 pattern); 111 NN_EXTERN_C bit32 nnnetOslEventFlagWaitAndClear(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWa… 112 NN_EXTERN_C void nnnetOslEventFlagFinalize(nnnetOslEventFlag* this_);
|