Lines Matching refs:ucContents

93     pxConfig->ucContents = ucContent;  in test_xBitConfig_init_pucDataNull()
101 TEST_ASSERT_EQUAL_MEMORY( pxConfig->ucContents, ucContentReturn, uxSize ); in test_xBitConfig_init_pucDataNull()
122 xConfig.ucContents = ucContent; in test_xBitConfig_init_HappyPath()
206 uint8_t ucContents[ uxSize ], ucData[ uxSize ]; in test_xBitConfig_read_uc_HappyPath() local
210 memset( ucContents, 1, uxSize ); in test_xBitConfig_read_uc_HappyPath()
212 memset( ucContents, 1, uxSize ); in test_xBitConfig_read_uc_HappyPath()
216 pxConfig->ucContents = ucContents; in test_xBitConfig_read_uc_HappyPath()
222 TEST_ASSERT_EQUAL_MEMORY( pxConfig->ucContents, ucData, uxSize ); in test_xBitConfig_read_uc_HappyPath()
301 uint8_t ucData[ uxSize ], ucContents[ SIZE_OF_BINARY_STREAM ]; in test_pucBitConfig_peek_last_index_uc_HappyPath() local
306 memset( ucContents, 1, SIZE_OF_BINARY_STREAM ); in test_pucBitConfig_peek_last_index_uc_HappyPath()
309 xConfig.ucContents = ucContents; in test_pucBitConfig_peek_last_index_uc_HappyPath()
314 TEST_ASSERT_EQUAL_MEMORY( xConfig.ucContents, ucData, uxSize ); in test_pucBitConfig_peek_last_index_uc_HappyPath()
345 uint8_t ucContents[ uxSize ]; in test_xBitConfig_read_8_HappyPath() local
349 memset( &ucContents, 0, uxSize ); in test_xBitConfig_read_8_HappyPath()
350 memset( ucContents, 1, uxSize ); in test_xBitConfig_read_8_HappyPath()
354 pxConfig->ucContents = ucContents; in test_xBitConfig_read_8_HappyPath()
358 TEST_ASSERT_EQUAL( ucContents[ 0 ], ucResult ); in test_xBitConfig_read_8_HappyPath()
391 uint8_t ucContents[ uxSize ]; in test_usBitConfig_read_16_HappyPath() local
395 memset( ucContents, 1, uxSize ); in test_usBitConfig_read_16_HappyPath()
399 pxConfig->ucContents = ucContents; in test_usBitConfig_read_16_HappyPath()
401 ucResultExpected = ( ( ( uint16_t ) ucContents[ 0 ] ) << 8 ) | in test_usBitConfig_read_16_HappyPath()
402 ( ( ( uint16_t ) ucContents[ 1 ] ) ); in test_usBitConfig_read_16_HappyPath()
438 uint8_t ucContents[ uxSize ]; in test_ulBitConfig_read_32_HappyPath() local
442 memset( ucContents, 1, uxSize ); in test_ulBitConfig_read_32_HappyPath()
446 pxConfig->ucContents = ucContents; in test_ulBitConfig_read_32_HappyPath()
448 ulResultExpected = ( ( ( uint32_t ) ucContents[ 0 ] ) << 24 ) | in test_ulBitConfig_read_32_HappyPath()
449 ( ( ( uint32_t ) ucContents[ 1 ] ) << 16 ) | in test_ulBitConfig_read_32_HappyPath()
450 ( ( ( uint32_t ) ucContents[ 2 ] ) << 8 ) | in test_ulBitConfig_read_32_HappyPath()
451 ( ( ( uint32_t ) ucContents[ 3 ] ) ); in test_ulBitConfig_read_32_HappyPath()
505 uint8_t ucContents[ uxSize ]; in test_vBitConfig_write_uc_HappyPath() local
509 memset( ucContents, 0, uxSize ); in test_vBitConfig_write_uc_HappyPath()
510 memset( ucContents, 1, uxSize ); in test_vBitConfig_write_uc_HappyPath()
514 xConfig.ucContents = ucContents; in test_vBitConfig_write_uc_HappyPath()
519 TEST_ASSERT_EQUAL_MEMORY( xConfig.ucContents, ucData, uxSize ); in test_vBitConfig_write_uc_HappyPath()
531 uint8_t ucContents[ uxSize ]; in test_vBitConfig_write_8() local
534 memset( ucContents, 0, uxSize ); in test_vBitConfig_write_8()
538 xConfig.ucContents = ucContents; in test_vBitConfig_write_8()
543 TEST_ASSERT_EQUAL( xConfig.ucContents[ uxIndex ], ucValue ); in test_vBitConfig_write_8()
555 uint8_t ucContents[ uxSize ]; in test_vBitConfig_write_16() local
562 memset( ucContents, 0, uxSize ); in test_vBitConfig_write_16()
566 xConfig.ucContents = ucContents; in test_vBitConfig_write_16()
571 TEST_ASSERT_EQUAL_MEMORY( xConfig.ucContents, pucData, sizeof( ucValue ) ); in test_vBitConfig_write_16()
583 uint8_t ucContents[ uxSize ]; in test_vBitConfig_write_32() local
590 xConfig.ucContents = ucContents; in test_vBitConfig_write_32()
600 TEST_ASSERT_EQUAL_MEMORY( xConfig.ucContents, pucData, sizeof( ucValue ) ); in test_vBitConfig_write_32()
624 xConfig.ucContents = NULL; in test_vBitConfig_ReleaseNULL()
643 xConfig.ucContents = ucContent; in test_vBitConfig_Release()