/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/src/System/Web/ |
H A D | HttpUtility.cs | 151 str == null ? null : Encoding.ASCII.GetString(UrlEncodeToBytes(str, e)); in UrlEncode() 153 …rlEncode(byte[] bytes) => bytes == null ? null : Encoding.ASCII.GetString(UrlEncodeToBytes(bytes)); 155 …fset, int count) => bytes == null ? null : Encoding.ASCII.GetString(UrlEncodeToBytes(bytes, offset… in UrlEncode() 157 …public static byte[] UrlEncodeToBytes(string str) => str == null ? null : UrlEncodeToBytes(str, En… in UrlEncodeToBytes() method in System.Web.HttpUtility 159 …public static byte[] UrlEncodeToBytes(byte[] bytes) => bytes == null ? null : UrlEncodeToBytes(byt… 176 public static byte[] UrlEncodeToBytes(string str, Encoding e) in UrlEncodeToBytes() method in System.Web.HttpUtility 187 …public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) => HttpEncoder.UrlEncod… in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Net.Http.Formatting.Test.Unit/ |
H A D | UriQueryUtilityTests.cs | 33 Assert.Null(UriQueryUtility.UrlEncodeToBytes(null, 0, 0)); in UrlEncodeToBytesThrowsOnInvalidArgs() 34 Assert.ThrowsArgumentNull(() => UriQueryUtility.UrlEncodeToBytes(null, 0, 2), "bytes"); in UrlEncodeToBytesThrowsOnInvalidArgs() 36 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlEncodeToBytes(new byte[0], -1, 0), "offse… in UrlEncodeToBytesThrowsOnInvalidArgs() 37 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlEncodeToBytes(new byte[0], 2, 0), "offset… in UrlEncodeToBytesThrowsOnInvalidArgs() 39 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlEncodeToBytes(new byte[0], 0, -1), "count… in UrlEncodeToBytesThrowsOnInvalidArgs() 40 …Assert.ThrowsArgumentOutOfRange(() => UriQueryUtility.UrlEncodeToBytes(new byte[0], 0, 2), "count"… in UrlEncodeToBytesThrowsOnInvalidArgs()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/tests/HttpUtility/ |
H A D | HttpUtilityTest.cs | 615 public void UrlEncodeToBytes(string decoded, string encoded) in UrlEncodeToBytes() method in System.Web.Tests.HttpUtilityTest 617 …Assert.Equal(encoded, Encoding.UTF8.GetString(HttpUtility.UrlEncodeToBytes(decoded, Encoding.UTF8)… in UrlEncodeToBytes() 624 Assert.Equal(encoded, Encoding.UTF8.GetString(HttpUtility.UrlEncodeToBytes(decoded))); in UrlEncodeToBytes_DefaultEncoding() 631 …Assert.Equal(encoded, Encoding.UTF8.GetString(HttpUtility.UrlEncodeToBytes(bytes, 0, bytes.Length)… in UrlEncodeToBytesExplicitSize() 641 …Assert.Equal(encoded, Encoding.UTF8.GetString(HttpUtility.UrlEncodeToBytes(bytes, offset, count))); in UrlEncodeToBytesExplicitSize() 656 Assert.Null(HttpUtility.UrlEncodeToBytes(null, Encoding.UTF8)); in UrlEncodeToBytes_null() 657 Assert.Null(HttpUtility.UrlEncodeToBytes(default(byte[]))); in UrlEncodeToBytes_null() 658 Assert.Null(HttpUtility.UrlEncodeToBytes(default(string))); in UrlEncodeToBytes_null() 659 Assert.Null(HttpUtility.UrlEncodeToBytes(null, 2, 0)); in UrlEncodeToBytes_null() 660 … Assert.Throws<ArgumentNullException>("bytes", () => HttpUtility.UrlEncodeToBytes(null, 2, 3)); in UrlEncodeToBytes_null() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Web.HttpUtility/ref/ |
H A D | System.Web.HttpUtility.cs | 33 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 34 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 35 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 36 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/tests/System/Net/ |
H A D | WebUtility.cs | 356 public static void UrlEncodeToBytes(byte[] value, int offset, int count, byte[] expected) in UrlEncodeToBytes() method in System.Net.Tests.WebUtilityTests 358 byte[] actual = WebUtility.UrlEncodeToBytes(value, offset, count); in UrlEncodeToBytes() 365 …rtExtensions.Throws<ArgumentNullException>("bytes", () => WebUtility.UrlEncodeToBytes(null, 0, 1)); in UrlEncodeToBytes_NullBytes_ThrowsArgumentNullException() 373 …ions.Throws<ArgumentOutOfRangeException>("offset", () => WebUtility.UrlEncodeToBytes(new byte[1], … in UrlEncodeToBytes_InvalidOffset_ThrowsArgumentOutOfRangeException() 383 …sions.Throws<ArgumentOutOfRangeException>("count", () => WebUtility.UrlEncodeToBytes(new byte[byte… in UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh() 391 byte[] encoded = WebUtility.UrlEncodeToBytes(input, 0, input.Length); in UrlEncodeDecodeToBytes_Roundtrip() 418 byte[] encoded = WebUtility.UrlEncodeToBytes(input, offset, count); in UrlEncodeToBytes_ExcludeIrrelevantData() 431 byte[] output = WebUtility.UrlEncodeToBytes(input, 0, input.Length); in UrlEncodeToBytes_NoEncodingNeeded_ReturnsNewClonedArray()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web/ |
H A D | HttpUtility.cs | 368 return Encoding.ASCII.GetString (UrlEncodeToBytes (bytes, 0, realLen)); in UrlEncode() 379 return Encoding.ASCII.GetString (UrlEncodeToBytes (bytes, 0, bytes.Length)); in UrlEncode() 390 return Encoding.ASCII.GetString (UrlEncodeToBytes (bytes, offset, count)); in UrlEncode() 393 public static byte [] UrlEncodeToBytes (string str) in UrlEncodeToBytes() method in System.Web.HttpUtility 395 return UrlEncodeToBytes (str, Encoding.UTF8); in UrlEncodeToBytes() 398 public static byte [] UrlEncodeToBytes (string str, Encoding e) in UrlEncodeToBytes() method in System.Web.HttpUtility 407 return UrlEncodeToBytes (bytes, 0, bytes.Length); in UrlEncodeToBytes() 410 public static byte [] UrlEncodeToBytes (byte [] bytes) in UrlEncodeToBytes() method in System.Web.HttpUtility 418 return UrlEncodeToBytes (bytes, 0, bytes.Length); in UrlEncodeToBytes() 421 public static byte [] UrlEncodeToBytes (byte [] bytes, int offset, int count) in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web/ |
H A D | HttpUtilityCas.cs | 90 …Assert.AreEqual (0, HttpUtility.UrlEncodeToBytes (String.Empty).Length, "UrlEncodeToBytes(string)"… in StaticMethods_Deny_Unrestricted() 91 …Assert.AreEqual (0, HttpUtility.UrlEncodeToBytes (String.Empty, Encoding.ASCII).Length, "UrlEncode… in StaticMethods_Deny_Unrestricted() 92 …Assert.AreEqual (0, HttpUtility.UrlEncodeToBytes (new byte[0]).Length, "UrlEncodeToBytes(byte[])"); in StaticMethods_Deny_Unrestricted() 93 …Assert.AreEqual (0, HttpUtility.UrlEncodeToBytes (new byte[0], 0, 0).Length, "UrlEncodeToBytes(byt… in StaticMethods_Deny_Unrestricted()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/ |
H A D | httpserverutility.cs | 1346 return Encoding.ASCII.GetString(UrlEncodeToBytes(str, e)); in UrlEncode() 1360 return Encoding.ASCII.GetString(UrlEncodeToBytes(bytes)); in UrlEncode() 1370 return Encoding.ASCII.GetString(UrlEncodeToBytes(bytes, offset, count)); in UrlEncode() 1377 public static byte[] UrlEncodeToBytes(string str) { in UrlEncodeToBytes() method in System.Web.HttpUtility 1380 return UrlEncodeToBytes(str, Encoding.UTF8); in UrlEncodeToBytes() 1387 public static byte[] UrlEncodeToBytes(string str, Encoding e) { in UrlEncodeToBytes() method in System.Web.HttpUtility 1398 public static byte[] UrlEncodeToBytes(byte[] bytes) { in UrlEncodeToBytes() method in System.Web.HttpUtility 1401 return UrlEncodeToBytes(bytes, 0, bytes.Length); in UrlEncodeToBytes() 1408 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Internals/System/Runtime/ |
H A D | UrlUtility.cs | 75 return Encoding.ASCII.GetString(UrlEncodeToBytes(str, encoding)); in UrlEncode() 151 public static byte[] UrlEncodeToBytes(string str, Encoding e) in UrlEncodeToBytes() method in System.Runtime.UrlUtility
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Net.Http.Formatting/Internal/ |
H A D | UriQueryUtility.cs | 92 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) in UrlEncodeToBytes() method in System.Net.Http.Internal.UriQueryUtility
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.Util/ |
H A D | HttpEncoder.cs | 161 return UrlEncodeToBytes (bytes, offset, count); in UrlEncode() 201 internal static byte[] UrlEncodeToBytes (byte[] bytes, int offset, int count) in UrlEncodeToBytes() method in System.Web.Util.HttpEncoder
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http/Internal/ |
H A D | UriQueryUtility.cs | 290 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) in UrlEncodeToBytes() 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 D | WebUtility.cs | 390 public static byte[] UrlEncodeToBytes(byte[] value, int offset, int count) in UrlEncodeToBytes() method in System.Net.WebUtility
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/ |
H A D | WebUtility.cs | 488 public static byte[] UrlEncodeToBytes(byte[] value, int offset, int count) in HtmlEncode() method in System.Net.WebUtility
|
H A D | webclient.cs | 1690 return Encoding.ASCII.GetString(UrlEncodeToBytes(str, e)); in UrlEncode() 1693 private static byte[] UrlEncodeToBytes(string str, Encoding e) { in UrlEncodeToBytes() method in System.Net.WebClient
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/ |
H A D | System.Web.Services.cs | 85 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 86 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 87 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 88 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/ |
H A D | System.Web.Services.cs | 85 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 86 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 87 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 88 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/ref/ |
H A D | System.Runtime.Extensions.cs | 1589 public static byte[] UrlEncodeToBytes(byte[] value, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Net.WebUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/ |
H A D | System.Web.cs | 863 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 864 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 865 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 866 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.0/ |
H A D | System.Web.cs | 1875 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1876 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1877 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1878 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/ |
H A D | System.Web.cs | 1897 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1898 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1899 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1900 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.2/ |
H A D | System.Web.cs | 2002 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 2003 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 2004 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 2005 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.2/ |
H A D | System.Web.cs | 1966 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1967 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1968 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1969 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5/ |
H A D | System.Web.cs | 1957 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1958 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1959 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1960 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.1/ |
H A D | System.Web.cs | 1957 public static byte[] UrlEncodeToBytes(byte[] bytes) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1958 public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1959 public static byte[] UrlEncodeToBytes(string str) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility 1960 public static byte[] UrlEncodeToBytes(string str, System.Text.Encoding e) { throw null; } in UrlEncodeToBytes() method in System.Web.HttpUtility
|