Searched defs:mmap (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/compat/java/android/support/v4/graphics/
H A DTypefaceCompatUtil.java73 private static ByteBuffer mmap(File file) { method in class:TypefaceCompatUtil
96 return mmap(tmpFile);
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
H A Dbroadcast_ring.h50 // outside the bounds of the mmap area passed in during initialization even if
51 // there is a misbehaving or malicious task with write access to the mmap area.
78 // void *mmap_base = mmap(nullptr, mmap_size, PROT_READ|PROT_WRITE,
101 // void *mmap_base = mmap(nullptr, mmap_size, PROT_READ,
173 // Creates a new ring at |mmap| with |record_count| records.
176 // allocated at |mmap|. The ring does not take ownership.
179 static BroadcastRing Create(void* mmap, size_t mmap_size, argument
181 BroadcastRing ring(mmap);
187 // Creates a new ring at |mmap|.
190 // |mmap|
193 Create(void* mmap, size_t mmap_size) argument
203 Import(void* mmap, size_t mmap_size) argument
440 BroadcastRing(void* mmap) argument
576 Mmap* mmap() const { return data_.mmap; } function in class:android::dvr::BroadcastRing
645 Mmap* mmap = nullptr; member in struct:android::dvr::BroadcastRing::DataStaticSize
650 Mmap* mmap = nullptr; member in struct:android::dvr::BroadcastRing::DataDynamicSize
[all...]
/frameworks/native/libs/vr/libbroadcastring/
H A Dbroadcast_ring_test.cc52 void* mmap() { return static_cast<void*>(data.get()); } function in struct:android::dvr::__anon1727::FakeMmap
57 FakeMmap mmap(Ring::MemorySize(count));
58 *ring = Ring::Create(mmap.mmap(), mmap.size, count);
59 return mmap;
132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local
141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local
173 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local
199 auto mmap local
293 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local
334 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local
368 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local
389 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local
409 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local
435 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local
483 auto mmap = CreateRing(&original_ring, StaticRing::Traits::MinCount()); local
527 auto mmap = CreateRing(&original_ring, StaticRing::Traits::MinCount()); local
[all...]

Completed in 638 milliseconds