Searched refs:url (Results 1 - 25 of 124) sorted by relevance

12345

/haiku/src/tests/kits/net/libnetapi/
H A DNetworkUrlTest.cpp46 BUrl url("http://ewe:pea@www.something.co.nz:8888/some/path?key1=value1#fragment");
47 CPPUNIT_ASSERT(url.IsValid());
48 CPPUNIT_ASSERT(url.Protocol() == "http");
49 CPPUNIT_ASSERT(url.HasProtocol());
50 CPPUNIT_ASSERT(url.UserName() == "ewe");
51 CPPUNIT_ASSERT(url.HasUserName());
52 CPPUNIT_ASSERT(url.Password() == "pea");
53 CPPUNIT_ASSERT(url.HasPassword());
54 CPPUNIT_ASSERT(url.Host() == "www.something.co.nz");
55 CPPUNIT_ASSERT(url
[all...]
/haiku/src/add-ons/kernel/file_systems/googlefs/bin/
H A Dgoogle2 query -v /google/ '((name=="*'"$*"'*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))' | xargs catattr META:url
H A Dimlucky2 query -v /google/ '((name=="*'"$*"'*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))' | xargs catattr META:url | head -1
/haiku/src/kits/network/libnetapi/
H A DUrlProtocolRoster.cpp23 BUrlProtocolRoster::MakeRequest(const BUrl& url, argument
27 if (url.Protocol() == "http") {
28 return new(std::nothrow) BHttpRequest(url, false, "HTTP", listener,
30 } else if (url.Protocol() == "https") {
31 return new(std::nothrow) BHttpRequest(url, true, "HTTPS", listener,
33 } else if (url.Protocol() == "file") {
34 return new(std::nothrow) BFileRequest(url, listener, context);
35 } else if (url.Protocol() == "data") {
36 return new(std::nothrow) BDataRequest(url, listener, context);
37 } else if (url
[all...]
/haiku/src/apps/haikudepot/util/
H A DRepositoryUrlUtils.cpp11 RepositoryUrlUtils::NormalizeUrl(BUrl& url) argument
13 if (url.Protocol() == "https")
14 url.SetProtocol("http");
16 BString path(url.Path());
19 url.SetPath(path.Truncate(path.Length() - 1));
H A DRepositoryUrlUtils.h15 static void NormalizeUrl(BUrl& url);
/haiku/src/tests/kits/net/service/
H A DUrlTest.cpp66 BUrl url("http:");
68 !url.IsValid());
70 url.SetHost("<invalid>");
71 CPPUNIT_ASSERT_MESSAGE("Set to an invalid host", !url.IsValid());
73 url.SetUrlString("");
74 url.SetProtocol("\t \n");
75 CPPUNIT_ASSERT_MESSAGE("Set a protocol with whitespace", !url.IsValid());
76 url.SetProtocol("123");
77 CPPUNIT_ASSERT_MESSAGE("Set an all-digits protocol", !url.IsValid());
79 url
99 BUrl url; local
128 BUrl url; local
161 const char* url; member in struct:__anon2050
[all...]
H A DCookieTest.cpp38 BUrl url("http://www.chipchapin.com/WebTools/cookietest.php");
45 result = jar.AddCookie("testcookie1=present;", url);
50 result = jar.AddCookie(buffer, url);
55 result = jar.AddCookie(buffer, url);
63 result = jar.AddCookie(buffer, url);
85 BUrl url("http://testsuites.opera.com/cookies/001.php");
86 result = jar.AddCookie("001=1", url);
89 url.SetUrlString("http://testsuites.opera.com/cookies/001-1.php");
90 const BNetworkCookie* cookie = _GetCookie(jar, url, "001");
111 BUrl url("htt
716 const char* url; member in struct:Test
839 _GetCookie(BNetworkCookieJar& jar, const BUrl& url, const char* name) argument
[all...]
/haiku/src/add-ons/print/transports/ipp/
H A DURL.cpp80 URL::URL(const URL &url) argument
82 __protocol = url.__protocol;
83 __host = url.__host;
84 __file = url.__file;
85 __ref = url.__ref;
86 __port = url.__port;
89 URL &URL::operator = (const URL &url) argument
91 __protocol = url.__protocol;
92 __host = url.__host;
93 __file = url
99 operator ==(const URL &url) argument
[all...]
/haiku/src/tests/kits/media/streamer_sniff_test/
H A Dmain.cpp22 BUrl url = BUrl(argv[1]); local
23 if (!url.IsValid()) {
28 BMediaFile* mediaFile = new BMediaFile(url);
/haiku/src/apps/people/
H A DAttributeTextControl.cpp99 if (Attribute() == "META:url") {
123 AttributeTextControl::_MakeUniformUrl(BString &url) const
125 if (url.StartsWith("www"))
126 url.Prepend("http://");
127 else if (url.StartsWith("ftp."))
128 url.Prepend("ftp://");
130 return url;
135 AttributeTextControl::_BuildMimeString(BString &mimeType, const BString &url)
138 if (url.IFindFirst("http://") == 0 || url
[all...]
H A DAttributeTextControl.h35 const BString& _MakeUniformUrl(BString &url) const;
37 const BString &url) const;
/haiku/src/bin/
H A Dcheckitout.cpp51 CheckItOut::_Warn(const char* url) argument
54 "following url: \n");
55 message << "\n" << url << "\n\n"; local
122 BUrl url(argv[1]);
123 fUrlString = url;
125 BString full = BUrl(url).SetProtocol(BString()).UrlString();
126 BString proto = url.Protocol();
127 BString host = url.Host();
128 BString port = BString() << url.Port();
129 BString user = url
174 cmd << url; local
186 cmd << url; local
198 cmd << url; local
[all...]
H A Durlwrapper.cpp53 UrlWrapper::_Warn(const char* url) argument
56 "following url: \n");
57 message << "\n" << url << "\n\n"; local
92 if (mimetype == "text/x-url" || extension == "url") {
94 // http://www.cyanwerks.com/file-format-url.html
99 BString url; local
115 line.MoveInto(url, 4, line.Length());
119 if (url.Length()) {
120 BUrl u(url
137 BString url; local
[all...]
H A Durlwrapper.h23 status_t _Warn(const char* url);
/haiku/docs/interface_guidelines/docbook-css/
H A Dmozilla.css19 -moz-binding:url('db-bindings.xml#ulink');
33 -moz-binding:url('db-bindings.xml#image');
H A Dopera.css18 -o-link: attr(url);
/haiku/src/kits/media/
H A DMediaStreamer.cpp17 MediaStreamer::MediaStreamer(BUrl url) argument
23 fUrl = url;
/haiku/src/add-ons/media/plugins/http_streamer/
H A DHTTPStreamerPlugin.cpp27 HTTPStreamer::Sniff(const BUrl& url, BDataIO** source) argument
31 HTTPMediaIO* outSource = new HTTPMediaIO(url);
/haiku/src/add-ons/media/plugins/rtsp_streamer/
H A DRTSPStreamerPlugin.cpp18 RTSPStreamer::Sniff(const BUrl& url, BDataIO** source) argument
20 RTSPMediaIO* outSource = new RTSPMediaIO(url);
/haiku/headers/os/package/
H A DRepositoryConfig.h20 const BString& url, uint8 priority);
40 void SetBaseURL(const BString& url);
41 void SetURL(const BString& url);
/haiku/src/add-ons/media/plugins/dvd_streamer/
H A DDVDStreamerPlugin.cpp31 DVDStreamer::Sniff(const BUrl& url, BDataIO** source) argument
33 BString path = url.UrlString();
34 BString protocol = url.Protocol();
/haiku/src/apps/webpositive/
H A DBrowserApp.cpp172 const char* url = argv[i]; local
176 url = path.Path();
177 message.AddString("url", url);
264 BString url; local
265 archivedWindow.FindString("tab", 0, &url);
267 fSettings, url, fContext);
273 for (int j = 1; archivedWindow.FindString("tab", j, &url)
276 _CreateNewTab(window, url, false);
304 BString url; local
315 BString url; local
490 BString url; local
504 _CreateNewPage(const BString& url, BrowserWindow* webWindow, bool fullscreen, bool useBlankTab) argument
552 _CreateNewWindow(const BString& url, bool fullscreen) argument
571 _CreateNewTab(BrowserWindow* window, const BString& url, bool select) argument
[all...]
/haiku/headers/os/net/
H A DUrlProtocolRoster.h20 static BUrlRequest* MakeRequest(const BUrl& url,
H A DDataRequest.h19 BDataRequest(const BUrl& url,

Completed in 158 milliseconds

12345