Home
last modified time | relevance | path

Searched refs:UriComponents (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/
H A DUri.MethodsTests.cs285 …yield return new object[] { absoluteUri1, absoluteUri2, UriComponents.Query | UriComponents.Fragme… in Compare_TestData()
484 yield return new object[] { fullUri, UriComponents.Path, "path" }; in GetComponents_Basic_TestData()
486 yield return new object[] { fullUri, UriComponents.Port, "" }; in GetComponents_Basic_TestData()
488 yield return new object[] { fullUri, UriComponents.Scheme, "http" }; in GetComponents_Basic_TestData()
526 yield return new object[] { customPortUri, UriComponents.Path, "" }; in GetComponents_Basic_TestData()
529 yield return new object[] { customPortUri, UriComponents.Query, "" }; in GetComponents_Basic_TestData()
550 yield return new object[] { unknownUri, UriComponents.Host, "" }; in GetComponents_Basic_TestData()
553 yield return new object[] { unknownUri, UriComponents.Path, "" }; in GetComponents_Basic_TestData()
555 yield return new object[] { unknownUri, UriComponents.Port, "" }; in GetComponents_Basic_TestData()
556 yield return new object[] { unknownUri, UriComponents.Query, "" }; in GetComponents_Basic_TestData()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System/
H A DUriParserTest.cs77 public string _GetComponents (Uri uri, UriComponents components, UriFormat format) in _GetComponents()
181 …Assert.AreEqual ("http://", p._GetComponents (http, UriComponents.Scheme | UriComponents.Port, Uri… in GetComponents()
182 … ("www.mono-project.com#FAQ?Edit", p._GetComponents (http, UriComponents.Host | UriComponents.Frag… in GetComponents()
183 …Assert.AreEqual ("/Main_Page", p._GetComponents (http, UriComponents.Port | UriComponents.Path, Ur… in GetComponents()
211 …Equal ("ftp://username:password@", p._GetComponents (ftp, UriComponents.Scheme | UriComponents.Use… in GetComponents_Ftp()
212 …l (":21/with some spaces/mono.tgz", p._GetComponents (ftp, UriComponents.Path | UriComponents.Stro… in GetComponents_Ftp()
239 …qual ("ftp://username:password@", p._GetComponents (ftp2, UriComponents.Scheme | UriComponents.Use… in GetComponents_Ftp2()
240 … (":21/with some spaces/mono.tgz", p._GetComponents (ftp2, UriComponents.Path | UriComponents.Stro… in GetComponents_Ftp2()
248 …var result = u.GetComponents(UriComponents.Scheme | UriComponents.Host | UriComponents.Port | UriC… in TestParseUserPath()
258 p._GetComponents (null, UriComponents.Host, UriFormat.SafeUnescaped); in GetComponents_Null()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/tests/FunctionalTests/
H A DUriParserTest.cs111 …Assert.Equal("http://", parser.GetComponents(http, UriComponents.Scheme | UriComponents.Port, UriF… in GetComponents_test()
112 …www.mono-project.com#FAQ?Edit", parser.GetComponents(http, UriComponents.Host | UriComponents.Frag… in GetComponents_test()
113 …Assert.Equal("/Main_Page", parser.GetComponents(http, UriComponents.Port | UriComponents.Path, Uri… in GetComponents_test()
123 … Assert.Equal("ftp", parser.GetComponents(ftp, UriComponents.Scheme, UriFormat.Unescaped)); in GetComponents_Ftp()
132 … Assert.Equal("21", parser.GetComponents(ftp, UriComponents.StrongPort, UriFormat.Unescaped)); in GetComponents_Ftp()
143 …ual("ftp://username:password@", parser.GetComponents(ftp, UriComponents.Scheme | UriComponents.Use… in GetComponents_Ftp()
144 …":21/with some spaces/mono.tgz", parser.GetComponents(ftp, UriComponents.Path | UriComponents.Stro… in GetComponents_Ftp()
153 … Assert.Equal("ftp", parser.GetComponents(ftp2, UriComponents.Scheme, UriFormat.Unescaped)); in GetComponents_Ftp2()
173 …al("ftp://username:password@", parser.GetComponents(ftp2, UriComponents.Scheme | UriComponents.Use… in GetComponents_Ftp2()
174 …:21/with some spaces/mono.tgz", parser.GetComponents(ftp2, UriComponents.Path | UriComponents.Stro… in GetComponents_Ftp2()
[all …]
H A DIriTest.cs303 UriComponents[] components = new UriComponents[] in VerifyUriNormalizationForEscapedCharacters()
305 UriComponents.Fragment, in VerifyUriNormalizationForEscapedCharacters()
306 UriComponents.Host, in VerifyUriNormalizationForEscapedCharacters()
307 UriComponents.Path, in VerifyUriNormalizationForEscapedCharacters()
308 UriComponents.Port, in VerifyUriNormalizationForEscapedCharacters()
309 UriComponents.Query, in VerifyUriNormalizationForEscapedCharacters()
310 UriComponents.Scheme, in VerifyUriNormalizationForEscapedCharacters()
311 UriComponents.UserInfo, in VerifyUriNormalizationForEscapedCharacters()
356 case UriComponents.Host: in EscapeUnescapeTestComponent()
361 case UriComponents.Path: in EscapeUnescapeTestComponent()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/WindowsBase/System.IO.Packaging/
H A DPackUriParser.cs24 protected override string GetComponents(Uri uri, UriComponents components, UriFormat format) in GetComponents()
29 if ((components & UriComponents.Scheme) == UriComponents.Scheme) in GetComponents()
36 if ((components & UriComponents.Host) == UriComponents.Host) in GetComponents()
53 if ((components & UriComponents.Path) == UriComponents.Path) in GetComponents()
63 if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter && in GetComponents()
70 if ((components & UriComponents.Query) == UriComponents.Query) in GetComponents()
76 … if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter && in GetComponents()
86 if ((components & UriComponents.Fragment) == UriComponents.Fragment) in GetComponents()
92 … if ((components & UriComponents.KeepDelimiter) != UriComponents.KeepDelimiter && in GetComponents()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/tests/UnitTests/
H A DIriEscapeUnescapeTest.cs162 UriComponents[] components = new UriComponents[] in EscapeUnescapeAllUriComponentsInDifferentCultures()
164 UriComponents.AbsoluteUri, in EscapeUnescapeAllUriComponentsInDifferentCultures()
165 UriComponents.Fragment, in EscapeUnescapeAllUriComponentsInDifferentCultures()
166 UriComponents.Host, in EscapeUnescapeAllUriComponentsInDifferentCultures()
167 UriComponents.HostAndPort, in EscapeUnescapeAllUriComponentsInDifferentCultures()
171 UriComponents.Path, in EscapeUnescapeAllUriComponentsInDifferentCultures()
173 UriComponents.Port, in EscapeUnescapeAllUriComponentsInDifferentCultures()
174 UriComponents.Query, in EscapeUnescapeAllUriComponentsInDifferentCultures()
175 UriComponents.Scheme, in EscapeUnescapeAllUriComponentsInDifferentCultures()
179 UriComponents.StrongPort, in EscapeUnescapeAllUriComponentsInDifferentCultures()
[all …]
/dports/java/netbeans/netbeans/webcommon/typescript-lsp/node_modules/vscode-uri/lib/esm/
H A Dindex.d.ts19 export default class URI implements UriComponents {
50 protected constructor(components: UriComponents);
131 toJSON(): UriComponents;
132 static revive(data: UriComponents | URI): URI;
133 static revive(data: UriComponents | URI | undefined): URI | undefined;
134 static revive(data: UriComponents | URI | null): URI | null;
135 static revive(data: UriComponents | URI | undefined | null): URI | undefined | null;
137 export interface UriComponents { interface
/dports/java/netbeans/netbeans/webcommon/typescript-lsp/node_modules/vscode-uri/lib/umd/
H A Dindex.d.ts19 export default class URI implements UriComponents {
50 protected constructor(components: UriComponents);
131 toJSON(): UriComponents;
132 static revive(data: UriComponents | URI): URI;
133 static revive(data: UriComponents | URI | undefined): URI | undefined;
134 static revive(data: UriComponents | URI | null): URI | null;
135 static revive(data: UriComponents | URI | undefined | null): URI | undefined | null;
137 export interface UriComponents { interface
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/src/System/
H A DIriHelper.cs87 if ((component != UriComponents.Scheme) && in CheckIsReserved()
89 (component != UriComponents.Host) && in CheckIsReserved()
90 (component != UriComponents.Port) && in CheckIsReserved()
91 (component != UriComponents.Path) && in CheckIsReserved()
92 (component != UriComponents.Query) && in CheckIsReserved()
93 (component != UriComponents.Fragment) in CheckIsReserved()
104 case UriComponents.UserInfo: in CheckIsReserved()
108 case UriComponents.Host: in CheckIsReserved()
112 case UriComponents.Path: in CheckIsReserved()
116 case UriComponents.Query: in CheckIsReserved()
[all …]
H A DUriExt.cs308 …if (((components & UriComponents.SerializationInfoString) != 0) && components != UriComponents.Ser… in GetComponents()
683 newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, in ResolveHelper()
691 …newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Query & ~UriComponents.… in ResolveHelper()
775 if (uriComponents == UriComponents.Scheme) in GetComponentsHelper()
780 uriComponents |= UriComponents.AbsoluteUri; in GetComponentsHelper()
788 uriComponents |= UriComponents.Host; in GetComponentsHelper()
792 if ((uriComponents & UriComponents.Host) != 0) in GetComponentsHelper()
796 if (uriComponents == UriComponents.Port || uriComponents == UriComponents.StrongPort) in GetComponentsHelper()
810 uriComponents |= UriComponents.Port; in GetComponentsHelper()
878 …string self = GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescape… in IsBaseOfHelper()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/
H A DIriHelper.cs83 if ((component != UriComponents.Scheme) && in CheckIsReserved()
85 (component != UriComponents.Host) && in CheckIsReserved()
86 (component != UriComponents.Port) && in CheckIsReserved()
87 (component != UriComponents.Path) && in CheckIsReserved()
88 (component != UriComponents.Query) && in CheckIsReserved()
89 (component != UriComponents.Fragment) in CheckIsReserved()
99 case UriComponents.UserInfo: in CheckIsReserved()
103 case UriComponents.Host: in CheckIsReserved()
107 case UriComponents.Path: in CheckIsReserved()
111 case UriComponents.Query: in CheckIsReserved()
[all …]
H A DUriExt.cs383 …if (((components & UriComponents.SerializationInfoString) != 0) && components != UriComponents.Ser… in GetComponents()
775 … newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, in ResolveHelper()
783 …newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Query & ~UriComponents.… in ResolveHelper()
869 if (uriComponents == UriComponents.Scheme) in GetComponentsHelper()
874 uriComponents |= UriComponents.AbsoluteUri; in GetComponentsHelper()
882 uriComponents |= UriComponents.Host; in GetComponentsHelper()
886 if ((uriComponents & UriComponents.Host) != 0) in GetComponentsHelper()
890 if (uriComponents == UriComponents.Port || uriComponents == UriComponents.StrongPort) in GetComponentsHelper()
904 uriComponents |= UriComponents.Port; in GetComponentsHelper()
975 …string me = GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped); in IsBaseOfHelper()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/test/java/org/springframework/web/util/
H A DUriComponentsBuilderTests.java71 UriComponents result = UriComponentsBuilder.fromUri(uri).build(); in fromHierarchicalUri()
163 UriComponents result = builder.build(); in path()
181 UriComponents result = builder.build().encode(); in pathThenPath()
190 UriComponents result = builder.build().encode(); in pathThenPathSegments()
199 UriComponents result = builder.build(); in pathSegmentsThenPathSegments()
208 UriComponents result = builder.build(); in pathSegmentsThenPath()
217 UriComponents result = builder.build(); in pathSegmentsSomeEmpty()
227 UriComponents result = builder.build(); in replacePath()
242 UriComponents result = builder.build(); in replaceQuery()
268 UriComponents result = builder.queryParam("baz").build(); in emptyQueryParam()
[all …]
H A DUriComponentsTests.java31 UriComponents uriComponents = UriComponentsBuilder.fromPath("/hotel list").build(); in encode()
32 UriComponents encoded = uriComponents.encode(); in encode()
38UriComponents uriComponents = UriComponentsBuilder.fromUriString("http://example.com/hotel list/Z\… in toUriEncoded()
39 UriComponents encoded = uriComponents.encode(); in toUriEncoded()
45UriComponents uriComponents = UriComponentsBuilder.fromUriString("http://example.com/hotel list/Z\… in toUriNotEncoded()
51UriComponents uriComponents = UriComponentsBuilder.fromUriString("http://example.com").path("/{foo… in expand()
74UriComponents uriComponents = UriComponentsBuilder.fromUriString("http://example.com/foo/../bar").… in normalize()
/dports/science/orthanc-mysql/OrthancMySQL-4.3/MySQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancServer/Sources/
H A DOrthancWebDav.h72 const UriComponents& path) = 0;
77 const UriComponents& path) = 0;
79 virtual bool DeleteItem(const UriComponents& path) = 0;
84 const UriComponents& path,
116 virtual bool IsExistingFolder(const UriComponents& path) ORTHANC_OVERRIDE;
119 const UriComponents& path) ORTHANC_OVERRIDE;
124 const UriComponents& path) ORTHANC_OVERRIDE;
127 const UriComponents& path) ORTHANC_OVERRIDE;
129 virtual bool CreateFolder(const UriComponents& path) ORTHANC_OVERRIDE;
/dports/science/orthanc/Orthanc-1.9.7/OrthancServer/Sources/
H A DOrthancWebDav.h72 const UriComponents& path) = 0;
77 const UriComponents& path) = 0;
79 virtual bool DeleteItem(const UriComponents& path) = 0;
84 const UriComponents& path,
116 virtual bool IsExistingFolder(const UriComponents& path) ORTHANC_OVERRIDE;
119 const UriComponents& path) ORTHANC_OVERRIDE;
124 const UriComponents& path) ORTHANC_OVERRIDE;
127 const UriComponents& path) ORTHANC_OVERRIDE;
129 virtual bool CreateFolder(const UriComponents& path) ORTHANC_OVERRIDE;
/dports/science/orthanc-dicomweb/OrthancDicomWeb-1.7/ThirdPartyDownloads/Orthanc-1.9.3/OrthancServer/Sources/
H A DOrthancWebDav.h72 const UriComponents& path) = 0;
77 const UriComponents& path) = 0;
79 virtual bool DeleteItem(const UriComponents& path) = 0;
84 const UriComponents& path,
116 virtual bool IsExistingFolder(const UriComponents& path) ORTHANC_OVERRIDE;
119 const UriComponents& path) ORTHANC_OVERRIDE;
124 const UriComponents& path) ORTHANC_OVERRIDE;
127 const UriComponents& path) ORTHANC_OVERRIDE;
129 virtual bool CreateFolder(const UriComponents& path) ORTHANC_OVERRIDE;
/dports/science/orthanc-postgresql/OrthancPostgreSQL-4.0/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancServer/Sources/
H A DOrthancWebDav.h72 const UriComponents& path) = 0;
77 const UriComponents& path) = 0;
79 virtual bool DeleteItem(const UriComponents& path) = 0;
84 const UriComponents& path,
116 virtual bool IsExistingFolder(const UriComponents& path) ORTHANC_OVERRIDE;
119 const UriComponents& path) ORTHANC_OVERRIDE;
124 const UriComponents& path) ORTHANC_OVERRIDE;
127 const UriComponents& path) ORTHANC_OVERRIDE;
129 virtual bool CreateFolder(const UriComponents& path) ORTHANC_OVERRIDE;
/dports/science/orthanc-webviewer/OrthancWebViewer-2.7/ThirdPartyDownloads/Orthanc-1.8.1/OrthancServer/Sources/
H A DOrthancWebDav.h72 const UriComponents& path) = 0;
77 const UriComponents& path) = 0;
79 virtual bool DeleteItem(const UriComponents& path) = 0;
84 const UriComponents& path,
116 virtual bool IsExistingFolder(const UriComponents& path) ORTHANC_OVERRIDE;
119 const UriComponents& path) ORTHANC_OVERRIDE;
124 const UriComponents& path) ORTHANC_OVERRIDE;
127 const UriComponents& path) ORTHANC_OVERRIDE;
129 virtual bool CreateFolder(const UriComponents& path) ORTHANC_OVERRIDE;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/printing/
H A Duri_unittest.cc14 UriComponents::UriComponents() = default;
15 UriComponents::UriComponents(const UriComponents&) = default;
16 UriComponents::UriComponents( in UriComponents() function in chromeos::uri_unittest::UriComponents
31 UriComponents::~UriComponents() = default;
36 using UriComponents = uri_unittest::UriComponents; typedef
40 void TestBuilder(const UriComponents& components, in TestBuilder()
205 UriComponents components("A", "B", "C", 1); in TEST()
213 UriComponents components("A+1-b.C", "", "", -1); in TEST()
224 UriComponents components("http", "", "example.com", 234); in TEST()
249 UriComponents components("http", "", "utf8.test", 80); in TEST()
[all …]
H A Duri_unittest.h29 struct UriComponents { struct
37 UriComponents(); argument
38 UriComponents(const UriComponents&);
39 UriComponents(
47 ~UriComponents();
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DPeerMessageDispatcher.cs173 …(UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port | UriComp… in Match()
181 …(UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port | UriComp… in Match()
/dports/science/orthanc-mysql/OrthancMySQL-4.3/MySQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources/RestApi/
H A DRestApiHierarchy.h78 const UriComponents& uri,
83 const UriComponents& trailing) = 0;
108 const UriComponents& uri,
113 const UriComponents& uri,
134 const UriComponents& uri);
136 bool LookupResource(const UriComponents& uri,
140 const UriComponents& uri);
143 const UriComponents& path,
/dports/science/orthanc/Orthanc-1.9.7/OrthancFramework/Sources/RestApi/
H A DRestApiHierarchy.h78 const UriComponents& uri,
83 const UriComponents& trailing) = 0;
108 const UriComponents& uri,
113 const UriComponents& uri,
134 const UriComponents& uri);
136 bool LookupResource(const UriComponents& uri,
140 const UriComponents& uri);
143 const UriComponents& path,
/dports/science/orthanc-dicomweb/OrthancDicomWeb-1.7/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources/RestApi/
H A DRestApiHierarchy.h78 const UriComponents& uri,
83 const UriComponents& trailing) = 0;
108 const UriComponents& uri,
113 const UriComponents& uri,
134 const UriComponents& uri);
136 bool LookupResource(const UriComponents& uri,
140 const UriComponents& uri);
143 const UriComponents& path,

12345678910>>...13