Searched refs:readOnly (Results 1 – 5 of 5) sorted by relevance
| /CTR-SDK-2.4.0/sources/libraries/os/ |
| D | os_SharedMemory.cpp | 60 Result SharedMemoryBlock::Map(size_t size, bool readOnly) in Map() argument 82 this->MemoryBlockBase::SetReadOnly(readOnly); in Map() 85 …const bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : (MEMORY_PERMISSION_READ | MEMORY_PE… in Map() 108 Result SharedMemoryBlock::TryInitialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in TryInitialize() argument 111 …bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : MEMORY_PERMISSION_READ | MEMORY_PERMISSIO… in TryInitialize() 122 result = Map(size, readOnly); in TryInitialize() 127 void SharedMemoryBlock::Initialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in Initialize() argument 129 NN_OS_ERROR_IF_FAILED(TryInitialize(size, readOnly, otherReadOnly, noMap)); in Initialize() 132 Result SharedMemoryBlock::AttachAndMap(Handle handle, size_t size, bool readOnly) in AttachAndMap() argument 138 return Map(size, readOnly); in AttachAndMap() [all …]
|
| D | os_MemoryBlock.cpp | 100 void MemoryBlock::SetReadOnly(bool readOnly) in SetReadOnly() argument 105 if (IsReadOnly() == readOnly) in SetReadOnly() 109 this->MemoryBlockBase::SetReadOnly(readOnly); in SetReadOnly() 140 void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly) in nnosMemoryBlockSetReadOnly() argument 143 pMemoryBlock->SetReadOnly(readOnly); in nnosMemoryBlockSetReadOnly()
|
| /CTR-SDK-2.4.0/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 Result AttachAndMap(Handle handle, size_t size, bool readOnly); 56 Result 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 | 116 void SetReadOnly(bool readOnly = true); 180 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly);
|