| /CTR-SDK-4.2.5/include/nn/net/compatible/nhttp/ |
| D | nhttp.h | 187 typedef s32 (*NHTTPConnectionCallback)(NHTTPConnectionHandle handle, NHTTPConnectionEvent event, vo… 256 s32 NHTTP_DestroyConnection(NHTTPConnectionHandle handle); 257 s32 NHTTP_StartConnection(NHTTPConnectionHandle handle); 258 s32 NHTTP_StartConnectionAsync(NHTTPConnectionHandle handle); 259 s32 NHTTP_CancelConnection(NHTTPConnectionHandle handle); 260 s32 NHTTP_WaitForConnection(NHTTPConnectionHandle handle); 261 s32 NHTTP_GetConnectionStatus(NHTTPConnectionHandle handle); 262 s32 NHTTP_GetConnectionProgress(NHTTPConnectionHandle handle, u32 *received, u32 *contentLen); 263 s32 NHTTP_GetConnectionError(NHTTPConnectionHandle handle); 264 s32 NHTTP_GetConnectionSSLError(NHTTPConnectionHandle handle); [all …]
|
| /CTR-SDK-4.2.5/sources/libraries/os/ |
| D | os_HandleManager.cpp | 23 void nnosHandleManagerAttachEventHandle(nnosEvent* p, nnHandle handle) in nnosHandleManagerAttachEventHandle() argument 26 HandleManager::AttachHandle(pEvent, handle); in nnosHandleManagerAttachEventHandle() 35 void nnosHandleManagerAttachMutexHandle(nnosMutex* p, nnHandle handle) in nnosHandleManagerAttachMutexHandle() argument 38 HandleManager::AttachHandle(pMutex, handle); in nnosHandleManagerAttachMutexHandle() 47 void nnosHandleManagerAttachSemaphoreHandle(nnosSemaphore* p, nnHandle handle) in nnosHandleManagerAttachSemaphoreHandle() argument 50 HandleManager::AttachHandle(pSemaphore, handle); in nnosHandleManagerAttachSemaphoreHandle() 59 void nnosHandleManagerAttachTimerHandle(nnosTimer* p, nnHandle handle) in nnosHandleManagerAttachTimerHandle() argument 62 HandleManager::AttachHandle(pTimer, handle); in nnosHandleManagerAttachTimerHandle() 72 void nnosHandleManagerAttachSharedMemoryHandle(nnosSharedMemoryBlock* p, nnHandle handle) in nnosHandleManagerAttachSharedMemoryHandle() argument 75 HandleManager::AttachHandle(pSharedMemoryBlock, handle); in nnosHandleManagerAttachSharedMemoryHandle()
|
| D | os_TransferMemoryBlock.cpp | 62 Handle handle; in TryInitialize() local 64 …result = nn::svc::CreateMemoryBlock(&handle, reinterpret_cast<uptr>(p), size, myPermission, otherP… in TryInitialize() 66 this->SetHandle(handle); in TryInitialize() 85 Handle handle, in AttachAndMap() argument 96 this->SetHandle(handle); in AttachAndMap()
|
| D | os_SharedMemory.cpp | 114 Handle handle; in TryInitialize() local 116 result = nn::svc::CreateMemoryBlock(&handle, NULL, size, myPermission, otherPermission); in TryInitialize() 118 this->SetHandle(handle); in TryInitialize() 132 Result SharedMemoryBlock::AttachAndMap(Handle handle, size_t size, bool readOnly) in AttachAndMap() argument 137 this->SetHandle(handle); in AttachAndMap()
|
| D | os_Thread.cpp | 260 Handle handle; in TryInitializeAndStartImpl() local 263 &handle, in TryInitializeAndStartImpl() 270 this->SetHandle(handle); in TryInitializeAndStartImpl() 325 Handle handle; in Thread() local 326 NN_OS_ERROR_IF_FAILED(nn::svc::DuplicateHandle(&handle, PSEUDO_HANDLE_CURRENT_THREAD)); in Thread() 327 this->SetHandle(handle); in Thread()
|
| /CTR-SDK-4.2.5/include/nn/fslow/ |
| D | fslow_SafeHandle.h | 270 …bool HasHandle(const SafeHandle& handle) const { return IsInitialized() && (handle == m_Han… in HasHandle() argument 300 void Unregister(SafeHandle handle); 302 void* LockHandle(SafeHandle handle) in LockHandle() argument 304 SafeHandleTableEntry* entry = FindEntry(handle); in LockHandle() 305 return LockEntry(entry, handle) ? entry->GetObject() : 0; in LockHandle() 308 void UnlockHandle(SafeHandle handle) { return UnlockEntry(FindEntry(handle)); } in UnlockHandle() argument 321 Accessor(SafeHandleTable& table, SafeHandle handle) in Accessor() argument 323 SafeHandleTableEntry* entry = table.FindEntry(handle); in Accessor() 324 this->m_pEntry = LockEntry(entry, handle) ? entry : 0; in Accessor() 341 static bool LockEntry(SafeHandleTableEntry* pEntry, SafeHandle handle); [all …]
|
| D | fslow_HandleTable.h | 230 Handle handle(value); in FindEntryFromHandle() 231 s32 index = handle.GetFixedValue(); in FindEntryFromHandle()
|
| /CTR-SDK-4.2.5/include/nn/ |
| D | Handle.h | 60 Handle(nnHandle handle) : m_Handle(handle.value) in Handle() argument 64 explicit Handle(bit32 handle) in Handle() argument 66 m_Handle = handle; in Handle() 83 operator nnHandle() const { nnHandle handle = {this->m_Handle}; return handle; } in nnHandle() local
|
| /CTR-SDK-4.2.5/include/nn/fnd/ |
| D | fnd_BufferManager.h | 59 void Register(CacheHandle handle, nn::fnd::MemoryRange memoryRange) in Register() argument 62 this->m_Handle = handle; in Register() 74 bool HasHandle(CacheHandle handle) in HasHandle() argument 76 NN_TASSERT_(handle != 0); in HasHandle() 77 return handle == m_Handle; in HasHandle() 89 Entry* FindEntry(CacheHandle handle) in FindEntry() argument 93 if (m_Entries[i].HasHandle(handle)) in FindEntry() 131 CacheHandle handle = PublishCacheHandle(); in Register() local 132 p->Register(handle, memoryRange); in Register() 134 *pOut = handle; in Register() [all …]
|
| /CTR-SDK-4.2.5/include/nn/applet/CTR/ |
| D | applet_API.h | 51 …void AttachTransferMemoryHandle( os::TransferMemoryBlock* transferMemory, nn::Handle handle, size_… 55 …Result SendMessage( AppletId receiverId, const u8* pParam, size_t paramSize, nn::Handle handle=NN_… 56 …age( AppletId receiverId, const u8* pParam, size_t paramSize, nn::Handle handle=NN_APPLET_HANDLE_N… 73 …ryApplet( AppletId id, const u8* pParam=NULL, size_t paramSize=0, Handle handle=NN_APPLET_HANDLE_N… 81 …Result CloseApplication( const u8* pParam=NULL, size_t paramSize=0, Handle handle=NN_APPLET_HANDLE… 262 …ransferMemoryHandle( os::TransferMemoryBlock* transferMemory, nn::Handle handle, size_t size, bit3… in AttachTransferMemoryHandle() argument 264 detail::AttachTransferMemoryHandle( transferMemory, handle, size, otherPermission ); in AttachTransferMemoryHandle() 280 …age( AppletId receiverId, const u8* pParam, size_t paramSize, nn::Handle handle=NN_APPLET_HANDLE_N… 282 return detail::SendMessage( receiverId, pParam, paramSize, handle, timeout ); 293 …age( AppletId receiverId, const u8* pParam, size_t paramSize, nn::Handle handle=NN_APPLET_HANDLE_N… [all …]
|
| /CTR-SDK-4.2.5/sources/libraries/fslow/ |
| D | fslow_SafeHandle.cpp | 301 void SafeHandleTable::Unregister(SafeHandle handle) in Unregister() argument 307 if(handle.IsValid()) in Unregister() 309 UnregisterRecursive(handle.GetFixedValue()); in Unregister() 354 bool SafeHandleTable::LockEntry(SafeHandleTableEntry* pEntry, SafeHandle handle) in LockEntry() argument 362 if (pEntry->HasHandle(handle)) in LockEntry() 405 SafeHandleTableEntry* SafeHandleTable::FindEntry(SafeHandle handle) const in FindEntry() 411 if(handle.IsValid()) in FindEntry() 414 SafeHandleTableEntry* pEntry = GetEntry(handle.GetFixedValue()); in FindEntry() 415 if(pEntry && pEntry->HasHandle(handle)) in FindEntry()
|
| /CTR-SDK-4.2.5/include/nn/os/ |
| D | os_HandleObject.h | 94 void SetHandle(nn::Handle handle); 135 inline void HandleObject::SetHandle(nn::Handle handle) in SetHandle() argument 138 NN_TASSERT_(handle.IsValid()); in SetHandle() 140 m_Handle = handle; in SetHandle()
|
| D | os_Mutex.h | 198 Handle handle; in TryInitializeImpl() local 199 NN_UTIL_RETURN_IF_FAILED(nn::svc::CreateMutex(&handle, initialLocked)); in TryInitializeImpl() 200 this->SetHandle(handle); in TryInitializeImpl()
|
| D | os_Semaphore.h | 172 Handle handle; in TryInitializeImpl() local 173 NN_UTIL_RETURN_IF_FAILED(nn::svc::CreateSemaphore(&handle, initialCount, maxCount)); in TryInitializeImpl() 174 this->SetHandle(handle); in TryInitializeImpl()
|
| D | os_Event.h | 63 Handle handle; in TryInitializeImpl() local 64 NN_UTIL_RETURN_IF_FAILED(nn::svc::CreateEvent(&handle, resetType)); in TryInitializeImpl() 65 this->SetHandle(handle); in TryInitializeImpl()
|
| D | os_Timer.h | 193 Handle handle; in TryInitializeImpl() local 194 NN_UTIL_RETURN_IF_FAILED(nn::svc::CreateTimer(&handle, isManualReset)); in TryInitializeImpl() 195 this->SetHandle(handle); in TryInitializeImpl()
|
| D | os_Synchronization.h | 159 Handle handle = GetHandle(); in WaitOneImpl() local 160 return nn::svc::WaitSynchronization(&dummy, &handle, 1, false, nanoSecondsTimeout); in WaitOneImpl()
|
| D | os_TransferMemoryBlock.h | 56 Handle handle,
|
| D | os_SharedMemory.h | 55 Result AttachAndMap(Handle handle, size_t size, bool readOnly);
|
| /CTR-SDK-4.2.5/include/nn/fs/CTR/MPCore/ |
| D | fs_FileBase.h | 89 void OpenDirect(Handle handle) in OpenDirect() argument 91 UserFileSystem::OpenDirect(&m_P, handle); in OpenDirect() 113 Result TryInitializeRaw(ArchiveHandle handle, const nn::fs::CTR::MPCore::Path& path, bit32 mode) in TryInitializeRaw() argument 115 return UserFileSystem::TryOpenFileRaw(&m_P, handle, path, mode); in TryInitializeRaw()
|
| D | fs_DirectoryBase.h | 41 Result TryInitializeRaw(ArchiveHandle handle, const nn::fs::CTR::MPCore::Path& path) in TryInitializeRaw() argument 43 return UserFileSystem::TryOpenDirectoryRaw(&m_P, handle, path); in TryInitializeRaw()
|
| D | fs_UserFileSystem.h | 41 static Result Initialize(nn::Handle handle); 45 static void OpenDirect(void** pOut, Handle handle);
|
| /CTR-SDK-4.2.5/include/nn/fs/ |
| D | fs_FileBase.h | 71 void OpenDirect(Handle handle) in OpenDirect() argument 74 FileBaseImpl::OpenDirect(handle); in OpenDirect()
|
| /CTR-SDK-4.2.5/include/nn/svc/ |
| D | svc_Stub.h | 72 nn::Result CloseHandle ( nn::Handle handle ); 73 nn::Result WaitSynchronization1 ( nn::Handle handle, s64 ns ); 78 nn::Result GetHandleInfo ( s64* pOut, nn::Handle handle, nn::os…
|
| /CTR-SDK-4.2.5/include/nn/dsp/CTR/MPCore/ |
| D | dsp_Api.h | 108 nn::Result RegisterInterruptEvents(nn::Handle handle, s32 type, s32 port = 0);
|