Searched refs:mapped_file_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/base/memory/ |
D | shared_memory_win.cc | 31 : mapped_file_(NULL), in SharedMemory() 40 : mapped_file_(NULL), in SharedMemory() 50 : mapped_file_(handle), in SharedMemory() 60 : mapped_file_(NULL), in SharedMemory() 67 GetCurrentProcess(), &mapped_file_, in SharedMemory() 111 DCHECK(!mapped_file_); in Create() 145 mapped_file_ = CreateFileMapping(INVALID_HANDLE_VALUE, &sa, in Create() 147 if (!mapped_file_) in Create() 172 DCHECK(!mapped_file_); in Open() 176 mapped_file_ = OpenFileMapping( in Open() [all …]
|
D | shared_memory_nacl.cc | 20 : 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() 98 MAP_SHARED, mapped_file_, offset); in MapAt() 124 return FileDescriptor(mapped_file_, false); in handle() 129 if (mapped_file_ > 0) { in Close() 130 if (close(mapped_file_) < 0) in Close() 132 mapped_file_ = -1; in Close() 153 const int new_fd = dup(mapped_file_); in ShareToProcessCommon()
|
D | shared_memory_posix.cc | 43 : mapped_file_(-1), in SharedMemory() 53 : mapped_file_(handle.fd), in SharedMemory() 70 : mapped_file_(handle.fd), in SharedMemory() 120 DCHECK_EQ(-1, mapped_file_); in Create() 283 if (mapped_file_ == -1) in MapAt() 297 int ashmem_bytes = ashmem_get_size_region(mapped_file_); in MapAt() 305 MAP_SHARED, mapped_file_, offset); in MapAt() 330 return FileDescriptor(mapped_file_, false); in handle() 336 if (mapped_file_ > 0) { in Close() 337 if (close(mapped_file_) < 0) in Close() [all …]
|
D | shared_memory_android.cc | 20 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()
|
D | shared_memory.h | 287 HANDLE mapped_file_; variable 289 int mapped_file_; variable
|
/external/chromium_org/tools/ipc_fuzzer/message_lib/ |
D | message_file_reader.cc | 52 base::MemoryMappedFile mapped_file_; member in ipc_fuzzer::__anonfb5c2fa60111::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()
|