Searched refs:PkgStreamType_Read (Results 1 – 15 of 15) sorted by relevance
80 … int ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestPkgFile()102 … int ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestPkgFileInvalid()122 pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestBigZipEntry()
73 … int32_t ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
199 FileStream filestream(nullptr, "", nullptr, PkgStream::PkgStreamType_Read); in TestHashDataVerifierFailed01()
192 EXPECT_EQ(PkgStream::PkgStreamType_Read, ret); in TestPkgStreamImpl()226 int ret = CheckFile(filePath, PkgStream::PkgStreamType_Read); in TestCheckFile()
103 int32_t ret = manager_->CreatePkgStream(pkgStream, pkgPath, 0, PkgStream::PkgStreamType_Read); in LoadPkcs7FromPackage()
186 ret = CreatePkgStream(inputStream, files[i].first, 0, PkgStream::PkgStreamType_Read); in CreatePackage()529 …if (type == PkgStream::PkgStreamType_Read && _fullpath(realPath, fileName.c_str(), PATH_MAX) == nu… in DoCreatePkgStream()531 if (type == PkgStream::PkgStreamType_Read && realpath(fileName.c_str(), realPath) == nullptr) { in DoCreatePkgStream()549 if (type == PkgStream::PkgStreamType_Read) { in DoCreatePkgStream()567 if (type == PkgStream::PkgStreamType_Write || type == PkgStream::PkgStreamType_Read) { in DoCreatePkgStream()961 int32_t ret = CreatePkgStream(pkgStream, packagePath, 0, PkgStream::PkgStreamType_Read); in DoCreatePkgStream()985 int32_t ret = CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in DoCreatePkgStream()
69 return PkgStreamType_Read; in GetStreamType()
112 if (type == PkgStream::PkgStreamType_Read) { in GetFileSize()
47 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
127 stream = new FileStream(this, fileNameReal, file, PkgStream::PkgStreamType_Read); in CreatePkgStream()
54 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
77 … int32_t ret = pkgManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
184 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
43 PkgStreamType_Read = 0, // common file reading enumerator