Home
last modified time | relevance | path

Searched refs:TryCreate (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/dports/www/firefox/firefox-99.0/intl/components/gtest/
H A DTestCalendar.cpp81 Calendar::TryCreate("en-US", Some(MakeStringSpan(u"GMT+3"))).unwrap(); in TEST()
88 Calendar::TryCreate("en-US", Some(MakeStringSpan(u"GMT+3"))).unwrap(); in TEST()
113 auto calendar_en_US = Calendar::TryCreate("en-US").unwrap(); in TEST()
117 auto calendar_de_DE = Calendar::TryCreate("de-DE").unwrap(); in TEST()
121 auto calendar_ar_EG = Calendar::TryCreate("ar-EG").unwrap(); in TEST()
128 auto calendar_en_US = Calendar::TryCreate("en-US").unwrap(); in TEST()
132 auto calendar_de_DE = Calendar::TryCreate("de-DE").unwrap(); in TEST()
136 auto calendar_ar_EG = Calendar::TryCreate("ar-EG").unwrap(); in TEST()
143 auto calendar_en_US = Calendar::TryCreate("en-US").unwrap(); in TEST()
147 auto calendar_de_DE = Calendar::TryCreate("de-DE").unwrap(); in TEST()
[all …]
H A DTestTimeZone.cpp34 auto timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"GMT+3"))).unwrap(); in TEST()
37 timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"Etc/GMT+3"))).unwrap(); in TEST()
41 TimeZone::TryCreate(Some(MakeStringSpan(u"America/New_York"))).unwrap(); in TEST()
47 auto timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"GMT+3"))).unwrap(); in TEST()
50 timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"Etc/GMT+3"))).unwrap(); in TEST()
54 TimeZone::TryCreate(Some(MakeStringSpan(u"America/New_York"))).unwrap(); in TEST()
64 auto timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"GMT+3"))).unwrap(); in TEST()
67 timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"Etc/GMT+3"))).unwrap(); in TEST()
71 TimeZone::TryCreate(Some(MakeStringSpan(u"America/New_York"))).unwrap(); in TEST()
84 timeZone = TimeZone::TryCreate(Some(MakeStringSpan(u"Etc/GMT+3"))).unwrap(); in TEST()
[all …]
H A DTestNumberFormat.cpp18 NumberFormat::TryCreate("en-US", options).unwrap(); in TEST()
30 NumberFormat::TryCreate("ar", options).unwrap(); in TEST()
44 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
62 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
76 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
94 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
111 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
119 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
133 UniquePtr<NumberFormat> nf = NumberFormat::TryCreate("en", options).unwrap(); in TEST()
149 UniquePtr<NumberFormat> nf = NumberFormat::TryCreate("en", options).unwrap(); in TEST()
[all …]
H A DTestPluralRules.cpp22 auto prResult = PluralRules::TryCreate("en", defaultOptions); in TEST()
40 auto prResult = PluralRules::TryCreate("en", options); in TEST()
81 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
123 auto prResult = PluralRules::TryCreate("br", options); in TEST()
159 auto prResult = PluralRules::TryCreate("hsb", options); in TEST()
234 auto prResult = PluralRules::TryCreate("en", options); in TEST()
297 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
373 auto prResult = PluralRules::TryCreate("br", options); in TEST()
500 auto prResult = PluralRules::TryCreate("en", options); in TEST()
518 auto prResult = PluralRules::TryCreate("en", options); in TEST()
[all …]
H A DTestNumberRangeFormat.cpp20 NumberRangeFormat::TryCreate("en-US", options).unwrap(); in TEST()
27 nf = std::move(NumberRangeFormat::TryCreate("en-US", options).unwrap()); in TEST()
37 nf = std::move(NumberRangeFormat::TryCreate("ar", options).unwrap()); in TEST()
54 NumberRangeFormat::TryCreate("es-MX", options).unwrap(); in TEST()
62 nf = std::move(NumberRangeFormat::TryCreate("fr", options).unwrap()); in TEST()
75 NumberRangeFormat::TryCreate("es-MX", options).unwrap(); in TEST()
86 NumberRangeFormat::TryCreate("es-ES", options).unwrap(); in TEST()
H A DTestListFormat.cpp17 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
27 ListFormat::TryCreate(MakeStringSpan("de"), options).unwrap(); in TEST()
38 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
50 ListFormat::TryCreate(MakeStringSpan("en-US"), optionsSh).unwrap(); in TEST()
63 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
80 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
92 ListFormat::TryCreate(MakeStringSpan("en-US"), optionsNa).unwrap(); in TEST()
103 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
124 ListFormat::TryCreate(MakeStringSpan("en-US"), options).unwrap(); in TEST()
H A DTestRelativeTimeFormat.cpp15 RelativeTimeFormat::TryCreate("en-US", options); in TEST()
28 res = RelativeTimeFormat::TryCreate("es-AR", options); in TEST()
41 res = RelativeTimeFormat::TryCreate("ar", options); in TEST()
61 RelativeTimeFormat::TryCreate("fr", options); in TEST()
71 res = RelativeTimeFormat::TryCreate("fr", options); in TEST()
81 res = RelativeTimeFormat::TryCreate("fr", options); in TEST()
91 res = RelativeTimeFormat::TryCreate("fr", options); in TEST()
104 RelativeTimeFormat::TryCreate("en-US", options); in TEST()
140 RelativeTimeFormat::TryCreate("es-AR", options); in TEST()
H A DTestDisplayNames.cpp19 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
54 auto result = DisplayNames::TryCreate("es-ES", options); in TEST()
65 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
90 auto result = DisplayNames::TryCreate("es-ES", options); in TEST()
106 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
223 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
270 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
334 auto result = DisplayNames::TryCreate("en-US", options); in TEST()
482 auto result = DisplayNames::TryCreate("en", options); in TEST()
494 auto result = DisplayNames::TryCreate("en", options); in TEST()
[all …]
H A DTestNumberingSystem.cpp13 auto numbers_en = NumberingSystem::TryCreate("en").unwrap(); in TEST()
16 auto numbers_ar = NumberingSystem::TryCreate("ar").unwrap(); in TEST()
19 auto numbers_ff_Adlm = NumberingSystem::TryCreate("ff-Adlm").unwrap(); in TEST()
H A DTestNumberParser.cpp13 UniquePtr<NumberParser> np = NumberParser::TryCreate("en-US", true).unwrap(); in TEST()
20 np = NumberParser::TryCreate("en-US", false).unwrap(); in TEST()
27 np = NumberParser::TryCreate("es-CR", true).unwrap(); in TEST()
H A DTestIDNA.cpp14 auto createResult = IDNA::TryCreate(IDNA::ProcessingType::NonTransitional); in TEST()
37 auto createResult = IDNA::TryCreate(IDNA::ProcessingType::Transitional); in TEST()
52 auto createResult = IDNA::TryCreate(IDNA::ProcessingType::NonTransitional); in TEST()
72 auto createResult = IDNA::TryCreate(IDNA::ProcessingType::NonTransitional); in TEST()
91 auto createResult = IDNA::TryCreate(IDNA::ProcessingType::NonTransitional); in TEST()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DStandardBindingImporter.cs37 if (WSHttpBindingBase.TryCreate(elements, out binding)) in IWsdlImportExtension.ImportEndpoint()
41 else if (WSDualHttpBinding.TryCreate(elements, out binding)) in IWsdlImportExtension.ImportEndpoint()
45 else if (BasicHttpBinding.TryCreate(elements, out binding)) in IWsdlImportExtension.ImportEndpoint()
49 else if (NetHttpBinding.TryCreate(elements, out binding)) in IWsdlImportExtension.ImportEndpoint()
54 …else if (transport is MsmqTransportBindingElement && NetMsmqBinding.TryCreate(elements, out bindin… in IWsdlImportExtension.ImportEndpoint()
58 …f (transport is NamedPipeTransportBindingElement && NetNamedPipeBinding.TryCreate(elements, out bi… in IWsdlImportExtension.ImportEndpoint()
63 …else if (transport is PeerTransportBindingElement && NetPeerTcpBinding.TryCreate(elements, out bin… in IWsdlImportExtension.ImportEndpoint()
68 …else if (transport is TcpTransportBindingElement && NetTcpBinding.TryCreate(elements, out binding)) in IWsdlImportExtension.ImportEndpoint()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System/
H A DUriTest3.cs202 Uri.TryCreate (absolute, (UriKind) 666, out uri); in TryCreate1_UriKind_Invalid()
218 Assert.IsFalse (Uri.TryCreate ((string) null, (UriKind) 666, out uri), "#B1"); in TryCreate1_UriKind_Invalid()
229 Assert.IsTrue (Uri.TryCreate (baseUri, relative, out uri), "baseUri+relative"); in TryCreate2()
234 Assert.IsTrue (Uri.TryCreate (baseUri, absolute, out uri), "baseUri+absolute"); in TryCreate2()
249 Assert.IsFalse (Uri.TryCreate (baseUri, n, out uri), "baseUri+null"); in TryCreate2()
251 Assert.IsFalse (Uri.TryCreate (relativeUri, n, out uri), "relativeUri+null"); in TryCreate2()
253 Assert.IsFalse (Uri.TryCreate (null, relative, out uri), "null+relative"); in TryCreate2()
257 Assert.IsTrue (Uri.TryCreate (null, absolute, out uri), "null+absolute"); in TryCreate2()
274 Assert.IsTrue (Uri.TryCreate (baseUri, baseUri, out uri), "baseUri+baseUri"); in TryCreate3()
289 Assert.IsFalse (Uri.TryCreate (null, baseUri, out uri), "null+baseUri"); in TryCreate3()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/intl/components/gtest/
H A DTestNumberFormat.cpp16 NumberFormat::TryCreate("en-US", options).unwrap(); in TEST()
28 NumberFormat::TryCreate("ar", options).unwrap(); in TEST()
42 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
60 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
74 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
92 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
109 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
117 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
127 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
H A DTestPluralRules.cpp22 auto prResult = PluralRules::TryCreate("en", defaultOptions); in TEST()
40 auto prResult = PluralRules::TryCreate("en", options); in TEST()
81 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
123 auto prResult = PluralRules::TryCreate("br", options); in TEST()
159 auto prResult = PluralRules::TryCreate("hsb", options); in TEST()
234 auto prResult = PluralRules::TryCreate("en", options); in TEST()
297 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
373 auto prResult = PluralRules::TryCreate("br", options); in TEST()
500 auto prResult = PluralRules::TryCreate("en", options); in TEST()
518 auto prResult = PluralRules::TryCreate("en", options); in TEST()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/intl/components/gtest/
H A DTestNumberFormat.cpp16 NumberFormat::TryCreate("en-US", options).unwrap(); in TEST()
28 NumberFormat::TryCreate("ar", options).unwrap(); in TEST()
42 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
60 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
74 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
92 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
109 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
117 NumberFormat::TryCreate("es-MX", options).unwrap(); in TEST()
127 NumberFormat::TryCreate("es-ES", options).unwrap(); in TEST()
H A DTestPluralRules.cpp22 auto prResult = PluralRules::TryCreate("en", defaultOptions); in TEST()
40 auto prResult = PluralRules::TryCreate("en", options); in TEST()
81 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
123 auto prResult = PluralRules::TryCreate("br", options); in TEST()
159 auto prResult = PluralRules::TryCreate("hsb", options); in TEST()
234 auto prResult = PluralRules::TryCreate("en", options); in TEST()
297 auto prResult = PluralRules::TryCreate("cy", options); in TEST()
373 auto prResult = PluralRules::TryCreate("br", options); in TEST()
500 auto prResult = PluralRules::TryCreate("en", options); in TEST()
518 auto prResult = PluralRules::TryCreate("en", options); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openscreen/src/discovery/dnssd/impl/
H A Dservice_key.cc22 ErrorOr<ServiceKey> key = TryCreate(record); in ServiceKey()
28 ErrorOr<ServiceKey> key = TryCreate(domain); in ServiceKey()
47 ErrorOr<ServiceKey> ServiceKey::TryCreate(const MdnsRecord& record) { in TryCreate() function in openscreen::discovery::ServiceKey
48 return TryCreate(GetDomainName(record)); in TryCreate()
52 ErrorOr<ServiceKey> ServiceKey::TryCreate(const DomainName& names) { in TryCreate() function in openscreen::discovery::ServiceKey
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openscreen/src/discovery/dnssd/impl/
H A Dservice_key.cc22 ErrorOr<ServiceKey> key = TryCreate(record); in ServiceKey()
28 ErrorOr<ServiceKey> key = TryCreate(domain); in ServiceKey()
53 ErrorOr<ServiceKey> ServiceKey::TryCreate(const MdnsRecord& record) { in TryCreate() function in openscreen::discovery::ServiceKey
54 return TryCreate(GetDomainName(record)); in TryCreate()
58 ErrorOr<ServiceKey> ServiceKey::TryCreate(const DomainName& names) { in TryCreate() function in openscreen::discovery::ServiceKey
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/tests/FunctionalTests/
H A DUriParameterValidationTest.cs29 Assert.False(Uri.TryCreate(baseUri, (Uri)null, out result)); in Uri_TryCreate_NullParameter_ReturnsFalse()
30 Assert.False(Uri.TryCreate((Uri)null, baseUri, out result)); in Uri_TryCreate_NullParameter_ReturnsFalse()
31 Assert.False(Uri.TryCreate((Uri)null, (Uri)null, out result)); in Uri_TryCreate_NullParameter_ReturnsFalse()
H A DUriIpHostTest.cs166 …Assert.True(Uri.TryCreate("http://" + IPAddress.Loopback.ToString() + ":9090", UriKind.Absolute, o… in UriIPv4Host_UriWithPort_Success()
176 …Assert.True(Uri.TryCreate("http://" + IPAddress.Loopback.ToString() + "?Query", UriKind.Absolute, … in UriIPv4Host_UriWithQuery_Success()
186 …Assert.True(Uri.TryCreate("http://" + IPAddress.Loopback.ToString() + "#fragment", UriKind.Absolut… in UriIPv4Host_UriWithFragment_Success()
203 … Assert.True(Uri.TryCreate("http://" + ipv4String, UriKind.Absolute, out testUri), ipv4String); in ParseIPv4Address()
225 if (Uri.TryCreate("http://" + badIpv4String + "/", UriKind.Absolute, out testUri)) in ParseBadIPv4Address()
351 …Assert.True(Uri.TryCreate("http://[" + ipv6String + "]", UriKind.Absolute, out testUri), ipv6Strin… in ParseIPv6Address()
373 … Assert.False(Uri.TryCreate("http://[" + badIpv6String + "]/", UriKind.Absolute, out testUri), in ParseBadIPv6Address()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/disk_cache/
H A Dbackend_cleanup_tracker_unittest.cc49 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
51 BackendCleanupTracker::TryCreate(path2_, RecordCallClosure(2)); in TEST_F()
85 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
87 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(2)); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/disk_cache/
H A Dbackend_cleanup_tracker_unittest.cc49 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
51 BackendCleanupTracker::TryCreate(path2_, RecordCallClosure(2)); in TEST_F()
85 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
87 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(2)); in TEST_F()
/dports/www/firefox/firefox-99.0/intl/lwbrk/gtest/
H A DTestSegmenter.cpp16 auto result = Segmenter::TryCreate("en", options); in TEST()
36 auto result = Segmenter::TryCreate("en", options); in TEST()
57 auto result = Segmenter::TryCreate("en", options); in TEST()
101 auto result = Segmenter::TryCreate("en", options); in TEST()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/ApiAuth.IS/Configuration/
H A DConfigureClients.cs72 !Uri.TryCreate(definition.RedirectUri, UriKind.Absolute, out var redirectUri)) in GetWebApplication()
80 !Uri.TryCreate(definition.LogoutUri, UriKind.Absolute, out var postLogouturi)) in GetWebApplication()
113 !Uri.TryCreate(definition.RedirectUri, UriKind.Absolute, out var redirectUri)) in GetSPA()
121 !Uri.TryCreate(definition.LogoutUri, UriKind.Absolute, out var postLogouturi)) in GetSPA()

12345678910>>...15