Home
last modified time | relevance | path

Searched full:response (Results 1 – 25 of 2533) sorted by relevance

12345678910>>...102

/openbmc/qemu/tests/qtest/
H A Dtest-netfilter.c18 QDict *response; in add_one_netfilter() local
20 response = qmp("{'execute': 'object-add'," in add_one_netfilter()
29 g_assert(response); in add_one_netfilter()
30 g_assert(!qdict_haskey(response, "error")); in add_one_netfilter()
31 qobject_unref(response); in add_one_netfilter()
33 response = qmp("{'execute': 'object-del'," in add_one_netfilter()
37 g_assert(response); in add_one_netfilter()
38 g_assert(!qdict_haskey(response, "error")); in add_one_netfilter()
39 qobject_unref(response); in add_one_netfilter()
45 QDict *response; in remove_netdev_with_one_netfilter() local
[all …]
H A Dpvpanic-test.c18 QDict *response, *data; in test_panic_nopause() local
28 response = qtest_qmp_eventwait_ref(qts, "GUEST_PANICKED"); in test_panic_nopause()
29 g_assert(qdict_haskey(response, "data")); in test_panic_nopause()
30 data = qdict_get_qdict(response, "data"); in test_panic_nopause()
33 qobject_unref(response); in test_panic_nopause()
41 QDict *response, *data; in test_panic() local
51 response = qtest_qmp_eventwait_ref(qts, "GUEST_PANICKED"); in test_panic()
52 g_assert(qdict_haskey(response, "data")); in test_panic()
53 data = qdict_get_qdict(response, "data"); in test_panic()
56 qobject_unref(response); in test_panic()
[all …]
/openbmc/u-boot/drivers/fastboot/
H A Dfb_getvar.c14 static void getvar_version(char *var_parameter, char *response);
15 static void getvar_bootloader_version(char *var_parameter, char *response);
16 static void getvar_downloadsize(char *var_parameter, char *response);
17 static void getvar_serialno(char *var_parameter, char *response);
18 static void getvar_version_baseband(char *var_parameter, char *response);
19 static void getvar_product(char *var_parameter, char *response);
20 static void getvar_current_slot(char *var_parameter, char *response);
21 static void getvar_slot_suffixes(char *var_parameter, char *response);
22 static void getvar_has_slot(char *var_parameter, char *response);
24 static void getvar_partition_type(char *part_name, char *response);
[all …]
H A Dfb_command.c43 void (*dispatch)(char *cmd_parameter, char *response);
95 * @response: Pointer to fastboot response buffer
99 int fastboot_handle_command(char *cmd_string, char *response) in fastboot_handle_command() argument
111 response); in fastboot_handle_command()
120 fastboot_fail("unrecognized command", response); in fastboot_handle_command()
125 * okay() - Send bare OKAY response
128 * @response: Pointer to fastboot response buffer
130 * Send a bare OKAY fastboot response. This is used where the command is
131 * valid, but all the work is done after the response has been sent (e.g.
134 static void okay(char *cmd_parameter, char *response) in okay() argument
[all …]
H A Dfb_mmc.c101 u32 download_bytes, char *response) in write_raw_image() argument
112 fastboot_fail("too large for partition", response); in write_raw_image()
122 fastboot_fail("failed writing to device", response); in write_raw_image()
128 fastboot_okay(NULL, response); in write_raw_image()
144 char *response) in fb_mmc_get_boot_header() argument
155 fastboot_fail("invalid number of boot sectors: 0", response); in fb_mmc_get_boot_header()
164 response); in fb_mmc_get_boot_header()
172 fastboot_fail("boot partition not initialized", response); in fb_mmc_get_boot_header()
191 char *response) in fb_mmc_update_zimage() argument
211 fastboot_fail("cannot find boot partition", response); in fb_mmc_update_zimage()
[all …]
/openbmc/pldm/fw-update/
H A Ddevice_updater.hpp51 * derived from GetFirmwareParameters response
75 /** @brief Handler for RequestUpdate command response
77 * The response of the RequestUpdate is processed and if the response
81 * @param[in] response - PLDM response message
82 * @param[in] respMsgLen - Response message length
84 void requestUpdate(mctp_eid_t eid, const pldm_msg* response,
87 /** @brief Handler for PassComponentTable command response
89 * The response of the PassComponentTable is processed. If the response
97 * If the response indicates component may be updateable, continue
101 * @param[in] response - PLDM response message
[all …]
H A Ddevice_updater.cpp54 "Failed to encode request update request for endpoint ID '{EID}', response code '{RC}'", in startFwUpdateFlow()
60 [this](mctp_eid_t eid, const pldm_msg* response, size_t respMsgLen) { in startFwUpdateFlow() argument
61 this->requestUpdate(eid, response, respMsgLen); in startFwUpdateFlow()
67 "Failed to send request update for endpoint ID '{EID}', response code '{RC}'", in startFwUpdateFlow()
72 void DeviceUpdater::requestUpdate(mctp_eid_t eid, const pldm_msg* response, in requestUpdate() argument
75 if (response == nullptr || !respMsgLen) in requestUpdate()
78 error("No response received for request update for endpoint ID '{EID}'", in requestUpdate()
88 auto rc = decode_request_update_resp(response, respMsgLen, &completionCode, in requestUpdate()
93 … "Failed to decode request update response for endpoint ID '{EID}', response code '{RC}'", in requestUpdate()
100 "Failure in request update response for endpoint ID '{EID}', completion code '{CC}'", in requestUpdate()
[all …]
H A Dinventory_manager.cpp61 … "Failed to encode query device identifiers request for endpoint ID {EID} with response code {RC}", in sendQueryDeviceIdentifiersRequest()
70 [this](mctp_eid_t eid, const pldm_msg* response, size_t respMsgLen) { in sendQueryDeviceIdentifiersRequest() argument
71 this->queryDeviceIdentifiers(eid, response, respMsgLen); in sendQueryDeviceIdentifiersRequest()
76 … "Failed to send query device identifiers request for endpoint ID {EID} with response code {RC}", in sendQueryDeviceIdentifiersRequest()
84 mctp_eid_t eid, const pldm_msg* response, size_t respMsgLen) in queryDeviceIdentifiers() argument
86 if (response == nullptr || !respMsgLen) in queryDeviceIdentifiers()
89 "No response received for query device identifiers for endpoint ID {EID}", in queryDeviceIdentifiers()
100 response, respMsgLen, &completionCode, &deviceIdentifiersLen, in queryDeviceIdentifiers()
105 … to decode query device identifiers response for endpoint ID {EID} and descriptor count {DESCRIPTO… in queryDeviceIdentifiers()
113 … "Failed to query device identifiers response for endpoint ID {EID}, completion code {CC}", in queryDeviceIdentifiers()
[all …]
H A Dinventory_manager.hpp61 * commands are sent to every FD and the response is used to populate
77 /** @brief Handler for QueryDeviceIdentifiers command response
79 * The response of the QueryDeviceIdentifiers is processed and firmware
84 * @param[in] response - PLDM response message
85 * @param[in] respMsgLen - Response message length
87 void queryDeviceIdentifiers(mctp_eid_t eid, const pldm_msg* response,
90 /** @brief Handler for QueryDownstreamDevices command response
93 * @param[in] response - PLDM response message
94 * @param[in] respMsgLen - Response message length
96 void queryDownstreamDevices(mctp_eid_t eid, const pldm_msg* response,
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_avb.py33 response = u_boot_console.run_command('avb init %s' %str(mmc_dev))
34 assert response == ''
35 response = u_boot_console.run_command('avb verify')
36 assert response.find(success_str)
45 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
46 assert response == ''
48 response = u_boot_console.run_command('mmc rescan; mmc dev %s' %
50 assert response.find('is current device')
77 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
78 assert response == ''
[all …]
H A Dtest_bind.py8 def in_tree(response, name, uclass, drv, depth, last_child): argument
9 lines = [x.strip() for x in response.splitlines()]
29 response = u_boot_console.run_command('bind /bind-test generic_simple_bus')
30 assert response == ''
37 response = u_boot_console.run_command('unbind /bind-test/bind-test-child1')
38 assert response == ''
45 response = u_boot_console.run_command('bind /bind-test/bind-test-child1 phy_sandbox')
46 assert response == ''
53 response = u_boot_console.run_command('unbind /bind-test/bind-test-child2')
54 assert response == ''
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.cpp72 …to open the XDMA device for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
86 …to mmap the XDMA device for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
103 …te terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'", in transferHostDataToSocket()
115 … socket, closing socket for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
153 … open the XDMA device for data transfer between BMC and remote terminus with response code '{RC}'", in transferDataHost()
167 … mmap the XDMA device for data transfer between BMC and remote terminus with response code '{RC}'", in transferDataHost()
220 …minus for upstream '{UPSTREAM}' of length '{LENGTH}' at address '{ADDRESS}', response code '{RC}'", in transferDataHost()
263 "Failed to encode response for command {COMMAND}, response code '{RC}'", in encodeRWResponseHandler()
274 error("Failed to encode read file response, response code '{RC}'", "RC", in encodeReadResponseHandler()
285 error("Failed to encode write file response, response code '{RC}'", in encodeWriteResponseHandler()
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dclient.py18 response = await self.invoke(
21 if response:
22 return response["value"]
25 response = await self.invoke(
28 if response:
29 return response["value"]
32 response = await self.invoke(
35 if response:
36 return response["value"]
39 response = await self.invoke(
[all …]
/openbmc/dbus-sensors/src/tests/
H A Dtest_NvidiaGpuSensorTest.cpp65 ocp::accelerator_management::MessageType::RESPONSE); in TEST_F()
117 ocp::accelerator_management::CommonNonSuccessResponse response{}; in TEST_F() local
118 response.command = 0x42; in TEST_F()
119 response.completion_code = static_cast<uint8_t>( in TEST_F()
121 response.reason_code = htole16(0x1234); in TEST_F()
126 std::array<uint8_t, sizeof(response)> buf{}; in TEST_F()
127 std::memcpy(buf.data(), &response, sizeof(response)); in TEST_F()
139 ocp::accelerator_management::CommonNonSuccessResponse response{}; in TEST_F() local
140 response.command = 0x42; in TEST_F()
141 response.completion_code = static_cast<uint8_t>( in TEST_F()
[all …]
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.h21 * Module for constructing NC-SI response commands on the NIC
37 * Build the header for the response to the command in the buffer.
41 * response_buf: buffer, where to put the response. Must be big enough to fit
42 * the response.
43 * response_code: Response Code. Must be zero for ACK.
57 * response_buf: buffer, where to put the response. Must be big enough to fit
58 * the response.
60 * Returns the size of the response in the buffer.
71 * response_buf: buffer, where to put the response. Must be big enough to fit
72 * the response.
[all …]
/openbmc/bmcweb/http/
H A Dhttp_response.hpp43 struct Response struct
48 http::response<bmcweb::HttpBody> response; member
54 return response.base(); in fields()
59 return response.base(); in fields()
77 Response() = default;
78 Response(Response&& res) noexcept : in Response() function
79 response(std::move(res.response)), jsonValue(std::move(res.jsonValue)), in Response()
92 ~Response() = default;
94 Response(const Response&) = delete;
95 Response& operator=(const Response& r) = delete;
[all …]
/openbmc/linux/drivers/media/usb/as102/
Das10x_cmd.h
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/
Dmemory.json
/openbmc/pldm/requester/
H A DREADME.md6 - Register a PLDM request and the response handler to be invoked on receiving
7 the response.
8 - The handling of the request and response is asynchronous. This means the PLDM
9 daemon is not blocked till the response is received for a request.
11 - Request retries based on the time-out waiting for a response.
22 PLDM request message (PLDM header and payload) and response function handler are
31 The signature of the response function handler:
34 void handler(mctp_eid_t eid, const pldm_msg* response, size_t respMsgLen)
37 - If the response is received before instance ID expiration:
38 - If the response matches with an outstanding request then the response
[all …]
/openbmc/u-boot/include/
H A Dfastboot.h44 * fastboot_response() - Writes a response of the form "$tag$reason".
46 * @tag: The first part of the response
47 * @response: Pointer to fastboot response buffer
50 void fastboot_response(const char *tag, char *response,
55 * fastboot_fail() - Write a FAIL response of the form "FAIL$reason".
58 * @response: Pointer to fastboot response buffer
60 void fastboot_fail(const char *reason, char *response);
63 * fastboot_okay() - Write an OKAY response of the form "OKAY$reason".
66 * @response: Pointer to fastboot response buffer
68 void fastboot_okay(const char *reason, char *response);
[all …]
/openbmc/phosphor-webui/app/common/services/
H A DuserModel.js18 APIUtils.login(username, password, function(response, error) { argument
19 if (response &&
20 (response.status == APIUtils.API_RESPONSE.SUCCESS_STATUS ||
21 response.status === undefined)) {
25 response && response.data && response.data.data &&
26 response.data.data.description) {
27 callback(false, response.data.data.description);
28 } else if (response && response.statusText) {
29 callback(false, response.statusText);
46 APIUtils.logout(function(response, error) { argument
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dpayload_cmds.cpp30 auto response = in activatePayload() local
33 response->completionCode = ipmi::ccSuccess; in activatePayload()
38 response->completionCode = IPMI_CC_INVALID_FIELD_REQUEST; in activatePayload()
46 response->completionCode = IPMI_CC_PAYLOAD_TYPE_DISABLED; in activatePayload()
53 response->completionCode = IPMI_CC_INVALID_FIELD_REQUEST; in activatePayload()
61 response->completionCode = IPMI_CC_PAYLOAD_WITHOUT_ENCRYPTION; in activatePayload()
68 response->completionCode = IPMI_CC_INSUFFICIENT_PRIVILEGE; in activatePayload()
81 response->completionCode = IPMI_CC_PAYLOAD_TYPE_DISABLED; in activatePayload()
88 response->completionCode = IPMI_CC_PAYLOAD_ALREADY_ACTIVE; in activatePayload()
104 response->completionCode = IPMI_CC_UNSPECIFIED_ERROR; in activatePayload()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/
H A Dtest_views.py67 response = self.client.get(reverse('all-projects'), follow=True)
68 self.assertEqual(response.status_code, 200)
69 self.assertTrue(response['Content-Type'].startswith('text/html'))
70 self.assertTemplateUsed(response, "projects-toastertable.html")
75 response = self.client.get(url, {"format": "json"}, follow=True)
76 self.assertEqual(response.status_code, 200)
77 self.assertTrue(response['Content-Type'].startswith(
80 data = json.loads(response.content.decode('utf-8'))
103 def basic_reponse_check(response, url): argument
104 """Check data structure of http response."""
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dredfish_plus.py53 … - Automatic valid_status_codes processing (i.e. an exception will be raised if the rest response
62 Perform redfish rest request and return response.
98response = bmc_redfish.get("/redfish/v1/Managers/${MANAGER_ID}/EthernetInterfaces", [200, 201])
100 …If this call to the get method generates a response.status equal to anything other than 200 or 201,
106 …${response}= BMC_Redfish.Get /redfish/v1/Managers/${MANAGER_ID}/EthernetInterfaces valid_status…
136 response = func(*args, **kwargs)
142 valid_http_status_code(response.status, valid_status_codes)
143 return response
199 response = requests.get(
206 response.status = response.status_code
[all …]
/openbmc/openpower-occ-control/
H A Docc_command.cpp100 std::vector<uint8_t>& response) in send() argument
105 response.clear(); in send()
112 // OCC is inactive; empty response in send()
126 int retries = 1; // Allow a retry if a command fails to get valid response in send()
146 // Now read the response. This would be the content of occ-sram in send()
154 response.emplace_back(data); in send()
174 readErrno, "LEN", response.size(), "RETRIES", retries); in send()
185 if (response.size() > 2) in send()
189 "OCC{INST}: Received {CMD} response (length={LEN} w/checksum)", in send()
191 response.size()); in send()
[all …]

12345678910>>...102