Home
last modified time | relevance | path

Searched refs:mmap_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/base/resource/
Ddata_pack.cc76 mmap_.reset(new base::MemoryMappedFile); in LoadFromPath()
77 if (!mmap_->Initialize(path)) { in LoadFromPath()
81 mmap_.reset(); in LoadFromPath()
95 mmap_.reset(new base::MemoryMappedFile); in LoadFromFileRegion()
96 if (!mmap_->Initialize(file.Pass(), region)) { in LoadFromFileRegion()
100 mmap_.reset(); in LoadFromFileRegion()
108 if (kHeaderLength > mmap_->length()) { in LoadImpl()
112 mmap_.reset(); in LoadImpl()
118 const uint32* ptr = reinterpret_cast<const uint32*>(mmap_->data()); in LoadImpl()
125 mmap_.reset(); in LoadImpl()
[all …]
Ddata_pack.h67 scoped_ptr<base::MemoryMappedFile> mmap_; variable