Searched refs:packageReader (Results 1 – 8 of 8) sorted by relevance
/haiku/src/bin/package/ |
H A D | command_list.cpp | 53 static inline status_t InitReader(PackageReader& packageReader, in InitReader() 56 return packageReader.Init(fileName); in InitReader() 72 static inline status_t InitReader(PackageReader& packageReader, in InitReader() 75 return packageReader.Init(fileName, in InitReader() 282 typename VersionPolicy::PackageReader packageReader(&errorOutput); in do_list() local 283 status_t error = VersionPolicy::InitReader(packageReader, packageFileName); in do_list() 295 error = packageReader.ParseContent(&handler); in do_list() 304 error = packageReader.ParseContent(&handler); in do_list()
|
H A D | command_dump.cpp | 186 BPackageReader packageReader(&errorOutput); in command_dump() local 187 status_t error = packageReader.Init(packageFileName); in command_dump() 193 error = packageReader.ParseContent(&handler); in command_dump()
|
H A D | command_extract.cpp | 85 static inline status_t InitReader(PackageReader& packageReader, in InitReader() 88 return packageReader.Init(fileName); in InitReader() 91 static status_t GetHeapReader(PackageReader& packageReader, in GetHeapReader() 95 packageReader.PackageFileFD()); in GetHeapReader() 137 static inline status_t InitReader(PackageReader& packageReader, in InitReader() 140 return packageReader.Init(fileName, in InitReader() 145 static status_t GetHeapReader(PackageReader& packageReader, in GetHeapReader() 148 _heapReader = packageReader.HeapReader(); in GetHeapReader() 779 typename VersionPolicy::PackageReader packageReader(&errorOutput); in do_extract() local 780 status_t error = VersionPolicy::InitReader(packageReader, packageFileName); in do_extract() [all …]
|
/haiku/src/kits/package/hpkg/ |
H A D | RepositoryWriterImpl.cpp | 339 BPackageReader packageReader(fListener); in _AddPackage() local 340 if ((result = packageReader.Init(packagePath.Path())) != B_OK) { in _AddPackage() 350 packageReader.HeapReader(), fRepositoryInfo); in _AddPackage() 351 if ((result = packageReader.ParseContent(&contentHandler)) != B_OK) in _AddPackage()
|
H A D | PackageWriterImpl.cpp | 665 PackageReaderImpl packageReader(fListener); in _Init() local 667 result = packageReader.Init(File(), false, 0, &header); in _Init() 671 fHeapOffset = packageReader.HeapOffset(); in _Init() 675 result = packageReader.ParseContent(&handler); in _Init() 687 fHeapWriter->Reinit(packageReader.RawHeapReader()); in _Init() 692 = packageReader.PackageAttributesSection(); in _Init() 693 const PackageFileSection& tocSection = packageReader.TOCSection(); in _Init()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | Package.cpp | 728 CachingPackageReader packageReader(&errorOutput); in _Load() local 729 status_t error = packageReader.Init(fd, false, in _Load() 738 error = packageReader.ParseContent(&handler); in _Load() 743 fHeapReader = packageReader.DetachCachedHeapReader(); in _Load()
|
/haiku/src/system/boot/loader/file_systems/packagefs/ |
H A D | packagefs.cpp | 846 PackageReaderImpl packageReader(&errorOutput); in packagefs_mount_file() local 847 status_t error = packageReader.Init(fd, false, 0); in packagefs_mount_file() 857 error = volume->Init(fd, packageReader.RawHeapReader()); in packagefs_mount_file() 872 error = packageReader.ParseContent(&handler); in packagefs_mount_file()
|
/haiku/src/kits/package/ |
H A D | PackageInfo.cpp | 1182 BHPKG::BPackageReader packageReader(&errorOutput); in _ReadFromPackageFile() local 1184 ? packageReader.Init(fileLocation.Path()) in _ReadFromPackageFile() 1185 : packageReader.Init(fileLocation.FD(), false); in _ReadFromPackageFile() 1188 return packageReader.ParseContent(&handler); in _ReadFromPackageFile() 1196 BHPKG::V1::BPackageReader packageReader(&errorOutput); in _ReadFromPackageFile() local 1198 ? packageReader.Init(fileLocation.Path()) in _ReadFromPackageFile() 1199 : packageReader.Init(fileLocation.FD(), false); in _ReadFromPackageFile() 1204 return packageReader.ParseContent(&handler); in _ReadFromPackageFile()
|