Home | History | Annotate | Download | only in memory

Lines Matching full:memory

14 #include "base/memory/shared_memory_handle.h"
31 // Options for creating a shared memory object.
45 // If true, and the shared memory already exists, Create() will open the
46 // existing shared memory and ignore the size parameter. If false,
47 // shared memory must not exist. This flag is meaningless unless
52 // Size of the shared memory object to be created.
63 // Platform abstraction for shared memory. Provides a C++ wrapper
64 // around the OS primitive for a memory mapped file.
77 // shared memory file.
87 // shared memory file that was created by a remote process and not shared
104 // Closes a shared memory handle.
120 // Gets the size of the shared memory region referred to by |handle|.
127 // Creates a shared memory object as described by the options struct.
131 // Creates and maps an anonymous shared memory segment of size size.
145 // Creates an anonymous shared memory segment of size size.
155 // Creates or opens a shared memory segment based on a name.
156 // If open_existing is true, and the shared memory already exists,
157 // opens the existing shared memory and ignores the size parameter.
158 // If open_existing is false, shared memory must not exist.
170 // Deletes resources associated with a shared memory segment based on name.
174 // Opens a shared memory segment based on a name.
180 // Maps the shared memory into the caller's address space.
181 // Returns true on success, false otherwise. The memory address
182 // is accessed via the memory() accessor. The mapped address is guaranteed to
190 // memory block to map.
195 // Unmaps the shared memory from the caller's address space.
197 // memory is not mapped.
203 // The actual size of the mapped memory (may be larger than requested).
206 // Gets a pointer to the opened memory space if it has been
208 void* memory() const { return memory_; }
215 // Closes the open shared memory segment. The memory will remain mapped if
220 // Shares the shared memory to another process. Attempts to create a
222 // the shared memory file. new_handle is an output parameter to receive the
239 // Note that the memory is unmapped by calling this method, regardless of the
246 // Shares the shared memory to another process. Attempts
248 // used in a remote process to access the shared memory
261 // Note that the memory is unmapped by calling this method, regardless of the
291 // The OS primitive that backs the shared memory region.
294 // The mechanism by which the memory is mapped. Only valid if |memory_| is not