/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | ashmem.cpp | 206 bool Ashmem::MapAshmem(int mapType) const in MapAshmem() function in OHOS::Ashmem 208 bool Ashmem::MapAshmem(int mapType) in MapAshmem() 229 return MapAshmem(PROT_READ | PROT_WRITE); in MapReadAndWriteAshmem() 238 return MapAshmem(PROT_READ); in MapReadOnlyAshmem()
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | ashmem.h | 144 bool MapAshmem(int mapType) const; 168 bool MapAshmem(int mapType);
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-ashmem.md | 36 | bool | **MapAshmem**(int mapType)<br>将内核中的ashmem内存区域映射至用户空间。 | 52 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE);
|
H A D | c_utils_guide_rust_ashmem.md | 50 | bool | **MapAshmem**(self: &Ashmem, mapType: i32)<br>将内核中的ashmem内存区域映射至用户空间。 | 69 assert!(ashmem.MapAshmem(ashmem::PROT_READ | ashmem::PROT_WRITE));
|
/ohos5.0/commonlibrary/c_utils/base/src/rust/ |
H A D | ashmem.rs | 66 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem() function 142 self.c_ashmem.MapAshmem(prot_type) in map_ashmem()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_ashmem_helper.cpp | 54 if (!allocator->MapAshmem(mapType)) { in CreateAshmemAllocator() 76 if (!allocator->MapAshmem(mapType)) { in CreateAshmemAllocatorWithFd() 91 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() function in OHOS::Rosen::AshmemAllocator
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 98 bool MapAshmem(int mapType);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/ |
H A D | rs_ashmem_helper.h | 29 bool MapAshmem(int mapType);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_ashmem_helper_test.cpp | 137 ashmemAllocator.MapAshmem(mapType); 138 ASSERT_FALSE(ashmemAllocator.MapAshmem(mapType));
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_ashmem_helper.cpp | 39 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() function in OHOS::Rosen::AshmemAllocator
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/ |
H A D | rs_ashmem_helper.cpp | 39 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() function in OHOS::Rosen::AshmemAllocator
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/ |
H A D | _base_ddk.md | 124 - [DDK_INVALID_OPERATION](#ddk_retcode) 表示调用接口MapAshmem失败。
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_ashmem.h | 53 static napi_value MapAshmem(napi_env env, napi_callback_info info);
|
/ohos5.0/drivers/external_device_manager/frameworks/ddk/base/ |
H A D | ddk_api.cpp | 103 if (!g_shareMemoryMap[ashmem->ashmemFd]->MapAshmem(ashmemMapType)) { in OH_DDK_MapAshmem()
|
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/ |
H A D | _base_ddk.md | 124 - [DDK_INVALID_OPERATION](#ddk_retcode) if calling the **MapAshmem** API fails.
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 280 napi_value NAPIAshmem::MapAshmem(napi_env env, napi_callback_info info) in MapAshmem() function in OHOS::NAPIAshmem 296 bool result = napiAshmem->GetAshmem()->MapAshmem(mapType); in MapAshmem() 330 napiAshmem->GetAshmem()->MapAshmem(mapType); in MapTypedAshmem() 889 DECLARE_NAPI_FUNCTION("mapAshmem", NAPIAshmem::MapAshmem), in AshmemExport()
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_ashmem_test.cpp | 71 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE);
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/ |
H A D | ashemem_benchmark_test.cpp | 80 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE); in BENCHMARK_F()
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_ashmem_test.rs | 31 assert!(ashmem.MapAshmem(ashmem::PROT_READ | ashmem::PROT_WRITE)); in test_ashmem_ffi_write_read_001()
|