Home
last modified time | relevance | path

Searched refs:mapped_file_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/base/
Dshared_memory_win.cc13 : mapped_file_(NULL), in SharedMemory()
21 : mapped_file_(NULL), in SharedMemory()
30 : mapped_file_(handle), in SharedMemory()
39 : mapped_file_(NULL), in SharedMemory()
45 GetCurrentProcess(), &mapped_file_, in SharedMemory()
83 DCHECK(!mapped_file_); in CreateNamed()
94 mapped_file_ = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, in CreateNamed()
97 if (!mapped_file_) in CreateNamed()
122 DCHECK(!mapped_file_); in Open()
126 mapped_file_ = OpenFileMapping( in Open()
[all …]
Dshared_memory_posix.cc29 : mapped_file_(-1), in SharedMemory()
38 : mapped_file_(handle.fd), in SharedMemory()
54 : mapped_file_(handle.fd), in SharedMemory()
102 DCHECK_EQ(-1, mapped_file_); in CreateNamed()
201 if (mapped_file_ == -1) in Map()
205 MAP_SHARED, mapped_file_, 0); in Map()
226 return FileDescriptor(mapped_file_, false); in handle()
232 if (mapped_file_ > 0) { in Close()
233 if (HANDLE_EINTR(close(mapped_file_)) < 0) in Close()
235 mapped_file_ = -1; in Close()
[all …]
Dshared_memory.h199 HANDLE mapped_file_; variable
201 int mapped_file_; variable
/external/chromium_org/base/memory/
Dshared_memory_win.cc26 : mapped_file_(NULL), in SharedMemory()
35 : mapped_file_(NULL), in SharedMemory()
45 : mapped_file_(handle), in SharedMemory()
55 : mapped_file_(NULL), in SharedMemory()
62 GetCurrentProcess(), &mapped_file_, in SharedMemory()
106 DCHECK(!mapped_file_); in Create()
117 mapped_file_ = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, in Create()
120 if (!mapped_file_) in Create()
145 DCHECK(!mapped_file_); in Open()
149 mapped_file_ = OpenFileMapping( in Open()
[all …]
Dshared_memory_nacl.cc20 : mapped_file_(-1), in SharedMemory()
29 : mapped_file_(handle.fd), in SharedMemory()
39 : mapped_file_(handle.fd), in SharedMemory()
88 if (mapped_file_ == -1) in MapAt()
95 MAP_SHARED, mapped_file_, offset); in MapAt()
121 return FileDescriptor(mapped_file_, false); in handle()
126 if (mapped_file_ > 0) { in Close()
127 if (close(mapped_file_) < 0) in Close()
129 mapped_file_ = -1; in Close()
150 const int new_fd = dup(mapped_file_); in ShareToProcessCommon()
Dshared_memory_posix.cc45 : mapped_file_(-1), in SharedMemory()
55 : mapped_file_(handle.fd), in SharedMemory()
72 : mapped_file_(handle.fd), in SharedMemory()
122 DCHECK_EQ(-1, mapped_file_); in Create()
280 if (mapped_file_ == -1) in MapAt()
291 int ashmem_bytes = ashmem_get_size_region(mapped_file_); in MapAt()
299 MAP_SHARED, mapped_file_, offset); in MapAt()
324 return FileDescriptor(mapped_file_, false); in handle()
330 if (mapped_file_ > 0) { in Close()
331 if (close(mapped_file_) < 0) in Close()
[all …]
Dshared_memory_android.cc20 DCHECK_EQ(-1, mapped_file_ ); in Create()
26 mapped_file_ = ashmem_create_region( in Create()
29 if (-1 == mapped_file_) { in Create()
34 int err = ashmem_set_prot_region(mapped_file_, in Create()
43 readonly_mapped_file_ = dup(mapped_file_); in Create()
Dshared_memory.h282 HANDLE mapped_file_; variable
284 int mapped_file_; variable
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_reader.cc52 base::MemoryMappedFile mapped_file_; member in ipc_fuzzer::__anon626e06790111::Reader
98 if (!mapped_file_.Initialize(path_)) { in MapFile()
102 const char* data = reinterpret_cast<const char*>(mapped_file_.data()); in MapFile()
103 file_data_.set(data, mapped_file_.length()); in MapFile()