/dports/lang/mono/mono-5.10.1.57/mcs/class/Microsoft.Build.Utilities/Microsoft.Build.Utilities/ |
H A D | CommandLineBuilder.cs | 145 if (switchName == null) in AppendSwitch() 149 commandLine.Append (switchName); in AppendSwitch() 155 if (switchName == null) in AppendSwitchIfNotNull() 170 if (switchName == null) in AppendSwitchIfNotNull() 187 if (switchName == null) in AppendSwitchIfNotNull() 219 if (switchName == null) in AppendSwitchIfNotNull() 250 if (switchName == null) in AppendSwitchUnquotedIfNotNull() 263 if (switchName == null) in AppendSwitchUnquotedIfNotNull() 277 if (switchName == null) in AppendSwitchUnquotedIfNotNull() 306 if (switchName == null) in AppendSwitchUnquotedIfNotNull() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/AppContext/ |
H A D | AppContext.Switch.cs | 14 string switchName = GetSwitchName(); in SwitchNotFound() 23 string switchName = GetSwitchName(); in EnableSwitch() 24 AppContext.SetSwitch(switchName, true); in EnableSwitch() 52 string switchName = GetSwitchName(); in EnableSwitchMultipleTimes() 54 AppContext.SetSwitch(switchName, true); in EnableSwitchMultipleTimes() 55 AppContext.SetSwitch(switchName, true); in EnableSwitchMultipleTimes() 65 string switchName = GetSwitchName(); in DisableSwitch() 67 AppContext.SetSwitch(switchName, true); in DisableSwitch() 73 AppContext.SetSwitch(switchName, false); in DisableSwitch() 97 string switchName = GetSwitchName(); in DisableSwitchMultipleTimes() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.AppContext/tests/ |
H A D | AppContext.Switch.cs | 15 string switchName = GetSwitchName(); in SwitchNotFound() 25 string switchName = GetSwitchName(); in EnableSwitch() 26 AppContext.SetSwitch(switchName, true); in EnableSwitch() 54 string switchName = GetSwitchName(); in EnableSwitchMultipleTimes() 56 AppContext.SetSwitch(switchName, true); in EnableSwitchMultipleTimes() 57 AppContext.SetSwitch(switchName, true); in EnableSwitchMultipleTimes() 67 string switchName = GetSwitchName(); in DisableSwitch() 69 AppContext.SetSwitch(switchName, true); in DisableSwitch() 75 AppContext.SetSwitch(switchName, false); in DisableSwitch() 99 string switchName = GetSwitchName(); in DisableSwitchMultipleTimes() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/graphics/contrib/mandel/ |
H A D | args.c | 18 GetIntArg( argc, argv, switchName, val ) in GetIntArg() argument 20 char **argv, *switchName; 49 GetDoubleArg( argc, argv, switchName, val ) in GetDoubleArg() argument 52 char **argv, *switchName; 81 GetStringArg( argc, argv, switchName, val ) in GetStringArg() argument 83 char **argv, *switchName, **val; 109 IsArgPresent( argc, argv, switchName ) in IsArgPresent() argument 111 char **argv, *switchName; 140 char **argv, *switchName, **value; 183 char **argv, *switchName; [all …]
|
H A D | args.h | 13 int GetIntArg( int *argc, char **argv, char *switchName, int *val ); 14 int GetDoubleArg( int *argc, char **argv, char *switchName, double *val ); 15 int GetStringArg( int *argc, char **argv, char *switchName, char **val ); 16 int IsArgPresent( int *argc, char **argv, char *switchName ); 17 int GetArgAdjacentString( int *argc, char **argv, char *switchName, 19 int GetIntListArg( int *argc, char **argv, char *switchName, 21 int GetStringListArg( int *argc, char **argv, char *switchName,
|
/dports/devel/msbuild/msbuild-0.06/src/Utilities/ |
H A D | CommandLineBuilder.cs | 532 public void AppendSwitch(string switchName) in AppendSwitch() argument 537 AppendTextUnquoted(switchName); in AppendSwitch() 556 AppendSwitch(switchName); in AppendSwitchIfNotNull() 571 if (string.IsNullOrEmpty(switchName)) in VerifyThrowNoEmbeddedDoubleQuotes() 586 switchName, in VerifyThrowNoEmbeddedDoubleQuotes() 608 AppendSwitchIfNotNull(switchName, parameter.ItemSpec); in AppendSwitchIfNotNull() 630 AppendSwitch(switchName); in AppendSwitchIfNotNull() 662 AppendSwitch(switchName); in AppendSwitchIfNotNull() 700 AppendSwitch(switchName); in AppendSwitchUnquotedIfNotNull() 741 AppendSwitch(switchName); in AppendSwitchUnquotedIfNotNull() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/AppContext/ |
H A D | AppContext.cs | 95 public static bool TryGetSwitch(string switchName, out bool isEnabled) in TryGetSwitch() argument 97 if (switchName == null) in TryGetSwitch() 99 if (switchName.Length == 0) in TryGetSwitch() 116 if (s_switchMap.TryGetValue(switchName, out switchValue)) in TryGetSwitch() 184 s_switchMap[switchName] = SwitchValueState.UnknownValue; in TryGetSwitch() 195 public static void SetSwitch(string switchName, bool isEnabled) in SetSwitch() argument 197 if (switchName == null) in SetSwitch() 199 if (switchName.Length == 0) in SetSwitch() 215 s_switchMap[switchName] = switchValue; in SetSwitch() 223 internal static void DefineSwitchDefault(string switchName, bool isEnabled) in DefineSwitchDefault() argument [all …]
|
H A D | AppContextDefaultValues.DesktopOverrides.cs | 93 …static partial void TryGetSwitchOverridePartial(string switchName, ref bool overrideFound, ref boo… in TryGetSwitchOverridePartial() argument 103 valueFromConfig = GetSwitchValueFromRegistry(switchName); in TryGetSwitchOverridePartial() 111 … valueFromConfig = System.Runtime.Versioning.CompatibilitySwitch.GetValue(switchName); in TryGetSwitchOverridePartial() 124 private static string GetSwitchValueFromRegistry(string switchName) in GetSwitchValueFromRegistry() argument 142 … if (Win32Native.RegQueryValueEx(hkey, switchName, null, ref type, keyBuffer, ref size) == 0) in GetSwitchValueFromRegistry()
|
H A D | AppContextSwitches.cs | 117 internal static bool GetCachedSwitchValue(string switchName, ref int switchValue) 122 return GetCachedSwitchValueInternal(switchName, ref switchValue); 125 private static bool GetCachedSwitchValueInternal(string switchName, ref int switchValue) 128 AppContext.TryGetSwitch(switchName, out isSwitchEnabled);
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/ |
H A D | AppContext.cs | 139 public static bool TryGetSwitch(string switchName, out bool isEnabled) in TryGetSwitch() argument 141 if (switchName == null) in TryGetSwitch() 142 throw new ArgumentNullException(nameof(switchName)); in TryGetSwitch() 143 if (switchName.Length == 0) in TryGetSwitch() 152 if (s_switchMap.TryGetValue(switchName, out switchValue)) in TryGetSwitch() 214 s_switchMap[switchName] = SwitchValueState.UnknownValue; in TryGetSwitch() 225 public static void SetSwitch(string switchName, bool isEnabled) in SetSwitch() argument 227 if (switchName == null) in SetSwitch() 228 throw new ArgumentNullException(nameof(switchName)); in SetSwitch() 229 if (switchName.Length == 0) in SetSwitch() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/InternalApis/Clr/inc/ |
H A D | LocalAppContext.cs | 26 private delegate bool TryGetSwitchDelegate(string switchName, out bool value); in TryGetSwitchDelegate() argument 48 public static bool IsSwitchEnabled(string switchName) in IsSwitchEnabled() argument 53 if (TryGetSwitchFromCentralAppContext(switchName, out isEnabledCentrally)) in IsSwitchEnabled() 61 return IsSwitchEnabledLocal(switchName); in IsSwitchEnabled() 64 private static bool IsSwitchEnabledLocal(string switchName) in IsSwitchEnabledLocal() argument 70 isPresent = s_switchMap.TryGetValue(switchName, out isEnabled); in IsSwitchEnabledLocal() 111 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 118 return LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 121 bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 131 internal static void DefineSwitchDefault(string switchName, bool initialValue) in DefineSwitchDefault() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/InternalApis/Clr/inc/ |
H A D | LocalAppContext.cs | 26 private delegate bool TryGetSwitchDelegate(string switchName, out bool value); in TryGetSwitchDelegate() argument 48 public static bool IsSwitchEnabled(string switchName) in IsSwitchEnabled() argument 53 if (TryGetSwitchFromCentralAppContext(switchName, out isEnabledCentrally)) in IsSwitchEnabled() 61 return IsSwitchEnabledLocal(switchName); in IsSwitchEnabled() 64 private static bool IsSwitchEnabledLocal(string switchName) in IsSwitchEnabledLocal() argument 70 isPresent = s_switchMap.TryGetValue(switchName, out isEnabled); in IsSwitchEnabledLocal() 111 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 118 return LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 121 bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 131 internal static void DefineSwitchDefault(string switchName, bool initialValue) in DefineSwitchDefault() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/InternalApis/Clr/inc/ |
H A D | LocalAppContext.cs | 26 private delegate bool TryGetSwitchDelegate(string switchName, out bool value); in TryGetSwitchDelegate() argument 48 public static bool IsSwitchEnabled(string switchName) in IsSwitchEnabled() argument 53 if (TryGetSwitchFromCentralAppContext(switchName, out isEnabledCentrally)) in IsSwitchEnabled() 61 return IsSwitchEnabledLocal(switchName); in IsSwitchEnabled() 64 private static bool IsSwitchEnabledLocal(string switchName) in IsSwitchEnabledLocal() argument 70 isPresent = s_switchMap.TryGetValue(switchName, out isEnabled); in IsSwitchEnabledLocal() 111 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 118 return LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 121 bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 131 internal static void DefineSwitchDefault(string switchName, bool initialValue) in DefineSwitchDefault() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ComponentModel.DataAnnotations/InternalApis/Clr/inc/ |
H A D | LocalAppContext.cs | 26 private delegate bool TryGetSwitchDelegate(string switchName, out bool value); in TryGetSwitchDelegate() argument 48 public static bool IsSwitchEnabled(string switchName) in IsSwitchEnabled() argument 53 if (TryGetSwitchFromCentralAppContext(switchName, out isEnabledCentrally)) in IsSwitchEnabled() 61 return IsSwitchEnabledLocal(switchName); in IsSwitchEnabled() 64 private static bool IsSwitchEnabledLocal(string switchName) in IsSwitchEnabledLocal() argument 70 isPresent = s_switchMap.TryGetValue(switchName, out isEnabled); in IsSwitchEnabledLocal() 111 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 118 return LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 121 bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 131 internal static void DefineSwitchDefault(string switchName, bool initialValue) in DefineSwitchDefault() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/InternalApis/Clr/inc/ |
H A D | LocalAppContext.cs | 26 private delegate bool TryGetSwitchDelegate(string switchName, out bool value); in TryGetSwitchDelegate() argument 48 public static bool IsSwitchEnabled(string switchName) in IsSwitchEnabled() argument 53 if (TryGetSwitchFromCentralAppContext(switchName, out isEnabledCentrally)) in IsSwitchEnabled() 61 return IsSwitchEnabledLocal(switchName); in IsSwitchEnabled() 64 private static bool IsSwitchEnabledLocal(string switchName) in IsSwitchEnabledLocal() argument 70 isPresent = s_switchMap.TryGetValue(switchName, out isEnabled); in IsSwitchEnabledLocal() 111 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 118 return LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 121 bool isEnabled = LocalAppContext.IsSwitchEnabled(switchName); in GetCachedSwitchValueInternal() 131 internal static void DefineSwitchDefault(string switchName, bool initialValue) in DefineSwitchDefault() argument [all …]
|
/dports/devel/msbuild/msbuild-0.06/src/Tasks/ |
H A D | CommandLineBuilderExtension.cs | 44 string switchName, in AppendWhenTrue() argument 57 AppendSwitch(switchName); in AppendWhenTrue() 70 string switchName, in AppendPlusOrMinusSwitch() argument 81 AppendSwitchUnquotedIfNotNull(switchName, (value ? "+" : "-")); in AppendPlusOrMinusSwitch() 96 string switchName, in AppendByChoiceSwitch() argument 120 string switchName, in AppendSwitchWithInteger() argument 143 AppendSwitchUnquotedIfNotNull(switchName, alias + "="); in AppendSwitchAliased() 185 string switchName, in AppendSwitchIfNotNull() argument 210 AppendSwitchIfNotNull(switchName, splitAndTrimmed, delimiter); in AppendSwitchWithSplitting() 251 string switchName, in AppendSwitchIfNotNull() argument [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/kstarslite/qml/indi/modules/ |
H A D | KSButtonsSwitchRow.qml | 25 if(children[i].switchName == switchName) { 34 function addButton(propText, switchName, initChecked, enabled) { 38 button.switchName = switchName 44 function addCheckBox(propText, switchName, initChecked, enabled) { 48 checkBox.switchName = switchName 54 function sendNewSwitch(switchName, button) { 55 ClientManagerLite.sendNewINDISwitch(deviceName,propName,switchName)
|
/dports/x11-toolkits/itk/itk3.3/generic/ |
H A D | itk_option.c | 70 char *switchName, *resName, *resClass, *init, *config; local 85 switchName = Tcl_GetStringFromObj(objv[1], (int*)NULL); 86 if (*switchName != '-') { 88 "bad option name \"", switchName, "\": should be -", switchName, 92 if (strstr(switchName, ".")) { 431 opt->member = Itcl_CreateMember(interp, cdefn, switchName); 462 Itk_FindClassOption(cdefn, switchName) in Itk_FindClassOption() argument 476 if (*switchName != '-') { 478 Tcl_DStringAppend(&buffer, switchName, -1); 479 switchName = Tcl_DStringValue(&buffer); [all …]
|
H A D | itk_archetype.c | 3260 if (*switchName != '-') { 3265 name = switchName; 3349 if (name != switchName) { 3649 if (*switchName != '-') { 3654 name = switchName; 3676 if (name != switchName) { 3721 if (*switchName != '-') { 3726 name = switchName; 3765 if (name != switchName) { 4089 if (*switchName != '-') { [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/util/cmdline_utils/ |
H A D | censor_cmdline.cpp | 42 static bool _isPasswordSwitch(char const* switchName); 60 static bool _isPasswordSwitch(const char* switchName) { in _isPasswordSwitch() argument 70 if (switchName[0] != '-') in _isPasswordSwitch() 73 if (switchName[1] == '-') in _isPasswordSwitch() 75 switchName += i; in _isPasswordSwitch() 78 if (mongoutils::str::equals(switchName, *current)) in _isPasswordSwitch() 129 std::string switchName(arg.begin(), endSwitch); in censorArgsVector() local 130 if (_isPasswordSwitch(switchName.c_str())) { in censorArgsVector() 136 arg = switchName + "=<password>"; in censorArgsVector()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | bcldebug.cs | 135 static public void Log(String switchName, String message) { in Log() argument 143 ls = LogSwitch.GetSwitch(switchName); in Log() 150 …System.Diagnostics.Log.Trace("Switch was: " + ((switchName==null)?"<null>":switchName) + Environme… in Log() 211 internal static bool CheckEnabled(String switchName) { in CheckEnabled() argument 216 LogSwitch logSwitch = LogSwitch.GetSwitch(switchName); in CheckEnabled() 230 logSwitch = LogSwitch.GetSwitch(switchName); in CheckEnabled() 251 if (!CheckEnabled(switchName, level, out logSwitch)) { in Log() 284 if (!CheckEnabled(switchName, LogLevel.Trace, out logSwitch)) { in Trace() 317 if (!CheckEnabled(switchName, LogLevel.Trace, out logSwitch)) { in Trace() 330 public static void DumpStack(String switchName) { in DumpStack() argument [all …]
|
/dports/x11-toolkits/blt/blt2.5/generic/ |
H A D | bltSwitch.c | 83 if (specPtr->switchName == NULL) { 86 if ((specPtr->switchName[1] != c) 87 || (strncmp(specPtr->switchName, name, length) != 0)) { 97 if (specPtr->switchName[length] == 0) { 111 if (specPtr->switchName == NULL) { 258 } while ((specPtr->switchName == NULL) && 359 specPtr->switchName); 469 specPtr->switchName); 557 register char *switchName; in TCL_VARARGS_DEF() local 563 while ((switchName = va_arg(argList, char *)) != NULL) { in TCL_VARARGS_DEF() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/ReferenceSources/ |
H A D | BCLDebug.cs | 31 static public void Log (string switchName, string message) in Log() argument 36 public static void Log (string switchName, LogLevel level, params object[] messages) in Log() argument 46 public static void Trace (string switchName, params object[]messages) in Trace() argument 50 internal static bool CheckEnabled (string switchName) in CheckEnabled() argument
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/ |
H A D | LocalAppContext.cs | 17 internal static bool GetCachedSwitchValue(string switchName, ref int switchValue) in GetCachedSwitchValue() argument 22 return GetCachedSwitchValueInternal(switchName, ref switchValue); in GetCachedSwitchValue() 25 private static bool GetCachedSwitchValueInternal(string switchName, ref int switchValue) in GetCachedSwitchValueInternal() argument 28 AppContext.TryGetSwitch(switchName, out isSwitchEnabled); in GetCachedSwitchValueInternal()
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/ |
H A D | Microsoft.Build.Utilities.cs | 47 public void AppendSwitch(string switchName) { } in AppendSwitch() argument 48 …public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem parameter… in AppendSwitchIfNotNull() argument 49 …public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[] paramet… in AppendSwitchIfNotNull() argument 50 public void AppendSwitchIfNotNull(string switchName, string parameter) { } in AppendSwitchIfNotNull() argument 51 … public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { } in AppendSwitchIfNotNull() argument 52 …public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem p… in AppendSwitchUnquotedIfNotNull() argument 53 …public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[]… in AppendSwitchUnquotedIfNotNull() argument 54 public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { } in AppendSwitchUnquotedIfNotNull() argument 55 …public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter… in AppendSwitchUnquotedIfNotNull() argument 60 … protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { } in VerifyThrowNoEmbeddedDoubleQuotes() argument
|