Home
last modified time | relevance | path

Searched refs:ucContents (Results 1 – 4 of 4) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_BitConfig/
DFreeRTOS_BitConfig_utest.c93 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()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_BitConfig.c64 pxConfig->ucContents = ( uint8_t * ) pvPortMalloc( uxSize ); in xBitConfig_init()
66 if( pxConfig->ucContents != NULL ) in xBitConfig_init()
72 ( void ) memcpy( pxConfig->ucContents, pucData, uxSize ); in xBitConfig_init()
76 ( void ) memset( pxConfig->ucContents, 0, uxSize ); in xBitConfig_init()
112 … ( void ) memcpy( pucData, &( pxConfig->ucContents[ pxConfig->uxIndex ] ), uxNeeded ); in xBitConfig_read_uc()
152 … ( void ) memcpy( pucData, &( pxConfig->ucContents[ pxConfig->uxIndex - uxNeeded ] ), uxNeeded ); in pucBitConfig_peek_last_index_uc()
256 uint8_t * pucDestination = &( pxConfig->ucContents[ pxConfig->uxIndex ] ); in vBitConfig_write_uc()
342 if( pxConfig->ucContents != NULL ) in vBitConfig_release()
344 vPortFree( pxConfig->ucContents ); in vBitConfig_release()
DFreeRTOS_DHCPv6.c1077 … ) FreeRTOS_sendto( EP_DHCPData.xDHCPSocket, ( const void * ) xMessage.ucContents, xMessage.uxInde… in prvSendDHCPMessage()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
DFreeRTOS_BitConfig.h45 uint8_t * ucContents; /**< An allocated buffer to hold the binary data stream. */ member