Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/c_utils/base/src/
H A Dashmem.cpp206 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 Dashmem.h144 bool MapAshmem(int mapType) const;
168 bool MapAshmem(int mapType);
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-ashmem.md36 | bool | **MapAshmem**(int mapType)<br>将内核中的ashmem内存区域映射至用户空间。 |
52 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE);
H A Dc_utils_guide_rust_ashmem.md50 | 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 Dashmem.rs66 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 Drs_ashmem_helper.cpp54 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 Dashmem.h98 bool MapAshmem(int mapType);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_ashmem_helper.h29 bool MapAshmem(int mapType);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_ashmem_helper_test.cpp137 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 Drs_ashmem_helper.cpp39 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 Drs_ashmem_helper.cpp39 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.md124 - [DDK_INVALID_OPERATION](#ddk_retcode) 表示调用接口MapAshmem失败。
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_ashmem.h53 static napi_value MapAshmem(napi_env env, napi_callback_info info);
/ohos5.0/drivers/external_device_manager/frameworks/ddk/base/
H A Dddk_api.cpp103 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.md124 - [DDK_INVALID_OPERATION](#ddk_retcode) if calling the **MapAshmem** API fails.
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp280 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 Dutils_ashmem_test.cpp71 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE);
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp80 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE); in BENCHMARK_F()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs31 assert!(ashmem.MapAshmem(ashmem::PROT_READ | ashmem::PROT_WRITE)); in test_ashmem_ffi_write_read_001()