/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | urls.py | 9 from django.urls import re_path as url unknown 21 url(r'^landing/$', views.landing, name='landing'), 23 url(r'^builds/$', 28 url(r'^build/(?P<build_id>\d+)$', views.builddashboard, name="builddashboard"), 29 url(r'^build/(?P<build_id>\d+)/tasks/$', 34 url(r'^build/(?P<build_id>\d+)/task/(?P<task_id>\d+)$', views.task, name='task'), 36 url(r'^build/(?P<build_id>\d+)/recipes/$', 41 …url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)/active_tab/(?P<active_tab>\d{1})$', views… 43 url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)$', views.recipe, name='recipe'), 44 …url(r'^build/(?P<build_id>\d+)/recipe_packages/(?P<recipe_id>\d+)$', views.recipe_packages, name='… [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | gitsm.py | 33 Check to see if a given url can be fetched with git. 59 elif module and line.strip().startswith('url'): 60 url = line.split('=')[1].strip() 61 modules[module]['url'] = url 87 uris[m] = md['url'] 97 # Translate the module url into a SRC_URI 100 # Properly formated URL already 102 url = uris[module].replace('%s:' % proto, 'gitsm:', 1) 109 url = "gitsm://" + uris[module].replace(':/', '/', 1) 112 …fers to relative ssh reference %s. References may fail if not absolute." % (ud.url, uris[module])) [all …]
|
H A D | __init__.py | 51 def __init__(self, url, message=''): argument 55 msg = "The URL: '%s' is not trusted and cannot be used" % url 56 self.url = url 58 self.args = (url,) 61 """Exception raised when encountering an invalid url""" 62 def __init__(self, url, message=''): argument 66 msg = "The URL: '%s' is invalid and cannot be interpreted" % url 67 self.url = url 69 self.args = (url,) 73 def __init__(self, message, url = None): argument [all …]
|
H A D | npmsw.py | 9 SRC_URI = "npmsw://some.registry.url;OptionA=xxx;OptionB=xxx;..." 77 """Check if a given url can be fetched with npmsw""" 81 """Init npmsw specific variables within url data""" 84 ud.shrinkwrap_file = re.sub(r"^npmsw://", "", ud.url.split(";")[0]) 93 url = None 104 # Handle duplicate dependencies without url 116 url = str(uri) 126 f.write(url) 140 url = str(uri) 171 (?P<url>[^#]+) [all …]
|
H A D | npm.py | 9 SRC_URI = "npm://some.registry.url;OptionA=xxx;OptionB=xxx;..." 137 """Check if a given url can be fetched with npm""" 141 """Init npm specific variables within url data""" 151 raise MissingParameterError("Parameter 'package' required", ud.url) 158 raise MissingParameterError("Parameter 'version' required", ud.url) 161 raise ParameterError("Invalid 'version' parameter", ud.url) 163 # Extract the 'registry' part of the url 164 ud.registry = re.sub(r"^npm://", "https://", ud.url.split(";")[0]) 197 raise FetchError("Unavailable package %s" % pkgver, ud.url) 204 raise FetchError(error.get("summary"), ud.url) [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | redfish_request.py | 34 def form_url(url): argument 36 Form a complete path for user url. 39 url Url passed by user e.g. /redfish/v1/Systems/system. 47 "https://" + str(openbmc_host) + ":" + str(https_port) + str(url) 67 def request_login(self, headers, url, credential, timeout=10): argument 75 url Requested path from user. 101 self, headers=headers, url=url, data=credential 106 def request_get(self, headers, url, timeout=10, verify=False): argument 114 url Requested path from user. 128 url = redfish_request.form_url(url) [all …]
|
/openbmc/qemu/ |
H A D | .gitmodules | 3 url = https://gitlab.com/qemu-project/seabios.git/ 6 url = https://gitlab.com/qemu-project/SLOF.git 9 url = https://gitlab.com/qemu-project/ipxe.git 12 url = https://gitlab.com/qemu-project/openbios.git 15 url = https://gitlab.com/qemu-project/qemu-palcode.git 18 url = https://gitlab.com/qemu-project/u-boot.git 21 url = https://gitlab.com/qemu-project/skiboot.git 24 url = https://gitlab.com/qemu-project/QemuMacDrivers.git 27 url = https://gitlab.com/qemu-project/seabios-hppa.git 30 url = https://gitlab.com/qemu-project/u-boot-sam460ex.git [all …]
|
/openbmc/bmcweb/http/ |
H A D | utility.hpp | 6 #include <boost/url/parse.hpp> 7 #include <boost/url/url.hpp> 8 #include <boost/url/url_view.hpp> 9 #include <boost/url/url_view_base.hpp> 33 constexpr uint64_t getParameterTag(std::string_view url) in getParameterTag() argument 38 for (size_t urlIndex = 0; urlIndex < url.size(); urlIndex++) in getParameterTag() 40 char character = url[urlIndex]; in getParameterTag() 56 url.substr(urlSegmentIndex, urlIndex + 1 - urlSegmentIndex); in getParameterTag() 321 inline void appendUrlPieces(boost::urls::url& url, AV&&... args) in appendUrlPieces() argument 327 url.segments().push_back(arg); in appendUrlPieces() [all …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | update_service_test.cpp | 5 #include <boost/url/url.hpp> 20 // No protocol, schema on url in TEST() 21 std::optional<boost::urls::url> ret = in TEST() 33 // Protocol, no schema on url in TEST() 34 std::optional<boost::urls::url> ret = in TEST() 46 // Both protocol and schema on url in TEST() 47 std::optional<boost::urls::url> ret = in TEST() 64 // No protocol, schema on url in TEST() 65 std::optional<boost::urls::url> ret = in TEST() 77 // Protocol, no schema on url in TEST() [all …]
|
/openbmc/openbmc/poky/bitbake/doc/sphinx-static/ |
H A D | switchers.js | 103 // Navigate to the first existing URL in urls. 104 var url = urls.shift(); 108 if (url.startsWith("file://")) { 109 window.location.href = url; 114 window.location.href = url; 118 url: url, property in AnonymousClassc446d8e20301 120 window.location.href = url; 129 var url = window.location.href; 132 var urlarray = url.split('/'); 145 var url = window.location.href; [all …]
|
/openbmc/openbmc/poky/documentation/sphinx-static/ |
H A D | switchers.js.in | 109 // Navigate to the first existing URL in urls. 110 var url = urls.shift(); 114 if (url.startsWith("file://")) { 115 window.location.href = url; 120 window.location.href = url; 124 url: url, property in AnonymousClass83dfa30a0301 126 window.location.href = url; 135 var url = window.location.href; 144 var urlarray = url.split('/'); 157 var url = window.location.href; [all …]
|
/openbmc/linux/scripts/ |
H A D | get_dvb_firmware | 51 my $url = "http://www.softwarepatch.pl/9999ccd06a4813cb827dbb0005071c71/$sourcefile"; 58 wgetfile($sourcefile, $url); 68 my $url = "http://www.avermedia.com/software/$sourcefile"; 77 wgetfile($sourcefile, $url); 88 my $url = "http://www.technotrend.de/new/217g/$sourcefile"; 95 wgetfile($sourcefile, $url); 106 my $url = "http://technotrend.com.ua/download/software/219/$sourcefile"; 113 wgetfile($sourcefile, $url); 124 my $url = "http://www.lifeview.hk/dbimages/document/$sourcefile"; 131 wgetfile($sourcefile, $url); [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | distro_check.py | 7 def create_socket(url, d): argument 12 return urllib.request.urlopen(url) 14 def get_links_from_url(url, d): argument 19 soup = BeautifulSoup(create_socket(url,d), "html.parser", parse_only=SoupStrainer("a")) 25 def find_latest_numeric_release(url, d): argument 26 "Find the latest listed numeric release on the given url" 29 for link in get_links_from_url(url, d): 52 def get_source_package_list_from_url(url, section, d): argument 53 "Return a sectioned list of package names from a URL list" 55 bb.note("Reading %s: %s" % (url, section)) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/ |
H A D | restapi.py | 27 def load_index(self, url, load): argument 33 url is the url to the rest api of the layer index, such as: 39 up = urlparse(url) 42 return self.load_index_file(up, url, load) 45 return self.load_index_web(up, url, load) 47 raise layerindexlib.plugin.LayerIndexPluginUrlError(self.type, url) 50 def load_index_file(self, up, url, load): argument 56 ud is the parsed url to the local file or directory. 65 index.config['URL'] = url 134 def load_index_web(self, up, url, load): argument [all …]
|
/openbmc/bmcweb/test/http/ |
H A D | utility_test.cpp | 5 #include <boost/url/parse.hpp> 6 #include <boost/url/url.hpp> 7 #include <boost/url/url_view.hpp> 147 parsed = boost::urls::parse_relative_ref("/absolute/url"); in TEST() 148 EXPECT_TRUE(readUrlSegments(*parsed, "absolute", "url")); in TEST() 150 parsed = boost::urls::parse_relative_ref("not/absolute/url"); in TEST() 151 EXPECT_FALSE(readUrlSegments(*parsed, "not", "absolute", "url")); in TEST() 170 TEST(URL, JsonEncoding) in TEST() argument 173 EXPECT_EQ(nlohmann::json(boost::urls::url(urlString)), urlString); in TEST() 179 boost::urls::url url("/redfish/v1/foo"); in TEST() local [all …]
|
H A D | router_test.cpp | 33 constexpr std::string_view url = "/foo"; in TEST() local 35 Request req{{boost::beast::http::verb::get, url, 11}, ec}; in TEST() 42 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 48 Request patchReq{{boost::beast::http::verb::patch, url, 11}, ec}; in TEST() 51 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 82 constexpr std::string_view url = "/foo/bar"; in TEST() local 85 Request::Body{boost::beast::http::verb::get, url, 11}, ec); in TEST() 108 constexpr std::string_view url = "/foo/bar"; variable 111 Request::Body{boost::beast::http::verb::get, url, 11}, ec); 113 router.newRuleTagged<getParameterTag(url)>("/foo/<path>") [all …]
|
/openbmc/phosphor-misc/http-redirect/ |
H A D | http-redirect.awk | 166 reason = "Access with a https:// URL" 233 function split_url_components(url, components) 235 if (match(url, /#/)) { 236 components["frag"] = substr(url, RSTART + 1) 237 url = substr(url, 1, RSTART - 1) 240 if (match(url, /\?/)) { 241 components["query"] = substr(url, RSTART + 1) 242 url = substr(url, 1, RSTART - 1) 245 if (match(url, /^[^:\/?#]+:/)) { 246 components["scheme"] = substr(url, 1, RLENGTH - 1) ; [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/ |
H A D | base_specific.html | 44 projectsUrl : "{% url 'all-projects' %}", 45 projectsTypeAheadUrl: {% url 'xhr_projectstypeahead' as prjurl%}{{prjurl|json}}, 47 landingSpecificURL : "{% url 'landing_specific' project.id %}", 48 landingSpecificCancelURL : "{% url 'landing_specific_cancel' project.id %}", 50 projectPageUrl : {% url 'project' project.id as purl %}{{purl|json}}, 51 projectSpecificPageUrl : {% url 'project_specific' project.id as purl %}{{purl|json}}, 52 xhrProjectUrl : {% url 'xhr_project' project.id as pxurl %}{{pxurl|json}}, 54 recipesTypeAheadUrl: {% url 'xhr_recipestypeahead' project.id as paturl%}{{paturl|json}}, 55 layersTypeAheadUrl: {% url 'xhr_layerstypeahead' project.id as paturl%}{{paturl|json}}, 56 machinesTypeAheadUrl: {% url 'xhr_machinestypeahead' project.id as paturl%}{{paturl|json}}, [all …]
|
H A D | base.html | 42 projectsUrl : "{% url 'all-projects' %}", 43 projectsTypeAheadUrl: {% url 'xhr_projectstypeahead' as prjurl%}{{prjurl|json}}, 46 projectPageUrl : {% url 'project' project.id as purl %}{{purl|json}}, 47 xhrProjectUrl : {% url 'xhr_project' project.id as pxurl %}{{pxurl|json}}, 49 recipesTypeAheadUrl: {% url 'xhr_recipestypeahead' project.id as paturl%}{{paturl|json}}, 50 layersTypeAheadUrl: {% url 'xhr_layerstypeahead' project.id as paturl%}{{paturl|json}}, 51 machinesTypeAheadUrl: {% url 'xhr_machinestypeahead' project.id as paturl%}{{paturl|json}}, 52 distrosTypeAheadUrl: {% url 'xhr_distrostypeahead' project.id as paturl%}{{paturl|json}}, 53 projectBuildsUrl: {% url 'projectbuilds' project.id as pburl %}{{pburl|json}}, 54 xhrCustomRecipeUrl : "{% url 'xhr_customrecipe' %}", [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/ |
H A D | urls.py | 9 from django.urls import re_path as url, include unknown 25 # url(r'^toaster/', include('toaster.foo.urls')), 28 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), 31 url(r'^logs/', include('log_viewer.urls')), 35 url(r'^orm/eventfile$', bldcollector.views.eventfile), 37 url(r'^health$', TemplateView.as_view(template_name="health.html"), name='Toaster Health'), 40 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))), 46 urlpatterns.insert(1, url(r'', include('fresh.urls'))) 51 urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) 56 url(r'^admin/', admin.site.urls), [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | webusb.h | 35 #define WEBUSB_LANDING_PAGE_PRESENT 1 /* we chose the fixed index 1 for the URL descriptor */ 41 * Get URL Request 43 * The request to fetch an URL is defined in https://wicg.github.io/webusb/#get-url as: 49 * Data: URL Descriptor 54 * This descriptor contains a single URL and is returned by the Get URL request. 56 * See: https://wicg.github.io/webusb/#url-descriptor 67 u8 URL[U8_MAX - WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH]; member 71 * Buffer size to hold the longest URL that can be in an URL descriptor
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/ |
H A D | generate-srcuri.py | 29 url = urllib.parse.urlunparse(parts) 33 return url + f";protocol={protocol};nobranch=1;destsuffix={destination};rev={sha}" 57 url = f"{p.url};subdir={dest};sha256sum={p.checksum}" 58 lines.append(f" {url} \\") 61 url = transform_git(p.httpsUrl, p.revision, dest) 62 lines.append(f" {url} \\") 84 # Switch the URL to use git: and save the original protocol 85 parts = urllib.parse.urlparse(repo.url) 88 url = urllib.parse.urlunparse(parts) 90 sha = resolve_commit(repo.url, repo.commit) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | libtoaster.js | 16 * xhrUrl: the url to get the JSON from; this URL should return JSON in the 19 * xhrParams: the data/parameters to pass to the getJSON url e.g. 28 throw("No url supplied for typeahead"); 85 * url: xhr_buildrequest or null for current project 90 function _startABuild (url, targets, onsuccess, onfail) { argument 92 if (!url) 93 url = libtoaster.ctx.xhrBuildRequestUrl; 104 url: url, property in AnonymousClass9980b04c0601 122 * url: xhr_buildrequest url or null for current project 127 function _cancelABuild(url, buildRequestIds, onsuccess, onfail){ argument [all …]
|
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | redfish.py | 51 def enumerate_request(hostname, username, password, url, return_json="json"): argument 56 url URI resource absolute path (e.g. 72 pending_enumeration.add(url) 77 resources_to_be_enumerated = (url,) 101 walk_nested_dict(response, url=resource) 116 def walk_nested_dict(data, url=""): argument 122 url Resource for which the response is obtained in data. 124 url = url.rstrip("/") 142 # Data for the given url. 143 if value == url: [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 60 boost::system::result<boost::urls::url> parsedUrl = in searchCollectionsArray() 105 std::string_view url = segments.buffer(); in searchCollectionsArray() local 106 const auto* it = std::ranges::lower_bound(topCollections, url); in searchCollectionsArray() 114 boost::urls::url collectionUrl(*it); in searchCollectionsArray() 205 boost::urls::url url("/"); in addPrefixToStringItem() local 223 url.buffer())) in addPrefixToStringItem() 227 url.segments().push_back(collectionItem); in addPrefixToStringItem() 233 url.segments().push_back(*it); in addPrefixToStringItem() 236 // Finish constructing the URL here (if needed) to avoid additional checks in addPrefixToStringItem() 239 url.segments().push_back(*it); in addPrefixToStringItem() [all …]
|