Searched refs:readOnly (Results 1 – 5 of 5) sorted by relevance
| /CTR-SDK-1.1.0/CTR_SDK-1_1-20110215-en/CTR_SDK/sources/libraries/os/ |
| D | os_SharedMemory.cpp | 59 void SharedMemoryBlock::Map(size_t size, bool readOnly) in Map() argument 72 this->MemoryBlockBase::SetReadOnly(readOnly); in Map() 75 …const bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : (MEMORY_PERMISSION_READ | MEMORY_PE… in Map() 96 Result SharedMemoryBlock::TryInitialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in TryInitialize() argument 99 …bit32 myPermission = readOnly ? MEMORY_PERMISSION_READ : MEMORY_PERMISSION_READ | MEMORY_PERMISSIO… in TryInitialize() 110 Map(size, readOnly); in TryInitialize() 115 void SharedMemoryBlock::Initialize(size_t size, bool readOnly, bool otherReadOnly, bool noMap) in Initialize() argument 117 NN_ERR_THROW_FATAL(TryInitialize(size, readOnly, otherReadOnly, noMap)); in Initialize() 120 void SharedMemoryBlock::AttachAndMap(Handle handle, size_t size, bool readOnly) in AttachAndMap() argument 126 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-1.1.0/CTR_SDK-1_1-20110215-en/CTR_SDK/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);
|