Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
85 PkgFilePtr file = (*iter);
86 delete file;
87 file = nullptr;
362 // Extract package to file or memory
375 PKG_LOGE("Extract file fail %s", name.c_str());
446 PKG_LOGE("Can not find file %s", path.c_str());
545 PKG_LOGE("Fail to check file %s ", fileName.c_str());
555 FILE *file = nullptr;
557 file = fopen(realPath, modeFlags[type]);
559 file = fopen(fileName.c_str(), modeFlags[type]);
561 if (file == nullptr) {
563 PKG_LOGE("Fail to open file %s ", fileName.c_str());
566 stream = new FileStream(this, fileName, file, type);
588 PKG_LOGE("Fail to check file size %s ", fileName.c_str());
711 PKG_LOGE("Verify file %s fail", packagePath.c_str());
714 PKG_LOGI("Verify file %s success", packagePath.c_str());
779 PKG_LOGE("Invalid file %s", stream->GetFileName().c_str());
786 PKG_LOGE("Invalid file %s", stream->GetFileName().c_str());
879 PKG_LOGW("Sign file %s success", stream->GetFileName().c_str());
1078 PKG_LOGE("invalid file to load");