QueueDefinition::uxItemSize is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

QueueDefinition::uxItemSize field

Syntax

UBaseType_t uxItemSize;

References

LocationReferrerText
queue.c:113
UBaseType_t uxItemSize; /*< The size of each items that the queue will hold. */
queue.c:263xQueueGenericReset()
pxQueue->u.xQueue.pcTail = pxQueue->pcHead + ( pxQueue->uxLength * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */
queue.c:266xQueueGenericReset()
pxQueue->u.xQueue.pcReadFrom = pxQueue->pcHead + ( ( pxQueue->uxLength - 1U ) * pxQueue->uxItemSize ); /*lint !e9016 Pointer arithmetic allowed on char types, especially when it assists conveying intent. */
queue.c:445prvInitialiseNewQueue()
pxNewQueue->uxItemSize = uxItemSize;
queue.c:747xQueueGenericSend()
configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:957xQueueGenericSendFromISR()
configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:1128xQueueGiveFromISR()
configASSERT( pxQueue->uxItemSize == 0 );
queue.c:1288xQueueReceive()
configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:1433xQueueSemaphoreTake()
configASSERT( pxQueue->uxItemSize == 0 );
queue.c:1648xQueuePeek()
configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:1792xQueueReceiveFromISR()
configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:1884xQueuePeekFromISR()
configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) );
queue.c:1885xQueuePeekFromISR()
configASSERT( pxQueue->uxItemSize != 0 ); /* Can't peek a semaphore. */
queue.c:2083prvCopyDataToQueue()
if( pxQueue->uxItemSize == ( UBaseType_t ) 0 )
queue.c:2102prvCopyDataToQueue()
( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports, plus previous logic ensures a null pointer can only be passed to memcpy() if the copy size is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */
queue.c:2103prvCopyDataToQueue()
pxQueue->pcWriteTo += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */
queue.c:2115prvCopyDataToQueue()
( void ) memcpy( ( void * ) pxQueue->u.xQueue.pcReadFrom, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e9087 !e418 MISRA exception as the casts are only redundant for some ports. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. Assert checks null pointer only used when length is 0. */
queue.c:2116prvCopyDataToQueue()
pxQueue->u.xQueue.pcReadFrom -= pxQueue->uxItemSize;
queue.c:2119prvCopyDataToQueue()
queue.c:2155prvCopyDataFromQueue()
if( pxQueue->uxItemSize != ( UBaseType_t ) 0 )
queue.c:2157prvCopyDataFromQueue()
pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; /*lint !e9016 Pointer arithmetic on char types ok, especially in this use case where it is the clearest way of conveying intent. */
queue.c:2166prvCopyDataFromQueue()
( void ) memcpy( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 !e9087 MISRA exception as the casts are only redundant for some ports. Also previous logic ensures a null pointer can only be passed to memcpy() when the count is 0. Cast to void required by function signature and safe as no alignment requirement and copy length specified in bytes. */

Data Use

Functions writing QueueDefinition::uxItemSize
Functions reading QueueDefinition::uxItemSize
all items filtered out
QueueDefinition::uxItemSize
Type of QueueDefinition::uxItemSize
QueueDefinition::uxItemSize
all items filtered out