Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
264 return PrintErrorLog("[SignHap] write output signed file failed.", ZIP_ERROR, tmpOutputFilePath);
427 int SignProvider::LoadOptionalBlock(const std::string& file, int type)
429 if (file.empty())
431 if (!CheckFile(file)) {
432 SIGNATURE_TOOLS_LOGE("check file failed. Invalid file: %s, file type: %d",
433 file.c_str(), type);
437 if (!HapUtils::ReadFileToByteBuffer(file, optionalBlockBuffer))
440 PrintErrorNumberMsg("IO_ERROR", IO_ERROR, file + " is empty!");
455 PrintErrorNumberMsg("FILE_NOT_FOUND", FILE_NOT_FOUND, "file name is null.");
526 std::string("get CertList from file ") + certsFile + " failed");
562 PrintErrorNumberMsg("IO_ERROR", IO_ERROR, "zip write to file failed");
694 SIGNATURE_TOOLS_LOGE("output hap file write signingBlock failed");
698 SIGNATURE_TOOLS_LOGE("output hap file write central directory failed");
702 SIGNATURE_TOOLS_LOGE("output hap file write eocd failed");