Lines Matching refs:NKey
74 namespace NKey { namespace
805 if (parser[NKey::kUpdate].ThereIs) in SetAddCommandOptions()
806 ParseUpdateCommandString(options, parser[NKey::kUpdate].PostStrings, in SetAddCommandOptions()
808 if (parser[NKey::kWorkingDir].ThereIs) in SetAddCommandOptions()
810 const UString &postString = parser[NKey::kWorkingDir].PostStrings[0]; in SetAddCommandOptions()
816 options.SfxMode = parser[NKey::kSfx].ThereIs; in SetAddCommandOptions()
818 options.SfxModule = us2fs(parser[NKey::kSfx].PostStrings[0]); in SetAddCommandOptions()
820 if (parser[NKey::kVolume].ThereIs) in SetAddCommandOptions()
822 const UStringVector &sv = parser[NKey::kVolume].PostStrings; in SetAddCommandOptions()
835 if (parser[NKey::kProperty].ThereIs) in SetMethodOptions()
837 FOR_VECTOR (i, parser[NKey::kProperty].PostStrings) in SetMethodOptions()
840 prop.Name = parser[NKey::kProperty].PostStrings[i]; in SetMethodOptions()
870 …options.HelpMode = parser[NKey::kHelp1].ThereIs || parser[NKey::kHelp2].ThereIs || parser[NKey::k… in Parse1()
872 options.StdInMode = parser[NKey::kStdIn].ThereIs; in Parse1()
873 options.StdOutMode = parser[NKey::kStdOut].ThereIs; in Parse1()
874 options.EnableHeaders = !parser[NKey::kDisableHeaders].ThereIs; in Parse1()
875 options.TechMode = parser[NKey::kTechMode].ThereIs; in Parse1()
876 options.ShowTime = parser[NKey::kShowTime].ThereIs; in Parse1()
878 if (parser[NKey::kDisablePercents].ThereIs in Parse1()
886 SetStreamMode(parser[NKey::kOutStream], options.Number_for_Out); in Parse1()
887 SetStreamMode(parser[NKey::kErrStream], options.Number_for_Errors); in Parse1()
888 SetStreamMode(parser[NKey::kPercentStream], options.Number_for_Percents); in Parse1()
890 if (parser[NKey::kLogLevel].ThereIs) in Parse1()
892 const UString &s = parser[NKey::kLogLevel].PostStrings[0]; in Parse1()
904 if (parser[NKey::kCaseSensitive].ThereIs) in Parse1()
906 g_CaseSensitive = !parser[NKey::kCaseSensitive].WithMinus; in Parse1()
912 if (parser[NKey::kLargePages].ThereIs) in Parse1()
913 options.LargePages = !parser[NKey::kLargePages].WithMinus; in Parse1()
918 if (parser[NKey::kAffinity].ThereIs) in Parse1()
920 const UString &s = parser[NKey::kAffinity].PostStrings[0]; in Parse1()
1061 if (parser[NKey::kHash].ThereIs) in Parse2()
1062 options.HashMethods = parser[NKey::kHash].PostStrings; in Parse2()
1064 if (parser[NKey::kElimDup].ThereIs) in Parse2()
1067 options.ExtractOptions.ElimDup.Val = !parser[NKey::kElimDup].WithMinus; in Parse2()
1071 bool fullPathMode = parser[NKey::kFullPathMode].ThereIs; in Parse2()
1075 const UString &s = parser[NKey::kFullPathMode].PostStrings[0]; in Parse2()
1086 if (parser[NKey::kRecursed].ThereIs) in Parse2()
1087 recursedType = GetRecursedTypeFromIndex(parser[NKey::kRecursed].PostCharIndex); in Parse2()
1092 if (parser[NKey::kDisableWildcardParsing].ThereIs) in Parse2()
1095 g_CodePage = FindCharset(parser, NKey::kConsoleCharSet, true, -1); in Parse2()
1096 Int32 codePage = FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2()
1100 if (parser[NKey::kInclude].ThereIs) in Parse2()
1104 parser[NKey::kInclude].PostStrings, true, recursedType, wildcardMatching, codePage); in Parse2()
1107 if (parser[NKey::kExclude].ThereIs) in Parse2()
1109 parser[NKey::kExclude].PostStrings, false, recursedType, wildcardMatching, codePage); in Parse2()
1112 bool thereIsArchiveName = !parser[NKey::kNoArName].ThereIs && in Parse2()
1124 if (parser[NKey::kArcNameMode].ThereIs) in Parse2()
1125 options.UpdateOptions.ArcNameMode = ParseArcNameMode(parser[NKey::kArcNameMode].PostCharIndex); in Parse2()
1144 options.YesToAll = parser[NKey::kYes].ThereIs; in Parse2()
1148 options.PasswordEnabled = parser[NKey::kPassword].ThereIs; in Parse2()
1150 options.Password = parser[NKey::kPassword].PostStrings[0]; in Parse2()
1153 options.ShowDialog = parser[NKey::kShowDialog].ThereIs; in Parse2()
1155 if (parser[NKey::kArchiveType].ThereIs) in Parse2()
1156 options.ArcType = parser[NKey::kArchiveType].PostStrings[0]; in Parse2()
1158 options.ExcludedArcTypes = parser[NKey::kExcludedArcType].PostStrings; in Parse2()
1162 if (parser[NKey::kNtSecurity].ThereIs) options.NtSecurity.SetTrueTrue(); in Parse2()
1164 SetBoolPair(parser, NKey::kAltStreams, options.AltStreams); in Parse2()
1165 SetBoolPair(parser, NKey::kHardLinks, options.HardLinks); in Parse2()
1166 SetBoolPair(parser, NKey::kSymLinks, options.SymLinks); in Parse2()
1188 nt.ReplaceColonForAltStream = parser[NKey::kReplaceColonForAltStream].ThereIs; in Parse2()
1189 nt.WriteToAltStreamIfColon = parser[NKey::kWriteToAltStreamIfColon].ThereIs; in Parse2()
1201 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1202 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArInclude].PostStrings, true, NRecursedType::k… in Parse2()
1203 if (parser[NKey::kArExclude].ThereIs) in Parse2()
1204 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArExclude].PostStrings, false, NRecursedType::… in Parse2()
1218 options.ArcName_for_StdInMode = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1242 if (parser[NKey::kOutputDir].ThereIs) in Parse2()
1244 eo.OutputDir = us2fs(parser[NKey::kOutputDir].PostStrings[0]); in Parse2()
1249 if (parser[NKey::kOverwrite].ThereIs) in Parse2()
1251 eo.OverwriteMode = k_OverwriteModes[(unsigned)parser[NKey::kOverwrite].PostCharIndex]; in Parse2()
1275 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1284 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()
1294 updateOptions.EMailMode = parser[NKey::kEmail].ThereIs; in Parse2()
1297 updateOptions.EMailAddress = parser[NKey::kEmail].PostStrings.Front(); in Parse2()
1309 updateOptions.DeleteAfterCompressing = parser[NKey::kDeleteAfterCompressing].ThereIs; in Parse2()
1310 updateOptions.SetArcMTime = parser[NKey::kSetArcMTime].ThereIs; in Parse2()
1327 updateOptions.StdInFileName = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1351 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()