/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_flowbuffer_adapter_wrapper.cpp | 27 void* ArkFlowbufferAdapterWrapper::CreateAshmem(size_t size, int mapType, int& fd) in CreateAshmem() argument 29 return ctocpp_->CreateAshmem(size, mapType, fd); in CreateAshmem() 32 void* ArkFlowbufferAdapterWrapper::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() argument 34 return ctocpp_->CreateAshmemWithFd(fd, size, mapType); in CreateAshmemWithFd()
|
H A D | ark_flowbuffer_adapter_wrapper.h | 33 void* CreateAshmem(size_t size, int mapType, int& fd) override; 35 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_flowbuffer_adapter_impl.cpp | 29 void* ArkFlowbufferAdapterImpl::CreateAshmem(size_t size, int mapType, int& fd) in CreateAshmem() argument 31 return real_->CreateAshmem(size, mapType, fd); in CreateAshmem() 34 void* ArkFlowbufferAdapterImpl::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() argument 36 return real_->CreateAshmemWithFd(fd, size, mapType); in CreateAshmemWithFd()
|
H A D | ark_flowbuffer_adapter_impl.h | 31 void* CreateAshmem(size_t size, int mapType, int& fd) override; 33 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_ashmem_helper_test.cpp | 97 auto mapType = PROT_READ | PROT_WRITE; variable 98 auto res = AshmemAllocator::CreateAshmemAllocator(size, mapType); 101 res = AshmemAllocator::CreateAshmemAllocator(size, mapType); 114 auto mapType = PROT_READ | PROT_WRITE; variable 116 auto res = AshmemAllocator::CreateAshmemAllocatorWithFd(fd1, size1, mapType); 121 auto res02 = AshmemAllocator::CreateAshmemAllocatorWithFd(fd2, size2, mapType); 134 auto mapType = PROT_READ; variable 137 ashmemAllocator.MapAshmem(mapType); 138 ASSERT_FALSE(ashmemAllocator.MapAshmem(mapType));
|
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/src/ |
H A D | flowbuffer_adapter_impl.cpp | 66 void* FlowbufferAdapterImpl::CreateAshmem(size_t size, int mapType, int& fd) in CreateAshmem() argument 82 void *startAddr = ::mmap(nullptr, size, mapType, MAP_SHARED, fd, 0); in CreateAshmem() 94 void* FlowbufferAdapterImpl::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() argument 107 void *startAddr = ::mmap(nullptr, size, mapType, MAP_SHARED, fd, 0); in CreateAshmemWithFd()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/ |
H A D | rs_ashmem_helper.h | 27 static std::unique_ptr<AshmemAllocator> CreateAshmemAllocator(size_t size, int mapType); 28 …tic std::unique_ptr<AshmemAllocator> CreateAshmemAllocatorWithFd(int fd, size_t size, int mapType); 29 bool MapAshmem(int mapType);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_ashmem_helper.cpp | 34 std::unique_ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocator(size_t size, int mapType) in CreateAshmemAllocator() argument 54 if (!allocator->MapAshmem(mapType)) { in CreateAshmemAllocator() 62 …ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocatorWithFd(int fd, size_t size, int mapType) in CreateAshmemAllocatorWithFd() argument 76 if (!allocator->MapAshmem(mapType)) { in CreateAshmemAllocatorWithFd() 91 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() argument 93 void *startAddr = ::mmap(nullptr, size_, mapType, MAP_SHARED, fd_, 0); in MapAshmem()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_ashmem_helper.cpp | 20 std::unique_ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocator(size_t size, int mapType) in CreateAshmemAllocator() argument 25 …ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocatorWithFd(int fd, size_t size, int mapType) in CreateAshmemAllocatorWithFd() argument 39 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/ |
H A D | rs_ashmem_helper.cpp | 20 std::unique_ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocator(size_t size, int mapType) in CreateAshmemAllocator() argument 25 …ptr<AshmemAllocator> AshmemAllocator::CreateAshmemAllocatorWithFd(int fd, size_t size, int mapType) in CreateAshmemAllocatorWithFd() argument 39 bool AshmemAllocator::MapAshmem(int mapType) in MapAshmem() argument
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | flowbuffer_adapter.h | 49 virtual void* CreateAshmem(size_t size, int mapType, int& fd); 59 virtual void* CreateAshmemWithFd(const int fd, size_t size, int mapType);
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_flowbuffer_adapter.h | 31 virtual void* CreateAshmem(size_t size, int mapType, int& fd) = 0; 34 virtual void* CreateAshmemWithFd(const int fd, size_t size, int mapType) = 0;
|
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/include/ |
H A D | flowbuffer_adapter_impl.h | 47 void* CreateAshmem(size_t size, int mapType, int& fd) override; 57 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | ashmem.cpp | 206 bool Ashmem::MapAshmem(int mapType) const in MapAshmem() 208 bool Ashmem::MapAshmem(int mapType) in MapAshmem() 211 void *startAddr = ::mmap(nullptr, memorySize_, mapType, MAP_SHARED, memoryFd_, 0); in MapAshmem() 218 flag_ = mapType; in MapAshmem()
|
/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/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_reader.cpp | 185 AutoPtr<ASTMapType> mapType = new ASTMapType(); in ReadMetaType() local 186 mapType->SetKeyType(ReadMetaType(keyMt)); in ReadMetaType() 187 mapType->SetValueType(ReadMetaType(valueMt)); in ReadMetaType() 188 astType = mapType.Get(); in ReadMetaType()
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c_utils_guide_rust_ashmem.md | 26 | bool | **map_ashmem**(self: &Ashmem, mapType: i32)<br>将内核中的ashmem内存区域映射至用户空间。 | 50 | bool | **MapAshmem**(self: &Ashmem, mapType: i32)<br>将内核中的ashmem内存区域映射至用户空间。 |
|
H A D | c-utils-guide-ashmem.md | 36 | bool | **MapAshmem**(int mapType)<br>将内核中的ashmem内存区域映射至用户空间。 |
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 98 bool MapAshmem(int mapType);
|
/ohos5.0/foundation/communication/netmanager_base/bpf/bpf_reader/ |
H A D | bpf_reader.h | 30 NetsysBpfMap<Key, Value>(bpf_map_type mapType, uint32_t maxEntries, uint32_t mapFlags);
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 290 uint32_t mapType = 0; in MapAshmem() local 291 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &mapType); in MapAshmem() 292 NAPI_ASSERT(env, mapType <= MMAP_PROT_MAX, "napiAshmem mapType error"); in MapAshmem() 296 bool result = napiAshmem->GetAshmem()->MapAshmem(mapType); in MapAshmem() 318 uint32_t mapType = 0; in MapTypedAshmem() local 319 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &mapType); in MapTypedAshmem() 320 if (mapType > MMAP_PROT_MAX) { in MapTypedAshmem() 330 napiAshmem->GetAshmem()->MapAshmem(mapType); in MapTypedAshmem()
|
/ohos5.0/foundation/communication/netmanager_base/bpf/bpf_syscall_wrapper/ |
H A D | bpf_syscall_wrapper.h | 53 …static int CreateMap(bpf_map_type mapType, uint32_t keySize, uint32_t valueSize, uint32_t maxEntri…
|
/ohos5.0/commonlibrary/c_utils/base/src/rust/ |
H A D | ashmem.rs | 66 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-soft-bus.md | 14 | ohos.rpc | Ashmem | mapAshmem(mapType: number): boolean; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-soft-bus.md | 14 | ohos.rpc | Ashmem | mapAshmem(mapType: number): boolean; | Added|
|