Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
24 constexpr uint16_t ORIG_NAME = 0x08; /* bit 3 set: original file name present */
25 constexpr uint16_t COMMENT = 0x10; /* bit 4 set: file comment present */
26 constexpr uint16_t ENCRYPTED = 0x20; /* bit 5 set: file is encrypted */
50 |...original file name, zero-terminated...| (more-->)
56 |...file comment, zero-terminated...| (more-->)
178 PKG_LOGE("Fail to read file %s", inStream->GetFileName().c_str());
297 PKG_LOGE("Fail to read file %s", inStream->GetFileName().c_str());
309 int32_t GZipPkgFile::AddEntry(const PkgManager::FileInfoPtr file, const PkgStreamPtr inStream)
311 if (file == nullptr || inStream == nullptr) {
319 PKG_LOGI("Add file %s to package", file->identity.c_str());
321 GZipFileEntry *entry = static_cast<GZipFileEntry *>(AddPkgEntry(file->identity));
323 PKG_LOGE("Fail create pkg node for %s", file->identity.c_str());
326 int32_t ret = entry->Init(file, inStream);
328 PKG_LOGE("Fail init entry for %s", file->identity.c_str());
335 PKG_LOGE("Fail encode header for %s", file->identity.c_str());
341 PKG_LOGE("Fail Pack for %s", file->identity.c_str());
369 PKG_LOGE("Fail to read file %s", pkgStream_->GetFileName().c_str());
377 PKG_LOGE("Invalid gzip file %s", pkgStream_->GetFileName().c_str());