Home
last modified time | relevance | path

Searched refs:CreateAshmemWithFd (Results 1 - 13 of 13) sorted by relevance

/base/web/webview/test/unittest/ohos_adapter/flowbuffer_adapter_impl_test/
H A Dflowbuffer_adapter_impl_test.cpp84 * @tc.desc: test FlowbufferAdapterImpl CreateAshmemWithFd.
95 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); in HWTEST_F()
97 ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, INT_MAX, PROT_READ); in HWTEST_F()
99 ashmem = flowbufferAdapter->CreateAshmemWithFd(-1, scriptLength, PROT_READ); in HWTEST_F()
156 * @tc.desc: test FlowbufferAdapterImpl CreateAshmemWithFd.
165 flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); in HWTEST_F()
167 flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); in HWTEST_F()
169 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); in HWTEST_F()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_flowbuffer_adapter_impl.cpp34 void* ArkFlowbufferAdapterImpl::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() function in OHOS::ArkWeb::ArkFlowbufferAdapterImpl
36 return real_->CreateAshmemWithFd(fd, size, mapType); in CreateAshmemWithFd()
H A Dark_flowbuffer_adapter_impl.h33 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_flowbuffer_adapter_wrapper.cpp32 void* ArkFlowbufferAdapterWrapper::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() function in OHOS::ArkWeb::ArkFlowbufferAdapterWrapper
34 return ctocpp_->CreateAshmemWithFd(fd, size, mapType); in CreateAshmemWithFd()
H A Dark_flowbuffer_adapter_wrapper.h35 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dflowbuffer_adapter.h59 virtual void* CreateAshmemWithFd(const int fd, size_t size, int mapType) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_flowbuffer_adapter.h34 virtual void* CreateAshmemWithFd(const int fd, size_t size, int mapType) = 0;
/base/web/webview/ohos_adapter/flowbuffer_adapter/include/
H A Dflowbuffer_adapter_impl.h57 void* CreateAshmemWithFd(const int fd, size_t size, int mapType) override;
/base/web/webview/test/fuzztest/ohos_adapter/flowbufferadapter_fuzzer/
H A Dflowbufferadapter_fuzzer.cpp43 flowbufferAdapter1->CreateAshmemWithFd(fd1, scriptLength1, PROT_READ); in FlowBufferAdapterFuzzTest()
H A Dflowbufferadapterimpl_fuzzer.cpp44 auto ashmem1 = flowbufferAdapter->CreateAshmemWithFd(fd1, scriptLength1, PROT_READ); in ApplyFlowBufferAdapterImplFuzzTest()
/base/web/webview/ohos_adapter/flowbuffer_adapter/src/
H A Dflowbuffer_adapter_impl.cpp94 void* FlowbufferAdapterImpl::CreateAshmemWithFd(const int fd, size_t size, int mapType) in CreateAshmemWithFd() function in OHOS::NWeb::FlowbufferAdapterImpl
97 WVLOG_E("CreateAshmemWithFd failed, fd: %{public}d", fd); in CreateAshmemWithFd()
103 WVLOG_E("CreateAshmemWithFd failed, ashmemSize: %{public}d, size: %{public}zu", ashmemSize, size); in CreateAshmemWithFd()
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_javascript_result_callback.cpp324 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, MAX_FLOWBUF_DATA_SIZE + HEADER_SIZE, PROT_READ); in GetJavaScriptResultSelfFlowbuf()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_result_callback.cpp1179 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, MAX_FLOWBUF_DATA_SIZE + HEADER_SIZE, PROT_READ); in GetJavaScriptResultSelfFlowbuf()
1221 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, MAX_FLOWBUF_DATA_SIZE + HEADER_SIZE, PROT_READ); in GetJavaScriptResultFlowbuf()

Completed in 8 milliseconds