Home
last modified time | relevance | path

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

/CTR-SDK-2.4.0/sources/libraries/os/
Dos_SharedMemory.cpp60 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 …]
Dos_MemoryBlock.cpp100 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/
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 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…
Dos_MemoryBlockBase.h70 void SetReadOnly(bool readOnly) { this->m_ReadOnly = readOnly; } in SetReadOnly() argument
Dos_MemoryBlock.h116 void SetReadOnly(bool readOnly = true);
180 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly);