Lines Matching refs:responsePtr

44     auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data());  in TEST()  local
48 responsePtr->payload); in TEST()
50 responsePtr->hdr.request = PLDM_RESPONSE; in TEST()
51 responsePtr->hdr.instance_id = 0; in TEST()
52 responsePtr->hdr.type = PLDM_FRU; in TEST()
53 responsePtr->hdr.command = PLDM_GET_FRU_RECORD_TABLE_METADATA; in TEST()
73 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
102 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
106 ASSERT_EQ(responsePtr->hdr.request, PLDM_RESPONSE); in TEST()
107 ASSERT_EQ(responsePtr->hdr.instance_id, 0u); in TEST()
108 ASSERT_EQ(responsePtr->hdr.type, PLDM_FRU); in TEST()
109 ASSERT_EQ(responsePtr->hdr.command, PLDM_GET_FRU_RECORD_TABLE_METADATA); in TEST()
125 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
129 responsePtr->payload); in TEST()
150 responsePtr, PLDM_GET_FRU_RECORD_TABLE_METADATA_RESP_BYTES + 2, in TEST()
157 responsePtr, payload_length, &completion_code, NULL, in TEST()
163 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
169 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
175 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
181 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
187 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
193 responsePtr, payload_length, &completion_code, &fru_data_major_version, in TEST()
206 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
208 responsePtr->hdr.request = PLDM_RESPONSE; in TEST()
209 responsePtr->hdr.instance_id = 0; in TEST()
210 responsePtr->hdr.type = PLDM_FRU; in TEST()
211 responsePtr->hdr.command = PLDM_GET_FRU_RECORD_TABLE_METADATA; in TEST()
225 total_table_records, checksum, responsePtr); in TEST()
229 responsePtr->payload); in TEST()
232 ASSERT_EQ(responsePtr->hdr.request, PLDM_RESPONSE); in TEST()
233 ASSERT_EQ(responsePtr->hdr.instance_id, 0u); in TEST()
234 ASSERT_EQ(responsePtr->hdr.type, PLDM_FRU); in TEST()
235 ASSERT_EQ(responsePtr->hdr.command, PLDM_GET_FRU_RECORD_TABLE_METADATA); in TEST()
257 total_table_records, checksum, responsePtr); in TEST()
260 ASSERT_EQ(responsePtr->hdr.request, PLDM_RESPONSE); in TEST()
261 ASSERT_EQ(responsePtr->hdr.instance_id, 0u); in TEST()
262 ASSERT_EQ(responsePtr->hdr.type, PLDM_FRU); in TEST()
263 ASSERT_EQ(responsePtr->hdr.command, PLDM_GET_FRU_RECORD_TABLE_METADATA); in TEST()
280 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
298 responsePtr->payload); in TEST()
373 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
376 reinterpret_cast<pldm_get_fru_record_table_resp*>(responsePtr->payload); in TEST()
381 transfer_flag, responsePtr); in TEST()
384 ASSERT_EQ(responsePtr->hdr.request, PLDM_RESPONSE); in TEST()
385 ASSERT_EQ(responsePtr->hdr.instance_id, 0u); in TEST()
386 ASSERT_EQ(responsePtr->hdr.type, PLDM_FRU); in TEST()
387 ASSERT_EQ(responsePtr->hdr.command, PLDM_GET_FRU_RECORD_TABLE); in TEST()
403 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
405 0, PLDM_ERROR, next_data_transfer_handle, transfer_flag, responsePtr); in TEST()
408 ASSERT_EQ(responsePtr->hdr.request, PLDM_RESPONSE); in TEST()
409 ASSERT_EQ(responsePtr->hdr.instance_id, 0u); in TEST()
410 ASSERT_EQ(responsePtr->hdr.type, PLDM_FRU); in TEST()
411 ASSERT_EQ(responsePtr->hdr.command, PLDM_GET_FRU_RECORD_TABLE); in TEST()
412 ASSERT_EQ(responsePtr->payload[0], PLDM_ERROR); in TEST()
479 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
483 reinterpret_cast<pldm_get_fru_record_table_resp*>(responsePtr->payload); in TEST()
499 responsePtr, payload_length, &ret_completion_code, in TEST()
525 auto responsePtr = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
536 responsePtr, 0, &completion_code, &next_data_transfer_handle, in TEST()