Lines Matching refs:uxItemSize
119 UBaseType_t uxItemSize; /**< The size of each items that the queue will hold. */ member
227 const UBaseType_t uxItemSize,
316 ( ( SIZE_MAX / pxQueue->uxLength ) >= pxQueue->uxItemSize ) ) in xQueueGenericReset()
320 … pxQueue->u.xQueue.pcTail = pxQueue->pcHead + ( pxQueue->uxLength * pxQueue->uxItemSize ); in xQueueGenericReset()
323 …ueue->u.xQueue.pcReadFrom = pxQueue->pcHead + ( ( pxQueue->uxLength - 1U ) * pxQueue->uxItemSize ); in xQueueGenericReset()
377 const UBaseType_t uxItemSize, in xQueueGenericCreateStatic() argument
384 …traceENTER_xQueueGenericCreateStatic( uxQueueLength, uxItemSize, pucQueueStorage, pxStaticQueue, u… in xQueueGenericCreateStatic()
395 ( !( ( pucQueueStorage != NULL ) && ( uxItemSize == 0U ) ) ) && in xQueueGenericCreateStatic()
396 ( !( ( pucQueueStorage == NULL ) && ( uxItemSize != 0U ) ) ) ) in xQueueGenericCreateStatic()
428 … prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); in xQueueGenericCreateStatic()
503 const UBaseType_t uxItemSize, in xQueueGenericCreate() argument
510 traceENTER_xQueueGenericCreate( uxQueueLength, uxItemSize, ucQueueType ); in xQueueGenericCreate()
514 ( ( SIZE_MAX / uxQueueLength ) >= uxItemSize ) && in xQueueGenericCreate()
519 …ZE_MAX - sizeof( Queue_t ) ) >= ( size_t ) ( ( size_t ) uxQueueLength * ( size_t ) uxItemSize ) ) ) in xQueueGenericCreate()
524 xQueueSizeInBytes = ( size_t ) ( ( size_t ) uxQueueLength * ( size_t ) uxItemSize ); in xQueueGenericCreate()
547 … prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); in xQueueGenericCreate()
570 const UBaseType_t uxItemSize, in prvInitialiseNewQueue() argument
579 if( uxItemSize == ( UBaseType_t ) 0 ) in prvInitialiseNewQueue()
596 pxNewQueue->uxItemSize = uxItemSize; in prvInitialiseNewQueue()
961 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueGenericSend()
1178 …configASSERT( ( pxQueue != NULL ) && !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UB… in xQueueGenericSendFromISR()
1355 configASSERT( ( pxQueue != NULL ) && ( pxQueue->uxItemSize == 0 ) ); in xQueueGiveFromISR()
1524 …configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceive()
1677 configASSERT( pxQueue->uxItemSize == 0 ); in xQueueSemaphoreTake()
1897 …configASSERT( ( pxQueue != NULL ) && !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != (… in xQueuePeek()
2050 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceiveFromISR()
2149 …configASSERT( ( pxQueue != NULL ) && !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseTy… in xQueuePeekFromISR()
2150 … configASSERT( ( pxQueue != NULL ) && ( pxQueue->uxItemSize != 0 ) ); /* Can't peek a semaphore. */ in xQueuePeekFromISR()
2350 traceRETURN_uxQueueGetQueueItemSize( ( ( Queue_t * ) xQueue )->uxItemSize ); in uxQueueGetQueueItemSize()
2352 return ( ( Queue_t * ) xQueue )->uxItemSize; in uxQueueGetQueueItemSize()
2404 if( pxQueue->uxItemSize == ( UBaseType_t ) 0 ) in prvCopyDataToQueue()
2423 … ( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataToQueue()
2424 pxQueue->pcWriteTo += pxQueue->uxItemSize; in prvCopyDataToQueue()
2437 …) memcpy( ( void * ) pxQueue->u.xQueue.pcReadFrom, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataToQueue()
2438 pxQueue->u.xQueue.pcReadFrom -= pxQueue->uxItemSize; in prvCopyDataToQueue()
2442 pxQueue->u.xQueue.pcReadFrom = ( pxQueue->u.xQueue.pcTail - pxQueue->uxItemSize ); in prvCopyDataToQueue()
2479 if( pxQueue->uxItemSize != ( UBaseType_t ) 0 ) in prvCopyDataFromQueue()
2481 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in prvCopyDataFromQueue()
2492 …py( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataFromQueue()
2836 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in xQueueCRReceive()
2848 …( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( unsigned ) pxQueue->uxItemSize ); in xQueueCRReceive()
2958 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in xQueueCRReceiveFromISR()
2970 …( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( unsigned ) pxQueue->uxItemSize ); in xQueueCRReceiveFromISR()