Lines Matching refs:completionCode
159 uint8_t completionCode = 0; in TEST() local
161 memcpy(responseMsg.data() + hdrSize, &completionCode, in TEST()
162 sizeof(completionCode)); in TEST()
163 memcpy(responseMsg.data() + sizeof(completionCode) + hdrSize, &lengthLe, in TEST()
176 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
183 uint8_t completionCode = 0; in TEST() local
186 auto rc = decode_rw_file_memory_resp(NULL, 0, &completionCode, &length); in TEST()
195 rc = decode_rw_file_memory_resp(response, 0, &completionCode, &length); in TEST()
318 uint8_t completionCode = 0; in TEST() local
324 constexpr size_t responseSize = sizeof(completionCode) + in TEST()
358 uint8_t completionCode = 0; in TEST() local
361 constexpr size_t responseSize = sizeof(completionCode) + in TEST()
418 uint8_t completionCode = PLDM_SUCCESS; in TEST() local
433 resp->completion_code = completionCode; in TEST()
449 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
460 uint8_t completionCode = PLDM_SUCCESS; in TEST() local
472 nullptr, 0, &completionCode, &nextTransferHandle, &transferFlag, in TEST()
478 responsePtr, 0, &completionCode, &nextTransferHandle, &transferFlag, in TEST()
560 uint8_t completionCode = PLDM_SUCCESS; in TEST() local
571 response->completion_code = completionCode; in TEST()
574 size_t fileDataOffset = sizeof(completionCode) + sizeof(length); in TEST()
586 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
602 uint8_t completionCode = PLDM_SUCCESS; in TEST() local
605 response->completion_code = completionCode; in TEST()
616 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
623 uint8_t completionCode = 0; in TEST() local
633 auto rc = decode_read_file_resp(NULL, 0, &completionCode, &length, in TEST()
638 rc = decode_read_file_resp(responsePtr, 0, &completionCode, &length, in TEST()
649 rc = decode_write_file_resp(NULL, 0, &completionCode, &length); in TEST()
653 rc = decode_write_file_resp(responseWr, 0, &completionCode, &length); in TEST()
920 uint8_t completionCode = 0x0; in TEST() local
923 response->completion_code = completionCode; in TEST()
934 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
973 uint8_t completionCode = 0; in TEST() local
977 decode_rw_file_by_type_memory_resp(NULL, 0, &completionCode, &length); in TEST()
989 responsePtr, responseMsg.size() - hdrSize, &completionCode, NULL); in TEST()
993 rc = decode_rw_file_by_type_memory_resp(responsePtr, 0, &completionCode, in TEST()
1052 uint8_t completionCode = 0x0; in TEST() local
1058 0, PLDM_READ_FILE_BY_TYPE_INTO_MEMORY, completionCode, length, in TEST()
1068 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
1069 ASSERT_EQ(0, memcmp(response->payload + sizeof(completionCode), &lengthLe, in TEST()
1162 uint8_t completionCode = 0x0; in TEST() local
1164 response->completion_code = completionCode; in TEST()
1173 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
1200 uint8_t completionCode = 0; in TEST() local
1203 auto rc = decode_new_file_resp(NULL, 0, &completionCode); in TEST()
1213 rc = decode_new_file_resp(responsePtr, 0, &completionCode); in TEST()
1252 uint8_t completionCode = 0x0; in TEST() local
1257 auto rc = encode_new_file_resp(0, completionCode, response); in TEST()
1265 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
1355 uint8_t completionCode = 0x0; in TEST() local
1358 response->completion_code = completionCode; in TEST()
1369 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
1400 uint8_t completionCode = 0; in TEST() local
1403 auto rc = decode_rw_file_by_type_resp(NULL, 0, &completionCode, &length); in TEST()
1414 &completionCode, NULL); in TEST()
1418 rc = decode_rw_file_by_type_resp(responsePtr, 0, &completionCode, &length); in TEST()
1467 uint8_t completionCode = 0x0; in TEST() local
1472 completionCode, length, response); in TEST()
1481 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
1482 ASSERT_EQ(0, memcmp(response->payload + sizeof(completionCode), &lengthLe, in TEST()
1572 uint8_t completionCode = 0x0; in TEST() local
1574 response->completion_code = completionCode; in TEST()
1583 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
1611 uint8_t completionCode = 0; in TEST() local
1614 auto rc = decode_file_ack_resp(NULL, 0, &completionCode); in TEST()
1624 rc = decode_file_ack_resp(responsePtr, 0, &completionCode); in TEST()
1659 uint8_t completionCode = 0x0; in TEST() local
1664 auto rc = encode_file_ack_resp(0, completionCode, response); in TEST()
1672 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
1716 uint8_t completionCode = 0x0; in TEST() local
1721 auto rc = encode_file_ack_with_meta_data_resp(0, completionCode, response); in TEST()
1729 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
1770 uint8_t completionCode = 0x0; in TEST() local
1772 response->completion_code = completionCode; in TEST()
1781 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
1786 uint8_t completionCode = 0; in TEST() local
1789 auto rc = decode_file_ack_with_meta_data_resp(NULL, 0, &completionCode); in TEST()
1800 rc = decode_file_ack_with_meta_data_resp(responsePtr, 0, &completionCode); in TEST()
1969 uint8_t completionCode = 0x0; in TEST() local
1974 auto rc = encode_new_file_with_metadata_resp(0, completionCode, response); in TEST()
1982 0, memcmp(response->payload, &completionCode, sizeof(completionCode))); in TEST()
2023 uint8_t completionCode = 0x0; in TEST() local
2025 response->completion_code = completionCode; in TEST()
2034 ASSERT_EQ(completionCode, retCompletionCode); in TEST()
2039 uint8_t completionCode = 0; in TEST() local
2042 auto rc = decode_new_file_with_metadata_resp(NULL, 0, &completionCode); in TEST()
2053 rc = decode_new_file_with_metadata_resp(responsePtr, 0, &completionCode); in TEST()