Home
last modified time | relevance | path

Searched refs:readOnly (Results 1 – 5 of 5) sorted by relevance

/CTR-SDK-0.14.21/sources/libraries/os/
Dos_SharedMemory.cpp59 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 …]
Dos_MemoryBlock.cpp95 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.14.21/include/nn/os/
Dos_SharedMemory.h40 …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…
Dos_MemoryBlockBase.h70 void SetReadOnly(bool readOnly) { this->m_ReadOnly = readOnly; } in SetReadOnly() argument
Dos_MemoryBlock.h113 void SetReadOnly(bool readOnly = true);
177 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly);