Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dshared_memory_posix.cc38 : 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 …]
Dshared_memory_android.cc21 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()
Dshared_memory.h298 win::ScopedHandle mapped_file_; variable
309 int mapped_file_; variable
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h764 std::unique_ptr<MemoryMappedFile> mapped_file_;
Dpersistent_memory_allocator.cc1022 mapped_file_(std::move(file)) { in FilePersistentMemoryAllocator()