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()
516 ( ( UBaseType_t ) ( SIZE_MAX - sizeof( Queue_t ) ) >= ( uxQueueLength * uxItemSize ) ) ) in xQueueGenericCreate()
521 xQueueSizeInBytes = ( size_t ) ( ( size_t ) uxQueueLength * ( size_t ) uxItemSize ); in xQueueGenericCreate()
544 … prvInitialiseNewQueue( uxQueueLength, uxItemSize, pucQueueStorage, ucQueueType, pxNewQueue ); in xQueueGenericCreate()
567 const UBaseType_t uxItemSize, in prvInitialiseNewQueue() argument
576 if( uxItemSize == ( UBaseType_t ) 0 ) in prvInitialiseNewQueue()
593 pxNewQueue->uxItemSize = uxItemSize; in prvInitialiseNewQueue()
951 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueGenericSend()
1169 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueGenericSendFromISR()
1348 configASSERT( pxQueue->uxItemSize == 0 ); in xQueueGiveFromISR()
1517 …configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceive()
1670 configASSERT( pxQueue->uxItemSize == 0 ); in xQueueSemaphoreTake()
1893 …configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueuePeek()
2046 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceiveFromISR()
2146 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueuePeekFromISR()
2147 configASSERT( pxQueue->uxItemSize != 0 ); /* Can't peek a semaphore. */ in xQueuePeekFromISR()
2347 traceRETURN_uxQueueGetQueueItemSize( ( ( Queue_t * ) xQueue )->uxItemSize ); in uxQueueGetQueueItemSize()
2349 return ( ( Queue_t * ) xQueue )->uxItemSize; in uxQueueGetQueueItemSize()
2401 if( pxQueue->uxItemSize == ( UBaseType_t ) 0 ) in prvCopyDataToQueue()
2420 … ( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataToQueue()
2421 pxQueue->pcWriteTo += pxQueue->uxItemSize; in prvCopyDataToQueue()
2434 …) memcpy( ( void * ) pxQueue->u.xQueue.pcReadFrom, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataToQueue()
2435 pxQueue->u.xQueue.pcReadFrom -= pxQueue->uxItemSize; in prvCopyDataToQueue()
2439 pxQueue->u.xQueue.pcReadFrom = ( pxQueue->u.xQueue.pcTail - pxQueue->uxItemSize ); in prvCopyDataToQueue()
2476 if( pxQueue->uxItemSize != ( UBaseType_t ) 0 ) in prvCopyDataFromQueue()
2478 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in prvCopyDataFromQueue()
2489 …py( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( size_t ) pxQueue->uxItemSize ); in prvCopyDataFromQueue()
2833 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in xQueueCRReceive()
2845 …( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( unsigned ) pxQueue->uxItemSize ); in xQueueCRReceive()
2955 pxQueue->u.xQueue.pcReadFrom += pxQueue->uxItemSize; in xQueueCRReceiveFromISR()
2967 …( ( void * ) pvBuffer, ( void * ) pxQueue->u.xQueue.pcReadFrom, ( unsigned ) pxQueue->uxItemSize ); in xQueueCRReceiveFromISR()