/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_ashmem_test.cpp | 67 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 85 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 120 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 154 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 191 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 223 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); 226 ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 242 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); 280 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); [all …]
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/ |
H A D | ashemem_benchmark_test.cpp | 75 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 98 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 139 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 178 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 220 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); in BENCHMARK_F() 261 ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 281 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 301 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() 327 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() [all …]
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/flowbuffer_adapter_impl_test/ |
H A D | flowbuffer_adapter_impl_test.cpp | 76 auto ashmem = flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); 92 flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); 140 flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); 142 flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); 144 auto ashmem = flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd);
|
/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() function in OHOS::ArkWeb::ArkFlowbufferAdapterWrapper 29 return ctocpp_->CreateAshmem(size, mapType, fd); in CreateAshmem()
|
H A D | ark_flowbuffer_adapter_wrapper.h | 33 void* CreateAshmem(size_t size, int mapType, int& fd) 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() function in OHOS::ArkWeb::ArkFlowbufferAdapterImpl 31 return real_->CreateAshmem(size, mapType, fd); in CreateAshmem()
|
H A D | ark_flowbuffer_adapter_impl.h | 31 void* CreateAshmem(size_t size, int mapType, int& fd) override;
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-ashmem.md | 29 | sptr< Ashmem > | **CreateAshmem**(const char* name, int32_t size)<br>使用指定名称及大小创建Ashmem对象。 | 50 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE);
|
/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);
|
/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;
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | ash_memory_utils.cpp | 37 auto ashmem = Ashmem::CreateAshmem(ashName.c_str(), ashSize); in GetAshmem()
|
/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;
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/flowbufferadapter_fuzzer/ |
H A D | flowbufferadapter_fuzzer.cpp | 36 flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); in FlowBufferAdapterFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 81 static sptr<Ashmem> CreateAshmem(const char *name, int32_t size);
|
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/ |
H A D | ashmem_fuzzer.cpp | 30 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(name.c_str(), memorySize); in AshmemTestFunc()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | shared_buffer_parser.cpp | 42 sptr<Ashmem> ashptr = Ashmem::CreateAshmem(name.c_str(), size); in Init()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | shared_buffer_parser.cpp | 42 sptr<Ashmem> ashptr = Ashmem::CreateAshmem(name.c_str(), size); in Init()
|
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_ashmem.cpp | 68 ashmem_ = Ashmem::CreateAshmem(name.c_str(), size); in WriteToAshmem()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/ |
H A D | shared_buffer.cpp | 74 ashmem_ = Ashmem::CreateAshmem(name.data(), capacity_); in AllocateAshmemUnlocked()
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | ashmem.h | 98 static sptr<Ashmem> CreateAshmem(const char *name, int32_t size);
|
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrbulkcancel_fuzzer/ |
H A D | usbmgrbulkcancel_fuzzer.cpp | 37 sptr<Ashmem> asmptr = Ashmem::CreateAshmem("ttashmem001", MEM_DATA); in GetSharedMem()
|
/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() function in OHOS::NWeb::FlowbufferAdapterImpl
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | ash_mem_utils.cpp | 45 auto ashmem = Ashmem::CreateAshmem(ASH_MEM_NAME, ASH_MEM_SIZE); in GetAshmem()
|
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
H A D | ash_mem_utils.cpp | 48 auto ashmem = Ashmem::CreateAshmem(ASH_MEM_NAME, ASH_MEM_SIZE); in GetAshmem()
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/ |
H A D | data_operation_callback.cpp | 124 …sptr<Ashmem> ashmem = OHOS::Ashmem::CreateAshmem(name.c_str(), buffer->GetSize() * sizeof(uint8_t)… in CreateAshmemFromArrayBuffer()
|