Searched refs:mapped_file_ (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/memory/ |
D | shared_memory_posix.cc | 38 : mapped_file_(-1), in SharedMemory() 47 : mapped_file_(handle.fd), in SharedMemory() 122 DCHECK_EQ(-1, mapped_file_); in Create() 224 return PrepareMapFile(std::move(fp), std::move(readonly_fd), &mapped_file_, in Create() 257 return PrepareMapFile(std::move(fp), std::move(readonly_fd), &mapped_file_, in Open() 263 if (mapped_file_ == -1) in MapAt() 277 int ashmem_bytes = ashmem_get_size_region(mapped_file_); in MapAt() 285 MAP_SHARED, mapped_file_, offset); in MapAt() 313 return FileDescriptor(mapped_file_, false); in handle() 317 FileDescriptor handle(mapped_file_, true); in TakeHandle() [all …]
|
D | shared_memory_android.cc | 21 DCHECK_EQ(-1, mapped_file_ ); in Create() 27 mapped_file_ = ashmem_create_region( in Create() 30 if (-1 == mapped_file_) { in Create() 35 int err = ashmem_set_prot_region(mapped_file_, in Create() 44 readonly_mapped_file_ = dup(mapped_file_); in Create()
|
D | shared_memory.h | 298 win::ScopedHandle mapped_file_; variable 309 int mapped_file_; variable
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 764 std::unique_ptr<MemoryMappedFile> mapped_file_;
|
D | persistent_memory_allocator.cc | 1022 mapped_file_(std::move(file)) { in FilePersistentMemoryAllocator()
|