Lines Matching refs:readOnly
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()
174 void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool readOnly, bool o… in nnosSharedMemoryBlockAllocate() argument
176 new (this_) SharedMemoryBlock(size, readOnly, otherReadOnly, noMap); in nnosSharedMemoryBlockAllocate()