Lines Matching refs:NKey

79 namespace NKey {  namespace
771 if (parser[NKey::kUpdate].ThereIs) in SetAddCommandOptions()
772 ParseUpdateCommandString(options, parser[NKey::kUpdate].PostStrings, in SetAddCommandOptions()
774 if (parser[NKey::kWorkingDir].ThereIs) in SetAddCommandOptions()
776 const UString &postString = parser[NKey::kWorkingDir].PostStrings[0]; in SetAddCommandOptions()
782 options.SfxMode = parser[NKey::kSfx].ThereIs; in SetAddCommandOptions()
784 options.SfxModule = us2fs(parser[NKey::kSfx].PostStrings[0]); in SetAddCommandOptions()
786 if (parser[NKey::kVolume].ThereIs) in SetAddCommandOptions()
788 const UStringVector &sv = parser[NKey::kVolume].PostStrings; in SetAddCommandOptions()
801 if (parser[NKey::kProperty].ThereIs) in SetMethodOptions()
803 FOR_VECTOR (i, parser[NKey::kProperty].PostStrings) in SetMethodOptions()
806 prop.Name = parser[NKey::kProperty].PostStrings[i]; in SetMethodOptions()
829 options.StdInMode = parser[NKey::kStdIn].ThereIs; in Parse1()
830 options.StdOutMode = parser[NKey::kStdOut].ThereIs; in Parse1()
831 options.EnableHeaders = !parser[NKey::kDisableHeaders].ThereIs; in Parse1()
832 …options.HelpMode = parser[NKey::kHelp1].ThereIs || parser[NKey::kHelp2].ThereIs || parser[NKey::k… in Parse1()
834 if (parser[NKey::kCaseSensitive].ThereIs) in Parse1()
836 g_CaseSensitive = !parser[NKey::kCaseSensitive].WithMinus; in Parse1()
843 if (parser[NKey::kLargePages].ThereIs) in Parse1()
845 options.LargePages = !parser[NKey::kLargePages].WithMinus; in Parse1()
964 options.TechMode = parser[NKey::kTechMode].ThereIs; in Parse2()
965 if (parser[NKey::kHash].ThereIs) in Parse2()
966 options.HashMethods = parser[NKey::kHash].PostStrings; in Parse2()
968 if (parser[NKey::kElimDup].ThereIs) in Parse2()
971 options.ExtractOptions.ElimDup.Val = !parser[NKey::kElimDup].WithMinus; in Parse2()
975 bool fullPathMode = parser[NKey::kFullPathMode].ThereIs; in Parse2()
979 const UString &s = parser[NKey::kFullPathMode].PostStrings[0]; in Parse2()
990 if (parser[NKey::kRecursed].ThereIs) in Parse2()
991 recursedType = GetRecursedTypeFromIndex(parser[NKey::kRecursed].PostCharIndex); in Parse2()
996 if (parser[NKey::kDisableWildcardParsing].ThereIs) in Parse2()
999 g_CodePage = FindCharset(parser, NKey::kConsoleCharSet, true, -1); in Parse2()
1000 Int32 codePage = FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2()
1004 if (parser[NKey::kInclude].ThereIs) in Parse2()
1008 parser[NKey::kInclude].PostStrings, true, recursedType, wildcardMatching, codePage); in Parse2()
1011 if (parser[NKey::kExclude].ThereIs) in Parse2()
1013 parser[NKey::kExclude].PostStrings, false, recursedType, wildcardMatching, codePage); in Parse2()
1016 bool thereIsArchiveName = !parser[NKey::kNoArName].ThereIs && in Parse2()
1028 if (parser[NKey::kArcNameMode].ThereIs) in Parse2()
1029 options.UpdateOptions.ArcNameMode = ParseArcNameMode(parser[NKey::kArcNameMode].PostCharIndex); in Parse2()
1045 options.YesToAll = parser[NKey::kYes].ThereIs; in Parse2()
1049 options.PasswordEnabled = parser[NKey::kPassword].ThereIs; in Parse2()
1051 options.Password = parser[NKey::kPassword].PostStrings[0]; in Parse2()
1054 options.ShowDialog = parser[NKey::kShowDialog].ThereIs; in Parse2()
1056 if (parser[NKey::kArchiveType].ThereIs) in Parse2()
1057 options.ArcType = parser[NKey::kArchiveType].PostStrings[0]; in Parse2()
1059 options.ExcludedArcTypes = parser[NKey::kExcludedArcType].PostStrings; in Parse2()
1063 options.EnablePercents = !parser[NKey::kDisablePercents].ThereIs; in Parse2()
1072 if (parser[NKey::kNtSecurity].ThereIs) options.NtSecurity.SetTrueTrue(); in Parse2()
1074 SetBoolPair(parser, NKey::kAltStreams, options.AltStreams); in Parse2()
1075 SetBoolPair(parser, NKey::kHardLinks, options.HardLinks); in Parse2()
1076 SetBoolPair(parser, NKey::kSymLinks, options.SymLinks); in Parse2()
1098 nt.ReplaceColonForAltStream = parser[NKey::kReplaceColonForAltStream].ThereIs; in Parse2()
1099 nt.WriteToAltStreamIfColon = parser[NKey::kWriteToAltStreamIfColon].ThereIs; in Parse2()
1111 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1112 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArInclude].PostStrings, true, NRecursedType::k… in Parse2()
1113 if (parser[NKey::kArExclude].ThereIs) in Parse2()
1114 …AddSwitchWildcardsToCensor(arcCensor, parser[NKey::kArExclude].PostStrings, false, NRecursedType::… in Parse2()
1129 UString arcName = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1148 if (parser[NKey::kOutputDir].ThereIs) in Parse2()
1150 eo.OutputDir = us2fs(parser[NKey::kOutputDir].PostStrings[0]); in Parse2()
1155 if (parser[NKey::kOverwrite].ThereIs) in Parse2()
1157 eo.OverwriteMode = k_OverwriteModes[parser[NKey::kOverwrite].PostCharIndex]; in Parse2()
1181 if (parser[NKey::kArInclude].ThereIs) in Parse2()
1190 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()
1200 updateOptions.EMailMode = parser[NKey::kEmail].ThereIs; in Parse2()
1203 updateOptions.EMailAddress = parser[NKey::kEmail].PostStrings.Front(); in Parse2()
1215 updateOptions.DeleteAfterCompressing = parser[NKey::kDeleteAfterCompressing].ThereIs; in Parse2()
1216 updateOptions.SetArcMTime = parser[NKey::kSetArcMTime].ThereIs; in Parse2()
1223 updateOptions.StdInFileName = parser[NKey::kStdIn].PostStrings.Front(); in Parse2()
1247 if (parser[NKey::kShareForWrite].ThereIs) in Parse2()