Lines Matching refs:requestMsg

204         requestMsg{};  in TEST()
206 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
221 std::array<uint8_t, hdrSize + PLDM_GET_COMMANDS_REQ_BYTES> requestMsg{}; in TEST() local
223 memcpy(requestMsg.data() + hdrSize, &pldmType, sizeof(pldmType)); in TEST()
224 memcpy(requestMsg.data() + sizeof(pldmType) + hdrSize, &version, in TEST()
228 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
229 auto rc = decode_get_commands_req(request, requestMsg.size() - hdrSize, in TEST()
375 requestMsg{}; in TEST()
377 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
434 std::array<uint8_t, hdrSize + PLDM_GET_VERSION_REQ_BYTES> requestMsg{}; in TEST() local
442 memcpy(requestMsg.data() + hdrSize, &transferHandle, in TEST()
444 memcpy(requestMsg.data() + sizeof(transferHandle) + hdrSize, &flag, in TEST()
446 memcpy(requestMsg.data() + sizeof(transferHandle) + sizeof(flag) + hdrSize, in TEST()
450 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
452 auto rc = decode_get_version_req(request, requestMsg.size() - hdrSize, in TEST()
725 std::array<uint8_t, requestMsgLength> requestMsg = { in TEST() local
743 0, memcmp(requestPtr->payload, requestMsg.data(), sizeof(requestMsg))); in TEST()
1254 std::array<uint8_t, sizeof(pldm_msg_hdr) + sizeof(tid)> requestMsg{}; in TEST()
1256 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
1272 std::array<uint8_t, sizeof(pldm_msg_hdr) + sizeof(tid)> requestMsg{}; in TEST()
1274 auto request = reinterpret_cast<pldm_msg*>(requestMsg.data()); in TEST()
1291 std::array<uint8_t, sizeof(pldm_msg_hdr) + sizeof(tid)> requestMsg{}; in TEST()
1293 requestMsg[sizeof(pldm_msg_hdr)] = tid; in TEST()
1295 pldm_msg* request = new (requestMsg.data()) pldm_msg; in TEST()
1297 request, requestMsg.size() - sizeof(pldm_msg_hdr), &tidOut); in TEST()
1308 std::array<uint8_t, hdrSize + PLDM_SET_TID_REQ_BYTES> requestMsg{}; in TEST() local
1311 nullptr, requestMsg.size() - sizeof(pldm_msg_hdr), &tid); in TEST()
1320 std::array<uint8_t, hdrSize + PLDM_SET_TID_REQ_BYTES> requestMsg{}; in TEST() local
1321 pldm_msg* request = new (requestMsg.data()) pldm_msg; in TEST()
1324 request, requestMsg.size() - sizeof(pldm_msg_hdr), nullptr); in TEST()
1333 std::array<uint8_t, hdrSize + PLDM_SET_TID_REQ_BYTES> requestMsg{}; in TEST() local
1334 pldm_msg* request = new (requestMsg.data()) pldm_msg; in TEST()
1510 std::array<uint8_t, requestMsgLength> requestMsg = { in TEST() local
1523 0, memcmp(requestPtr->payload, requestMsg.data(), sizeof(requestMsg))); in TEST()