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

/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_ashmem.h13 class AshmemRegion { class in namespace:crazy
15 AshmemRegion() : fd_(-1) {} function in class:crazy::AshmemRegion
17 ~AshmemRegion() { Reset(-1); }
56 AshmemRegion(const AshmemRegion& other);
57 AshmemRegion& operator=(const AshmemRegion& other);
H A Dcrazy_linker_ashmem_unittest.cpp13 TEST(AshmemRegion, Construction) {
14 AshmemRegion region;
18 TEST(AshmemRegion, Allocate) {
19 AshmemRegion region;
H A Dcrazy_linker_ashmem.cpp21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) {
44 bool AshmemRegion::SetProtectionFlags(int prot) {
49 bool AshmemRegion::CheckFileDescriptorIsReadOnly(int fd) {
H A Dcrazy_linker_elf_relro.h78 AshmemRegion ashmem_;
H A Dcrazy_linker_elf_relro.cpp166 if (!AshmemRegion::CheckFileDescriptorIsReadOnly(ashmem_fd)) {
H A Dcrazy_linker_api.cpp279 crazy::AshmemRegion region;
282 !crazy::AshmemRegion::CheckFileDescriptorIsReadOnly(region.fd()))
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem_allocator.h19 class AshmemRegion;
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_;
H A Ddiscardable_memory_ashmem_allocator.cc26 // its Allocate() method) that are dispatched to the AshmemRegion instances
28 // - AshmemRegion: manages allocations and destructions inside a single large
115 class AshmemRegion { class in namespace:base::internal
118 static scoped_ptr<AshmemRegion> Create(
126 return scoped_ptr<AshmemRegion>();
127 return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator));
130 ~AshmemRegion() {
220 AshmemRegion(int fd, function in class:base::internal::AshmemRegion
419 DISALLOW_COPY_AND_ASSIGN(AshmemRegion);
445 DiscardableAshmemChunk::DiscardableAshmemChunk(AshmemRegion* ashmem_regio
[all...]

Completed in 110 milliseconds