• Home
  • Raw
  • Download

Lines Matching refs:NKey

79 namespace NKey {  namespace
755 if (parser[NKey::kUpdate].ThereIs) in SetAddCommandOptions()
756 ParseUpdateCommandString(options, parser[NKey::kUpdate].PostStrings, in SetAddCommandOptions()
758 if (parser[NKey::kWorkingDir].ThereIs) in SetAddCommandOptions()
760 const UString &postString = parser[NKey::kWorkingDir].PostStrings[0]; in SetAddCommandOptions()
766 options.SfxMode = parser[NKey::kSfx].ThereIs; in SetAddCommandOptions()
768 options.SfxModule = us2fs(parser[NKey::kSfx].PostStrings[0]); in SetAddCommandOptions()
770 if (parser[NKey::kVolume].ThereIs) in SetAddCommandOptions()
772 const UStringVector &sv = parser[NKey::kVolume].PostStrings; in SetAddCommandOptions()
785 if (parser[NKey::kProperty].ThereIs) in SetMethodOptions()
787 FOR_VECTOR (i, parser[NKey::kProperty].PostStrings) in SetMethodOptions()
790 prop.Name = parser[NKey::kProperty].PostStrings[i]; in SetMethodOptions()
820 …options.HelpMode = parser[NKey::kHelp1].ThereIs || parser[NKey::kHelp2].ThereIs || parser[NKey::k… in Parse1()
822 options.StdInMode = parser[NKey::kStdIn].ThereIs; in Parse1()
823 options.StdOutMode = parser[NKey::kStdOut].ThereIs; in Parse1()
824 options.EnableHeaders = !parser[NKey::kDisableHeaders].ThereIs; in Parse1()
825 options.TechMode = parser[NKey::kTechMode].ThereIs; in Parse1()
826 options.ShowTime = parser[NKey::kShowTime].ThereIs; in Parse1()
828 if (parser[NKey::kDisablePercents].ThereIs in Parse1()
836 SetStreamMode(parser[NKey::kOutStream], options.Number_for_Out); in Parse1()
837 SetStreamMode(parser[NKey::kErrStream], options.Number_for_Errors); in Parse1()
838 SetStreamMode(parser[NKey::kPercentStream], options.Number_for_Percents); in Parse1()
840 if (parser[NKey::kLogLevel].ThereIs) in Parse1()
842 const UString &s = parser[NKey::kLogLevel].PostStrings[0]; in Parse1()
854 if (parser[NKey::kCaseSensitive].ThereIs) in Parse1()
856 g_CaseSensitive = !parser[NKey::kCaseSensitive].WithMinus; in Parse1()
868 if (parser[NKey::kLargePages].ThereIs) in Parse1()
871 const UString &s = parser[NKey::kLargePages].PostStrings[0]; in Parse1()
904 if (parser[NKey::kAffinity].ThereIs) in Parse1()
906 const UString &s = parser[NKey::kAffinity].PostStrings[0]; in Parse1()
989 if (parser[NKey::kHash].ThereIs) in Parse2()
990 options.HashMethods = parser[NKey::kHash].PostStrings; in Parse2()
992 if (parser[NKey::kElimDup].ThereIs) in Parse2()
995 options.ExtractOptions.ElimDup.Val = !parser[NKey::kElimDup].WithMinus; in Parse2()
999 bool fullPathMode = parser[NKey::kFullPathMode].ThereIs; in Parse2()
1003 const UString &s = parser[NKey::kFullPathMode].PostStrings[0]; in Parse2()
1013 if (parser[NKey::kNameTrailReplace].ThereIs) in Parse2()
1014 g_PathTrailReplaceMode = !parser[NKey::kNameTrailReplace].WithMinus; in Parse2()
1017 if (parser[NKey::kRecursed].ThereIs) in Parse2()
1018 recursedType = GetRecursedTypeFromIndex(parser[NKey::kRecursed].PostCharIndex); in Parse2()
1023 if (parser[NKey::kDisableWildcardParsing].ThereIs) in Parse2()
1026 g_CodePage = FindCharset(parser, NKey::kConsoleCharSet, true, -1); in Parse2()
1027 Int32 codePage = FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2()
1031 if (parser[NKey::kInclude].ThereIs) in Parse2()
1035 parser[NKey::kInclude].PostStrings, true, recursedType, wildcardMatching, codePage); in Parse2()
1038 if (parser[NKey::kExclude].ThereIs) in Parse2()
1040 parser[NKey::kExclude].PostStrings, false, recursedType, wildcardMatching, codePage); in Parse2()
1043 bool thereIsArchiveName = !parser[NKey::kNoArName].ThereIs && in Parse2()
1055 if (parser[NKey::kArcNameMode].ThereIs) in Parse2()
1056 options.UpdateOptions.ArcNameMode = ParseArcNameMode(parser[NKey::kArcNameMode].PostCharIndex); in Parse2()
1076 options.YesToAll = parser[NKey::kYes].ThereIs; in Parse2()
1080 options.PasswordEnabled = parser[NKey::kPassword].ThereIs; in Parse2()
1082 options.Password = parser[NKey::kPassword].PostStrings[0]; in Parse2()
1085 options.ShowDialog = parser[NKey::kShowDialog].ThereIs; in Parse2()
1087 if (parser[NKey::kArchiveType].ThereIs) in Parse2()
1088 options.ArcType = parser[NKey::kArchiveType].PostStrings[0]; in Parse2()
1090 options.ExcludedArcTypes = parser[NKey::kExcludedArcType].PostStrings; in Parse2()
1094 if (parser[NKey::kNtSecurity].ThereIs) options.NtSecurity.SetTrueTrue(); in Parse2()
1096 SetBoolPair(parser, NKey::kAltStreams, options.AltStreams); in Parse2()
1097 SetBoolPair(parser, NKey::kHardLinks, options.HardLinks); in Parse2()
1098 SetBoolPair(parser, NKey::kSymLinks, options.SymLinks); in Parse2()
1120 nt.ReplaceColonForAltStream = parser[NKey::kReplaceColonForAltStream].ThereIs; in Parse2()
1121 nt.WriteToAltStreamIfColon = parser[NKey::kWriteToAltStreamIfColon].ThereIs; in Parse2()
1133 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1134 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArInclude].PostStrings, true, NRecursedType::k… in Parse2()
1135 if (parser[NKey::kArExclude].ThereIs) in Parse2()
1136 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArExclude].PostStrings, false, NRecursedType::… in Parse2()
1150 options.ArcName_for_StdInMode = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1174 if (parser[NKey::kOutputDir].ThereIs) in Parse2()
1176 eo.OutputDir = us2fs(parser[NKey::kOutputDir].PostStrings[0]); in Parse2()
1181 if (parser[NKey::kOverwrite].ThereIs) in Parse2()
1183 eo.OverwriteMode = k_OverwriteModes[(unsigned)parser[NKey::kOverwrite].PostCharIndex]; in Parse2()
1207 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1216 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()
1218 if (parser[NKey::kStopAfterOpenError].ThereIs) in Parse2()
1228 updateOptions.EMailMode = parser[NKey::kEmail].ThereIs; in Parse2()
1231 updateOptions.EMailAddress = parser[NKey::kEmail].PostStrings.Front(); in Parse2()
1243 updateOptions.DeleteAfterCompressing = parser[NKey::kDeleteAfterCompressing].ThereIs; in Parse2()
1244 updateOptions.SetArcMTime = parser[NKey::kSetArcMTime].ThereIs; in Parse2()
1261 updateOptions.StdInFileName = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1285 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()