Searched refs:stringsCount (Results 1 - 8 of 8) sorted by relevance

/haiku/src/kits/package/hpkg/
H A DReaderImplBase.cpp884 uint64 stringsCount)
903 if ((stringsLength <= 1) != (stringsCount == 0) || stringsLength > length) {
907 fFileType, section.name, stringsCount, stringsLength, length);
915 section.stringsCount = stringsCount;
951 if (fCurrentSection->stringsCount == 0) {
957 = new(std::nothrow) char*[fCurrentSection->stringsCount];
985 if (index != fCurrentSection->stringsCount) {
989 fCurrentSection->stringsCount);
998 if (index >= fCurrentSection->stringsCount) {
882 InitSection(PackageFileSection& section, uint64 endOffset, uint64 length, uint64 maxSaneLength, uint64 stringsLength, uint64 stringsCount) argument
[all...]
H A DRepositoryWriterImpl.cpp481 uint32 stringsCount = WritePackageAttributes(PackageAttributes(), local
486 fListener->OnPackageAttributesSectionDone(stringsCount, sectionSize);
490 header.packages_strings_count = B_HOST_TO_BENDIAN_INT64(stringsCount);
H A DWriterImplBase.cpp689 uint32 stringsCount = WriteCachedStrings(fPackageStringCache, 2); local
695 return stringsCount;
H A DPackageWriterImpl.cpp1383 uint32 stringsCount = WritePackageAttributes(PackageAttributes(), local
1388 fListener->OnPackageAttributesSizeInfo(stringsCount, attributesLength);
1392 header.attributes_strings_count = B_HOST_TO_BENDIAN_INT32(stringsCount);
/haiku/src/kits/package/hpkg/v1/
H A DReaderImplBaseV1.cpp611 if (fCurrentSection->stringsCount == 0) {
617 = new(std::nothrow) char*[fCurrentSection->stringsCount];
645 if (index != fCurrentSection->stringsCount) {
649 fCurrentSection->stringsCount);
658 if (index >= fCurrentSection->stringsCount) {
661 fCurrentSection->name, index, fCurrentSection->stringsCount);
903 if (index > fCurrentSection->stringsCount) {
907 fCurrentSection->stringsCount);
H A DPackageReaderImplV1.cpp469 fPackageAttributesSection.stringsCount
495 fTOCSection.stringsCount
499 || fTOCSection.stringsCount > fTOCSection.stringsLength) {
/haiku/headers/private/package/hpkg/
H A DReaderImplBase.h50 uint64 stringsCount; member in struct:BPackageKit::BHPKG::BPrivate::PackageFileSection
138 uint64 stringsCount);
/haiku/headers/private/package/hpkg/v1/
H A DReaderImplBase.h178 uint64 stringsCount; member in struct:BPackageKit::BHPKG::V1::BPrivate::ReaderImplBase::SectionInfo

Completed in 163 milliseconds