Searched refs:readOnly (Results 1 – 6 of 6) sorted by relevance
| /CTR-SDK-0.13.2/sources/libraries/os/ |
| D | os_SharedMemory.cpp | 58 void SharedMemoryBlock::Map(size_t size, bool readOnly) in Map() argument 71 this->MemoryBlockBase::SetReadOnly(readOnly); in Map() 74 …const bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : (MEMORY_PERMISSION_READ | MEMORY_PE… in Map() 95 Result SharedMemoryBlock::TryInitialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in TryInitialize() argument 98 …bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : MEMORY_PERMISSION_READ | MEMORY_PERMISSIO… in TryInitialize() 109 Map(size, readOnly); in TryInitialize() 114 void SharedMemoryBlock::Initialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in Initialize() argument 116 NN_UTIL_PANIC_IF_FAILED(TryInitialize(size, readOnly, otherReadOnly, noMap)); in Initialize() 119 void SharedMemoryBlock::AttachAndMap(Handle handle, size_t size, bool readOnly) in AttachAndMap() argument 125 Map(size, readOnly); in AttachAndMap() [all …]
|
| D | os_MemoryBlock.cpp | 95 void MemoryBlock::SetReadOnly(bool readOnly) in SetReadOnly() argument 98 if (IsReadOnly() == readOnly) in SetReadOnly() 102 this->MemoryBlockBase::SetReadOnly(readOnly); in SetReadOnly() 130 void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly) in nnosMemoryBlockSetReadOnly() argument 133 pMemoryBlock->SetReadOnly(readOnly); in nnosMemoryBlockSetReadOnly()
|
| /CTR-SDK-0.13.2/include/nn/os/ |
| D | os_SharedMemory.h | 40 …ock(size_t size, bool readOnly = false, bool otherReadOnly = false, bool noMap = false) { Initiali… 42 …void Initialize(size_t size, bool readOnly = false, bool otherReadOnly = false, bool noMap = false… 44 …Result TryInitialize(size_t size, bool readOnly = false, bool otherReadOnly = false, bool noMap = … 55 void AttachAndMap(Handle handle, size_t size, bool readOnly); 56 void Map(size_t size, bool readOnly); 74 …aredMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool readOnly, bool otherReadOn…
|
| D | os_MemoryBlockBase.h | 70 void SetReadOnly(bool readOnly) { this->m_ReadOnly = readOnly; } in SetReadOnly() argument
|
| D | os_MemoryBlock.h | 113 void SetReadOnly(bool readOnly = true); 177 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly);
|
| /CTR-SDK-0.13.2/include/nn/applet/CTR/ |
| D | applet_API.h | 73 …MemoryHandle( os::SharedMemoryBlock* sharedMemory, nn::Handle handle, size_t size, bool readOnly ); 435 …dMemoryHandle( os::SharedMemoryBlock* sharedMemory, nn::Handle handle, size_t size, bool readOnly ) in AttachSharedMemoryHandle() argument 437 detail::AttachSharedMemoryHandle( sharedMemory, handle, size, readOnly ); in AttachSharedMemoryHandle() 913 …oryHandle( nn::os::SharedMemoryBlock* sharedMemory, nn::Handle handle, size_t size, bool readOnly ) in nnappletAttachSharedMemoryHandle() argument 915 nn::applet::CTR::AttachSharedMemoryHandle( sharedMemory, handle, size, readOnly ); in nnappletAttachSharedMemoryHandle()
|