Home
last modified time | relevance | path

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

12345678910>>...60

/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/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/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/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.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 …]
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 …]
/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/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/dbus-sensors/src/tests/
H A Dtest_NvidiaGpuSensorTest.cpp64 ocp::accelerator_management::MessageType::RESPONSE); in TEST_F()
116 ocp::accelerator_management::CommonNonSuccessResponse response{}; in TEST_F() local
117 response.command = 0x42; in TEST_F()
118 response.completion_code = static_cast<uint8_t>( in TEST_F()
120 response.reason_code = htole16(0x1234); in TEST_F()
125 std::array<uint8_t, sizeof(response)> buf{}; in TEST_F()
126 std::memcpy(buf.data(), &response, sizeof(response)); in TEST_F()
138 ocp::accelerator_management::CommonNonSuccessResponse response{}; in TEST_F() local
139 response.command = 0x42; in TEST_F()
140 response.completion_code = static_cast<uint8_t>( in TEST_F()
[all …]
H A Dtest_NvidiaDeviceInventoryMctpVdm.cpp38 auto* response = in TEST() local
43 response->msgHdr.hdr.pci_vendor_id = htobe16(0x10DE); // NVIDIA vendor ID in TEST()
44 response->msgHdr.hdr.instance_id = 0x01; // Instance ID in TEST()
45 response->msgHdr.hdr.ocp_version = 0x89; // OCP version and type in TEST()
46 response->msgHdr.hdr.ocp_accelerator_management_msg_type = in TEST()
48 ocp::accelerator_management::MessageType::RESPONSE); in TEST()
50 response->command = static_cast<uint8_t>( in TEST()
52 response->completion_code = static_cast<uint8_t>( in TEST()
54 response->reserved = 0; in TEST()
55 response->data_size = htole16(5); // 5 bytes for "TEST1" in TEST()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_response.hpp43 struct Response struct
48 http::response<bmcweb::HttpBody> response; argument
54 return response.base(); in fields()
59 return response.base(); in fields()
77 Response() = default;
78 Response(Response&& res) noexcept : in Response() argument
79 response(std::move(res.response)), jsonValu in Response()
50 jsonValuecrow::Response global() argument
51 fields_typecrow::Response global() argument
52 fieldscrow::Response fields() argument
57 fieldscrow::Response fields() argument
62 addHeadercrow::Response addHeader() argument
67 addHeadercrow::Response addHeader() argument
72 clearHeadercrow::Response clearHeader() argument
97 operator =crow::Response operator =() argument
128 resultcrow::Response result() argument
133 resultcrow::Response result() argument
138 copyBodycrow::Response copyBody() argument
143 resultcrow::Response result() argument
148 resultIntcrow::Response resultInt() argument
153 reasoncrow::Response reason() argument
158 isCompletedcrow::Response isCompleted() argument
163 bodycrow::Response body() argument
168 getHeaderValuecrow::Response getHeaderValue() argument
173 getHeaderValuecrow::Response getHeaderValue() argument
178 keepAlivecrow::Response keepAlive() argument
183 keepAlivecrow::Response keepAlive() argument
188 sizecrow::Response size() argument
193 preparePayloadcrow::Response preparePayload() argument
221 clearcrow::Response clear() argument
233 setCurrentOverrideEtagcrow::Response setCurrentOverrideEtag() argument
243 getCurrentEtagcrow::Response getCurrentEtag() argument
265 writecrow::Response write() argument
270 endcrow::Response end() argument
286 setCompleteRequestHandlercrow::Response setCompleteRequestHandler() argument
296 releaseCompleteRequestHandlercrow::Response releaseCompleteRequestHandler() argument
306 setResponseEtagAndHandleNotModifiedcrow::Response setResponseEtagAndHandleNotModified() argument
322 getExpectedEtagcrow::Response getExpectedEtag() argument
327 setExpectedEtagcrow::Response setExpectedEtag() argument
337 openFilecrow::Response openFile() argument
359 openFdcrow::Response openFd() argument
379 requestExpectedEtagcrow::Response global() argument
380 currentOverrideEtagcrow::Response global() argument
381 completedcrow::Response global() argument
382 completeRequestHandlercrow::Response global() argument
[all...]
/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/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/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-net-ipmid/command/
H A Dopen_session.cpp25 auto response = reinterpret_cast<OpenSessionResponse*>(outPayload.data()); in openSession() local
29 response->messageTag = request->messageTag; in openSession()
30 response->remoteConsoleSessionID = request->remoteConsoleSessionID; in openSession()
36 response->status_code = in openSession()
45 response->status_code = in openSession()
70 response->status_code = in openSession()
87 response->status_code = in openSession()
94 response->status_code = static_cast<uint8_t>(RAKP_ReturnCode::NO_ERROR); in openSession()
95 response->maxPrivLevel = static_cast<uint8_t>(session->reqMaxPrivLevel); in openSession()
96 response->managedSystemSessionID = in openSession()
[all …]
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-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 …]
/openbmc/libpldm/include/libpldm/
H A Dfile.h60 * Structure representing PLDM File DfOpen response.
78 * Structure representing PLDM File DfClose response.
95 * Structure representing PLDM File DfHearbeat response.
122 * @param[in] msg - Response message
123 * @param[in] payload_length - Length of response message payload
128 * response struct
130 * response struct.
136 /** @brief Create a PLDM response message for DFOpen
139 * @param[in] resp - The pointer to the response message to be encoded
153 /** @brief Decode DFOpen response data
[all …]

12345678910>>...60