Searched refs:PKG_INVALID_STREAM (Results 1 – 9 of 9) sorted by relevance
/base/update/updater/services/package/pkg_manager/ |
D | pkg_stream.cpp | 69 PKG_CHECK(stream_ != nullptr, return PKG_INVALID_STREAM, "Invalid stream"); in Read() 70 PKG_CHECK(data.length >= needRead, return PKG_INVALID_STREAM, "Invalid stream"); in Read() 74 PKG_CHECK(offset <= len, return PKG_INVALID_STREAM, "Invalid offset"); in Read() 82 PKG_CHECK(streamType_ == PkgStreamType_Write, return PKG_INVALID_STREAM, "Invalid stream type"); in Write() 83 PKG_CHECK(stream_ != nullptr, return PKG_INVALID_STREAM, "Invalid stream"); in Write() 86 PKG_CHECK(len == 1, return PKG_INVALID_STREAM, "Write buffer fail"); in Write() 109 PKG_CHECK(stream_ != nullptr, return PKG_INVALID_STREAM, "Invalid stream"); in Seek() 115 PKG_CHECK(stream_ != nullptr, return PKG_INVALID_STREAM, "Invalid stream"); in Flush() 119 PKG_CHECK(fflush(stream_) == 0, return PKG_INVALID_STREAM, "Invalid stream"); in Flush() 133 PKG_CHECK(memMap_ != nullptr, return PKG_INVALID_STREAM, "Invalid memory map"); in Read() [all …]
|
D | pkg_stream.h | 169 return PKG_INVALID_STREAM; in Read() 174 PKG_CHECK(processor_ != nullptr, return PKG_INVALID_STREAM, "processor not exist"); in Write() 200 PKG_CHECK(processor_ != nullptr, return PKG_INVALID_STREAM, "processor not exist"); in Flush()
|
D | pkg_managerImpl.cpp | 349 PKG_CHECK(output != nullptr, return PKG_INVALID_STREAM, "Invalid stream"); in ExtractFile()
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algorithm.cpp | 81 PKG_CHECK(srcOffset - context.srcOffset == context.unpackedSize, return PKG_INVALID_STREAM, in Pack() 113 PKG_CHECK(destOffset - context.destOffset == context.packedSize, return PKG_INVALID_STREAM, in Unpack()
|
/base/update/updater/services/updater_binary/ |
D | update_processor.cpp | 94 return PKG_INVALID_STREAM; in RawImageWriteProcessor() 105 return PKG_INVALID_STREAM; in RawImageWriteProcessor()
|
D | update_image_block.cpp | 49 return hpackage::PKG_INVALID_STREAM; in ExtractNewData() 60 UPDATER_ERROR_CHECK(ret == true, logMessage.str(), return hpackage::PKG_INVALID_STREAM); in ExtractNewData()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 41 PKG_INVALID_STREAM, enumerator
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 331 EXPECT_EQ(ret, PKG_INVALID_STREAM); in TestPkgProcessStream() 352 EXPECT_EQ(PKG_INVALID_STREAM, ret); in TestInvalidStream()
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestDecompressGzip.new.gz |
|