mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
Add uncrustify github workflow (#659)
* Add uncrustify github workflow * Fix exclusion pattern * fix find expression * exclude uncrustify files * Uncrustify common demo and test files * exlude white space checking files * Fix EOL whitespace checker * Remove whitespaces from EOL * Fix space at EOL * Fix find spaces at EOL Co-authored-by: Archit Aggarwal <architag@amazon.com>
This commit is contained in:
parent
dd80d615b5
commit
ae92d8c6ee
191 changed files with 17540 additions and 17102 deletions
|
@ -31,24 +31,30 @@
|
|||
#include "queue_init.h"
|
||||
#include "cbmc.h"
|
||||
|
||||
BaseType_t prvCopyDataToQueue( Queue_t * const pxQueue, const void *pvItemToQueue, const BaseType_t xPosition );
|
||||
BaseType_t prvCopyDataToQueue( Queue_t * const pxQueue,
|
||||
const void * pvItemToQueue,
|
||||
const BaseType_t xPosition );
|
||||
|
||||
void harness(){
|
||||
QueueHandle_t xQueue = xUnconstrainedQueueBoundedItemSize(10);
|
||||
void harness()
|
||||
{
|
||||
QueueHandle_t xQueue = xUnconstrainedQueueBoundedItemSize( 10 );
|
||||
|
||||
|
||||
if( xQueue ){
|
||||
void *pvItemToQueue = pvPortMalloc(xQueue->uxItemSize);
|
||||
if( !pvItemToQueue )
|
||||
{
|
||||
xQueue->uxItemSize = 0;
|
||||
}
|
||||
if(xQueue->uxItemSize == 0)
|
||||
{
|
||||
xQueue->uxQueueType = nondet_int8_t();
|
||||
}
|
||||
BaseType_t xPosition;
|
||||
prvCopyDataToQueue( xQueue, pvItemToQueue, xPosition );
|
||||
}
|
||||
if( xQueue )
|
||||
{
|
||||
void * pvItemToQueue = pvPortMalloc( xQueue->uxItemSize );
|
||||
|
||||
if( !pvItemToQueue )
|
||||
{
|
||||
xQueue->uxItemSize = 0;
|
||||
}
|
||||
|
||||
if( xQueue->uxItemSize == 0 )
|
||||
{
|
||||
xQueue->uxQueueType = nondet_int8_t();
|
||||
}
|
||||
|
||||
BaseType_t xPosition;
|
||||
prvCopyDataToQueue( xQueue, pvItemToQueue, xPosition );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue