Home
last modified time | relevance | path

Searched refs:AshmemRegion (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_ashmem.h13 class AshmemRegion {
15 AshmemRegion() : fd_(-1) {} in AshmemRegion() function
17 ~AshmemRegion() { Reset(-1); } in ~AshmemRegion()
56 AshmemRegion(const AshmemRegion& other);
57 AshmemRegion& operator=(const AshmemRegion& other);
Dcrazy_linker_ashmem_unittest.cpp13 TEST(AshmemRegion, Construction) { in TEST() argument
14 AshmemRegion region; in TEST()
18 TEST(AshmemRegion, Allocate) { in TEST() argument
19 AshmemRegion region; in TEST()
Dcrazy_linker_ashmem.cpp21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) { in Allocate()
44 bool AshmemRegion::SetProtectionFlags(int prot) { in SetProtectionFlags()
49 bool AshmemRegion::CheckFileDescriptorIsReadOnly(int fd) { in CheckFileDescriptorIsReadOnly()
Dcrazy_linker_elf_relro.h78 AshmemRegion ashmem_;
Dcrazy_linker_api.cpp247 crazy::AshmemRegion region; in crazy_system_can_share_relro()
250 !crazy::AshmemRegion::CheckFileDescriptorIsReadOnly(region.fd())) in crazy_system_can_share_relro()
Dcrazy_linker_elf_relro.cpp166 if (!AshmemRegion::CheckFileDescriptorIsReadOnly(ashmem_fd)) { in InitFrom()
/external/chromium_org/base/memory/
Ddiscardable_memory_ashmem_allocator.h19 class AshmemRegion; variable
35 friend class AshmemRegion;
37 DiscardableAshmemChunk(AshmemRegion* ashmem_region,
43 AshmemRegion* const ashmem_region_;
77 friend class AshmemRegion;
79 void DeleteAshmemRegion_Locked(AshmemRegion* region);
85 ScopedVector<AshmemRegion> ashmem_regions_;
Ddiscardable_memory_ashmem_allocator.cc115 class AshmemRegion { class
118 static scoped_ptr<AshmemRegion> Create( in Create()
126 return scoped_ptr<AshmemRegion>(); in Create()
127 return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator)); in Create()
130 ~AshmemRegion() { in ~AshmemRegion()
218 AshmemRegion(int fd, in AshmemRegion() function in base::internal::AshmemRegion
418 DISALLOW_COPY_AND_ASSIGN(AshmemRegion);
444 DiscardableAshmemChunk::DiscardableAshmemChunk(AshmemRegion* ashmem_region, in DiscardableAshmemChunk()
482 for (ScopedVector<AshmemRegion>::iterator it = ashmem_regions_.begin(); in Allocate()
496 scoped_ptr<AshmemRegion> new_region( in Allocate()
[all …]