/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/av/services/oboeservice/ |
D | SharedMemoryProxy.cpp | 60 mOriginalSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in open() 71 mProxySharedMemory = (uint8_t *) mmap(mOriginalSharedMemory, mSharedMemorySizeInBytes, in open()
|
D | SharedRingBuffer.cpp | 62 mSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in allocate()
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatUtil.java | 81 private static ByteBuffer mmap(File file) { in mmap() method in TypefaceCompatUtil 96 public static ByteBuffer mmap(Context context, CancellationSignal cancellationSignal, Uri uri) { in mmap() method in TypefaceCompatUtil 126 return mmap(tmpFile); in copyToDirectBuffer()
|
/frameworks/ml/nn/runtime/test/ |
D | TestMemoryInternal.cpp | 106 uint8_t* weightsData = (uint8_t*)mmap(nullptr, weightsSize, PROT_READ | PROT_WRITE, in TEST_F() 139 uint8_t* inputData = (uint8_t*)mmap(nullptr, inputSize, in TEST_F() 150 uint8_t* outputData = (uint8_t*)mmap(nullptr, outputSize, in TEST_F() 184 uint8_t* buf = (uint8_t*)mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in TEST_F()
|
/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/minikin/tests/perftests/ |
D | main.cpp | 31 void* data = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in main()
|
/frameworks/av/services/mediaextractor/seccomp_policy/ |
D | mediaextractor-arm64.policy | 10 mmap: 1
|
D | mediaextractor-x86_64.policy | 11 mmap: 1
|
/frameworks/base/libs/hwui/ |
D | ProfileDataContainer.cpp | 66 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
|
/frameworks/minikin/tests/unittest/ |
D | ICUEnvironment.h | 47 void* mData = mmap(nullptr, mSize, PROT_READ, MAP_SHARED, fd, 0); in SetUp()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/ |
D | TypefaceCompatUtilTest.java | 54 TypefaceCompatUtil.mmap(mContext, null, fileUri); in testMmapNullPfd()
|
/frameworks/base/core/java/android/util/apk/ |
D | MemoryMappedFileDataSource.java | 80 mmapPtr = Os.mmap( in feedIntoDataDigester()
|
/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/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 154 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength) { 182 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset);
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.cpp | 68 mFontData = mmap(NULL, mFontSize, PROT_READ, MAP_SHARED, fd, 0); in FreeTypeMinikinFontForTest()
|
/frameworks/ml/nn/runtime/ |
D | Memory.cpp | 117 void* data = mmap(nullptr, mHidlMemory.size(), prot, MAP_SHARED, fd, offset); in getPointer()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); in create() 103 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0); in createFromParcel()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | SharedMemoryParcelable.cpp | 104 mResolvedAddress = (uint8_t *) mmap(0, mSizeInBytes, PROT_READ | PROT_WRITE, in resolveSharedMemory()
|
/frameworks/base/core/jni/ |
D | android_text_Hyphenator.cpp | 51 void* ptr = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0 /* offset */); in mmapPatternFile()
|
D | android_util_MemoryIntArray.cpp | 84 void* ashmemAddr = mmap(NULL, ashmemSize, protMode, MAP_SHARED, fd, 0); in android_util_MemoryIntArray_open()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 112 void* base = (uint8_t*)mmap(0, size, in mapfd()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 80 uint8_t* buf = reinterpret_cast<uint8_t*>(mmap(NULL, fileSize, in FileBlobCache()
|