/frameworks/native/libs/vr/libbroadcastring/ |
D | broadcast_ring_test.cc | 52 void* mmap() { return static_cast<void*>(data.get()); } in mmap() function 57 FakeMmap mmap(Ring::MemorySize(count)); in CreateRing() local 58 *ring = Ring::Create(mmap.mmap(), mmap.size, count); in CreateRing() 59 return mmap; in CreateRing() 132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() local 141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() local 173 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() local 199 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() local 293 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() local 305 std::tie(imported_ring, import_ok) = Ring::Import(mmap.mmap(), mmap.size); in TYPED_TEST() [all …]
|
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 177 static BroadcastRing Create(void* mmap, size_t mmap_size, in Create() argument 179 BroadcastRing ring(mmap); in Create() 189 static BroadcastRing Create(void* mmap, size_t mmap_size) { in Create() argument 190 return Create(mmap, mmap_size, in Create() 200 static std::tuple<BroadcastRing, bool> Import(void* mmap, size_t mmap_size) { in Import() argument 201 BroadcastRing ring(mmap); in Import() 373 bool is_valid() const { return !!data_.mmap; } in is_valid() 464 explicit BroadcastRing(void* mmap) { in BroadcastRing() argument 465 CHECK_EQ(0U, reinterpret_cast<uintptr_t>(mmap) % alignof(Mmap)); in BroadcastRing() 466 data_.mmap = reinterpret_cast<Mmap*>(mmap); in BroadcastRing() [all …]
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | OtfFontFileParser.java | 41 ByteBuffer buffer = mmap(file); in getPostScriptName() 51 ByteBuffer buffer = mmap(file); in buildFontFileName() 76 ByteBuffer buffer = mmap(file); in getRevision() 86 ByteBuffer buffer = mmap(file); in tryToCreateTypeface() 118 private static ByteBuffer mmap(File file) throws IOException { in mmap() method in OtfFontFileParser
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 66 private static ByteBuffer mmap(AssetManager am, String path) { in mmap() method in FontFileUtilTest 72 return mmap(file); in mmap() 81 private static ByteBuffer mmap(File file) { in mmap() method in FontFileUtilTest 112 ByteBuffer buffer = mmap(am, path); in testRegularFonts() 123 ByteBuffer buffer = mmap(am, path); in testTtcFont() 139 ByteBuffer buffer = mmap(am, path); in testVariationFont()
|
/frameworks/av/services/oboeservice/ |
D | SharedMemoryProxy.cpp | 61 mOriginalSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in open() 72 mProxySharedMemory = (uint8_t *) mmap(mOriginalSharedMemory, mSharedMemorySizeInBytes, in open()
|
D | SharedRingBuffer.cpp | 65 uint8_t* tmpPtr = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in allocate()
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | allocator.cpp | 187 unsigned char *ptr = (unsigned char *)mmap( in Fill() 205 unsigned char *ptr = (unsigned char *)mmap( in Verify() 227 *mem = mmap( in MapMemoryForMutex()
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 150 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength) { 151 // FIXME: This implementation reduces mmap to read. Use Windows APIs. 157 // FIXME: This implementation reduces mmap to read. Use Windows APIs.
|
/frameworks/av/media/codec2/hidl/services/seccomp_policy/ |
D | android.hardware.media.c2@1.2-default-arm64.policy | 23 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 76 #mmap: arg2 in 0x1|0x2
|
D | android.hardware.media.c2@1.2-default-x86.policy | 27 mmap: 1
|
D | android.hardware.media.c2@1.2-default-x86_64.policy | 27 mmap: 1
|
/frameworks/av/services/mediacodec/seccomp_policy/ |
D | mediaswcodec-arm64.policy | 23 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 76 #mmap: arg2 in 0x1|0x2
|
D | mediacodec-x86_64.policy | 27 mmap: 1
|
D | mediacodec-x86.policy | 27 mmap: 1
|
D | mediaswcodec-x86.policy | 27 mmap: 1
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | allocator.cpp | 169 unsigned char *ptr = (unsigned char *)mmap( in Fill() 187 unsigned char *ptr = (unsigned char *)mmap( in Verify()
|
/frameworks/base/libs/hwui/ |
D | ProfileDataContainer.cpp | 69 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
|
/frameworks/av/services/mediaextractor/seccomp_policy/ |
D | mediaextractor-x86_64.policy | 11 mmap: 1
|
D | mediaextractor-arm64.policy | 10 mmap: 1
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2SurfaceSyncObj.cpp | 72 void *ptr = mmap(NULL, o->size(), PROT_READ | PROT_WRITE, MAP_SHARED, o->memFd(), 0); in Import() 93 void *ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Create()
|
/frameworks/base/core/java/android/util/apk/ |
D | MemoryMappedFileDataSource.java | 81 mmapPtr = Os.mmap( in feedIntoDataDigester()
|
/frameworks/layoutlib/delegates/src/android/graphics/fonts/ |
D | SystemFonts_Delegate.java | 71 /*package*/ static ByteBuffer mmap(@NonNull String fullPath) { in mmap() method in SystemFonts_Delegate
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileHandle.h | 89 bool mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength);
|
D | FileSystem.h | 99 void* mmap(void* pAddr,
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | MediaMuxerFuzzer.cpp | 49 mmap(NULL, data_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)); in LLVMFuzzerTestOneInput()
|