Home
last modified time | relevance | path

Searched refs:OhosFileMapperImpl (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
Dohos_resource_adapter_impl.cpp87 OhosFileMapperImpl::OhosFileMapperImpl(std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap, in OhosFileMapperImpl() function in OHOS::NWeb::OhosFileMapperImpl
92 int32_t OhosFileMapperImpl::GetFd() const in GetFd()
97 int32_t OhosFileMapperImpl::GetOffset() const in GetOffset()
102 std::string OhosFileMapperImpl::GetFileName() const in GetFileName()
107 bool OhosFileMapperImpl::IsCompressed() const in IsCompressed()
112 void* OhosFileMapperImpl::GetDataPtr() const in GetDataPtr()
117 size_t OhosFileMapperImpl::GetDataLen() const in GetDataLen()
122 bool OhosFileMapperImpl::UnzipData(std::unique_ptr<uint8_t[]>& dest, size_t& len) in UnzipData()
297 … dest = std::make_unique<OhosFileMapperImpl>(std::move(fileMap), isCompressed ? manager: nullptr); in GetRawFileMapper()
/base/web/webview/ohos_adapter/ohos_resource_adapter/include/
Dohos_resource_adapter_impl.h24 class OhosFileMapperImpl : public OhosFileMapper {
26 OhosFileMapperImpl(std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap,
29 ~OhosFileMapperImpl() override = default;
/base/web/webview/test/unittest/ohos_adapter/ohos_resource_adapter_test/
Dohos_resource_adapter_test.cpp146 OhosFileMapperImpl apperImpl(std::move(fileMap), extractor);