HomeSort by relevance Sort by last modified time
    Searched refs:MemMap (Results 1 - 25 of 29) sorted by null

1 2

  /art/runtime/
mem_map_test.cc 27 UniquePtr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty",
mem_map.h 31 class MemMap {
40 // On success, returns returns a MemMap instance. On failure, returns a NULL;
41 static MemMap* MapAnonymous(const char* ashmem_name, byte* addr, size_t byte_count, int prot);
46 // On success, returns returns a MemMap instance. On failure, returns a NULL;
47 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start) {
55 // On success, returns returns a MemMap instance. On failure, returns a NULL;
56 static MemMap* MapFileAtAddress(
60 ~MemMap();
88 MemMap(const std::string& name, byte* begin, size_t size, void* base_begin, size_t base_size,
mem_map.cc 70 MemMap* MemMap::MapAnonymous(const char* name, byte* addr, size_t byte_count, int prot) {
72 return new MemMap(name, NULL, 0, NULL, 0, prot);
102 return new MemMap(name, actual, byte_count, actual, page_aligned_byte_count, prot);
105 MemMap* MemMap::MapFileAtAddress(byte* addr, size_t byte_count,
110 return new MemMap("file", NULL, 0, NULL, 0, prot);
142 return new MemMap("file", actual + page_offset, byte_count, actual, page_aligned_byte_count,
146 MemMap::~MemMap() {
    [all...]
zip_archive.h 35 class MemMap;
41 MemMap* ExtractToMemMap(const char* entry_filename);
131 UniquePtr<MemMap> dir_map_;
oat_file.h 33 class MemMap;
250 UniquePtr<MemMap> mem_map_;
elf_file.h 125 bool SetMap(MemMap* map);
149 UniquePtr<MemMap> map_;
151 std::vector<MemMap*> segments_;
zip_archive.cc 258 UniquePtr<MemMap> map(MemMap::MapFile(length, PROT_READ | PROT_WRITE, MAP_SHARED, file.Fd(), 0));
296 MemMap* ZipEntry::ExtractToMemMap(const char* entry_filename) {
300 UniquePtr<MemMap> map(MemMap::MapAnonymous(name.c_str(),
499 dir_map_.reset(MemMap::MapFile(dir_size, PROT_READ, MAP_SHARED, fd_, dir_offset));
elf_file.cc 84 if (!SetMap(MemMap::MapFile(elf_header_size, prot, flags, file_->Fd(), 0))) {
95 if (!SetMap(MemMap::MapFile(program_header_size, prot, flags, file_->Fd(), 0))) {
101 if (!SetMap(MemMap::MapFile(file_->GetLength(), prot, flags, file_->Fd(), 0))) {
172 bool ElfFile::SetMap(MemMap* map) {
174 // MemMap::Open should have already logged
631 UniquePtr<MemMap> reserve(MemMap::MapAnonymous(reservation_name.c_str(),
666 UniquePtr<MemMap> segment(MemMap::MapFileAtAddress(p_vaddr,
dex_file.h 825 // Opens a .dex file at the given address backed by a MemMap
828 MemMap* mem_map);
830 // Opens a .dex file at the given address, optionally backed by a MemMap
835 MemMap* mem_map);
840 MemMap* mem_map)
886 UniquePtr<MemMap> mem_map_;
    [all...]
  /external/libppp/src/
mbuf.c 69 static struct memmap { struct
73 } MemMap[MB_MAX + 1];
158 MemMap[type].fragments++;
159 MemMap[type].octets += bp->m_size;
171 MemMap[bp->m_type].fragments--;
172 MemMap[bp->m_type].octets -= bp->m_size;
329 mbuftype(i), (u_long)MemMap[i].fragments,
330 (u_long)MemMap[i].octets, mbuftype(i+1),
331 (u_long)MemMap[i+1].fragments, (u_long)MemMap[i+1].octets)
    [all...]
  /art/runtime/gc/accounting/
card_table.cc 57 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous("card table", NULL,
82 CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset)
card_table.h 128 CardTable(MemMap* begin, byte* biased_begin, size_t offset);
143 UniquePtr<MemMap> mem_map_;
atomic_stack.h 166 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), NULL, capacity_ * sizeof(T), PROT_READ | PROT_WRITE));
179 UniquePtr<MemMap> mem_map_;
space_bitmap.h 58 static SpaceBitmap* CreateFromMemMap(const std::string& name, MemMap* mem_map,
185 SpaceBitmap(const std::string& name, MemMap* mem_map, word* bitmap_begin, size_t bitmap_size,
194 UniquePtr<MemMap> mem_map_;
space_bitmap.cc 53 SpaceBitmap* SpaceBitmap::CreateFromMemMap(const std::string& name, MemMap* mem_map,
65 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), NULL, bitmap_size, PROT_READ | PROT_WRITE));
  /art/runtime/gc/space/
space.h 270 MemMapSpace(const std::string& name, MemMap* mem_map, size_t initial_size,
277 MemMap* GetMemMap() {
281 const MemMap* GetMemMap() const {
287 UniquePtr<MemMap> mem_map_;
image_space.h 102 ImageSpace(const std::string& name, MemMap* mem_map, accounting::SpaceBitmap* live_bitmap);
large_object_space.h 100 typedef SafeMap<mirror::Object*, MemMap*, std::less<mirror::Object*>,
101 accounting::GCAllocator<std::pair<const mirror::Object*, MemMap*> > > MemMaps;
211 FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end);
227 UniquePtr<MemMap> mem_map_;
image_space.cc 40 ImageSpace::ImageSpace(const std::string& name, MemMap* mem_map,
185 UniquePtr<MemMap> map(MemMap::MapFileAtAddress(image_header.GetImageBegin(),
199 UniquePtr<MemMap> image_map(MemMap::MapFileAtAddress(nullptr, image_header.GetImageBitmapSize(),
large_object_space.cc 59 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", NULL, num_bytes,
112 MemMap* mem_map = it->second;
131 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size,
137 FreeListSpace::FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end)
dlmalloc_space.cc 104 ValgrindDlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin,
119 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin,
187 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity,
208 MemMap* mem_map_ptr = mem_map.release();
311 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous(alloc_space_name, End(), capacity, PROT_READ | PROT_WRITE));
dlmalloc_space.h 150 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end,
  /art/compiler/dex/
arena_allocator.h 59 MemMap* map_;
arena_allocator.cc 25 // Memmap is a bit slower than malloc according to my measurements.
50 map_ = MemMap::MapAnonymous("dalvik-arena", NULL, size, PROT_READ | PROT_WRITE);
  /art/compiler/
image_writer.h 189 UniquePtr<MemMap> image_;

Completed in 1419 milliseconds

1 2