Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py67 def request_login(self, headers, url, credential, timeout=10): argument
86 if headers == "None":
87 headers = dict()
88 headers["Content-Type"] = "application/json"
101 self, headers=headers, url=url, data=credential
106 def request_get(self, headers, url, timeout=10, verify=False): argument
125 if headers.get("Content-Type", None) is None:
126 headers["Content-Type"] = "application/json"
133 + json.dumps(headers)
144 url, headers=headers, timeout=timeout, verify=verify
[all …]
H A Drest_client.robot46 ${headers}= Create Dictionary X-Auth-Token=${XAUTH_TOKEN} Accept=application/json
47 Set To Dictionary ${kwargs} headers ${headers}
73 ${headers}= Create Dictionary Content-Type=application/json
75 Set To Dictionary ${kwargs} headers ${headers}
99 ${headers}= Create Dictionary Content-Type=application/json
102 ${resp}= PUT On Session openbmc ${base_uri} json=${kwargs["data"]} headers=${headers}
123 ${headers}= Create Dictionary Content-Type=application/json
125 Set To Dictionary ${kwargs} headers ${headers}
169 ${headers}= Create Dictionary Content-Type=application/json
172 ${resp}= POST On Session openbmc /login json=${data} headers=${headers}
[all …]
H A Dgen_robot_print.py47 def sprint_auto_vars(headers=0): argument
58 if int(headers) == 1:
89 if int(headers) == 1:
/openbmc/phosphor-misc/http-redirect/
H A Dtest.awk12 function reportfail(resultfile, expect, request, headers)
21 for (h in headers)
22 print("headers:" headers[h])
28 function test(code, expect, request, headers)
30 runtest(cmd, request, headers)
31 result = check(resultfile, code, expect, request, headers)
34 reportfail(resultfile, expect, request, headers)
37 function check(resultfile, code, expect, request, headers)
56 function runtest(cmd, request, headers, h, OORS)
64 for (h in headers)
[all …]
H A Dhttp-redirect.awk48 headers[header] = headers[header] " " $0
70 if (header in headers)
71 prior = headers[header] ", "
72 headers[header] = prior content
74 trace("found header >"header"< with content >"headers[header]"<")
98 headers[header] = ""
133 if (!("HOST" in headers))
136 host = headers["HOST"]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0011-eglibc-Help-bootstrap-cross-toolchain.patch10 * Makefile (install-headers): Preserve old behavior: depend on
11 $(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers
16 * Makefile: Amend make install-headers to install everything
18 part of 'install-headers', not 'install-others'.
19 If install-bootstrap-headers is 'yes', install a dummy copy of
43 +# other headers, so 'make install-headers' produces a useable include
46 +ifeq ($(install-bootstrap-headers),yes)
47 +install-headers: $(inst_includedir)/gnu/stubs.h
53 headers += gnu/lib-names.h
62 +ifeq ($(install-bootstrap-headers),yes)
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0004-Add-options-to-configure-the-use-of-libbsd.patch46 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
50 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
51 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
52 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
54 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h')
57 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
61 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
65 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
66 + if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
67 + conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/cunit/files/
H A Dfixup-install-docdir.patch15 diff -uNr a/doc/headers/Makefile.am b/doc/headers/Makefile.am
16 --- a/doc/headers/Makefile.am 2014-10-30 22:06:29.704574162 +0100
17 +++ b/doc/headers/Makefile.am 2014-10-30 22:07:43.578524791 +0100
21 -dochdrdir = $(prefix)/doc/@PACKAGE@/headers
22 +dochdrdir = $(docdir)/headers
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-modules/
H A D0001-lttng-modules-fix-sigaction-build-without-CONFIG_COM.patch14 .../instrumentation/syscalls/headers/arm-32-syscalls_pointers.h | 2 ++
17 …it a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h b/include/instrumentation…
19 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h
20 +++ b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-graphics/cogl/cogl-1.0/
H A D0001-configure.ac-don-t-require-eglmesaext.h.patch12 fixes commit fb1acfec ("Fix building against libglvnd-provided EGL headers")
32 - [AC_MSG_ERROR([Unable to locate required EGL headers])])
36 - [AC_MSG_ERROR([Unable to locate required EGL headers])],
41 - [AC_MSG_ERROR([Unable to locate required EGL headers])],
55 +dnl Test for the existence of egl headers.
57 +dnl In that case AC_CHECK_HEADERS failes if X11 headers are not available.
60 +dnl require additional headers.
64 + [AC_MSG_ERROR([Unable to locate required EGL headers])],
72 + [AC_MSG_ERROR([Unable to locate required EGL headers])],
/openbmc/qemu/scripts/
H A Dupdate-linux-headers.sh37 usage: update-kernel-headers.sh LINUX_PATH [OUTPUT_PATH]
39 LINUX_PATH Linux kernel directory to obtain the headers from
135 cat <<EOF >$output/linux-headers/asm-$arch/$header
169 cat <<EOF >$output/linux-headers/asm-$arch/kvm_para.h
228 cat <<EOF >$output/linux-headers/linux/kvm_para.h
232 cat <<EOF >$output/linux-headers/linux/virtio_config.h
235 cat <<EOF >$output/linux-headers/linux/virtio_ring.h
238 cat <<EOF >$output/linux-headers/linux/vhost_types.h
267 cat <<EOF >$output/include/standard-headers/linux/types.h
272 cat <<EOF >$output/include/standard-headers/linux/if_ether.h
/openbmc/u-boot/drivers/pci/
H A Dpcie_intel_fpga.c183 static void tlp_write_packet(struct intel_fpga_pcie *pcie, u32 *headers, in tlp_write_packet() argument
186 tlp_write_tx(pcie, headers[0], RP_TX_SOP); in tlp_write_packet()
188 tlp_write_tx(pcie, headers[1], 0); in tlp_write_packet()
190 tlp_write_tx(pcie, headers[2], 0); in tlp_write_packet()
198 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_read() local
201 headers[0] = TLP_CFGRD_DW0(pcie, busno); in tlp_cfg_dword_read()
202 headers[1] = TLP_CFG_DW1(pcie, TLP_READ_TAG, byte_en); in tlp_cfg_dword_read()
203 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read()
205 tlp_write_packet(pcie, headers, 0); in tlp_cfg_dword_read()
213 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_write() local
[all …]
/openbmc/bmcweb/scripts/
H A Dparse_registries.py510 headers = []
512 headers.append('"registries.hpp"')
515 headers.append('"error_message_utils.hpp"')
516 headers.append('"http_response.hpp"')
517 headers.append('"logging.hpp"')
518 headers.append("<boost/beast/http/field.hpp>")
519 headers.append("<boost/beast/http/status.hpp>")
520 headers.append("<boost/url/url_view_base.hpp>")
521 headers.append("<source_location>")
524 headers.append(f'"registries/{reg_name_lower}_message_registry.hpp"')
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dwget.py186 headers = dict(req.unredirected_hdrs)
187 headers.update(dict((k, v) for k, v in list(req.headers.items())
188 if k not in headers))
199 headers["Connection"] = "close"
201 headers["Connection"] = "Keep-Alive" # Works for HTTP/1.0
203 headers = dict(
204 (name.title(), val) for name, val in list(headers.items()))
209 if proxy_auth_hdr in headers:
210 tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
213 del headers[proxy_auth_hdr]
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gpm/gpm/
H A D0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch14 src/headers/gpm.h | 9 ++++++++-
17 diff --git a/src/headers/gpm.h b/src/headers/gpm.h
19 --- a/src/headers/gpm.h
20 +++ b/src/headers/gpm.h
/openbmc/kcsbridge/src/
H A Dmeson.build1 headers = include_directories('.') variable
13 include_directories: headers,
20 include_directories: headers,
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_service_root.robot64 VAR &{headers} = Content-Type=application/json
68 ... openbmc /redfish/v1/SessionService/Sessions headers=${headers}
110 VAR &{headers} = Content-Type=application/json
113 … = POST On Session openbmc /redfish/v1/SessionService/Sessions data=${data} headers=${headers}
116 VAR &{headers} = Content-Type=application/json
117 ... X-Auth-Token=${resp.headers["X-Auth-Token"]}
118 …resp} = DELETE On Session openbmc ${REDFISH_SESSION}${/}${resp.json()["Id"]} headers=${headers}
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/nv-codec-headers/
H A Dnv-codec-headers_12.1.14.0.bb1 SUMMARY = "FFmpeg nvidia headers"
2 HOMEPAGE = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git"
7 git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https \
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/
H A D720240501dca0b4eacc3295665d7ced8719e11d2.patch29 "headers": {
52 "headers": {
99 "headers": {
122 "headers": {
169 "headers": {
192 "headers": {
239 "headers": {
262 "headers": {
309 "headers": {
332 "headers": {
[all …]
/openbmc/openbmc-tools/openbmctool/
H A Dopenbmctool.py69 self.conn.request("GET",uri, headers={"X-Auth-Token":token})
116 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout)
130 …resp = mysess.post('https://'+args.host+'/login', headers=jsonHeader,json={"data":[args.user,args.…
132 cookie = resp.headers['Set-Cookie']
405 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout)
435 …r = mysess.post('https://'+host+'/login', headers=jsonHeader, json = {"data": [username, pw]}, ver…
437 cookie = r.headers['Set-Cookie']
477 …r = session.post('https://'+host+'/logout', headers=jsonHeader,json = {"data": [username, pw]}, ve…
506 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout)
550 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout)
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/
H A D0001-talloc-Add-configure-options-for-packages.patch103 if not conf.CHECK_DECLS('malloc', headers='stdlib.h'):
124 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
132 - # headers to replace.h.
139 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
140 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
141 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
143 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h')
146 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
150 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
158 + # headers to replace.h.
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libsoup/libsoup-2.4/
H A D0001-CVE-2025-32911.patch11 libsoup/soup-message-headers.c | 13 +++++++++----
15 diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
17 --- a/libsoup/soup-message-headers.c
18 +++ b/libsoup/soup-message-headers.c
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtevent/libtevent/
H A D0001-Add-configure-options-for-packages.patch119 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
127 - # headers to replace.h.
134 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
135 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
136 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
138 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h')
141 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
145 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
153 + # headers to replace.h.
160 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/
H A D0001-tdb-Add-configure-options-for-packages.patch115 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
123 - # headers to replace.h.
130 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
131 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
132 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
134 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h')
137 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
141 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
149 + # headers to replace.h.
156 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libldb/libldb/
H A D0002-ldb-Add-configure-options-for-packages.patch114 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
118 - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
119 - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
120 - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
122 - conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h')
125 - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
129 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
133 + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h')
134 + if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'):
135 + conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h')
[all …]

12345678910>>...22