Home
last modified time | relevance | path

Searched refs:MapAt (Results 1 – 19 of 19) sorted by relevance

/external/libchrome/base/memory/
Dread_only_shared_memory_region.cc23 if (!handle.MapAt(0, handle.GetSize(), &memory_ptr, &mapped_size)) in Create()
66 return MapAt(0, handle_.GetSize()); in Map()
69 ReadOnlySharedMemoryMapping ReadOnlySharedMemoryRegion::MapAt( in MapAt() function in base::ReadOnlySharedMemoryRegion
77 if (!handle_.MapAt(offset, size, &memory, &mapped_size)) in MapAt()
Dunsafe_shared_memory_region.cc46 return MapAt(0, handle_.GetSize()); in Map()
49 WritableSharedMemoryMapping UnsafeSharedMemoryRegion::MapAt(off_t offset, in MapAt() function in base::UnsafeSharedMemoryRegion
56 if (!handle_.MapAt(offset, size, &memory, &mapped_size)) in MapAt()
Dwritable_shared_memory_region.cc62 return MapAt(0, handle_.GetSize()); in Map()
65 WritableSharedMemoryMapping WritableSharedMemoryRegion::MapAt( in MapAt() function in base::WritableSharedMemoryRegion
73 if (!handle_.MapAt(offset, size, &memory, &mapped_size)) in MapAt()
Dshared_memory_region_unittest.cc153 TYPED_TEST(SharedMemoryRegionTest, MapAt) { in TYPED_TEST() argument
173 region.MapAt(bytes_offset, kDataSize - bytes_offset); in TYPED_TEST()
193 region.MapAt(offset, kDataSize - offset); in TYPED_TEST()
200 this->region_.MapAt(0, region_real_size + 1); in TYPED_TEST()
Dshared_memory.h163 return MapAt(0, bytes); in Map()
169 bool MapAt(off_t offset, size_t bytes);
Dwritable_shared_memory_region.h81 WritableSharedMemoryMapping MapAt(off_t offset, size_t size) const;
Dunsafe_shared_memory_region.h80 WritableSharedMemoryMapping MapAt(off_t offset, size_t size) const;
Dread_only_shared_memory_region.h81 ReadOnlySharedMemoryMapping MapAt(off_t offset, size_t size) const;
Dshared_memory_handle.h133 bool MapAt(off_t offset, size_t bytes, void** memory, bool read_only);
Dplatform_shared_memory_region.h190 bool MapAt(off_t offset,
Dplatform_shared_memory_region_mac.cc127 bool PlatformSharedMemoryRegion::MapAt(off_t offset, in MapAt() function in base::subtle::PlatformSharedMemoryRegion
Dplatform_shared_memory_region_posix.cc162 bool PlatformSharedMemoryRegion::MapAt(off_t offset, in MapAt() function in base::subtle::PlatformSharedMemoryRegion
Dshared_memory_posix.cc260 bool SharedMemory::MapAt(off_t offset, size_t bytes) { in MapAt() function in base::SharedMemory
Dshared_memory_unittest.cc547 TEST_P(SharedMemoryTest, MapAt) { in TEST_P() argument
564 ASSERT_TRUE(memory.MapAt(offset, kDataSize - offset)); in TEST_P()
/external/libchrome/mojo/core/
Dplatform_shared_memory_mapping.cc57 auto read_only_mapping = read_only_region.MapAt(real_offset, real_length); in PlatformSharedMemoryMapping()
67 auto writable_mapping = unsafe_region.MapAt(real_offset, real_length); in PlatformSharedMemoryMapping()
78 auto writable_mapping = writable_region.MapAt(real_offset, real_length); in PlatformSharedMemoryMapping()
/external/libchrome/libchrome_tools/patch/
Dshared_memory_posix.patch30 bool SharedMemory::MapAt(off_t offset, size_t bytes) {
32 @@ -264,7 +267,7 @@ bool SharedMemory::MapAt(off_t offset, size_t bytes) {
41 @@ -277,19 +280,19 @@ bool SharedMemory::MapAt(off_t offset, size_t bytes) {
Dtrace_event.patch172 @@ -302,7 +305,8 @@ bool SharedMemory::MapAt(off_t offset, size_t bytes) {
/external/v4l2_codec2/vda/
Dshared_memory_region.cc34 return shm_.MapAt(offset_ - alignment_size_, size_ + alignment_size_); in Map()
/external/libchrome/base/test/
Dtest_shared_memory_util.cc173 if (!region->MapAt(offset, size, &memory, &mapped_size)) in MapAtForTesting()