Home
last modified time | relevance | path

Searched refs:CreateAshmem (Results 1 – 25 of 58) sorted by relevance

123

/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_ashmem_test.cpp67 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 Dashemem_benchmark_test.cpp75 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 Dflowbuffer_adapter_impl_test.cpp76 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 Dark_flowbuffer_adapter_wrapper.cpp27 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 Dark_flowbuffer_adapter_wrapper.h33 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 Dark_flowbuffer_adapter_impl.cpp29 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 Dark_flowbuffer_adapter_impl.h31 void* CreateAshmem(size_t size, int mapType, int& fd) override;
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-ashmem.md29 | 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 Dflowbuffer_adapter.h49 virtual void* CreateAshmem(size_t size, int mapType, int& fd);
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_flowbuffer_adapter.h31 virtual void* CreateAshmem(size_t size, int mapType, int& fd) = 0;
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dash_memory_utils.cpp37 auto ashmem = Ashmem::CreateAshmem(ashName.c_str(), ashSize); in GetAshmem()
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/include/
H A Dflowbuffer_adapter_impl.h47 void* CreateAshmem(size_t size, int mapType, int& fd) override;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/flowbufferadapter_fuzzer/
H A Dflowbufferadapter_fuzzer.cpp36 flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); in FlowBufferAdapterFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dashmem.h81 static sptr<Ashmem> CreateAshmem(const char *name, int32_t size);
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/
H A Dashmem_fuzzer.cpp30 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 Dshared_buffer_parser.cpp42 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 Dshared_buffer_parser.cpp42 sptr<Ashmem> ashptr = Ashmem::CreateAshmem(name.c_str(), size); in Init()
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_ashmem.cpp68 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 Dshared_buffer.cpp74 ashmem_ = Ashmem::CreateAshmem(name.data(), capacity_); in AllocateAshmemUnlocked()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dashmem.h98 static sptr<Ashmem> CreateAshmem(const char *name, int32_t size);
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrbulkcancel_fuzzer/
H A Dusbmgrbulkcancel_fuzzer.cpp37 sptr<Ashmem> asmptr = Ashmem::CreateAshmem("ttashmem001", MEM_DATA); in GetSharedMem()
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/src/
H A Dflowbuffer_adapter_impl.cpp66 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 Dash_mem_utils.cpp45 auto ashmem = Ashmem::CreateAshmem(ASH_MEM_NAME, ASH_MEM_SIZE); in GetAshmem()
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dash_mem_utils.cpp48 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 Ddata_operation_callback.cpp124 …sptr<Ashmem> ashmem = OHOS::Ashmem::CreateAshmem(name.c_str(), buffer->GetSize() * sizeof(uint8_t)… in CreateAshmemFromArrayBuffer()

123