Home
last modified time | relevance | path

Searched refs:UrlDecodeToBytes (Results 1 – 25 of 41) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Net.Http.Formatting.Test.Unit/
H A DUriQueryUtilityTests.cs141 Assert.Null(UriQueryUtility.UrlDecodeToBytes(null, 0, 0)); in UrlDecodeToBytesThrowsOnInvalidArgs()
142 Assert.ThrowsArgumentNull(() => UriQueryUtility.UrlDecodeToBytes(null, 0, 2), "bytes"); in UrlDecodeToBytesThrowsOnInvalidArgs()
144 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlDecodeToBytes(new byte[0], -1, 0), "offse… in UrlDecodeToBytesThrowsOnInvalidArgs()
145 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlDecodeToBytes(new byte[0], 2, 0), "offset… in UrlDecodeToBytesThrowsOnInvalidArgs()
147 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlDecodeToBytes(new byte[0], 0, -1), "count… in UrlDecodeToBytesThrowsOnInvalidArgs()
148 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlDecodeToBytes(new byte[0], 0, 2), "count"… in UrlDecodeToBytesThrowsOnInvalidArgs()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/src/System/Web/
H A DHttpUtility.cs170 …public static byte[] UrlDecodeToBytes(string str) => str == null ? null : UrlDecodeToBytes(str, En… in UrlDecodeToBytes() method in System.Web.HttpUtility
172 …public static byte[] UrlDecodeToBytes(string str, Encoding e) => str == null ? null : UrlDecodeToB… in UrlDecodeToBytes() method in System.Web.HttpUtility
174 …public static byte[] UrlDecodeToBytes(byte[] bytes) => bytes == null ? null : UrlDecodeToBytes(byt…
199 …public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) => HttpEncoder.UrlDecod… in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/ref/
H A DSystem.Web.HttpUtility.cs25 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
26 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
27 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
28 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/tests/HttpUtility/
H A DHttpUtilityTest.cs516 public void UrlDecodeToBytes(string decoded, string encoded) in UrlDecodeToBytes() method in System.Web.Tests.HttpUtilityTest
518 …Assert.Equal(decoded, Encoding.UTF8.GetString(HttpUtility.UrlDecodeToBytes(encoded, Encoding.UTF8)… in UrlDecodeToBytes()
525 Assert.Equal(decoded, Encoding.UTF8.GetString(HttpUtility.UrlDecodeToBytes(encoded))); in UrlDecodeToBytes_DefaultEncoding()
531 Assert.Null(HttpUtility.UrlDecodeToBytes(default(byte[]))); in UrlDecodeToBytes_null()
532 Assert.Null(HttpUtility.UrlDecodeToBytes(default(string))); in UrlDecodeToBytes_null()
533 Assert.Null(HttpUtility.UrlDecodeToBytes(default(string), Encoding.UTF8)); in UrlDecodeToBytes_null()
534 Assert.Null(HttpUtility.UrlDecodeToBytes(default(byte[]), 2, 0)); in UrlDecodeToBytes_null()
542 …Assert.Throws<ArgumentOutOfRangeException>("offset", () => HttpUtility.UrlDecodeToBytes(bytes, -1,… in UrlDecodeToBytes_OutOfRange()
543 …Assert.Throws<ArgumentOutOfRangeException>("offset", () => HttpUtility.UrlDecodeToBytes(bytes, 14,… in UrlDecodeToBytes_OutOfRange()
544 …Assert.Throws<ArgumentOutOfRangeException>("count", () => HttpUtility.UrlDecodeToBytes(bytes, 1, 1… in UrlDecodeToBytes_OutOfRange()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/tests/System/Net/
H A DWebUtility.cs293 public static void UrlDecodeToBytes(byte[] value, int offset, int count, byte[] expected) in UrlDecodeToBytes() method in System.Net.Tests.WebUtilityTests
295 byte[] actual = WebUtility.UrlDecodeToBytes(value, offset, count); in UrlDecodeToBytes()
302 …rtExtensions.Throws<ArgumentNullException>("bytes", () => WebUtility.UrlDecodeToBytes(null, 0, 1)); in UrlDecodeToBytes_NullBytes_ThrowsArgumentNullException()
310 …ions.Throws<ArgumentOutOfRangeException>("offset", () => WebUtility.UrlDecodeToBytes(new byte[1], … in UrlDecodeToBytes_InvalidOffset_ThrowsArgumentOutOfRangeException()
320 …sions.Throws<ArgumentOutOfRangeException>("count", () => WebUtility.UrlDecodeToBytes(new byte[byte… in UrlDecodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeException()
392 Assert.Equal(input, WebUtility.UrlDecodeToBytes(encoded, 0, encoded.Length)); in UrlEncodeDecodeToBytes_Roundtrip()
439 byte[] output = WebUtility.UrlDecodeToBytes(input, 0, input.Length); in UrlDecodeToBytes_NoDecodingNeeded_ReturnsNewClonedArray()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web/
H A DHttpUtilityCas.cs80 …Assert.AreEqual (0, HttpUtility.UrlDecodeToBytes (String.Empty).Length, "UrlDecodeToBytes(string)"… in StaticMethods_Deny_Unrestricted()
81 …Assert.AreEqual (0, HttpUtility.UrlDecodeToBytes (String.Empty, Encoding.ASCII).Length, "UrlDecode… in StaticMethods_Deny_Unrestricted()
82 …Assert.AreEqual (0, HttpUtility.UrlDecodeToBytes (new byte[0]).Length, "UrlDecodeToBytes(byte[])"); in StaticMethods_Deny_Unrestricted()
83 …Assert.AreEqual (0, HttpUtility.UrlDecodeToBytes (new byte[0], 0, 0).Length, "UrlDecodeToBytes(byt… in StaticMethods_Deny_Unrestricted()
H A DHttpUtilityTest.cs341 public void UrlDecodeToBytes () in UrlDecodeToBytes() method in MonoTests.System.Web.HttpUtilityTest
343 byte [] bytes = HttpUtility.UrlDecodeToBytes ("%5c"); in UrlDecodeToBytes()
346 bytes = HttpUtility.UrlDecodeToBytes ("%5"); in UrlDecodeToBytes()
454 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/appDir/page.aspx?foo=b%61r")), in UrlDecodeToBytes2()
460 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/appDir/page.aspx?foo=b%%61r")), in UrlDecodeToBytes2()
466 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/app%Dir/page.aspx?foo=b%%61r")), in UrlDecodeToBytes2()
472 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/app%%Dir/page.aspx?foo=b%%r")), in UrlDecodeToBytes2()
478 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/appDir/page.aspx?foo=b%61%r")), in UrlDecodeToBytes2()
484 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/appDir/page.aspx?foo=b%u0061r")), in UrlDecodeToBytes2()
490 HttpUtility.UrlDecodeToBytes ("http://127.0.0.1:8080/appDir/page.aspx?foo=b%%u0061r")), in UrlDecodeToBytes2()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web/
H A DHttpUtility.cs279 public static byte [] UrlDecodeToBytes (byte [] bytes) in UrlDecodeToBytes() method in System.Web.HttpUtility
284 return UrlDecodeToBytes (bytes, 0, bytes.Length); in UrlDecodeToBytes()
287 public static byte [] UrlDecodeToBytes (string str) in UrlDecodeToBytes() method in System.Web.HttpUtility
289 return UrlDecodeToBytes (str, Encoding.UTF8); in UrlDecodeToBytes()
292 public static byte [] UrlDecodeToBytes (string str, Encoding e) in UrlDecodeToBytes() method in System.Web.HttpUtility
300 return UrlDecodeToBytes (e.GetBytes (str)); in UrlDecodeToBytes()
303 public static byte [] UrlDecodeToBytes (byte [] bytes, int offset, int count) in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/
H A Dhttpserverutility.cs1472 public static byte[] UrlDecodeToBytes(string str) { in UrlDecodeToBytes() method in System.Web.HttpUtility
1475 return UrlDecodeToBytes(str, Encoding.UTF8); in UrlDecodeToBytes()
1482 public static byte[] UrlDecodeToBytes(string str, Encoding e) { in UrlDecodeToBytes() method in System.Web.HttpUtility
1485 return UrlDecodeToBytes(e.GetBytes(str)); in UrlDecodeToBytes()
1492 public static byte[] UrlDecodeToBytes(byte[] bytes) { in UrlDecodeToBytes() method in System.Web.HttpUtility
1495 return UrlDecodeToBytes(bytes, 0, (bytes != null) ? bytes.Length : 0); in UrlDecodeToBytes()
1502 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Net.Http.Formatting/Internal/
H A DUriQueryUtility.cs224 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) in UrlDecodeToBytes() method in System.Net.Http.Internal.UriQueryUtility
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http/Internal/
H A DUriQueryUtility.cs422 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) in UrlDecodeToBytes() method in System.Web.Http.Internal.UriQueryUtility
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/src/System/Net/
H A DWebUtility.cs544 public static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count) in UrlDecodeToBytes() method in System.Net.WebUtility
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A DWebUtility.cs606 public static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count) in HtmlEncode() method in System.Net.WebUtility
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/
H A DSystem.Web.Services.cs77 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
78 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
79 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
80 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/
H A DSystem.Web.Services.cs77 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
78 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
79 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
80 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/ref/
H A DSystem.Runtime.Extensions.cs1587 … public static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Net.WebUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/
H A DSystem.Web.cs855 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
856 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
857 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
858 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.0/
H A DSystem.Web.cs1867 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1868 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1869 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1870 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/
H A DSystem.Web.cs1889 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1890 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1891 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1892 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.2/
H A DSystem.Web.cs1994 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1995 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1996 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1997 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.2/
H A DSystem.Web.cs1958 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1959 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1960 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1961 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5/
H A DSystem.Web.cs1949 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1950 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1951 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1952 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.1/
H A DSystem.Web.cs1949 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1950 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1951 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1952 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.7.1/
H A DSystem.Web.cs1864 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1865 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1866 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1867 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.1/
H A DSystem.Web.cs1968 public static byte[] UrlDecodeToBytes(byte[] bytes) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1969 public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1970 public static byte[] UrlDecodeToBytes(string str) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility
1971 public static byte[] UrlDecodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlDecodeToBytes() method in System.Web.HttpUtility

12