Lines Matching defs:options

348     const CUpdateOptions &options,

365 int formatIndex = options.MethodMode.Type.FormatIndex;
397 RINOK(SetProperties(outArchive, options.MethodMode.Properties))
463 if (options.AltStreams.Val && !arcInfo.Flags_AltStreams())
465 if (options.NtSecurity.Val && !arcInfo.Flags_NtSecurity())
467 if (options.DeleteAfterCompressing && arcInfo.Flags_HashHandler())
477 if (options.RenamePairs.Size() != 0)
487 FOR_VECTOR (j, options.RenamePairs)
489 const CRenamePair &rp = options.RenamePairs[j];
623 updateCallbackSpec->PreserveATime = options.PreserveATime;
624 updateCallbackSpec->ShareForWrite = options.OpenShareForWrite;
625 updateCallbackSpec->StopAfterOpenError = options.StopAfterOpenError;
626 updateCallbackSpec->StdInMode = options.StdInMode;
638 updateCallbackSpec->StoreNtSecurity = options.NtSecurity.Val;
639 updateCallbackSpec->StoreHardLinks = options.HardLinks.Val;
640 updateCallbackSpec->StoreSymLinks = options.SymLinks.Val;
641 updateCallbackSpec->StoreOwnerName = options.StoreOwnerName.Val;
642 updateCallbackSpec->StoreOwnerId = options.StoreOwnerId.Val;
655 if (options.RenamePairs.Size() != 0)
658 if (options.SetArcMTime)
667 if (!options.StdOutMode)
679 if (options.VolumesSizes.Size() == 0)
681 if (options.StdOutMode)
725 if (options.StdOutMode)
735 volStreamSpec->Init(options.VolumesSizes);
750 if (options.SfxMode)
754 if (!sfxStreamSpec->Open(options.SfxModule))
755 return errorInfo.SetFromLastError("cannot open SFX module", options.SfxModule);
759 if (options.VolumesSizes.Size() == 0)
773 RINOK(callback->WriteSfx(fs2us(options.SfxModule), sfxSize))
786 if (options.SfxMode || !arc || arc->ArcStreamOffset == 0)
793 if (options.StdOutMode)
847 if (volStreamSpec && options.SetArcMTime && ft_Defined)
864 if (options.SetArcMTime)
1104 CUpdateOptions &options,
1110 if (options.StdOutMode && options.EMailMode)
1116 bool renameMode = !options.RenamePairs.IsEmpty();
1119 if (options.Commands.Size() != 1)
1123 if (options.DeleteAfterCompressing)
1125 if (options.Commands.Size() != 1)
1127 const CActionSet &as = options.Commands[0].ActionSet;
1133 censor.AddPathsToCensor(options.PathMode);
1140 if (options.VolumesSizes.Size() > 0 && (options.EMailMode /* || options.SfxMode */))
1143 if (options.SfxMode)
1147 options.MethodMode.Properties.Add(property);
1148 if (options.SfxModule.IsEmpty())
1154 if (options.SfxModule.Find(FCHAR_PATH_SEPARATOR) < 0)
1156 const FString fullName = NDLL::GetModuleDirPrefix() + options.SfxModule;
1159 options.SfxModule = fullName;
1165 if (!NFind::DoesFileExist_FollowLink(options.SfxModule))
1166 return errorInfo.SetFromLastError("cannot find specified SFX module", options.SfxModule);
1175 if (!options.InitFormatIndex(codecs, types, cmdArcPath2) ||
1176 !options.SetArcPath(codecs, cmdArcPath2))
1180 UString arcPath = options.ArchivePath.GetFinalPath();
1182 if (!options.VolumesSizes.IsEmpty())
1184 arcPath = options.ArchivePath.GetFinalVolPath();
1190 if (options.MethodMode.Type.FormatIndex < 0)
1200 if (options.MethodMode.Type.FormatIndex < 0)
1202 if (!options.SetArcPath(codecs, cmdArcPath2))
1222 if (!options.StdOutMode && options.UpdateArchiveItself)
1235 if (options.VolumesSizes.Size() > 0)
1244 if (options.MethodMode.Type_Defined)
1245 types2.Add(options.MethodMode.Type);
1251 op.props = &options.MethodMode.Properties;
1298 if (options.MethodMode.Type.FormatIndex < 0)
1300 options.MethodMode.Type.FormatIndex = arcLink.GetArc()->FormatIndex;
1301 if (!options.SetArcPath(codecs, cmdArcPath2))
1307 if (options.MethodMode.Type.FormatIndex < 0)
1309 options.MethodMode.Type.FormatIndex = codecs->FindFormatForArchiveType((UString)kDefaultArcType);
1310 if (options.MethodMode.Type.FormatIndex < 0)
1327 if (options.DeleteAfterCompressing)
1331 if (options.StdInMode)
1335 di.Name = options.StdInFileName;
1347 FOR_VECTOR (i, options.Commands)
1348 if (options.Commands[i].ActionSet.NeedScanning())
1355 dirItems.SymLinks = options.SymLinks.Val;
1358 dirItems.ReadSecure = options.NtSecurity.Val;
1361 dirItems.ScanAltStreams = options.AltStreams.Val;
1365 dirItems.ShareForWrite = options.OpenShareForWrite;
1368 dirItems.StoreOwnerName = options.StoreOwnerName.Val;
1372 options.PathMode,
1373 UString(), // options.AddPathPrefix,
1386 if (options.PathMode != NWildcard::k_AbsPath)
1407 if (options.NtSecurity.Val)
1421 if (options.EMailMode && options.EMailRemoveAfter)
1434 if (!options.StdOutMode && options.UpdateArchiveItself)
1436 CArchivePath &ap = options.Commands[0].ArchivePath;
1437 ap = options.ArchivePath;
1438 // if ((archive != 0 && !usesTempDir) || !options.WorkingDir.IsEmpty())
1439 if ((thereIsInArchive || !options.WorkingDir.IsEmpty()) && !usesTempDir && options.VolumesSizes.Size() == 0)
1443 if (!options.WorkingDir.IsEmpty())
1444 ap.TempPrefix = options.WorkingDir;
1455 if (options.DeleteAfterCompressing)
1457 for (ci = 0; ci < options.Commands.Size(); ci++)
1459 CArchivePath &ap = options.Commands[ci].ArchivePath;
1478 for (ci = 0; ci < options.Commands.Size(); ci++)
1480 CArchivePath &ap = options.Commands[ci].ArchivePath;
1488 if (!options.StdOutMode &&
1506 // options.StoreAltStreams,
1513 if (options.DeleteAfterCompressing)
1518 if (options.DeleteAfterCompressing)
1538 for (ci = 0; ci < options.Commands.Size(); ci++)
1541 CUpdateArchiveCommand &command = options.Commands[ci];
1545 if (options.StdOutMode)
1553 isUpdating = (ci == 0 && options.UpdateArchiveItself && thereIsInArchive);
1560 RINOK(Compress(options,
1567 options.DeleteAfterCompressing ? (Byte *)processedItems : NULL,
1594 CArchivePath &ap = options.Commands[0].ArchivePath;
1630 if (options.EMailMode)
1642 for (i = 0; i < options.Commands.Size(); i++)
1644 CArchivePath &ap = options.Commands[i].ArchivePath;
1700 const UString addr (options.EMailAddress);
1761 const AString addr (GetAnsiString(options.EMailAddress));
1779 if (options.DeleteAfterCompressing)
1807 if (fileInfo.Find(phyPath, !options.SymLinks.Val))
1810 if (options.SymLinks.Val && dirItem.AreReparseData())