Home
last modified time | relevance | path

Searched refs:pFixedBuffer (Results 1 – 2 of 2) sorted by relevance

/CoreMQTT-Agent-v1.1.0/test/cbmc/sources/
Dmqtt_agent_cbmc_state.c44 MQTTFixedBuffer_t * allocateMqttFixedBuffer( MQTTFixedBuffer_t * pFixedBuffer ) in allocateMqttFixedBuffer() argument
46 if( pFixedBuffer == NULL ) in allocateMqttFixedBuffer()
48 pFixedBuffer = malloc( sizeof( MQTTFixedBuffer_t ) ); in allocateMqttFixedBuffer()
51 if( pFixedBuffer != NULL ) in allocateMqttFixedBuffer()
53 __CPROVER_assume( pFixedBuffer->size < CBMC_MAX_OBJECT_SIZE ); in allocateMqttFixedBuffer()
54 pFixedBuffer->pBuffer = malloc( pFixedBuffer->size ); in allocateMqttFixedBuffer()
57 return pFixedBuffer; in allocateMqttFixedBuffer()
60 bool isValidMqttFixedBuffer( const MQTTFixedBuffer_t * pFixedBuffer ) in isValidMqttFixedBuffer() argument
64 if( pFixedBuffer != NULL ) in isValidMqttFixedBuffer()
66 isValid = pFixedBuffer->size < CBMC_MAX_OBJECT_SIZE; in isValidMqttFixedBuffer()
/CoreMQTT-Agent-v1.1.0/test/cbmc/include/
Dmqtt_agent_cbmc_state.h41 MQTTFixedBuffer_t * allocateMqttFixedBuffer( MQTTFixedBuffer_t * pFixedBuffer );
53 bool isValidMqttFixedBuffer( const MQTTFixedBuffer_t * pFixedBuffer );