Home
last modified time | relevance | path

Searched refs:TryParse (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System/
H A DIntegerTryParse.cs12 Assert.IsFalse(sbyte.TryParse("128", out i)); in Int8()
13 Assert.IsFalse(sbyte.TryParse("-129", out i)); in Int8()
19 Assert.IsFalse(byte.TryParse("256", out i)); in UInt8()
20 Assert.IsFalse(byte.TryParse("-1", out i)); in UInt8()
26 Assert.IsFalse(short.TryParse("32768", out i)); in Int16()
27 Assert.IsFalse(short.TryParse("-32769", out i)); in Int16()
33 Assert.IsFalse(ushort.TryParse("65536", out i)); in UInt16()
34 Assert.IsFalse(ushort.TryParse("-1", out i)); in UInt16()
40 Assert.IsFalse(int.TryParse("2147483648", out i)); in Int32()
48 Assert.IsFalse(uint.TryParse("-1", out i)); in UInt32()
[all …]
H A DUInt64Test.cs283 Assert.AreEqual (true, ulong.TryParse (MyString1, out result)); in TestTryParse()
290 Assert.AreEqual (true, ulong.TryParse ("1", out result)); in TestTryParse()
292 Assert.AreEqual (true, ulong.TryParse (" 1", out result)); in TestTryParse()
294 Assert.AreEqual (true, ulong.TryParse (" 1", out result)); in TestTryParse()
296 Assert.AreEqual (true, ulong.TryParse ("1 ", out result)); in TestTryParse()
298 Assert.AreEqual (true, ulong.TryParse ("+1", out result)); in TestTryParse()
300 Assert.AreEqual (false, ulong.TryParse ("-1", out result)); in TestTryParse()
301 Assert.AreEqual (false, ulong.TryParse (" -1", out result)); in TestTryParse()
306 Assert.AreEqual (false, ulong.TryParse (null, out result)); in TestTryParse()
318 Assert.AreEqual (false, ulong.TryParse (" - 1 ", out result)); in TestTryParse()
[all …]
H A DUInt32Test.cs295 Assert.AreEqual (true, UInt32.TryParse (MyString1, out result)); in TestTryParse()
302 Assert.AreEqual (true, UInt32.TryParse ("1", out result)); in TestTryParse()
304 Assert.AreEqual (true, UInt32.TryParse (" 1", out result)); in TestTryParse()
306 Assert.AreEqual (true, UInt32.TryParse (" 1", out result)); in TestTryParse()
308 Assert.AreEqual (true, UInt32.TryParse ("1 ", out result)); in TestTryParse()
310 Assert.AreEqual (true, UInt32.TryParse ("+1", out result)); in TestTryParse()
312 Assert.AreEqual (false, UInt32.TryParse ("-1", out result)); in TestTryParse()
313 Assert.AreEqual (false, UInt32.TryParse (" -1", out result)); in TestTryParse()
318 Assert.AreEqual (false, UInt32.TryParse (null, out result)); in TestTryParse()
330 Assert.AreEqual (false, UInt32.TryParse (" - 1 ", out result)); in TestTryParse()
[all …]
H A DInt32Test.cs371 Assert.AreEqual (true, Int32.TryParse ("1", out result)); in TestTryParse()
373 Assert.AreEqual (true, Int32.TryParse (" 1", out result)); in TestTryParse()
375 Assert.AreEqual (true, Int32.TryParse (" 1", out result)); in TestTryParse()
377 Assert.AreEqual (true, Int32.TryParse ("1 ", out result)); in TestTryParse()
379 Assert.AreEqual (true, Int32.TryParse ("+1", out result)); in TestTryParse()
381 Assert.AreEqual (true, Int32.TryParse ("-1", out result)); in TestTryParse()
383 Assert.AreEqual (true, Int32.TryParse (" -1", out result)); in TestTryParse()
391 Assert.AreEqual (false, Int32.TryParse (null, out result)); in TestTryParse()
404 Assert.AreEqual (false, Int32.TryParse (" - ", out result)); in TestTryParse()
512 Assert.IsTrue (int.TryParse (">11", out val), "#1"); in ParseRespectCurrentCulture()
[all …]
H A DInt64Test.cs422 Assert.AreEqual (true, long.TryParse ("1", out result)); in TestTryParse()
424 Assert.AreEqual (true, long.TryParse (" 1", out result)); in TestTryParse()
426 Assert.AreEqual (true, long.TryParse (" 1", out result)); in TestTryParse()
428 Assert.AreEqual (true, long.TryParse ("1 ", out result)); in TestTryParse()
430 Assert.AreEqual (true, long.TryParse ("+1", out result)); in TestTryParse()
432 Assert.AreEqual (true, long.TryParse ("-1", out result)); in TestTryParse()
434 Assert.AreEqual (true, long.TryParse (" -1", out result)); in TestTryParse()
436 Assert.AreEqual (true, long.TryParse (" -1 ", out result)); in TestTryParse()
438 Assert.AreEqual (true, long.TryParse (" -1 ", out result)); in TestTryParse()
442 Assert.AreEqual (false, long.TryParse (null, out result)); in TestTryParse()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/Util/
H A DAppSettings.cs38 …if (settings == null || !Boolean.TryParse(settings["aspnet:UseHostHeaderForRequestUrl"], out _useH… in EnsureSettingsLoaded()
41 …if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAnonymousImpersonation"], out _all… in EnsureSettingsLoaded()
47 …if (settings == null || !Boolean.TryParse(settings["aspnet:UseLegacyEncryption"], out _useLegacyEn… in EnsureSettingsLoaded()
64 …if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedHttpUserName"], out _allowR… in EnsureSettingsLoaded()
73 …if (settings == null || !Boolean.TryParse(settings["aspnet:AllowAsyncDuringSyncStages"], out _allo… in EnsureSettingsLoaded()
88 …if (settings == null || !Boolean.TryParse(settings["aspnet:RestrictXmlControls"], out _restrictXml… in EnsureSettingsLoaded()
91 …if (settings == null || !Boolean.TryParse(settings["aspnet:AllowRelaxedRelativeUrl"], out _allowRe… in EnsureSettingsLoaded()
115 …if (settings == null || !Boolean.TryParse(settings["aspnet:PortableCompilationOutput"], out _porta… in EnsureSettingsLoaded()
130 …if (settings == null || !Boolean.TryParse(settings["aspnet:EnableAsyncModelBinding"], out _enableA… in EnsureSettingsLoaded()
167 … return (settings != null && Boolean.TryParse(settings[key], out value)) ? value : (bool?)null; in GetNullableBooleanValue()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Net.Http/System.Net.Http.Headers/
H A DHttpHeaders.cs95 HeaderInfo.CreateMulti<string> ("Allow", CollectionParser.TryParse, HttpHeaderKind.Content, 0), in HttpHeaders()
102 HeaderInfo.CreateSingle<long> ("Content-Length", Parser.Long.TryParse, HttpHeaderKind.Content), in HttpHeaders()
104 HeaderInfo.CreateSingle<byte[]> ("Content-MD5", Parser.MD5.TryParse, HttpHeaderKind.Content), in HttpHeaders()
112 HeaderInfo.CreateSingle<string> ("Host", Parser.Host.TryParse, HttpHeaderKind.Request), in HttpHeaders()
119 HeaderInfo.CreateSingle<Uri> ("Location", Parser.Uri.TryParse, HttpHeaderKind.Response), in HttpHeaders()
120 HeaderInfo.CreateSingle<int> ("Max-Forwards", Parser.Int.TryParse, HttpHeaderKind.Request), in HttpHeaders()
125 HeaderInfo.CreateSingle<Uri> ("Referer", Parser.Uri.TryParse, HttpHeaderKind.Request), in HttpHeaders()
133 HeaderInfo.CreateMulti<string> ("Vary", CollectionParser.TryParse, HttpHeaderKind.Response), in HttpHeaders()
190 if (!headerInfo.TryParse (value, out parsed_value)) { in AddInternal()
463 if (!hinfo.TryParse (value.Values [0], out pvalue)) { in GetValue()
[all …]
H A DParser.cs39 public static bool TryParse (string input, out string result) in TryParse() method in System.Net.Http.Headers.Parser.Token
107 public static bool TryParse (string input, out DateTimeOffset result) in TryParse() method in System.Net.Http.Headers.Parser.DateTime
115 public static bool TryParse (string input, out string result) in TryParse() method in System.Net.Http.Headers.Parser.EmailAddress
130 public static bool TryParse (string input, out string result) in TryParse() method in System.Net.Http.Headers.Parser.Host
141 public static bool TryParse (string input, out int result) in TryParse() method in System.Net.Http.Headers.Parser.Int
149 public static bool TryParse (string input, out long result) in TryParse() method in System.Net.Http.Headers.Parser.Long
159 public static bool TryParse (string input, out byte[] result) in TryParse() method in System.Net.Http.Headers.Parser.MD5
173 public static bool TryParse (string input, out TimeSpan result) in TryParse() method in System.Net.Http.Headers.Parser.TimeSpanSeconds
176 if (Int.TryParse (input, out value)) { in TryParse()
188 public static bool TryParse (string input, out System.Uri result) in TryParse() method in System.Net.Http.Headers.Parser.Uri
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Memory/tests/ParsersAndFormatters/Parser/
H A DValidateParser.cs141 bool success = Utf8Parser.TryParse(text, out bool v, out bytesConsumed, format); in TryParseUtf8()
148 bool success = Utf8Parser.TryParse(text, out sbyte v, out bytesConsumed, format); in TryParseUtf8()
155 bool success = Utf8Parser.TryParse(text, out byte v, out bytesConsumed, format); in TryParseUtf8()
162 bool success = Utf8Parser.TryParse(text, out short v, out bytesConsumed, format); in TryParseUtf8()
176 bool success = Utf8Parser.TryParse(text, out int v, out bytesConsumed, format); in TryParseUtf8()
183 bool success = Utf8Parser.TryParse(text, out uint v, out bytesConsumed, format); in TryParseUtf8()
190 bool success = Utf8Parser.TryParse(text, out long v, out bytesConsumed, format); in TryParseUtf8()
211 bool success = Utf8Parser.TryParse(text, out Guid v, out bytesConsumed, format); in TryParseUtf8()
258 bool success = Utf8Parser.TryParse(text, out bool v, out bytesConsumed, format); in TryParseUtf8()
272 bool success = Utf8Parser.TryParse(text, out byte v, out bytesConsumed, format); in TryParseUtf8()
[all …]
/dports/graphics/cfdg/cfdg-3.3_1/src-net/DPS_3.06/Docking/
H A DPatchController.cs54 if (bool.TryParse(environment, out enable))
134 if (bool.TryParse(environment, out enable))
212 if (bool.TryParse(environment, out enable))
290 if (bool.TryParse(environment, out enable))
368 if (bool.TryParse(environment, out enable))
446 if (bool.TryParse(environment, out enable))
524 if (bool.TryParse(environment, out enable))
602 if (bool.TryParse(environment, out enable))
680 if (bool.TryParse(environment, out enable))
758 if (bool.TryParse(environment, out enable))
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/jsapi-tests/
H A DtestParseJSON.cpp56 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
62 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
65 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
68 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
71 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
74 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
77 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
80 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
338 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
340 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/www/firefox/firefox-99.0/js/src/jsapi-tests/
H A DtestParseJSON.cpp57 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
63 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
66 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
69 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
72 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
75 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
78 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
81 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
339 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
341 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/jsapi-tests/
H A DtestParseJSON.cpp52 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
58 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
61 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
64 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
67 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
70 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
73 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
76 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
340 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
342 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jsapi-tests/
H A DtestParseJSON.cpp49 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
55 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
58 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
61 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
64 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
67 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
70 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
73 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
332 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
334 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/jsapi-tests/
H A DtestParseJSON.cpp56 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
62 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
65 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
68 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
71 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
74 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
77 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
80 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
338 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
340 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/jsapi-tests/
H A DtestParseJSON.cpp55 CHECK(TryParse(cx, "true", expected)); in BEGIN_TEST()
61 CHECK(TryParse(cx, "null", expected)); in BEGIN_TEST()
64 CHECK(TryParse(cx, "0", expected)); in BEGIN_TEST()
67 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
70 CHECK(TryParse(cx, "-1", expected)); in BEGIN_TEST()
73 CHECK(TryParse(cx, "1", expected)); in BEGIN_TEST()
76 CHECK(TryParse(cx, "1.75", expected)); in BEGIN_TEST()
79 CHECK(TryParse(cx, "9e9", expected)); in BEGIN_TEST()
337 CHECK(TryParse(cx, "1", filter)); in BEGIN_TEST()
339 CHECK(TryParse(cx, "[]", filter)); in BEGIN_TEST()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/tests/UnitTests/Headers/
H A DContentDispositionHeaderValueTest.cs702 ContentDispositionHeaderValue header = TryParse(cd);
710 ContentDispositionHeaderValue header = TryParse(cd);
718 ContentDispositionHeaderValue header = TryParse(cd);
726 ContentDispositionHeaderValue header = TryParse(cd);
734 ContentDispositionHeaderValue header = TryParse(cd);
742 ContentDispositionHeaderValue header = TryParse(cd);
750 ContentDispositionHeaderValue header = TryParse(cd);
758 ContentDispositionHeaderValue header = TryParse(cd);
766 ContentDispositionHeaderValue header = TryParse(cd);
774 ContentDispositionHeaderValue header = TryParse(cd);
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/FunctionScripts/
H A DFunctionScript.Notation.cs347 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
370 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
372 …if (double.TryParse(Stack[StackLength - 2], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
422 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
424 …if (double.TryParse(Stack[StackLength - 2], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
499 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
592 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
623 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
640 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
695 …if (double.TryParse(Stack[StackLength - 1], System.Globalization.NumberStyles.Float, Culture, out … in GetOptimizedPostfixNotation()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/InputDevicePlugins/DenshaDeGoInput/
H A DDenshaDeGoInput.cs602 if (int.TryParse(Value, out a)) in LoadConfig()
611 if (int.TryParse(Value, out a)) in LoadConfig()
620 if (int.TryParse(Value, out a)) in LoadConfig()
629 if (int.TryParse(Value, out a)) in LoadConfig()
638 if (int.TryParse(Value, out a)) in LoadConfig()
647 if (int.TryParse(Value, out a)) in LoadConfig()
656 if (int.TryParse(Value, out a)) in LoadConfig()
665 if (int.TryParse(Value, out a)) in LoadConfig()
674 if (int.TryParse(Value, out a)) in LoadConfig()
683 if (int.TryParse(Value, out a)) in LoadConfig()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.WebPages/
H A DStringExtensions.cs26 return Int32.TryParse(value, out result) ? result : defaultValue; in AsInt()
50 return Single.TryParse(value, out result) ? result : defaultValue; in AsFloat()
61 return DateTime.TryParse(value, out result) ? result : defaultValue; in AsDateTime()
79 return Boolean.TryParse(value, out result) ? result : defaultValue; in AsBool()
110 return Boolean.TryParse(value, out result); in IsBool()
117 return Int32.TryParse(value, out result); in IsInt()
131 return Single.TryParse(value, out result); in IsFloat()
137 return DateTime.TryParse(value, out result); in IsDateTime()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/Test/System.Xaml.Schema/
H A DXamlTypeNameTest.cs260 XamlTypeName.TryParse (null, new MyNSResolver (), out dummy); in TryParseNullName()
267 XamlTypeName.TryParse ("Foo", null, out dummy); in TryParseNullResolver()
281 Assert.IsFalse (XamlTypeName.TryParse (":", r, out dummy), "#1"); in TryParseColon()
282 Assert.IsFalse (XamlTypeName.TryParse ("a:", r, out dummy), "#2"); in TryParseColon()
283 Assert.IsFalse (XamlTypeName.TryParse (":b", r, out dummy), "#3"); in TryParseColon()
292 Assert.IsFalse (XamlTypeName.TryParse ("$%#___!", r, out dummy), "#1"); in TryParseInvalidName()
293 Assert.IsFalse (XamlTypeName.TryParse ("a:#$#", r, out dummy), "#2"); in TryParseInvalidName()
294 Assert.IsFalse (XamlTypeName.TryParse ("#:foo", r, out dummy), "#3"); in TryParseInvalidName()
307 Assert.IsTrue (XamlTypeName.TryParse ("Foo", r, out dummy), "#1"); in TryParseFillEmpty()
330 Assert.IsTrue (XamlTypeName.TryParse ("x:Foo", r, out dummy), "#1"); in TryParseResolveSuccess()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/
H A Dparse.netcoreapp.cs18 … Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), ns, provider: null, out BigInteger test)); in VerifyParseSpanToString()
23 Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), out test)); in VerifyParseSpanToString()
31 … Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), ns, provider: null, out BigInteger test)); in VerifyParseSpanToString()
35 Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), out test)); in VerifyParseSpanToString()
45 …Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test)… in VerifySimpleFormatParseSpan()
51 …Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test… in VerifySimpleFormatParseSpan()
60 …Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test)… in VerifyFormatParseSpan()
66 …Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), ns, nfi, out BigInteger test), String.Form… in VerifyFormatParseSpan()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Graphics/HUD/
H A DHUD.cs89 if (!float.TryParse(Arguments[0], NumberStyles.Float, Culture, out x)) in LoadHUD()
112 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out x)) in LoadHUD()
297 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out r)) in LoadHUD()
330 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out r)) in LoadHUD()
363 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out r)) in LoadHUD()
396 if (!float.TryParse(Arguments[0], NumberStyles.Float, Culture, out x)) in LoadHUD()
419 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out x)) in LoadHUD()
442 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out s)) in LoadHUD()
480 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out s)) in LoadHUD()
508 if (!int.TryParse(Arguments[0], NumberStyles.Integer, Culture, out n)) in LoadHUD()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/System/Input/
H A DControls.cs196 if (int.TryParse(Terms[2], out SDLTest)) in LoadControls()
233 if (Enum.TryParse(Terms[2], true, out CurrentKey)) in LoadControls()
260 if (int.TryParse(Terms[2], NumberStyles.Integer, Culture, out oldDevice)) in LoadControls()
265 if (Device != new Guid() || Guid.TryParse(Terms[2], out Device)) in LoadControls()
271 if (Int32.TryParse(Terms[4], out CurrentAxis)) in LoadControls()
296 if (Int32.TryParse(Terms[4], out CurrentHat)) in LoadControls()
299 if (Int32.TryParse(Terms[5], out HatDirection)) in LoadControls()
321 if (Int32.TryParse(Terms[4], out CurrentButton)) in LoadControls()
350 if (Device != new Guid() || Guid.TryParse(Terms[2], out Device)) in LoadControls()
356 if (Int32.TryParse(Terms[4], out CurrentAxis)) in LoadControls()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/EntityModel/SchemaObjectModel/
H A DScalarType.cs55 public bool TryParse(string text, out object value) in TryParse() method in System.Data.EntityModel.SchemaObjectModel.ScalarType
119 if (!Boolean.TryParse(text, out temp)) in TryParseBoolean()
131 …if (!Byte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureIn… in TryParseByte()
143 …if (!SByte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureI… in TryParseSByte()
155 …if (!Int16.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureI… in TryParseInt16()
167 …if (!Int32.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureI… in TryParseInt32()
179 …if (!Int64.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureI… in TryParseInt64()
191 …if (!Double.TryParse(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureIn… in TryParseDouble()
203 …if (!Decimal.TryParse(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureI… in TryParseDecimal()
247 if (!DateTimeOffset.TryParse(text, out temp)) in TryParseDateTimeOffset()
[all …]

12345678910>>...52